diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-01-04 10:41:18 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-01-04 10:42:00 -0500 |
commit | e9b2aefa88c5d9e4ea8fc950da9b105981ad60ec (patch) | |
tree | 4db9bc06e2ae611448e69364f4650f4a733d5355 | |
parent | 5c6ec6a02c1378ba0e3ac530f8c80523ea74e5de (diff) | |
parent | fcdaf1a2a7a042a290f4c7de28bcdebd5de18445 (diff) |
Merge tag 'amlogic-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into fixes
Pull "Amlogic fixes for v4.10" from Kevin Hilman:
- DT: GXL: fix GPIO include
- add DT and defconfig for newly merged DRM driver
This pull has one real fix, as a couple non-critical ones. The DRM
DT/defconfig patches are coming now because I didn't expect the new
driver to make it for the v4.10 merge window, but since it did[1], the
DT and defconfig should go into the same release.
[1] bbbe775ec5b5 drm: Add support for Amlogic Meson Graphic Controller
* tag 'amlogic-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
ARM64: defconfig: enable DRM_MESON as module
ARM64: dts: meson-gx: Add Graphic Controller nodes
ARM64: dts: meson-gxl: fix GPIO include
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 16 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 16 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 16 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 4 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxl-nexbox-a95x.dts | 16 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 6 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 16 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 4 | ||||
-rw-r--r-- | arch/arm64/configs/defconfig | 1 |
9 files changed, 94 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index fc033c0d2a0f..eada0b58ba1c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi | |||
@@ -356,5 +356,21 @@ | |||
356 | status = "disabled"; | 356 | status = "disabled"; |
357 | }; | 357 | }; |
358 | }; | 358 | }; |
359 | |||
360 | vpu: vpu@d0100000 { | ||
361 | compatible = "amlogic,meson-gx-vpu"; | ||
362 | reg = <0x0 0xd0100000 0x0 0x100000>, | ||
363 | <0x0 0xc883c000 0x0 0x1000>, | ||
364 | <0x0 0xc8838000 0x0 0x1000>; | ||
365 | reg-names = "vpu", "hhi", "dmc"; | ||
366 | interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>; | ||
367 | #address-cells = <1>; | ||
368 | #size-cells = <0>; | ||
369 | |||
370 | /* CVBS VDAC output port */ | ||
371 | cvbs_vdac_port: port@0 { | ||
372 | reg = <0>; | ||
373 | }; | ||
374 | }; | ||
359 | }; | 375 | }; |
360 | }; | 376 | }; |
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts index 969682092e0f..4cbd626a9e88 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | |||
@@ -142,6 +142,16 @@ | |||
142 | clocks = <&wifi32k>; | 142 | clocks = <&wifi32k>; |
143 | clock-names = "ext_clock"; | 143 | clock-names = "ext_clock"; |
144 | }; | 144 | }; |
145 | |||
146 | cvbs-connector { | ||
147 | compatible = "composite-video-connector"; | ||
148 | |||
149 | port { | ||
150 | cvbs_connector_in: endpoint { | ||
151 | remote-endpoint = <&cvbs_vdac_out>; | ||
152 | }; | ||
153 | }; | ||
154 | }; | ||
145 | }; | 155 | }; |
146 | 156 | ||
147 | &uart_AO { | 157 | &uart_AO { |
@@ -229,3 +239,9 @@ | |||
229 | clocks = <&clkc CLKID_FCLK_DIV4>; | 239 | clocks = <&clkc CLKID_FCLK_DIV4>; |
230 | clock-names = "clkin0"; | 240 | clock-names = "clkin0"; |
231 | }; | 241 | }; |
242 | |||
243 | &cvbs_vdac_port { | ||
244 | cvbs_vdac_out: endpoint { | ||
245 | remote-endpoint = <&cvbs_connector_in>; | ||
246 | }; | ||
247 | }; | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi index 203be28978d5..4a96e0f6f926 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | |||
@@ -125,6 +125,16 @@ | |||
125 | clocks = <&wifi32k>; | 125 | clocks = <&wifi32k>; |
126 | clock-names = "ext_clock"; | 126 | clock-names = "ext_clock"; |
127 | }; | 127 | }; |
128 | |||
129 | cvbs-connector { | ||
130 | compatible = "composite-video-connector"; | ||
131 | |||
132 | port { | ||
133 | cvbs_connector_in: endpoint { | ||
134 | remote-endpoint = <&cvbs_vdac_out>; | ||
135 | }; | ||
136 | }; | ||
137 | }; | ||
128 | }; | 138 | }; |
129 | 139 | ||
130 | /* This UART is brought out to the DB9 connector */ | 140 | /* This UART is brought out to the DB9 connector */ |
@@ -234,3 +244,9 @@ | |||
234 | clocks = <&clkc CLKID_FCLK_DIV4>; | 244 | clocks = <&clkc CLKID_FCLK_DIV4>; |
235 | clock-names = "clkin0"; | 245 | clock-names = "clkin0"; |
236 | }; | 246 | }; |
247 | |||
248 | &cvbs_vdac_port { | ||
249 | cvbs_vdac_out: endpoint { | ||
250 | remote-endpoint = <&cvbs_connector_in>; | ||
251 | }; | ||
252 | }; | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 51edd5b5c460..596240c38a9c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | |||
@@ -506,3 +506,7 @@ | |||
506 | <&clkc CLKID_FCLK_DIV2>; | 506 | <&clkc CLKID_FCLK_DIV2>; |
507 | clock-names = "core", "clkin0", "clkin1"; | 507 | clock-names = "core", "clkin0", "clkin1"; |
508 | }; | 508 | }; |
509 | |||
510 | &vpu { | ||
511 | compatible = "amlogic,meson-gxbb-vpu", "amlogic,meson-gx-vpu"; | ||
512 | }; | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-nexbox-a95x.dts index e99101ae9664..cea4a3eded9b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-nexbox-a95x.dts | |||
@@ -117,6 +117,16 @@ | |||
117 | clocks = <&wifi32k>; | 117 | clocks = <&wifi32k>; |
118 | clock-names = "ext_clock"; | 118 | clock-names = "ext_clock"; |
119 | }; | 119 | }; |
120 | |||
121 | cvbs-connector { | ||
122 | compatible = "composite-video-connector"; | ||
123 | |||
124 | port { | ||
125 | cvbs_connector_in: endpoint { | ||
126 | remote-endpoint = <&cvbs_vdac_out>; | ||
127 | }; | ||
128 | }; | ||
129 | }; | ||
120 | }; | 130 | }; |
121 | 131 | ||
122 | &uart_AO { | 132 | &uart_AO { |
@@ -203,3 +213,9 @@ | |||
203 | clocks = <&clkc CLKID_FCLK_DIV4>; | 213 | clocks = <&clkc CLKID_FCLK_DIV4>; |
204 | clock-names = "clkin0"; | 214 | clock-names = "clkin0"; |
205 | }; | 215 | }; |
216 | |||
217 | &cvbs_vdac_port { | ||
218 | cvbs_vdac_out: endpoint { | ||
219 | remote-endpoint = <&cvbs_connector_in>; | ||
220 | }; | ||
221 | }; | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index 9f89b99c4806..69216246275d 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | |||
@@ -43,7 +43,7 @@ | |||
43 | 43 | ||
44 | #include "meson-gx.dtsi" | 44 | #include "meson-gx.dtsi" |
45 | #include <dt-bindings/clock/gxbb-clkc.h> | 45 | #include <dt-bindings/clock/gxbb-clkc.h> |
46 | #include <dt-bindings/gpio/meson-gxbb-gpio.h> | 46 | #include <dt-bindings/gpio/meson-gxl-gpio.h> |
47 | 47 | ||
48 | / { | 48 | / { |
49 | compatible = "amlogic,meson-gxl"; | 49 | compatible = "amlogic,meson-gxl"; |
@@ -299,3 +299,7 @@ | |||
299 | <&clkc CLKID_FCLK_DIV2>; | 299 | <&clkc CLKID_FCLK_DIV2>; |
300 | clock-names = "core", "clkin0", "clkin1"; | 300 | clock-names = "core", "clkin0", "clkin1"; |
301 | }; | 301 | }; |
302 | |||
303 | &vpu { | ||
304 | compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu"; | ||
305 | }; | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts index f859d75db8bd..5a337d339df1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | |||
@@ -90,6 +90,16 @@ | |||
90 | compatible = "mmc-pwrseq-emmc"; | 90 | compatible = "mmc-pwrseq-emmc"; |
91 | reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; | 91 | reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; |
92 | }; | 92 | }; |
93 | |||
94 | cvbs-connector { | ||
95 | compatible = "composite-video-connector"; | ||
96 | |||
97 | port { | ||
98 | cvbs_connector_in: endpoint { | ||
99 | remote-endpoint = <&cvbs_vdac_out>; | ||
100 | }; | ||
101 | }; | ||
102 | }; | ||
93 | }; | 103 | }; |
94 | 104 | ||
95 | /* This UART is brought out to the DB9 connector */ | 105 | /* This UART is brought out to the DB9 connector */ |
@@ -167,3 +177,9 @@ | |||
167 | max-speed = <1000>; | 177 | max-speed = <1000>; |
168 | }; | 178 | }; |
169 | }; | 179 | }; |
180 | |||
181 | &cvbs_vdac_port { | ||
182 | cvbs_vdac_out: endpoint { | ||
183 | remote-endpoint = <&cvbs_connector_in>; | ||
184 | }; | ||
185 | }; | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi index c1974bbbddea..eb2f0c3e5e53 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | |||
@@ -112,3 +112,7 @@ | |||
112 | }; | 112 | }; |
113 | }; | 113 | }; |
114 | }; | 114 | }; |
115 | |||
116 | &vpu { | ||
117 | compatible = "amlogic,meson-gxm-vpu", "amlogic,meson-gx-vpu"; | ||
118 | }; | ||
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 869dded0f09f..33b744d54739 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig | |||
@@ -331,6 +331,7 @@ CONFIG_DRM_VC4=m | |||
331 | CONFIG_DRM_PANEL_SIMPLE=m | 331 | CONFIG_DRM_PANEL_SIMPLE=m |
332 | CONFIG_DRM_I2C_ADV7511=m | 332 | CONFIG_DRM_I2C_ADV7511=m |
333 | CONFIG_DRM_HISI_KIRIN=m | 333 | CONFIG_DRM_HISI_KIRIN=m |
334 | CONFIG_DRM_MESON=m | ||
334 | CONFIG_FB=y | 335 | CONFIG_FB=y |
335 | CONFIG_FB_ARMCLCD=y | 336 | CONFIG_FB_ARMCLCD=y |
336 | CONFIG_BACKLIGHT_GENERIC=m | 337 | CONFIG_BACKLIGHT_GENERIC=m |