diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-11-03 06:23:34 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-02-24 07:07:33 -0500 |
commit | 17b5001b5143e3b7fce1c584bdcffd726dd8667c (patch) | |
tree | 02e097c57ffc94705c63fb541dd0bced4ba0482f /arch/arm/boot/dts | |
parent | f2d66aad1aade34df678177c5ccb58feaea72156 (diff) |
imx-drm: convert to componentised device support
Use the componentised device support for imx-drm. This requires all
the sub-components and the master device to register with the component
device support.
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/imx51-babbage.dts | 10 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-m53evk.dts | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-mba53.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx53-qsb.dts | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6q-sabresd.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 6 |
6 files changed, 38 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts index be1407cf5abd..6ff15a0eacb3 100644 --- a/arch/arm/boot/dts/imx51-babbage.dts +++ b/arch/arm/boot/dts/imx51-babbage.dts | |||
@@ -21,7 +21,7 @@ | |||
21 | reg = <0x90000000 0x20000000>; | 21 | reg = <0x90000000 0x20000000>; |
22 | }; | 22 | }; |
23 | 23 | ||
24 | display@di0 { | 24 | display0: display@di0 { |
25 | compatible = "fsl,imx-parallel-display"; | 25 | compatible = "fsl,imx-parallel-display"; |
26 | crtcs = <&ipu 0>; | 26 | crtcs = <&ipu 0>; |
27 | interface-pix-fmt = "rgb24"; | 27 | interface-pix-fmt = "rgb24"; |
@@ -43,7 +43,7 @@ | |||
43 | }; | 43 | }; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | display@di1 { | 46 | display1: display@di1 { |
47 | compatible = "fsl,imx-parallel-display"; | 47 | compatible = "fsl,imx-parallel-display"; |
48 | crtcs = <&ipu 1>; | 48 | crtcs = <&ipu 1>; |
49 | interface-pix-fmt = "rgb565"; | 49 | interface-pix-fmt = "rgb565"; |
@@ -81,6 +81,12 @@ | |||
81 | }; | 81 | }; |
82 | }; | 82 | }; |
83 | 83 | ||
84 | imx-drm { | ||
85 | compatible = "fsl,imx-drm"; | ||
86 | crtcs = <&ipu 0>, <&ipu 1>; | ||
87 | connectors = <&display0>, <&display1>; | ||
88 | }; | ||
89 | |||
84 | sound { | 90 | sound { |
85 | compatible = "fsl,imx51-babbage-sgtl5000", | 91 | compatible = "fsl,imx51-babbage-sgtl5000", |
86 | "fsl,imx-audio-sgtl5000"; | 92 | "fsl,imx-audio-sgtl5000"; |
diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts index 7d304d02ed38..ee6107b6484c 100644 --- a/arch/arm/boot/dts/imx53-m53evk.dts +++ b/arch/arm/boot/dts/imx53-m53evk.dts | |||
@@ -21,7 +21,7 @@ | |||
21 | }; | 21 | }; |
22 | 22 | ||
23 | soc { | 23 | soc { |
24 | display@di1 { | 24 | display1: display@di1 { |
25 | compatible = "fsl,imx-parallel-display"; | 25 | compatible = "fsl,imx-parallel-display"; |
26 | crtcs = <&ipu 1>; | 26 | crtcs = <&ipu 1>; |
27 | interface-pix-fmt = "bgr666"; | 27 | interface-pix-fmt = "bgr666"; |
@@ -53,6 +53,12 @@ | |||
53 | default-brightness-level = <6>; | 53 | default-brightness-level = <6>; |
54 | }; | 54 | }; |
55 | 55 | ||
56 | imx-drm { | ||
57 | compatible = "fsl,imx-drm"; | ||
58 | crtcs = <&ipu 1>; | ||
59 | connectors = <&display1>; | ||
60 | }; | ||
61 | |||
56 | leds { | 62 | leds { |
57 | compatible = "gpio-leds"; | 63 | compatible = "gpio-leds"; |
58 | pinctrl-names = "default"; | 64 | pinctrl-names = "default"; |
diff --git a/arch/arm/boot/dts/imx53-mba53.dts b/arch/arm/boot/dts/imx53-mba53.dts index a63090267941..9b6e76980a74 100644 --- a/arch/arm/boot/dts/imx53-mba53.dts +++ b/arch/arm/boot/dts/imx53-mba53.dts | |||
@@ -43,6 +43,12 @@ | |||
43 | status = "disabled"; | 43 | status = "disabled"; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | imx-drm { | ||
47 | compatible = "fsl,imx-drm"; | ||
48 | crtcs = <&ipu 1>; | ||
49 | connectors = <&disp1>, <&tve>; | ||
50 | }; | ||
51 | |||
46 | reg_3p2v: 3p2v { | 52 | reg_3p2v: 3p2v { |
47 | compatible = "regulator-fixed"; | 53 | compatible = "regulator-fixed"; |
48 | regulator-name = "3P2V"; | 54 | regulator-name = "3P2V"; |
diff --git a/arch/arm/boot/dts/imx53-qsb.dts b/arch/arm/boot/dts/imx53-qsb.dts index 91a5935a4aac..3cb4f7791a91 100644 --- a/arch/arm/boot/dts/imx53-qsb.dts +++ b/arch/arm/boot/dts/imx53-qsb.dts | |||
@@ -21,7 +21,7 @@ | |||
21 | reg = <0x70000000 0x40000000>; | 21 | reg = <0x70000000 0x40000000>; |
22 | }; | 22 | }; |
23 | 23 | ||
24 | display@di0 { | 24 | display0: display@di0 { |
25 | compatible = "fsl,imx-parallel-display"; | 25 | compatible = "fsl,imx-parallel-display"; |
26 | crtcs = <&ipu 0>; | 26 | crtcs = <&ipu 0>; |
27 | interface-pix-fmt = "rgb565"; | 27 | interface-pix-fmt = "rgb565"; |
@@ -72,6 +72,12 @@ | |||
72 | }; | 72 | }; |
73 | }; | 73 | }; |
74 | 74 | ||
75 | imx-drm { | ||
76 | compatible = "fsl,imx-drm"; | ||
77 | crtcs = <&ipu 0>; | ||
78 | connectors = <&display0>; | ||
79 | }; | ||
80 | |||
75 | leds { | 81 | leds { |
76 | compatible = "gpio-leds"; | 82 | compatible = "gpio-leds"; |
77 | pinctrl-names = "default"; | 83 | pinctrl-names = "default"; |
diff --git a/arch/arm/boot/dts/imx6q-sabresd.dts b/arch/arm/boot/dts/imx6q-sabresd.dts index 9cbdfe7a0931..66f220a82e45 100644 --- a/arch/arm/boot/dts/imx6q-sabresd.dts +++ b/arch/arm/boot/dts/imx6q-sabresd.dts | |||
@@ -20,6 +20,10 @@ | |||
20 | compatible = "fsl,imx6q-sabresd", "fsl,imx6q"; | 20 | compatible = "fsl,imx6q-sabresd", "fsl,imx6q"; |
21 | }; | 21 | }; |
22 | 22 | ||
23 | &imx_drm { | ||
24 | crtcs = <&ipu1 0>, <&ipu1 1>, <&ipu2 0>, <&ipu2 1>; | ||
25 | }; | ||
26 | |||
23 | &sata { | 27 | &sata { |
24 | status = "okay"; | 28 | status = "okay"; |
25 | }; | 29 | }; |
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index e75e11b36dff..dfca3e001398 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi | |||
@@ -62,6 +62,12 @@ | |||
62 | }; | 62 | }; |
63 | }; | 63 | }; |
64 | 64 | ||
65 | imx_drm: imx-drm { | ||
66 | compatible = "fsl,imx-drm"; | ||
67 | crtcs = <&ipu1 0>, <&ipu1 1>; | ||
68 | connectors = <&ldb>; | ||
69 | }; | ||
70 | |||
65 | sound { | 71 | sound { |
66 | compatible = "fsl,imx6q-sabresd-wm8962", | 72 | compatible = "fsl,imx6q-sabresd-wm8962", |
67 | "fsl,imx-audio-wm8962"; | 73 | "fsl,imx-audio-wm8962"; |