All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: Mark Rutland <mark.rutland@arm.com>,
	Rob Herring <robh+dt@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>,
	Robin van der Gracht <robin@protonic.nl>,
	devicetree@vger.kernel.org, Fabio Estevam <festevam@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, NXP Linux Team <linux-imx@nxp.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	David Jander <david@protonic.nl>
Subject: Re: [PATCH v2 3/3] ARM: dts: add Van der Laan LANMCU board
Date: Wed, 21 Oct 2020 15:24:31 +0200	[thread overview]
Message-ID: <20201021132431.GA31878@kozik-lap> (raw)
In-Reply-To: <20201021124825.yjbcdyy7dyuhvexl@pengutronix.de>

On Wed, Oct 21, 2020 at 02:48:25PM +0200, Oleksij Rempel wrote:
> Hello Krzysztof,
> 
> On Tue, Oct 20, 2020 at 12:23:55PM +0200, Krzysztof Kozlowski wrote:
> > On Thu, Oct 15, 2020 at 11:09:24AM +0200, Oleksij Rempel wrote:
> > > Van der Laan LANMCU is a module for the food storage rooms to control
> > > proper gas composition.
> > > 
> > > Co-Developed-by: Robin van der Gracht <robin@protonic.nl>
> > > Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> > > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> > > ---
> > >  arch/arm/boot/dts/Makefile          |   1 +
> > >  arch/arm/boot/dts/imx6dl-lanmcu.dts | 469 ++++++++++++++++++++++++++++
> > >  2 files changed, 470 insertions(+)
> > >  create mode 100644 arch/arm/boot/dts/imx6dl-lanmcu.dts
> > > 
> > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> > > index 2289a28c0ff6..dc2543a7b7e9 100644
> > > --- a/arch/arm/boot/dts/Makefile
> > > +++ b/arch/arm/boot/dts/Makefile
> > > @@ -447,6 +447,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
> > >  	imx6dl-icore.dtb \
> > >  	imx6dl-icore-mipi.dtb \
> > >  	imx6dl-icore-rqs.dtb \
> > > +	imx6dl-lanmcu.dtb \
> > >  	imx6dl-mamoj.dtb \
> > >  	imx6dl-nit6xlite.dtb \
> > >  	imx6dl-nitrogen6x.dtb \
> > > diff --git a/arch/arm/boot/dts/imx6dl-lanmcu.dts b/arch/arm/boot/dts/imx6dl-lanmcu.dts
> > > new file mode 100644
> > > index 000000000000..36c029dcc832
> > > --- /dev/null
> > > +++ b/arch/arm/boot/dts/imx6dl-lanmcu.dts
> > > @@ -0,0 +1,469 @@
> > > +// SPDX-License-Identifier: GPL-2.0-or-later
> > > +/*
> > > + * Copyright (c) 2019 Protonic Holland
> > > + * Copyright (c) 2020 Oleksij Rempel <kernel@pengutronix.de>, Pengutronix
> > > + */
> > > +
> > > +/dts-v1/;
> > > +#include <dt-bindings/gpio/gpio.h>
> > > +#include <dt-bindings/leds/common.h>
> > > +#include "imx6dl.dtsi"
> > > +
> > > +/ {
> > > +	model = "Van der Laan LANMCU";
> > > +	compatible = "vdl,lanmcu", "fsl,imx6dl";
> > > +
> > > +	chosen {
> > > +		stdout-path = &uart4;
> > > +	};
> > > +
> > > +	clock_ksz8081: clock-ksz8081 {
> > > +		compatible = "fixed-clock";
> > > +		#clock-cells = <0>;
> > > +		clock-frequency = <50000000>;
> > > +	};
> > > +
> > > +	backlight: backlight {
> > > +		compatible = "pwm-backlight";
> > > +		pwms = <&pwm1 0 5000000 0>;
> > > +		brightness-levels = <0 1000>;
> > > +		num-interpolated-steps = <20>;
> > > +		default-brightness-level = <19>;
> > > +	};
> > > +
> > > +	display {
> > > +		compatible = "fsl,imx-parallel-display";
> > > +		pinctrl-0 = <&pinctrl_ipu1_disp>;
> > > +		pinctrl-names = "default";
> > > +		#address-cells = <1>;
> > > +		#size-cells = <0>;
> > > +
> > > +		port@0 {
> > > +			reg = <0>;
> > > +
> > > +			display_in: endpoint {
> > > +				remote-endpoint = <&ipu1_di0_disp0>;
> > > +			};
> > > +		};
> > > +
> > > +		port@1 {
> > > +			reg = <1>;
> > > +
> > > +			display_out: endpoint {
> > > +				remote-endpoint = <&panel_in>;
> > > +			};
> > > +		};
> > > +	};
> > > +
> > > +	leds {
> > > +		compatible = "gpio-leds";
> > > +		pinctrl-names = "default";
> > > +		pinctrl-0 = <&pinctrl_leds>;
> > > +
> > > +		led-debug {
> > 
> > led-0 (dt spec naming requirement, upcomming dtschema as well) and add a
> > label if you want it to be nicely labeled for user-space.
> 
> ok, done
> 
> > > +			function = LED_FUNCTION_STATUS;
> > > +			gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
> > > +			linux,default-trigger = "heartbeat";
> > > +		};
> > > +	};
> > > +
> > > +	panel {
> > > +		compatible = "edt,etm0700g0bdh6";
> > > +		backlight = <&backlight>;
> > > +
> > > +		port {
> > > +			panel_in: endpoint {
> > > +				remote-endpoint = <&display_out>;
> > > +			};
> > > +		};
> > > +	};
> > > +
> > > +	reg_otg_vbus: regulator-otg-vbus {
> > > +		compatible = "regulator-fixed";
> > > +		regulator-name = "otg-vbus";
> > > +		regulator-min-microvolt = <5000000>;
> > > +		regulator-max-microvolt = <5000000>;
> > > +		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
> > > +		enable-active-high;
> > > +	};
> > > +
> > > +	usdhc2_wifi_pwrseq: usdhc2-wifi-pwrseq {
> > > +		compatible = "mmc-pwrseq-simple";
> > > +		pinctrl-names = "default";
> > > +		pinctrl-0 = <&pinctrl_wifi_npd>;
> > > +		reset-gpios = <&gpio6 10 GPIO_ACTIVE_LOW>;
> > > +	};
> > > +
> > > +};
> > > +
> > > +&can1 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_can1>;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&can2 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_can2>;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&fec {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_enet>;
> > > +	phy-mode = "rmii";
> > > +	clocks = <&clks IMX6QDL_CLK_ENET>,
> > > +		 <&clks IMX6QDL_CLK_ENET>,
> > > +		 <&clock_ksz8081>;
> > > +	clock-names = "ipg", "ahb", "ptp";
> > > +	phy-handle = <&rgmii_phy>;
> > > +	status = "okay";
> > > +
> > > +	mdio {
> > > +		#address-cells = <1>;
> > > +		#size-cells = <0>;
> > > +
> > > +		/* Microchip KSZ8081RNA PHY */
> > > +		rgmii_phy: ethernet-phy@0 {
> > > +			reg = <0>;
> > > +			interrupts-extended = <&gpio5 23 IRQ_TYPE_LEVEL_LOW>;
> > > +			reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
> > > +			reset-assert-us = <10000>;
> > > +			reset-deassert-us = <300>;
> > > +		};
> > > +	};
> > > +};
> > > +
> > > +&gpio1 {
> > > +	gpio-line-names =
> > > +		"", "SD1_CD", "", "", "", "", "", "",
> > > +		"DEBUG_0", "BL_PWM", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "ENET_LED_GREEN",
> > > +		"", "", "", "", "", "", "", "";
> > > +};
> > > +
> > > +&gpio3 {
> > > +	gpio-line-names =
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "TS_INT", "USB_OTG1_OC", "USB_OTG1_PWR", "",
> > > +		"", "", "", "", "UART2_CTS", "", "UART3_CTS", "";
> > > +};
> > > +
> > > +&gpio5 {
> > > +	gpio-line-names =
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "ENET_RST", "ENET_INT",
> > > +		"", "", "I2C1_SDA", "I2C1_SCL", "", "", "", "";
> > > +};
> > > +
> > > +&gpio6 {
> > > +	gpio-line-names =
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "WLAN_REG_ON", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "";
> > > +};
> > > +
> > > +&gpio7 {
> > > +	gpio-line-names =
> > > +		"", "", "", "", "", "", "", "",
> > > +		"EMMC_RST", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "";
> > > +};
> > > +
> > > +&i2c1 {
> > > +	clock-frequency = <100000>;
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_i2c1>;
> > > +	status = "okay";
> > > +
> > > +	/* additional i2c devices are added automatically by the boot loader */
> > > +};
> > > +
> > > +&i2c3 {
> > > +	clock-frequency = <100000>;
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_i2c3>;
> > > +	status = "okay";
> > > +
> > > +	touchscreen@38 {
> > > +		compatible = "edt,edt-ft5406";
> > > +		reg = <0x38>;
> > > +		pinctrl-names = "default";
> > > +		pinctrl-0 = <&pinctrl_ts_edt>;
> > > +		interrupts-extended = <&gpio3 20 IRQ_TYPE_EDGE_FALLING>;
> > > +
> > > +		touchscreen-size-x = <1792>;
> > > +		touchscreen-size-y = <1024>;
> > > +
> > > +		touchscreen-fuzz-x = <0>;
> > > +		touchscreen-fuzz-y = <0>;
> > > +
> > > +		/* Touch screen calibration */
> > > +		threshold = <50>;
> > > +		gain = <5>;
> > > +		offset = <10>;
> > > +	};
> > > +
> > > +	rtc@51 {
> > > +		compatible = "nxp,pcf8563";
> > > +		reg = <0x51>;
> > > +	};
> > > +};
> > > +
> > > +&ipu1_di0_disp0 {
> > > +	remote-endpoint = <&display_in>;
> > > +};
> > > +
> > > +&pwm1 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_pwm1>;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&uart2 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_uart2>;
> > > +	linux,rs485-enabled-at-boot-time;
> > > +	uart-has-rtscts;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&uart3 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_uart3>;
> > > +	linux,rs485-enabled-at-boot-time;
> > > +	uart-has-rtscts;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&uart4 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_uart4>;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&usbotg {
> > > +	vbus-supply = <&reg_otg_vbus>;
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_usbotg>;
> > > +	phy_type = "utmi";
> > > +	dr_mode = "host";
> > > +	status = "okay";
> > > +};
> > > +
> > > +&usdhc1 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_usdhc1>;
> > > +	cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
> > > +	no-1-8-v;
> > > +	disable-wp;
> > > +	cap-sd-highspeed;
> > > +	no-mmc;
> > > +	no-sdio;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&usdhc2 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_usdhc2>;
> > > +	no-1-8-v;
> > > +	non-removable;
> > > +	mmc-pwrseq = <&usdhc2_wifi_pwrseq>;
> > > +	#address-cells = <1>;
> > > +	#size-cells = <0>;
> > > +	status = "okay";
> > > +
> > > +	brcmf: bcrmf@1 {
> > 
> > node name "wifi"? Or "wifi-bt"? DT spec requires nodes to have more or
> > less generic names.
> 
> I'll take wifi@ it is mostly used pattern.
> 
> > Best regards,
> > Krzysztof
> 
> Thx for review,
> 
> should I add your Reviewed-by?

With the changes, can be:
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Robin van der Gracht <robin@protonic.nl>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	NXP Linux Team <linux-imx@nxp.com>,
	Fabio Estevam <festevam@gmail.com>,
	David Jander <david@protonic.nl>, Shawn Guo <shawnguo@kernel.org>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 3/3] ARM: dts: add Van der Laan LANMCU board
