* [PATCH] ARM: dts: sun8i: sun8i-h3-nanopi-m1-plus: enable HDMI output
@ 2018-09-19 20:14 Corentin Labbe
2018-09-20 12:41 ` Maxime Ripard
2018-09-21 3:44 ` kbuild test robot
0 siblings, 2 replies; 3+ messages in thread
From: Corentin Labbe @ 2018-09-19 20:14 UTC (permalink / raw)
To: mark.rutland, maxime.ripard, robh+dt, wens
Cc: devicetree, linux-arm-kernel, linux-kernel, linux-sunxi, Corentin Labbe
This patch enable HDMI output on sun8i-h3-nanopi-m1-plus.
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
index 65cba1050802..88b5ff6b66b6 100644
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
@@ -67,6 +67,21 @@
pinctrl-names = "default";
reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
};
+
+ connector {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con_in: endpoint {
+ remote-endpoint = <&hdmi_out_con>;
+ };
+ };
+ };
+};
+
+&de {
+ status = "okay";
};
&ehci1 {
@@ -94,6 +109,17 @@
};
};
+&hdmi {
+ status = "okay";
+};
+
+&hdmi_out {
+ hdmi_out_con: endpoint {
+ remote-endpoint = <&hdmi_con_in>;
+ };
+ status = "okay";
+};
+
&ir {
pinctrl-names = "default";
pinctrl-0 = <&ir_pins_a>;
--
2.16.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: sun8i: sun8i-h3-nanopi-m1-plus: enable HDMI output
2018-09-19 20:14 [PATCH] ARM: dts: sun8i: sun8i-h3-nanopi-m1-plus: enable HDMI output Corentin Labbe
@ 2018-09-20 12:41 ` Maxime Ripard
2018-09-21 3:44 ` kbuild test robot
1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2018-09-20 12:41 UTC (permalink / raw)
To: Corentin Labbe
Cc: mark.rutland, robh+dt, wens, devicetree, linux-arm-kernel,
linux-kernel, linux-sunxi
[-- Attachment #1: Type: text/plain, Size: 1323 bytes --]
Hi!
On Wed, Sep 19, 2018 at 08:14:11PM +0000, Corentin Labbe wrote:
> This patch enable HDMI output on sun8i-h3-nanopi-m1-plus.
>
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
> ---
> arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
> index 65cba1050802..88b5ff6b66b6 100644
> --- a/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
> +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts
> @@ -67,6 +67,21 @@
> pinctrl-names = "default";
> reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
> };
> +
> + connector {
> + compatible = "hdmi-connector";
> + type = "a";
> +
> + port {
> + hdmi_con_in: endpoint {
> + remote-endpoint = <&hdmi_out_con>;
> + };
> + };
> + };
> +};
> +
> +&de {
> + status = "okay";
> };
>
> &ehci1 {
> @@ -94,6 +109,17 @@
> };
> };
>
> +&hdmi {
> + status = "okay";
> +};
> +
> +&hdmi_out {
> + hdmi_out_con: endpoint {
> + remote-endpoint = <&hdmi_con_in>;
> + };
> + status = "okay";
you don't need that status property here
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: sun8i: sun8i-h3-nanopi-m1-plus: enable HDMI output
2018-09-19 20:14 [PATCH] ARM: dts: sun8i: sun8i-h3-nanopi-m1-plus: enable HDMI output Corentin Labbe
2018-09-20 12:41 ` Maxime Ripard
@ 2018-09-21 3:44 ` kbuild test robot
1 sibling, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2018-09-21 3:44 UTC (permalink / raw)
To: Corentin Labbe
Cc: kbuild-all, mark.rutland, maxime.ripard, robh+dt, wens,
devicetree, linux-arm-kernel, linux-kernel, linux-sunxi,
Corentin Labbe
[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]
Hi Corentin,
I love your patch! Yet something to improve:
[auto build test ERROR on sunxi/sunxi/for-next]
[also build test ERROR on v4.19-rc4 next-20180919]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Corentin-Labbe/ARM-dts-sun8i-sun8i-h3-nanopi-m1-plus-enable-HDMI-output/20180920-165643
base: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git sunxi/for-next
config: arm-oxnas_v6_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=arm
All errors (new ones prefixed by >>):
>> Error: arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts:120.2-18 Properties must precede subnodes
FATAL ERROR: Unable to parse input tree
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 15051 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-09-21 3:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-19 20:14 [PATCH] ARM: dts: sun8i: sun8i-h3-nanopi-m1-plus: enable HDMI output Corentin Labbe
2018-09-20 12:41 ` Maxime Ripard
2018-09-21 3:44 ` kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).