Date: Wed, 21 Oct 2020 15:24:31 +0200	[thread overview]
Message-ID: <20201021132431.GA31878@kozik-lap> (raw)
In-Reply-To: <20201021124825.yjbcdyy7dyuhvexl@pengutronix.de>

On Wed, Oct 21, 2020 at 02:48:25PM +0200, Oleksij Rempel wrote:
> Hello Krzysztof,
> 
> On Tue, Oct 20, 2020 at 12:23:55PM +0200, Krzysztof Kozlowski wrote:
> > On Thu, Oct 15, 2020 at 11:09:24AM +0200, Oleksij Rempel wrote:
> > > Van der Laan LANMCU is a module for the food storage rooms to control
> > > proper gas composition.
> > > 
> > > Co-Developed-by: Robin van der Gracht <robin@protonic.nl>
> > > Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> > > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> > > ---
> > >  arch/arm/boot/dts/Makefile          |   1 +
> > >  arch/arm/boot/dts/imx6dl-lanmcu.dts | 469 ++++++++++++++++++++++++++++
> > >  2 files changed, 470 insertions(+)
> > >  create mode 100644 arch/arm/boot/dts/imx6dl-lanmcu.dts
> > > 
> > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> > > index 2289a28c0ff6..dc2543a7b7e9 100644
> > > --- a/arch/arm/boot/dts/Makefile
> > > +++ b/arch/arm/boot/dts/Makefile
> > > @@ -447,6 +447,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
> > >  	imx6dl-icore.dtb \
> > >  	imx6dl-icore-mipi.dtb \
> > >  	imx6dl-icore-rqs.dtb \
> > > +	imx6dl-lanmcu.dtb \
> > >  	imx6dl-mamoj.dtb \
> > >  	imx6dl-nit6xlite.dtb \
> > >  	imx6dl-nitrogen6x.dtb \
> > > diff --git a/arch/arm/boot/dts/imx6dl-lanmcu.dts b/arch/arm/boot/dts/imx6dl-lanmcu.dts
> > > new file mode 100644
> > > index 000000000000..36c029dcc832
> > > --- /dev/null
> > > +++ b/arch/arm/boot/dts/imx6dl-lanmcu.dts
> > > @@ -0,0 +1,469 @@
> > > +// SPDX-License-Identifier: GPL-2.0-or-later
> > > +/*
> > > + * Copyright (c) 2019 Protonic Holland
> > > + * Copyright (c) 2020 Oleksij Rempel <kernel@pengutronix.de>, Pengutronix
> > > + */
> > > +
> > > +/dts-v1/;
> > > +#include <dt-bindings/gpio/gpio.h>
> > > +#include <dt-bindings/leds/common.h>
> > > +#include "imx6dl.dtsi"
> > > +
> > > +/ {
> > > +	model = "Van der Laan LANMCU";
> > > +	compatible = "vdl,lanmcu", "fsl,imx6dl";
> > > +
> > > +	chosen {
> > > +		stdout-path = &uart4;
> > > +	};
> > > +
> > > +	clock_ksz8081: clock-ksz8081 {
> > > +		compatible = "fixed-clock";
> > > +		#clock-cells = <0>;
> > > +		clock-frequency = <50000000>;
> > > +	};
> > > +
> > > +	backlight: backlight {
> > > +		compatible = "pwm-backlight";
> > > +		pwms = <&pwm1 0 5000000 0>;
> > > +		brightness-levels = <0 1000>;
> > > +		num-interpolated-steps = <20>;
> > > +		default-brightness-level = <19>;
> > > +	};
> > > +
> > > +	display {
> > > +		compatible = "fsl,imx-parallel-display";
> > > +		pinctrl-0 = <&pinctrl_ipu1_disp>;
> > > +		pinctrl-names = "default";
> > > +		#address-cells = <1>;
> > > +		#size-cells = <0>;
> > > +
> > > +		port@0 {
> > > +			reg = <0>;
> > > +
> > > +			display_in: endpoint {
> > > +				remote-endpoint = <&ipu1_di0_disp0>;
> > > +			};
> > > +		};
> > > +
> > > +		port@1 {
> > > +			reg = <1>;
> > > +
> > > +			display_out: endpoint {
> > > +				remote-endpoint = <&panel_in>;
> > > +			};
> > > +		};
> > > +	};
> > > +
> > > +	leds {
> > > +		compatible = "gpio-leds";
> > > +		pinctrl-names = "default";
> > > +		pinctrl-0 = <&pinctrl_leds>;
> > > +
> > > +		led-debug {
> > 
> > led-0 (dt spec naming requirement, upcomming dtschema as well) and add a
> > label if you want it to be nicely labeled for user-space.
> 
> ok, done
> 
> > > +			function = LED_FUNCTION_STATUS;
> > > +			gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
> > > +			linux,default-trigger = "heartbeat";
> > > +		};
> > > +	};
> > > +
> > > +	panel {
> > > +		compatible = "edt,etm0700g0bdh6";
> > > +		backlight = <&backlight>;
> > > +
> > > +		port {
> > > +			panel_in: endpoint {
> > > +				remote-endpoint = <&display_out>;
> > > +			};
> > > +		};
> > > +	};
> > > +
> > > +	reg_otg_vbus: regulator-otg-vbus {
> > > +		compatible = "regulator-fixed";
> > > +		regulator-name = "otg-vbus";
> > > +		regulator-min-microvolt = <5000000>;
> > > +		regulator-max-microvolt = <5000000>;
> > > +		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
> > > +		enable-active-high;
> > > +	};
> > > +
> > > +	usdhc2_wifi_pwrseq: usdhc2-wifi-pwrseq {
> > > +		compatible = "mmc-pwrseq-simple";
> > > +		pinctrl-names = "default";
> > > +		pinctrl-0 = <&pinctrl_wifi_npd>;
> > > +		reset-gpios = <&gpio6 10 GPIO_ACTIVE_LOW>;
> > > +	};
> > > +
> > > +};
> > > +
> > > +&can1 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_can1>;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&can2 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_can2>;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&fec {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_enet>;
> > > +	phy-mode = "rmii";
> > > +	clocks = <&clks IMX6QDL_CLK_ENET>,
> > > +		 <&clks IMX6QDL_CLK_ENET>,
> > > +		 <&clock_ksz8081>;
> > > +	clock-names = "ipg", "ahb", "ptp";
> > > +	phy-handle = <&rgmii_phy>;
> > > +	status = "okay";
> > > +
> > > +	mdio {
> > > +		#address-cells = <1>;
> > > +		#size-cells = <0>;
> > > +
> > > +		/* Microchip KSZ8081RNA PHY */
> > > +		rgmii_phy: ethernet-phy@0 {
> > > +			reg = <0>;
> > > +			interrupts-extended = <&gpio5 23 IRQ_TYPE_LEVEL_LOW>;
> > > +			reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
> > > +			reset-assert-us = <10000>;
> > > +			reset-deassert-us = <300>;
> > > +		};
> > > +	};
> > > +};
> > > +
> > > +&gpio1 {
> > > +	gpio-line-names =
> > > +		"", "SD1_CD", "", "", "", "", "", "",
> > > +		"DEBUG_0", "BL_PWM", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "ENET_LED_GREEN",
> > > +		"", "", "", "", "", "", "", "";
> > > +};
> > > +
> > > +&gpio3 {
> > > +	gpio-line-names =
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "TS_INT", "USB_OTG1_OC", "USB_OTG1_PWR", "",
> > > +		"", "", "", "", "UART2_CTS", "", "UART3_CTS", "";
> > > +};
> > > +
> > > +&gpio5 {
> > > +	gpio-line-names =
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "ENET_RST", "ENET_INT",
> > > +		"", "", "I2C1_SDA", "I2C1_SCL", "", "", "", "";
> > > +};
> > > +
> > > +&gpio6 {
> > > +	gpio-line-names =
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "WLAN_REG_ON", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "";
> > > +};
> > > +
> > > +&gpio7 {
> > > +	gpio-line-names =
> > > +		"", "", "", "", "", "", "", "",
> > > +		"EMMC_RST", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "",
> > > +		"", "", "", "", "", "", "", "";
> > > +};
> > > +
> > > +&i2c1 {
> > > +	clock-frequency = <100000>;
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_i2c1>;
> > > +	status = "okay";
> > > +
> > > +	/* additional i2c devices are added automatically by the boot loader */
> > > +};
> > > +
> > > +&i2c3 {
> > > +	clock-frequency = <100000>;
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_i2c3>;
> > > +	status = "okay";
> > > +
> > > +	touchscreen@38 {
> > > +		compatible = "edt,edt-ft5406";
> > > +		reg = <0x38>;
> > > +		pinctrl-names = "default";
> > > +		pinctrl-0 = <&pinctrl_ts_edt>;
> > > +		interrupts-extended = <&gpio3 20 IRQ_TYPE_EDGE_FALLING>;
> > > +
> > > +		touchscreen-size-x = <1792>;
> > > +		touchscreen-size-y = <1024>;
> > > +
> > > +		touchscreen-fuzz-x = <0>;
> > > +		touchscreen-fuzz-y = <0>;
> > > +
> > > +		/* Touch screen calibration */
> > > +		threshold = <50>;
> > > +		gain = <5>;
> > > +		offset = <10>;
> > > +	};
> > > +
> > > +	rtc@51 {
> > > +		compatible = "nxp,pcf8563";
> > > +		reg = <0x51>;
> > > +	};
> > > +};
> > > +
> > > +&ipu1_di0_disp0 {
> > > +	remote-endpoint = <&display_in>;
> > > +};
> > > +
> > > +&pwm1 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_pwm1>;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&uart2 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_uart2>;
> > > +	linux,rs485-enabled-at-boot-time;
> > > +	uart-has-rtscts;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&uart3 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_uart3>;
> > > +	linux,rs485-enabled-at-boot-time;
> > > +	uart-has-rtscts;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&uart4 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_uart4>;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&usbotg {
> > > +	vbus-supply = <&reg_otg_vbus>;
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_usbotg>;
> > > +	phy_type = "utmi";
> > > +	dr_mode = "host";
> > > +	status = "okay";
> > > +};
> > > +
> > > +&usdhc1 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_usdhc1>;
> > > +	cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
> > > +	no-1-8-v;
> > > +	disable-wp;
> > > +	cap-sd-highspeed;
> > > +	no-mmc;
> > > +	no-sdio;
> > > +	status = "okay";
> > > +};
> > > +
> > > +&usdhc2 {
> > > +	pinctrl-names = "default";
> > > +	pinctrl-0 = <&pinctrl_usdhc2>;
> > > +	no-1-8-v;
> > > +	non-removable;
> > > +	mmc-pwrseq = <&usdhc2_wifi_pwrseq>;
> > > +	#address-cells = <1>;
> > > +	#size-cells = <0>;
> > > +	status = "okay";
> > > +
> > > +	brcmf: bcrmf@1 {
> > 
> > node name "wifi"? Or "wifi-bt"? DT spec requires nodes to have more or
> > less generic names.
> 
> I'll take wifi@ it is mostly used pattern.
> 
> > Best regards,
> > Krzysztof
> 
> Thx for review,
> 
> should I add your Reviewed-by?

With the changes, can be:
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-10-21 13:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15  9:09 [PATCH v2 0/3] mainline LANMCU board Oleksij Rempel
2020-10-15  9:09 ` Oleksij Rempel
2020-10-15  9:09 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add an entry for Van der Laan b.v Oleksij Rempel
2020-10-15  9:09   ` Oleksij Rempel
2020-10-19 21:15   ` Rob Herring
2020-10-19 21:15     ` Rob Herring
2020-10-15  9:09 ` [PATCH v2 2/3] dt-bindings: arm: fsl: add Van der Laan LANMCU board Oleksij Rempel
2020-10-15  9:09   ` Oleksij Rempel
2020-10-19 21:15   ` Rob Herring
2020-10-19 21:15     ` Rob Herring
2020-10-20 10:19   ` Krzysztof Kozlowski
2020-10-20 10:19     ` Krzysztof Kozlowski
2020-10-15  9:09 ` [PATCH v2 3/3] ARM: dts: " Oleksij Rempel
2020-10-15  9:09   ` Oleksij Rempel
2020-10-20 10:23   ` Krzysztof Kozlowski
2020-10-20 10:23     ` Krzysztof Kozlowski
2020-10-21 12:48     ` Oleksij Rempel
2020-10-21 12:48       ` Oleksij Rempel
2020-10-21 13:24       ` Krzysztof Kozlowski [this message]
2020-10-21 13:24         ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201021132431.GA31878@kozik-lap \
    --to=krzk@kernel.org \
    --cc=david@protonic.nl \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=o.rempel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=robin@protonic.nl \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.