* [PATCH 0/5] ARM: dts: add support for Gossen Metrawatt Profitest
@ 2023-11-27 21:11 Roland Hieber
2023-11-27 21:11 ` [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 Roland Hieber
` (4 more replies)
0 siblings, 5 replies; 20+ messages in thread
From: Roland Hieber @ 2023-11-27 21:11 UTC (permalink / raw)
To: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, NXP Linux Team, Li Yang
Cc: linux-i2c, devicetree, linux-kernel, Rob Herring,
linux-arm-kernel, Roland Hieber, Philipp Zabel, Marco Felsch,
Michael Tretter
This series aims to add initial support for the Gossen Metrawatt
Profitest MF board (internally known as e143_01), as well as the
Variscite VAR-SOM-MX7 System on Module that it is based on.
The resulting device tree has been dt-schema-validated, and the
necessary fixes have been submitted in the following patch series:
http://lore.kernel.org/r/20231127-b4-dt-bindings-serial-v1-1-422a198fd91a@pengutronix.de
http://lore.kernel.org/r/20231127-b4-dt-bindings-mxsfb-v1-1-922e4e71c838@pengutronix.de
http://lore.kernel.org/r/20231127-b4-dt-bindings-timer-v1-1-e06bd6b2370b@pengutronix.de
http://lore.kernel.org/r/20231127-b4-imx7-dt-v1-1-6ecbd0471cc4@pengutronix.de
It builds on top of this series adding MIPI-DSI support to i.MX7:
http://lore.kernel.org/r/20231127-b4-imx7-mipi-dsi-v1-0-7d22eee70c67@pengutronix.de
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
Marco Felsch (2):
ARM: dts: add Variscite VAR-SOM-MX7 System on Module
ARM: dts: add support for Gossen Metrawatt Profitest
Philipp Zabel (3):
dt-bindings: at24: add ROHM BR24G04
dt-bindings: vendor-prefixes: add Gossen Metrawatt
ARM: dts: imx7d-pinfunc: add mux for OSC32K_32K_OUT via GPIO1_IO03
Documentation/devicetree/bindings/arm/fsl.yaml | 7 +
Documentation/devicetree/bindings/eeprom/at24.yaml | 1 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
arch/arm/boot/dts/nxp/imx/Makefile | 1 +
arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts | 559 +++++++++++++++++++
arch/arm/boot/dts/nxp/imx/imx7d-pinfunc.h | 1 +
arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi | 607 +++++++++++++++++++++
7 files changed, 1178 insertions(+)
---
base-commit: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab
change-id: 20231127-b4-imx7-var-som-gome-1778614e68dc
Best regards,
--
Roland Hieber, Pengutronix e.K. | rhi@pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 20+ messages in thread* [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 2023-11-27 21:11 [PATCH 0/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber @ 2023-11-27 21:11 ` Roland Hieber 2023-11-28 7:51 ` Krzysztof Kozlowski 2023-12-01 9:38 ` Bartosz Golaszewski 2023-11-27 21:11 ` [PATCH 2/5] dt-bindings: vendor-prefixes: add Gossen Metrawatt Roland Hieber ` (3 subsequent siblings) 4 siblings, 2 replies; 20+ messages in thread From: Roland Hieber @ 2023-11-27 21:11 UTC (permalink / raw) To: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Roland Hieber, Philipp Zabel From: Philipp Zabel <p.zabel@pengutronix.de> Add compatible for ROHM Semiconductor BR24G04 EEPROMs. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- Documentation/devicetree/bindings/eeprom/at24.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index b6864d0ee81e..1812ef31d5f1 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -123,6 +123,7 @@ properties: - enum: - onnn,cat24c04 - onnn,cat24c05 + - rohm,br24g04 - const: atmel,24c04 - items: - const: renesas,r1ex24016 -- 2.39.2 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 2023-11-27 21:11 ` [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 Roland Hieber @ 2023-11-28 7:51 ` Krzysztof Kozlowski 2023-12-01 9:38 ` Bartosz Golaszewski 1 sibling, 0 replies; 20+ messages in thread From: Krzysztof Kozlowski @ 2023-11-28 7:51 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Philipp Zabel On 27/11/2023 22:11, Roland Hieber wrote: > From: Philipp Zabel <p.zabel@pengutronix.de> > > Add compatible for ROHM Semiconductor BR24G04 EEPROMs. > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 @ 2023-11-28 7:51 ` Krzysztof Kozlowski 0 siblings, 0 replies; 20+ messages in thread From: Krzysztof Kozlowski @ 2023-11-28 7:51 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Philipp Zabel On 27/11/2023 22:11, Roland Hieber wrote: > From: Philipp Zabel <p.zabel@pengutronix.de> > > Add compatible for ROHM Semiconductor BR24G04 EEPROMs. > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 2023-11-27 21:11 ` [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 Roland Hieber @ 2023-12-01 9:38 ` Bartosz Golaszewski 2023-12-01 9:38 ` Bartosz Golaszewski 1 sibling, 0 replies; 20+ messages in thread From: Bartosz Golaszewski @ 2023-12-01 9:38 UTC (permalink / raw) To: Roland Hieber Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang, linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Philipp Zabel On Mon, Nov 27, 2023 at 10:12 PM Roland Hieber <rhi@pengutronix.de> wrote: > > From: Philipp Zabel <p.zabel@pengutronix.de> > > Add compatible for ROHM Semiconductor BR24G04 EEPROMs. > > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> > --- > Documentation/devicetree/bindings/eeprom/at24.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml > index b6864d0ee81e..1812ef31d5f1 100644 > --- a/Documentation/devicetree/bindings/eeprom/at24.yaml > +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml > @@ -123,6 +123,7 @@ properties: > - enum: > - onnn,cat24c04 > - onnn,cat24c05 > + - rohm,br24g04 > - const: atmel,24c04 > - items: > - const: renesas,r1ex24016 > > -- > 2.39.2 > Applied, thanks! Bart ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 @ 2023-12-01 9:38 ` Bartosz Golaszewski 0 siblings, 0 replies; 20+ messages in thread From: Bartosz Golaszewski @ 2023-12-01 9:38 UTC (permalink / raw) To: Roland Hieber Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang, linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Philipp Zabel On Mon, Nov 27, 2023 at 10:12 PM Roland Hieber <rhi@pengutronix.de> wrote: > > From: Philipp Zabel <p.zabel@pengutronix.de> > > Add compatible for ROHM Semiconductor BR24G04 EEPROMs. > > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> > --- > Documentation/devicetree/bindings/eeprom/at24.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml > index b6864d0ee81e..1812ef31d5f1 100644 > --- a/Documentation/devicetree/bindings/eeprom/at24.yaml > +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml > @@ -123,6 +123,7 @@ properties: > - enum: > - onnn,cat24c04 > - onnn,cat24c05 > + - rohm,br24g04 > - const: atmel,24c04 > - items: > - const: renesas,r1ex24016 > > -- > 2.39.2 > Applied, thanks! Bart _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH 2/5] dt-bindings: vendor-prefixes: add Gossen Metrawatt 2023-11-27 21:11 [PATCH 0/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber 2023-11-27 21:11 ` [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 Roland Hieber @ 2023-11-27 21:11 ` Roland Hieber 2023-11-28 7:52 ` Krzysztof Kozlowski 2023-11-27 21:11 ` [PATCH 3/5] ARM: dts: imx7d-pinfunc: add mux for OSC32K_32K_OUT via GPIO1_IO03 Roland Hieber ` (2 subsequent siblings) 4 siblings, 1 reply; 20+ messages in thread From: Roland Hieber @ 2023-11-27 21:11 UTC (permalink / raw) To: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Roland Hieber, Philipp Zabel From: Philipp Zabel <p.zabel@pengutronix.de> Add vendor prefix for Gossen Metrawatt GmbH: https://www.gossenmetrawatt.de/en/ Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 309b94c328c8..5c9adc1e2ef2 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -538,6 +538,8 @@ patternProperties: description: Global Mixed-mode Technology, Inc. "^goldelico,.*": description: Golden Delicious Computers GmbH & Co. KG + "^gome,.*": + description: Gossen Metrawatt GmbH "^goodix,.*": description: Shenzhen Huiding Technology Co., Ltd. "^google,.*": -- 2.39.2 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH 2/5] dt-bindings: vendor-prefixes: add Gossen Metrawatt 2023-11-27 21:11 ` [PATCH 2/5] dt-bindings: vendor-prefixes: add Gossen Metrawatt Roland Hieber @ 2023-11-28 7:52 ` Krzysztof Kozlowski 0 siblings, 0 replies; 20+ messages in thread From: Krzysztof Kozlowski @ 2023-11-28 7:52 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Philipp Zabel On 27/11/2023 22:11, Roland Hieber wrote: > From: Philipp Zabel <p.zabel@pengutronix.de> > > Add vendor prefix for Gossen Metrawatt GmbH: > > https://www.gossenmetrawatt.de/en/ > > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 2/5] dt-bindings: vendor-prefixes: add Gossen Metrawatt @ 2023-11-28 7:52 ` Krzysztof Kozlowski 0 siblings, 0 replies; 20+ messages in thread From: Krzysztof Kozlowski @ 2023-11-28 7:52 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Philipp Zabel On 27/11/2023 22:11, Roland Hieber wrote: > From: Philipp Zabel <p.zabel@pengutronix.de> > > Add vendor prefix for Gossen Metrawatt GmbH: > > https://www.gossenmetrawatt.de/en/ > > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH 3/5] ARM: dts: imx7d-pinfunc: add mux for OSC32K_32K_OUT via GPIO1_IO03 2023-11-27 21:11 [PATCH 0/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber 2023-11-27 21:11 ` [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 Roland Hieber 2023-11-27 21:11 ` [PATCH 2/5] dt-bindings: vendor-prefixes: add Gossen Metrawatt Roland Hieber @ 2023-11-27 21:11 ` Roland Hieber 2023-11-27 21:11 ` [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module Roland Hieber 2023-11-27 21:11 ` [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber 4 siblings, 0 replies; 20+ messages in thread From: Roland Hieber @ 2023-11-27 21:11 UTC (permalink / raw) To: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Roland Hieber, Philipp Zabel From: Philipp Zabel <p.zabel@pengutronix.de> Add the missing pinmux setting for alternate function 4 on the GPIO1_IO03 pin, which muxes the pin as 32 kHz oscillator output. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- arch/arm/boot/dts/nxp/imx/imx7d-pinfunc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-pinfunc.h b/arch/arm/boot/dts/nxp/imx/imx7d-pinfunc.h index 69f2c1ec8254..1530631b0d70 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-pinfunc.h +++ b/arch/arm/boot/dts/nxp/imx/imx7d-pinfunc.h @@ -33,6 +33,7 @@ #define MX7D_PAD_LPSR_GPIO1_IO03__PWM3_OUT 0x000C 0x003C 0x0000 0x1 0x0 #define MX7D_PAD_LPSR_GPIO1_IO03__CCM_ENET_REF_CLK2 0x000C 0x003C 0x0570 0x2 0x3 #define MX7D_PAD_LPSR_GPIO1_IO03__SAI3_MCLK 0x000C 0x003C 0x0000 0x3 0x0 +#define MX7D_PAD_LPSR_GPIO1_IO03__OSC32K_32K_OUT 0x000C 0x003C 0x0000 0x4 0x0 #define MX7D_PAD_LPSR_GPIO1_IO03__CCM_CLKO2 0x000C 0x003C 0x0000 0x5 0x0 #define MX7D_PAD_LPSR_GPIO1_IO03__OBSERVE2_OUT 0x000C 0x003C 0x0000 0x6 0x0 #define MX7D_PAD_LPSR_GPIO1_IO03__USB_OTG2_ID 0x000C 0x003C 0x0730 0x7 0x3 -- 2.39.2 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module 2023-11-27 21:11 [PATCH 0/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber ` (2 preceding siblings ...) 2023-11-27 21:11 ` [PATCH 3/5] ARM: dts: imx7d-pinfunc: add mux for OSC32K_32K_OUT via GPIO1_IO03 Roland Hieber @ 2023-11-27 21:11 ` Roland Hieber 2023-11-28 7:53 ` Krzysztof Kozlowski 2023-11-28 17:22 ` Rob Herring 2023-11-27 21:11 ` [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber 4 siblings, 2 replies; 20+ messages in thread From: Roland Hieber @ 2023-11-27 21:11 UTC (permalink / raw) To: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Roland Hieber, Marco Felsch, Philipp Zabel From: Marco Felsch <m.felsch@pengutronix.de> Add DTSI file of Variscite VAR-SOM-MX7 System on Module in a basic version. While we don't have a VAR-MX7 development board at hand, we will use this DTSI as base for a custom board in a later commit. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Co-developed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi | 607 +++++++++++++++++++++++ 1 file changed, 607 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi new file mode 100644 index 000000000000..29b9b9305b81 --- /dev/null +++ b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi @@ -0,0 +1,607 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015 Freescale Semiconductor, Inc. + * Copyright (C) 2016-2017 Variscite Ltd. + * Copyright (C) 2022 Philipp Zabel, Pengutronix + * Copyright (C) 2022 Roland Hieber, Pengutronix + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include <dt-bindings/input/input.h> +#include "imx7d.dtsi" + +/ { + model = "Variscite i.MX7 Dual VAR-SOM-MX7"; + compatible = "variscite,var-som-mx7", "fsl,imx7d"; + + reg_vref_1v8: regulator-vref-1v8 { + compatible = "regulator-fixed"; + regulator-name = "vref-1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + reg_usb_otg1_vbus: regulator-usbotg1-vbus { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1_vbus>; + regulator-name = "usb_otg1_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_usb_otg2_vbus: regulator-usbotg2-vbus { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg2_vbus>; + regulator-name = "usb_otg2_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + wlreg_on: regulator-wlreg-on { + compatible = "regulator-fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "wlreg_on"; + }; + + sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "wm8731audio"; + simple-audio-card,widgets = + "Headphone", "Headphone Jack", + "Line", "Line Jack", + "Microphone", "Mic Jack"; + simple-audio-card,routing = + "Headphone Jack", "RHPOUT", + "Headphone Jack", "LHPOUT", + "LLINEIN", "Line Jack", + "RLINEIN", "Line Jack", + "MICIN", "Mic Bias", + "Mic Bias", "Mic Jack"; + simple-audio-card,format = "i2s"; + simple-audio-card,bitclock-master = <&sound_master>; + simple-audio-card,frame-master = <&sound_master>; + + sound_master: simple-audio-card,cpu { + sound-dai = <&sai1>; + }; + + simple-audio-card,codec { + sound-dai = <&wm8731>; + system-clock-frequency = <12288000>; + }; + }; +}; + +&adc1 { + vref-supply = <®_vref_1v8>; +}; + +&adc2 { + vref-supply = <®_vref_1v8>; +}; + +&cpu0 { + cpu-supply = <&sw1a_reg>; +}; + +&cpu1 { + cpu-supply = <&sw1a_reg>; +}; + +&fec1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet1>; + phy-supply = <&vgen3_reg>; + assigned-clocks = <&clks IMX7D_ENET_PHY_REF_ROOT_SRC>, + <&clks IMX7D_ENET_AXI_ROOT_SRC>, + <&clks IMX7D_ENET1_TIME_ROOT_SRC>, + <&clks IMX7D_ENET1_TIME_ROOT_CLK>, + <&clks IMX7D_ENET_AXI_ROOT_CLK>; + assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_25M_CLK>, + <&clks IMX7D_PLL_ENET_MAIN_250M_CLK>, + <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; + assigned-clock-rates = <0>, <0>, <0>, <100000000>, <250000000>; + phy-mode = "rgmii-id"; + phy-handle = <ðphy0>; + phy-reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>; + phy-reset-post-delay = <20>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; + }; +}; + +&fec2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet2>; + phy-supply = <&vgen3_reg>; + assigned-clocks = <&clks IMX7D_ENET_PHY_REF_ROOT_SRC>, + <&clks IMX7D_ENET_AXI_ROOT_SRC>, + <&clks IMX7D_ENET2_TIME_ROOT_SRC>, + <&clks IMX7D_ENET2_TIME_ROOT_CLK>, + <&clks IMX7D_ENET_AXI_ROOT_CLK>; + assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_25M_CLK>, + <&clks IMX7D_PLL_ENET_MAIN_250M_CLK>, + <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; + assigned-clock-rates = <0>, <0>, <0>, <100000000>, <250000000>; + phy-mode = "rgmii-id"; + phy-handle = <ðphy1>; + phy-reset-gpios = <&gpio4 3 GPIO_ACTIVE_LOW>; + phy-reset-post-delay = <20>; +}; + +&gpio6 { + sd3-pwr-hog { + gpio-hog; + gpios = <11 0>; + output-low; + line-name = "sd3_pwr"; + }; +}; + +&i2c1 { + clock-frequency = <100000>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c1>; + pinctrl-1 = <&pinctrl_i2c1_gpio>; + scl-gpios = <&gpio4 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio4 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + status = "okay"; + + pmic@8 { + compatible = "fsl,pfuze3000"; + reg = <0x08>; + + regulators { + sw1a_reg: sw1a { + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + /* use sw1c_reg to align with pfuze100/pfuze200 */ + sw1c_reg: sw1b { + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1475000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + sw2_reg: sw2 { + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1850000>; + regulator-boot-on; + regulator-always-on; + }; + + sw3a_reg: sw3 { + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1650000>; + regulator-boot-on; + regulator-always-on; + }; + + swbst_reg: swbst { + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5150000>; + }; + + snvs_reg: vsnvs { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + }; + + vref_reg: vrefddr { + regulator-boot-on; + regulator-always-on; + }; + + vgen1_reg: vldo1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen2_reg: vldo2 { + status = "disabled"; + }; + + vgen3_reg: vccsd { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vgen4_reg: v33 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + regulator-always-on; + }; + + vgen5_reg: vldo3 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vgen6_reg: vldo4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; + }; + + eeprom@50 { + compatible = "rohm,br24g04", "atmel,24c04"; + reg = <0x50>; + pagesize = <16>; + num-addresses = <2>; + address-width = <8>; + read-only; + }; +}; + +&i2c2 { + clock-frequency = <400000>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c2>; + pinctrl-1 = <&pinctrl_i2c2_gpio>; + scl-gpios = <&gpio4 10 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio4 11 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + status = "okay"; + + wm8731: wm8731@1a { + #sound-dai-cells = <0>; + AVDD-supply = <&vgen6_reg>; + HPVDD-supply = <&vgen6_reg>; + DBVDD-supply = <&vgen6_reg>; + DCVDD-supply = <&vgen6_reg>; + compatible = "wlf,wm8731"; + reg = <0x1a>; + clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; + clock-names = "mclk"; + assigned-clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_SRC>, + <&clks IMX7D_PLL_AUDIO_POST_DIV>, + <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; + assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; + assigned-clock-rates = <0>, <884736000>, <12288000>; + }; +}; + +&sai1 { + assigned-clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_SRC>, + <&clks IMX7D_PLL_AUDIO_POST_DIV>, + <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; + assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; + assigned-clock-rates = <0>, <884736000>, <12288000>; + status = "okay"; +}; + +&snvs_pwrkey { + status = "okay"; +}; + +&snvs_rtc { + status = "disabled"; +}; + +&uart1 { + assigned-clocks = <&clks IMX7D_UART1_ROOT_SRC>; + assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; +}; + +&uart2 { + assigned-clocks = <&clks IMX7D_UART2_ROOT_SRC>; + assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>; +}; + +&uart3 { + assigned-clocks = <&clks IMX7D_UART3_ROOT_SRC>; + assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>; + uart-has-rtscts; + status = "okay"; +}; + +&usbotg1 { + vbus-supply = <®_usb_otg1_vbus>; + dr_mode = "host"; +}; + +&usbotg2 { + vbus-supply = <®_usb_otg2_vbus>; + dr_mode = "host"; +}; + +&usdhc2 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; + pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_wlan>, <&pinctrl_bt>; + pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_wlan>, <&pinctrl_bt>; + pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_wlan>, <&pinctrl_bt>; + pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_wlan_sleep>, <&pinctrl_bt_sleep>; + keep-power-in-suspend; + non-removable; + vmmc-supply = <&wlreg_on>; + status = "okay"; + + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; + +/* eMMC */ +&usdhc3 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc3_ctrl>, <&pinctrl_usdhc3>; + pinctrl-1 = <&pinctrl_usdhc3_ctrl>, <&pinctrl_usdhc3_100mhz>; + pinctrl-2 = <&pinctrl_usdhc3_ctrl>, <&pinctrl_usdhc3_200mhz>; + vmmc-supply = <&vgen3_reg>; + assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>; + assigned-clock-rates = <400000000>; + no-1-8-v; + no-sdio; + no-sd; + bus-width = <8>; + non-removable; + status = "okay"; +}; + +&wdog1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog>; + fsl,ext-reset-output; +}; + +&iomuxc_lpsr { + pinctrl_usbotg1_vbus: usbotg1-vbusgrp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x14 + >; + }; + + pinctrl_usbotg2_vbus: usbotg2-vbusgrp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO07__GPIO1_IO7 0x14 + >; + }; + + pinctrl_wdog: wdoggrp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x74 + >; + }; + + pinctrl_wlan: wlangrp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO04__GPIO1_IO4 0x09 /* WL_REG_ON */ + MX7D_PAD_LPSR_GPIO1_IO03__OSC32K_32K_OUT 0xb0 /* WIFI Slow clock */ + >; + }; + + pinctrl_wlan_sleep: wlan-sleepgrp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO04__GPIO1_IO4 0x10 /* WL_REG_ON */ + MX7D_PAD_LPSR_GPIO1_IO03__OSC32K_32K_OUT 0x10 /* WIFI Slow clock */ + >; + }; +}; + +&iomuxc { + + pinctrl_bt: btgrp { + fsl,pins = < + MX7D_PAD_GPIO1_IO14__GPIO1_IO14 0x80000000 /* bt reg on */ + >; + }; + + pinctrl_bt_sleep: bt-sleepgrp { + fsl,pins = < + MX7D_PAD_GPIO1_IO14__GPIO1_IO14 0x10 /* bt reg on */ + >; + }; + + pinctrl_enet1: enet1grp { + fsl,pins = < + MX7D_PAD_SD2_CD_B__ENET1_MDIO 0x3 + MX7D_PAD_SD2_WP__ENET1_MDC 0x3 + MX7D_PAD_ENET1_RGMII_TXC__ENET1_RGMII_TXC 0x1 + MX7D_PAD_ENET1_RGMII_TD0__ENET1_RGMII_TD0 0x1 + MX7D_PAD_ENET1_RGMII_TD1__ENET1_RGMII_TD1 0x1 + MX7D_PAD_ENET1_RGMII_TD2__ENET1_RGMII_TD2 0x1 + MX7D_PAD_ENET1_RGMII_TD3__ENET1_RGMII_TD3 0x1 + MX7D_PAD_ENET1_RGMII_TX_CTL__ENET1_RGMII_TX_CTL 0x1 + MX7D_PAD_ENET1_RGMII_RXC__ENET1_RGMII_RXC 0x1 + MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0 0x1 + MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1 0x1 + MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2 0x1 + MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3 0x1 + MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x1 + MX7D_PAD_SD2_RESET_B__GPIO5_IO11 0x59 /* ethphy0 reset */ + >; + }; + + pinctrl_enet2: enet2grp { + fsl,pins = < + MX7D_PAD_EPDC_GDSP__ENET2_RGMII_TXC 0x1 + MX7D_PAD_EPDC_SDCE2__ENET2_RGMII_TD0 0x1 + MX7D_PAD_EPDC_SDCE3__ENET2_RGMII_TD1 0x1 + MX7D_PAD_EPDC_GDCLK__ENET2_RGMII_TD2 0x1 + MX7D_PAD_EPDC_GDOE__ENET2_RGMII_TD3 0x1 + MX7D_PAD_EPDC_GDRL__ENET2_RGMII_TX_CTL 0x1 + MX7D_PAD_EPDC_SDCE1__ENET2_RGMII_RXC 0x1 + MX7D_PAD_EPDC_SDCLK__ENET2_RGMII_RD0 0x1 + MX7D_PAD_EPDC_SDLE__ENET2_RGMII_RD1 0x1 + MX7D_PAD_EPDC_SDOE__ENET2_RGMII_RD2 0x1 + MX7D_PAD_EPDC_SDSHR__ENET2_RGMII_RD3 0x1 + MX7D_PAD_EPDC_SDCE0__ENET2_RGMII_RX_CTL 0x1 + MX7D_PAD_UART2_TX_DATA__GPIO4_IO3 0x59 /* ethphy1 reset */ + >; + }; + + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f + MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f + >; + }; + + pinctrl_i2c1_gpio: i2c1gpiogrp { + fsl,pins = < + MX7D_PAD_I2C1_SDA__GPIO4_IO9 0x4000007f + MX7D_PAD_I2C1_SCL__GPIO4_IO8 0x4000007f + >; + }; + + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX7D_PAD_I2C2_SDA__I2C2_SDA 0x4000007f + MX7D_PAD_I2C2_SCL__I2C2_SCL 0x4000007f + >; + }; + + pinctrl_i2c2_gpio: i2c2gpiogrp { + fsl,pins = < + MX7D_PAD_I2C2_SDA__GPIO4_IO11 0x4000007f + MX7D_PAD_I2C2_SCL__GPIO4_IO10 0x4000007f + >; + }; + + pinctrl_uart3: uart3grp { + fsl,pins = < + MX7D_PAD_UART3_TX_DATA__UART3_DCE_TX 0x79 + MX7D_PAD_UART3_RX_DATA__UART3_DCE_RX 0x79 + MX7D_PAD_UART3_CTS_B__UART3_DCE_CTS 0x79 + MX7D_PAD_UART3_RTS_B__UART3_DCE_RTS 0x79 + >; + }; + + pinctrl_usdhc2: usdhc2grp { + fsl,pins = < + MX7D_PAD_SD2_CMD__SD2_CMD 0x59 + MX7D_PAD_SD2_CLK__SD2_CLK 0x19 + MX7D_PAD_SD2_DATA0__SD2_DATA0 0x59 + MX7D_PAD_SD2_DATA1__SD2_DATA1 0x59 + MX7D_PAD_SD2_DATA2__SD2_DATA2 0x59 + MX7D_PAD_SD2_DATA3__SD2_DATA3 0x59 + >; + }; + + pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { + fsl,pins = < + MX7D_PAD_SD2_CMD__SD2_CMD 0x5a + MX7D_PAD_SD2_CLK__SD2_CLK 0x1a + MX7D_PAD_SD2_DATA0__SD2_DATA0 0x5a + MX7D_PAD_SD2_DATA1__SD2_DATA1 0x5a + MX7D_PAD_SD2_DATA2__SD2_DATA2 0x5a + MX7D_PAD_SD2_DATA3__SD2_DATA3 0x5a + >; + }; + + pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { + fsl,pins = < + MX7D_PAD_SD2_CMD__SD2_CMD 0x5b + MX7D_PAD_SD2_CLK__SD2_CLK 0x1b + MX7D_PAD_SD2_DATA0__SD2_DATA0 0x5b + MX7D_PAD_SD2_DATA1__SD2_DATA1 0x5b + MX7D_PAD_SD2_DATA2__SD2_DATA2 0x5b + MX7D_PAD_SD2_DATA3__SD2_DATA3 0x5b + >; + }; + + pinctrl_usdhc2_sleep: usdhc2-sleepgrp { + fsl,pins = < + MX7D_PAD_SD2_CMD__GPIO5_IO13 0x10 + MX7D_PAD_SD2_CLK__GPIO5_IO12 0x10 + MX7D_PAD_SD2_DATA0__GPIO5_IO14 0x10 + MX7D_PAD_SD2_DATA1__GPIO5_IO15 0x10 + MX7D_PAD_SD2_DATA2__GPIO5_IO16 0x10 + MX7D_PAD_SD2_DATA3__GPIO5_IO17 0x10 + >; + }; + + pinctrl_usdhc3_ctrl: usdhc3-ctrlgrp { + fsl,pins = < + MX7D_PAD_SD3_RESET_B__SD3_RESET_B 0x59 + >; + }; + + pinctrl_usdhc3: usdhc3grp { + fsl,pins = < + MX7D_PAD_SD3_CMD__SD3_CMD 0x59 + MX7D_PAD_SD3_CLK__SD3_CLK 0x19 + MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59 + MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59 + MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59 + MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59 + MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59 + MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59 + MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59 + MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59 + >; + }; + + pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { + fsl,pins = < + MX7D_PAD_SD3_CMD__SD3_CMD 0x5a + MX7D_PAD_SD3_CLK__SD3_CLK 0x1a + MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5a + MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5a + MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5a + MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5a + MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5a + MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5a + MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5a + MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5a + >; + }; + + pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { + fsl,pins = < + MX7D_PAD_SD3_CMD__SD3_CMD 0x5b + MX7D_PAD_SD3_CLK__SD3_CLK 0x1b + MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5b + MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5b + MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5b + MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5b + MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5b + MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5b + MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5b + MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5b + >; + }; +}; -- 2.39.2 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module 2023-11-27 21:11 ` [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module Roland Hieber @ 2023-11-28 7:53 ` Krzysztof Kozlowski 2023-11-28 17:22 ` Rob Herring 1 sibling, 0 replies; 20+ messages in thread From: Krzysztof Kozlowski @ 2023-11-28 7:53 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Marco Felsch, Philipp Zabel On 27/11/2023 22:11, Roland Hieber wrote: > From: Marco Felsch <m.felsch@pengutronix.de> > > Add DTSI file of Variscite VAR-SOM-MX7 System on Module in a basic > version. While we don't have a VAR-MX7 development board at hand, we > will use this DTSI as base for a custom board in a later commit. > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > Co-developed-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> > --- > arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi | 607 +++++++++++++++++++++++ > 1 file changed, 607 insertions(+) > > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi > new file mode 100644 > index 000000000000..29b9b9305b81 > --- /dev/null > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi > @@ -0,0 +1,607 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright (C) 2015 Freescale Semiconductor, Inc. > + * Copyright (C) 2016-2017 Variscite Ltd. > + * Copyright (C) 2022 Philipp Zabel, Pengutronix > + * Copyright (C) 2022 Roland Hieber, Pengutronix > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + */ > + > +#include <dt-bindings/input/input.h> > +#include "imx7d.dtsi" > + > +/ { > + model = "Variscite i.MX7 Dual VAR-SOM-MX7"; > + compatible = "variscite,var-som-mx7", "fsl,imx7d"; You claim this was validated, but I don't see anywhere the binding. It does not look like you tested the DTS against bindings. Please run `make dtbs_check W=1` (see Documentation/devicetree/bindings/writing-schema.rst or https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ for instructions). Best regards, Krzysztof ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module @ 2023-11-28 7:53 ` Krzysztof Kozlowski 0 siblings, 0 replies; 20+ messages in thread From: Krzysztof Kozlowski @ 2023-11-28 7:53 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Marco Felsch, Philipp Zabel On 27/11/2023 22:11, Roland Hieber wrote: > From: Marco Felsch <m.felsch@pengutronix.de> > > Add DTSI file of Variscite VAR-SOM-MX7 System on Module in a basic > version. While we don't have a VAR-MX7 development board at hand, we > will use this DTSI as base for a custom board in a later commit. > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > Co-developed-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> > --- > arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi | 607 +++++++++++++++++++++++ > 1 file changed, 607 insertions(+) > > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi > new file mode 100644 > index 000000000000..29b9b9305b81 > --- /dev/null > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi > @@ -0,0 +1,607 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright (C) 2015 Freescale Semiconductor, Inc. > + * Copyright (C) 2016-2017 Variscite Ltd. > + * Copyright (C) 2022 Philipp Zabel, Pengutronix > + * Copyright (C) 2022 Roland Hieber, Pengutronix > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + */ > + > +#include <dt-bindings/input/input.h> > +#include "imx7d.dtsi" > + > +/ { > + model = "Variscite i.MX7 Dual VAR-SOM-MX7"; > + compatible = "variscite,var-som-mx7", "fsl,imx7d"; You claim this was validated, but I don't see anywhere the binding. It does not look like you tested the DTS against bindings. Please run `make dtbs_check W=1` (see Documentation/devicetree/bindings/writing-schema.rst or https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ for instructions). Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module 2023-11-27 21:11 ` [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module Roland Hieber @ 2023-11-28 17:22 ` Rob Herring 2023-11-28 17:22 ` Rob Herring 1 sibling, 0 replies; 20+ messages in thread From: Rob Herring @ 2023-11-28 17:22 UTC (permalink / raw) To: Roland Hieber Cc: Bartosz Golaszewski, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang, linux-i2c, devicetree, linux-kernel, linux-arm-kernel, Marco Felsch, Philipp Zabel On Mon, Nov 27, 2023 at 10:11:05PM +0100, Roland Hieber wrote: > From: Marco Felsch <m.felsch@pengutronix.de> > > Add DTSI file of Variscite VAR-SOM-MX7 System on Module in a basic > version. While we don't have a VAR-MX7 development board at hand, we > will use this DTSI as base for a custom board in a later commit. > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > Co-developed-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> > --- > arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi | 607 +++++++++++++++++++++++ > 1 file changed, 607 insertions(+) > > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi > new file mode 100644 > index 000000000000..29b9b9305b81 > --- /dev/null > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi > @@ -0,0 +1,607 @@ > +// SPDX-License-Identifier: GPL-2.0-only This license and... > +#include "imx7d.dtsi" ...what's in here don't match. Rob ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module @ 2023-11-28 17:22 ` Rob Herring 0 siblings, 0 replies; 20+ messages in thread From: Rob Herring @ 2023-11-28 17:22 UTC (permalink / raw) To: Roland Hieber Cc: Bartosz Golaszewski, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang, linux-i2c, devicetree, linux-kernel, linux-arm-kernel, Marco Felsch, Philipp Zabel On Mon, Nov 27, 2023 at 10:11:05PM +0100, Roland Hieber wrote: > From: Marco Felsch <m.felsch@pengutronix.de> > > Add DTSI file of Variscite VAR-SOM-MX7 System on Module in a basic > version. While we don't have a VAR-MX7 development board at hand, we > will use this DTSI as base for a custom board in a later commit. > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > Co-developed-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> > --- > arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi | 607 +++++++++++++++++++++++ > 1 file changed, 607 insertions(+) > > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi > new file mode 100644 > index 000000000000..29b9b9305b81 > --- /dev/null > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-var-som-mx7.dtsi > @@ -0,0 +1,607 @@ > +// SPDX-License-Identifier: GPL-2.0-only This license and... > +#include "imx7d.dtsi" ...what's in here don't match. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest 2023-11-27 21:11 [PATCH 0/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber ` (3 preceding siblings ...) 2023-11-27 21:11 ` [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module Roland Hieber @ 2023-11-27 21:11 ` Roland Hieber 2023-11-28 6:09 ` kernel test robot 2023-11-28 7:56 ` Krzysztof Kozlowski 4 siblings, 2 replies; 20+ messages in thread From: Roland Hieber @ 2023-11-27 21:11 UTC (permalink / raw) To: Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Roland Hieber, Marco Felsch, Philipp Zabel, Michael Tretter From: Marco Felsch <m.felsch@pengutronix.de> This is the initial support for the Gossen Metrawatt Profitest MF (e143_01) board based on a Variscite VAR-SOM-MX7 SoM. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Co-developed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Co-developed-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Co-developed-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 + arch/arm/boot/dts/nxp/imx/Makefile | 1 + arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts | 559 +++++++++++++++++++++++ 3 files changed, 567 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 32b195852a75..b751d289c712 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -900,6 +900,13 @@ properties: - const: toradex,colibri-imx7d-emmc - const: fsl,imx7d + - description: Variscite VAR-SOM-MX7 based boards + items: + - enum: + - gome,e143_01 # Gossen Metrawatt Profitest MF (e143_01) + - const: variscite,var-som-mx7 + - const: fsl,imx7d + - description: i.MX7ULP based Boards items: - enum: diff --git a/arch/arm/boot/dts/nxp/imx/Makefile b/arch/arm/boot/dts/nxp/imx/Makefile index a724d1a7a9a0..f0a68c715a61 100644 --- a/arch/arm/boot/dts/nxp/imx/Makefile +++ b/arch/arm/boot/dts/nxp/imx/Makefile @@ -363,6 +363,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \ imx7d-colibri-iris-v2.dtb \ imx7d-flex-concentrator.dtb \ imx7d-flex-concentrator-mfg.dtb \ + imx7d-gome-e143_01.dtb \ imx7d-mba7.dtb \ imx7d-meerkat96.dtb \ imx7d-nitrogen7.dtb \ diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts b/arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts new file mode 100644 index 000000000000..6e98d34b2e54 --- /dev/null +++ b/arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts @@ -0,0 +1,559 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2022 Gossen Metrawatt GmbH + * Copyright (C) 2022 Marco Felsch, Pengutronix + * Copyright (C) 2022 Philipp Zabel, Pengutronix + * Copyright (C) 2022 Roland Hieber, Pengutronix + */ +/dts-v1/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> +#include "imx7d-var-som-mx7.dtsi" + +/ { + model = "Gossen Metrawatt Profitest MF (e143_01)"; + compatible = "gome,e143_01", "variscite,var-som-mx7", "fsl,imx7d"; + + aliases { + gpio7 = &gpio8; + rtc0 = &rtc0; + }; + + max98357a: audio-codec { + compatible = "maxim,max98357a"; + #sound-dai-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sdmode>; + sdmode-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; // Pin 60 AUDIO_SHDN_B + }; + + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_keys>, <&pinctrl_gpio_keys_2>; + autorepeat; + + button-0 { + label = "S0"; + gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; // Pin 183 BTN_S0_ESC + linux,code = <KEY_ESC>; + wakeup-source; + }; + + button-1 { + label = "S1"; + gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; // Pin 185 BTN_S1_MEM + linux,code = <KEY_DOCUMENTS>; + wakeup-source; + }; + + button-2 { + label = "S2"; + gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; // Pin 181 BTN_S2_HLP + linux,code = <KEY_HELP>; + wakeup-source; + }; + + button-3 { + label = "S3"; + gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; // Pin 1 BTN_S3_STA + linux,code = <KEY_PROG1>; + wakeup-source; + }; + + button-4 { + label = "S4"; + gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; // Pin 168 BTN_S4_IDN + linux,code = <KEY_PROG2>; + wakeup-source; + }; + + button-5 { + label = "S5"; + gpios = <&gpio3 24 GPIO_ACTIVE_LOW>; // Pin 28 BTN_S5 + linux,code = <KEY_F5>; + }; + + button-6 { + label = "S6"; + gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; // Pin 40 BTN_S6 + linux,code = <KEY_F6>; + }; + + button-7 { + label = "S7"; + gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; // Pin 38 BTN_S7 + linux,code = <KEY_F7>; + }; + + button-8 { + label = "S8"; + gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; // Pin 36 BTN_S8 + linux,code = <KEY_F8>; + }; + + button-9 { + label = "S9"; + gpios = <&gpio3 27 GPIO_ACTIVE_LOW>; // Pin 20 BTN_S9 + linux,code = <KEY_F9>; + }; + }; + + gpio-poweroff { + compatible = "gpio-poweroff"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_poweroff>; + gpios = <&gpio7 14 GPIO_ACTIVE_LOW>; // Pin 7 POWER_OFF_B + input; + }; + + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc2 0>, // ARS_VAL + <&adc2 1>, // VBAT_VAL + <&adc2 2>, // LCD_BACKLIGHT_VAL + <&adc2 3>; // VCC_5V0_FB + }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_debug_led>; + + test-led-1 { + label = "test-led-1:red"; + gpios = <&gpio3 2 GPIO_ACTIVE_LOW>; // Pin 44 LED_TEST1_B + color = <LED_COLOR_ID_RED>; + linux,default-trigger = "disk-activity"; + }; + + test-led-2 { + label = "test-led-2:red"; + gpios = <&gpio3 3 GPIO_ACTIVE_LOW>; // Pin 46 LED_TEST2_B + color = <LED_COLOR_ID_RED>; + linux,default-trigger = "heartbeat"; + }; + }; + + leds2 { + compatible = "gpio-leds"; + + led_netz_gn { + label = "mains:green"; + gpios = <&gpio8 9 GPIO_ACTIVE_LOW>; // LED_NETZ_GN + color = <LED_COLOR_ID_GREEN>; + }; + + led_netz_rt { + label = "mains:red"; + gpios = <&gpio8 8 GPIO_ACTIVE_LOW>; // LED_NETZ_RT + color = <LED_COLOR_ID_RED>; + default-state = "on"; + }; + + led_debug_gn { + label = "debug:green"; + gpios = <&gpio8 0 GPIO_ACTIVE_LOW>; // LED_DEBUG_GN + color = <LED_COLOR_ID_GREEN>; + }; + + led_debug_rt { + label = "debug:red"; + gpios = <&gpio8 1 GPIO_ACTIVE_LOW>; // LED_DEBUG_RT + color = <LED_COLOR_ID_RED>; + }; + + led_ul_gn { + label = "ulrl:green"; + gpios = <&gpio8 2 GPIO_ACTIVE_LOW>; // LED_UL_GN + color = <LED_COLOR_ID_GREEN>; + }; + + led_ul_rt { + label = "ulrl:red"; + gpios = <&gpio8 6 GPIO_ACTIVE_LOW>; // LED_UL_RT + color = <LED_COLOR_ID_RED>; + default-state = "on"; + }; + + led_rcd_gn { + label = "rcd:green"; + gpios = <&gpio8 3 GPIO_ACTIVE_LOW>; // LED_RCD_GN + color = <LED_COLOR_ID_GREEN>; + }; + + led_rcd_rt { + label = "rcd:red"; + gpios = <&gpio8 7 GPIO_ACTIVE_LOW>; // LED_RCD_RT + color = <LED_COLOR_ID_RED>; + default-state = "on"; + }; + }; + + reg_vled_backlight: regulator-vled-backlight { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mipi_backlight>; + regulator-name = "VLED_BACKLIGHT"; + gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>; + regulator-min-microvolt = <20000000>; + regulator-max-microvolt = <20000000>; + enable-active-high; + }; + + reg_vcc_3v3_per: regulator-vcc-3v3-per { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_vcc_3v3_per>; + regulator-name = "VCC_3V3_PER"; + gpio = <&gpio2 26 GPIO_ACTIVE_HIGH>; // Pin 83 VCC_3V3_PER_EN + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <30000>; + enable-active-high; + regulator-always-on; + }; + + reg_vcc_5v0_per: regulator-vcc-5v0-per { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_vcc_5v0_per>; + regulator-name = "VCC_5V0_PER"; + gpio = <&gpio2 29 GPIO_ACTIVE_HIGH>; // Pin 75 VCC_5V0_PER_EN + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + }; + + reg_imt: regulator-imt { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_imt>; + regulator-name = "VCC_IMT"; + gpio = <&gpio3 10 GPIO_ACTIVE_HIGH>; // Pin 66 MT_EN + regulator-min-microvolt = <9000000>; + regulator-max-microvolt = <9000000>; + enable-active-high; + }; + + reg_vcc_1v8_alg: regulator-vcc-1v8-alg { + compatible = "regulator-fixed"; + regulator-name = "VCC_1V8_ALG"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <®_vcc_3v3_per>; + }; + + sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "max98357aaudio"; + /delete-property/ simple-audio-card,widgets; + /delete-property/ simple-audio-card,routing; + simple-audio-card,format = "i2s"; + + simple-audio-card,cpu { + sound-dai = <&sai3>; + }; + + simple-audio-card,codec { + sound-dai = <&max98357a>; + }; + }; + + uc-imt-power { + compatible = "reg-userspace-consumer"; + regulator-name = "reg_imt-consumer"; + regulator-supplies = "vcc"; + vcc-supply = <®_imt>; + }; +}; + +&adc2 { + status = "okay"; +}; + +&fec1 { + status = "okay"; +}; + +&i2c2 { + /delete-node/ wm8731@1a; + + /* DS1339 RTC module */ + rtc0: rtc@68 { + compatible = "dallas,ds1339"; + reg = <0x68>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rtc>; + trickle-resistor-ohms = <250>; + interrupt-parent = <&gpio1>; + interrupts = <13 GPIO_ACTIVE_LOW>; // Pin 120 RTC_INT_B + wakeup-source; + }; +}; + +&i2c4 { + clock-frequency = <400000>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c4>; + pinctrl-1 = <&pinctrl_i2c4_gpio>; + scl-gpios = <&gpio4 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; // Pin 175 I2C4_SCL + sda-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; // Pin 173 I2C4_SDA + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + gpio8: max7312@23 { + compatible = "maxim,max7312"; + reg = <0x23>; + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "LED_DEBUG_GN", "LED_DEBUG_RT", "LED_UL_GN", "LED_RCD_GN", + "", "", "LED_UL_RT", "LED_RCD_RT", + "LED_NETZ_RT", "LED_NETZ_GN", "", "", + "DP_HW_CODE_1", "DP_HW_CODE_2", "DP_HW_CODE_3", "DP_HW_CODE_4"; + vcc-supply = <®_vcc_3v3_per>; + }; +}; + +&gpio1 { + gpio-line-names = "GWDOG_RST_B", "BTN_S3_STA", "BTN_S4_IDN", "", + "", "", "", "USB_HOST_PWR_EN", + "", "", "BTN_S2_HLP", "BTN_S1_MEM", + "BTN_S0_ESC", "RTC_INT_B", "SOM: bt reg on"; +}; + +&gpio2 { + gpio-line-names = "", "", "", "", + "DBG_GPIO1", "DBG_GPIO2", "DBG_GPIO3", "DBG_GPIO4", + "", "", "", "", + "MT_RXD", "MT_TXD", "", "", + "", "", "", "", + "", "", "", "", + "", "", "VCC_3V3_PER_EN", "", + "DSI_RESET", "VCC_5V0_PER_EN"; +}; + +&gpio3 { + gpio-line-names = "", "", "LED_TEST1_B", "LED_TEST2_B", + "BTN_S8", "BTN_S6", "MT_RESET", "", + "", "", "MT_EN", "", + "", "", "", "", + "", "", "", "", + "AUDIO_SHDN_B", "", "BTN_S7", "", + "BTN_S5", "", "", "BTN_S9", + "BATT_LOW"; +}; + +&gpio4 { + gpio-line-names = "", "", "", "", + "", "", "", "", + "I2C1_SCL", "I2C1_SDA", "I2C2_SCL", "I2C2_SDA", + "", "", "I2C4_SCL", "I2C4_SDA", + "", "", "", "", + "", "", "", "HIL_SPI_CS0"; +}; + +&gpio5 { + gpio-line-names = "", "", "", "", + "", "", "", "", + "", "", "", "SOM: ethphy0 reset"; +}; + +&gpio6 { + gpio-line-names = "", "", "", "", + "", "", "", "", + "", "", "", "SOM: sd3_pwr (eMMC)"; +}; + +&gpio7 { + gpio-line-names = "", "", "", "", + "", "", "", "", + "", "", "", "", + "LCD_BACKLIGHT_EN", "", "POWER_OFF_B"; +}; + +&lcdif { + assigned-clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_SRC>, + <&clks IMX7D_PLL_VIDEO_POST_DIV>; + assigned-clock-parents = <&clks IMX7D_PLL_VIDEO_POST_DIV>; + assigned-clock-rates = <0>, <128000000>; + status = "okay"; +}; + +&mipi_dsi { + samsung,burst-clock-frequency = <850000000>; + status = "okay"; + + panel@0 { + compatible = "tianma,tm050jdhg33", "ilitek,ili9881c"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mipi_panel>; + reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; // Pin 73 DSI_RESET + power-supply = <®_vcc_3v3_per>; + dsi-lanes = <2>; + + rotation = <90>; + + ilitek,enable-internal-backlight; + default-brightness = <2047>; + ilitek,pwm-frequency = <50000>; + ilitek,backlight-supply = <®_vled_backlight>; + }; +}; + +&sai3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai3>; + assigned-clocks = <&clks IMX7D_SAI3_ROOT_SRC>, + <&clks IMX7D_SAI3_ROOT_CLK>; + assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; + assigned-clock-rates = <0>, <36864000>; + status = "okay"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + status = "okay"; +}; + +&uart7 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart7>; + status = "okay"; +}; + +&usbotg1 { + dr_mode = "peripheral"; + status = "okay"; +}; + +&usbotg2 { + status = "okay"; +}; + +&iomuxc_lpsr { + pinctrl_gpio_keys_2: pinctrl_gpio_keys_2grp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO01__GPIO1_IO1 0x0C + MX7D_PAD_LPSR_GPIO1_IO02__GPIO1_IO2 0x0C + >; + }; + + pinctrl_usbotg2_pwr: pinctrl_usbotg2_pwrgrp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO07__GPIO1_IO7 0x14 + >; + }; +}; + +&iomuxc { + pinctrl_gpio_keys: pinctrl-gpio-keysgrp { + fsl,pins = < + MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x0000000C + MX7D_PAD_GPIO1_IO11__GPIO1_IO11 0x0000000C + MX7D_PAD_GPIO1_IO12__GPIO1_IO12 0x0000000C + MX7D_PAD_LCD_DATA00__GPIO3_IO5 0x0000000C + MX7D_PAD_LCD_DATA17__GPIO3_IO22 0x0000000C + MX7D_PAD_LCD_DATA19__GPIO3_IO24 0x0000000C + MX7D_PAD_LCD_DATA22__GPIO3_IO27 0x0000000C + MX7D_PAD_LCD_RESET__GPIO3_IO4 0x0000000C + >; + }; + + pinctrl_i2c4: i2c4grp { + fsl,pins = < + MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f + MX7D_PAD_I2C4_SDA__I2C4_SDA 0x4000007f + >; + }; + + pinctrl_i2c4_gpio: i2c4-gpiogrp { + fsl,pins = < + MX7D_PAD_I2C4_SCL__GPIO4_IO14 0x4000007f + MX7D_PAD_I2C4_SDA__GPIO4_IO15 0x4000007f + >; + }; + + pinctrl_mipi_backlight: mipi-backlightgrp { + fsl,pins = < + MX7D_PAD_ENET1_TX_CLK__GPIO7_IO12 0x0000001B + >; + }; + + pinctrl_mipi_panel: mipi-panelgrp { + fsl,pins = < + MX7D_PAD_EPDC_BDR0__GPIO2_IO28 0x0000001B /* DSI_RESET */ + >; + }; + + pinctrl_poweroff: pinctrl_poweroffgrp { + fsl,pins = < + MX7D_PAD_ENET1_CRS__GPIO7_IO14 0x0000001B + >; + }; + + pinctrl_reg_vcc_3v3_per: pinctrl_reg_vcc_3v3_pergrp { + fsl,pins = < + MX7D_PAD_EPDC_GDRL__GPIO2_IO26 0x0000001B + >; + }; + + pinctrl_reg_vcc_5v0_per: pinctrl_reg_vcc_5v0_pergrp { + fsl,pins = < + MX7D_PAD_EPDC_BDR1__GPIO2_IO29 0x0000001B + >; + }; + + pinctrl_reg_imt: pinctrl_reg_imtgrp { + fsl,pins = < + MX7D_PAD_LCD_DATA05__GPIO3_IO10 0x0000001B + >; + }; + + pinctrl_rtc: pinctrl_rtcgrp { + fsl,pins = < + MX7D_PAD_GPIO1_IO13__GPIO1_IO13 0x0000001B + >; + }; + + pinctrl_sai3: pinctrl_sai3grp { + fsl,pins = < + MX7D_PAD_SD1_DATA1__SAI3_TX_BCLK 0x0000001F + MX7D_PAD_SD1_DATA2__SAI3_TX_SYNC 0x0000001F + MX7D_PAD_SD1_DATA3__SAI3_TX_DATA0 0x00000030 + >; + }; + + pinctrl_sdmode: pinctrl_sdmodegrp { + fsl,pins = < + MX7D_PAD_LCD_DATA15__GPIO3_IO20 0x0000001F + >; + }; + + pinctrl_uart1: uart1grp { + fsl,pins = < + MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79 /* DEBUG_UART1_TXD */ + MX7D_PAD_UART1_RX_DATA__UART1_DCE_RX 0x79 /* DEBUG_UART1_RXD */ + >; + }; + + pinctrl_uart7: uart7grp { + fsl,pins = < + MX7D_PAD_EPDC_DATA12__UART7_DCE_RX 0x79 + MX7D_PAD_EPDC_DATA13__UART7_DCE_TX 0x79 + >; + }; + + pinctrl_debug_led: pinctrl_debug_ledgrp { + fsl,pins = < + MX7D_PAD_LCD_HSYNC__GPIO3_IO2 0x00000003 + MX7D_PAD_LCD_VSYNC__GPIO3_IO3 0x00000003 + >; + }; +}; -- 2.39.2 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest 2023-11-27 21:11 ` [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber @ 2023-11-28 6:09 ` kernel test robot 2023-11-28 7:56 ` Krzysztof Kozlowski 1 sibling, 0 replies; 20+ messages in thread From: kernel test robot @ 2023-11-28 6:09 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: llvm, oe-kbuild-all, linux-i2c, devicetree, linux-kernel, linux-arm-kernel, Roland Hieber, Marco Felsch, Philipp Zabel, Michael Tretter Hi Roland, kernel test robot noticed the following build errors: [auto build test ERROR on 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab] url: https://github.com/intel-lab-lkp/linux/commits/Roland-Hieber/dt-bindings-at24-add-ROHM-BR24G04/20231128-051542 base: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab patch link: https://lore.kernel.org/r/20231127-b4-imx7-var-som-gome-v1-5-f26f88f2d0bc%40pengutronix.de patch subject: [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest config: arm-defconfig (https://download.01.org/0day-ci/archive/20231128/202311281104.L7nehCxj-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231128/202311281104.L7nehCxj-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202311281104.L7nehCxj-lkp@intel.com/ All errors (new ones prefixed by >>): >> Error: arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts:387.1-10 Label or path mipi_dsi not found FATAL ERROR: Syntax error parsing input tree -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest @ 2023-11-28 6:09 ` kernel test robot 0 siblings, 0 replies; 20+ messages in thread From: kernel test robot @ 2023-11-28 6:09 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: llvm, oe-kbuild-all, linux-i2c, devicetree, linux-kernel, linux-arm-kernel, Roland Hieber, Marco Felsch, Philipp Zabel, Michael Tretter Hi Roland, kernel test robot noticed the following build errors: [auto build test ERROR on 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab] url: https://github.com/intel-lab-lkp/linux/commits/Roland-Hieber/dt-bindings-at24-add-ROHM-BR24G04/20231128-051542 base: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab patch link: https://lore.kernel.org/r/20231127-b4-imx7-var-som-gome-v1-5-f26f88f2d0bc%40pengutronix.de patch subject: [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest config: arm-defconfig (https://download.01.org/0day-ci/archive/20231128/202311281104.L7nehCxj-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231128/202311281104.L7nehCxj-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202311281104.L7nehCxj-lkp@intel.com/ All errors (new ones prefixed by >>): >> Error: arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts:387.1-10 Label or path mipi_dsi not found FATAL ERROR: Syntax error parsing input tree -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest 2023-11-27 21:11 ` [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber @ 2023-11-28 7:56 ` Krzysztof Kozlowski 2023-11-28 7:56 ` Krzysztof Kozlowski 1 sibling, 0 replies; 20+ messages in thread From: Krzysztof Kozlowski @ 2023-11-28 7:56 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Marco Felsch, Philipp Zabel, Michael Tretter On 27/11/2023 22:11, Roland Hieber wrote: > From: Marco Felsch <m.felsch@pengutronix.de> > > This is the initial support for the Gossen Metrawatt Profitest MF > (e143_01) board based on a Variscite VAR-SOM-MX7 SoM. > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > Co-developed-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Co-developed-by: Michael Tretter <m.tretter@pengutronix.de> > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> > Co-developed-by: Roland Hieber <rhi@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 7 + Ah, here you have. No one expected this... Order your patches correctly. User cannot be before documentation. > arch/arm/boot/dts/nxp/imx/Makefile | 1 + > arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts | 559 +++++++++++++++++++++++ Please run scripts/checkpatch.pl and fix reported warnings. Some warnings can be ignored, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. Runnign checkpatch should be a must before sending a patches. > 3 files changed, 567 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > index 32b195852a75..b751d289c712 100644 > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > @@ -900,6 +900,13 @@ properties: > - const: toradex,colibri-imx7d-emmc > - const: fsl,imx7d > > + - description: Variscite VAR-SOM-MX7 based boards > + items: > + - enum: > + - gome,e143_01 # Gossen Metrawatt Profitest MF (e143_01) > + - const: variscite,var-som-mx7 > + - const: fsl,imx7d > + > - description: i.MX7ULP based Boards > items: > - enum: > diff --git a/arch/arm/boot/dts/nxp/imx/Makefile b/arch/arm/boot/dts/nxp/imx/Makefile > index a724d1a7a9a0..f0a68c715a61 100644 > --- a/arch/arm/boot/dts/nxp/imx/Makefile > +++ b/arch/arm/boot/dts/nxp/imx/Makefile > @@ -363,6 +363,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \ > imx7d-colibri-iris-v2.dtb \ > imx7d-flex-concentrator.dtb \ > imx7d-flex-concentrator-mfg.dtb \ > + imx7d-gome-e143_01.dtb \ > imx7d-mba7.dtb \ > imx7d-meerkat96.dtb \ > imx7d-nitrogen7.dtb \ > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts b/arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts > new file mode 100644 > index 000000000000..6e98d34b2e54 > --- /dev/null > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts > @@ -0,0 +1,559 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright (C) 2022 Gossen Metrawatt GmbH > + * Copyright (C) 2022 Marco Felsch, Pengutronix > + * Copyright (C) 2022 Philipp Zabel, Pengutronix > + * Copyright (C) 2022 Roland Hieber, Pengutronix > + */ > +/dts-v1/; > + > +#include <dt-bindings/gpio/gpio.h> > +#include <dt-bindings/input/input.h> > +#include <dt-bindings/leds/common.h> > +#include "imx7d-var-som-mx7.dtsi" > + > +/ { > + model = "Gossen Metrawatt Profitest MF (e143_01)"; > + compatible = "gome,e143_01", "variscite,var-som-mx7", "fsl,imx7d"; > + > + aliases { > + gpio7 = &gpio8; > + rtc0 = &rtc0; > + }; > + > + max98357a: audio-codec { > + compatible = "maxim,max98357a"; > + #sound-dai-cells = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sdmode>; > + sdmode-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; // Pin 60 AUDIO_SHDN_B > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_gpio_keys>, <&pinctrl_gpio_keys_2>; > + autorepeat; > + > + button-0 { > + label = "S0"; > + gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; // Pin 183 BTN_S0_ESC > + linux,code = <KEY_ESC>; > + wakeup-source; > + }; > + > + button-1 { > + label = "S1"; > + gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; // Pin 185 BTN_S1_MEM > + linux,code = <KEY_DOCUMENTS>; > + wakeup-source; > + }; > + > + button-2 { > + label = "S2"; > + gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; // Pin 181 BTN_S2_HLP > + linux,code = <KEY_HELP>; > + wakeup-source; > + }; > + > + button-3 { > + label = "S3"; > + gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; // Pin 1 BTN_S3_STA > + linux,code = <KEY_PROG1>; > + wakeup-source; > + }; > + > + button-4 { > + label = "S4"; > + gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; // Pin 168 BTN_S4_IDN > + linux,code = <KEY_PROG2>; > + wakeup-source; > + }; > + > + button-5 { > + label = "S5"; > + gpios = <&gpio3 24 GPIO_ACTIVE_LOW>; // Pin 28 BTN_S5 > + linux,code = <KEY_F5>; > + }; > + > + button-6 { > + label = "S6"; > + gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; // Pin 40 BTN_S6 > + linux,code = <KEY_F6>; > + }; > + > + button-7 { > + label = "S7"; > + gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; // Pin 38 BTN_S7 > + linux,code = <KEY_F7>; > + }; > + > + button-8 { > + label = "S8"; > + gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; // Pin 36 BTN_S8 > + linux,code = <KEY_F8>; > + }; > + > + button-9 { > + label = "S9"; > + gpios = <&gpio3 27 GPIO_ACTIVE_LOW>; // Pin 20 BTN_S9 > + linux,code = <KEY_F9>; > + }; > + }; > + > + gpio-poweroff { > + compatible = "gpio-poweroff"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_poweroff>; > + gpios = <&gpio7 14 GPIO_ACTIVE_LOW>; // Pin 7 POWER_OFF_B > + input; > + }; > + > + iio-hwmon { > + compatible = "iio-hwmon"; > + io-channels = <&adc2 0>, // ARS_VAL > + <&adc2 1>, // VBAT_VAL > + <&adc2 2>, // LCD_BACKLIGHT_VAL > + <&adc2 3>; // VCC_5V0_FB > + }; > + > + leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_debug_led>; > + > + test-led-1 { led-0 > + label = "test-led-1:red"; > + gpios = <&gpio3 2 GPIO_ACTIVE_LOW>; // Pin 44 LED_TEST1_B > + color = <LED_COLOR_ID_RED>; > + linux,default-trigger = "disk-activity"; > + }; > + > + test-led-2 { led-1 > + label = "test-led-2:red"; > + gpios = <&gpio3 3 GPIO_ACTIVE_LOW>; // Pin 46 LED_TEST2_B > + color = <LED_COLOR_ID_RED>; > + linux,default-trigger = "heartbeat"; > + }; > + }; > + > + leds2 { > + compatible = "gpio-leds"; > + > + led_netz_gn { led-0 No underscores > + label = "mains:green"; > + gpios = <&gpio8 9 GPIO_ACTIVE_LOW>; // LED_NETZ_GN > + color = <LED_COLOR_ID_GREEN>; > + }; > + > + led_netz_rt { led-1 You get the point, I hope. ... > +&i2c4 { > + clock-frequency = <400000>; > + pinctrl-names = "default", "gpio"; > + pinctrl-0 = <&pinctrl_i2c4>; > + pinctrl-1 = <&pinctrl_i2c4_gpio>; > + scl-gpios = <&gpio4 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; // Pin 175 I2C4_SCL > + sda-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; // Pin 173 I2C4_SDA > + status = "okay"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + gpio8: max7312@23 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "maxim,max7312"; > + reg = <0x23>; > + gpio-controller; > + #gpio-cells = <2>; > + gpio-line-names = "LED_DEBUG_GN", "LED_DEBUG_RT", "LED_UL_GN", "LED_RCD_GN", > + "", "", "LED_UL_RT", "LED_RCD_RT", > + "LED_NETZ_RT", "LED_NETZ_GN", "", "", > + "DP_HW_CODE_1", "DP_HW_CODE_2", "DP_HW_CODE_3", "DP_HW_CODE_4"; > + vcc-supply = <®_vcc_3v3_per>; > + }; > +}; > + > +&gpio1 { > + gpio-line-names = "GWDOG_RST_B", "BTN_S3_STA", "BTN_S4_IDN", "", > + "", "", "", "USB_HOST_PWR_EN", > + "", "", "BTN_S2_HLP", "BTN_S1_MEM", > + "BTN_S0_ESC", "RTC_INT_B", "SOM: bt reg on"; > +}; > + > +&gpio2 { > + gpio-line-names = "", "", "", "", > + "DBG_GPIO1", "DBG_GPIO2", "DBG_GPIO3", "DBG_GPIO4", > + "", "", "", "", > + "MT_RXD", "MT_TXD", "", "", > + "", "", "", "", > + "", "", "", "", > + "", "", "VCC_3V3_PER_EN", "", > + "DSI_RESET", "VCC_5V0_PER_EN"; > +}; > + > +&gpio3 { > + gpio-line-names = "", "", "LED_TEST1_B", "LED_TEST2_B", > + "BTN_S8", "BTN_S6", "MT_RESET", "", > + "", "", "MT_EN", "", > + "", "", "", "", > + "", "", "", "", > + "AUDIO_SHDN_B", "", "BTN_S7", "", > + "BTN_S5", "", "", "BTN_S9", > + "BATT_LOW"; > +}; > + > +&gpio4 { > + gpio-line-names = "", "", "", "", > + "", "", "", "", > + "I2C1_SCL", "I2C1_SDA", "I2C2_SCL", "I2C2_SDA", > + "", "", "I2C4_SCL", "I2C4_SDA", > + "", "", "", "", > + "", "", "", "HIL_SPI_CS0"; > +}; > + > +&gpio5 { > + gpio-line-names = "", "", "", "", > + "", "", "", "", > + "", "", "", "SOM: ethphy0 reset"; > +}; > + > +&gpio6 { > + gpio-line-names = "", "", "", "", > + "", "", "", "", > + "", "", "", "SOM: sd3_pwr (eMMC)"; > +}; > + > +&gpio7 { > + gpio-line-names = "", "", "", "", > + "", "", "", "", > + "", "", "", "", > + "LCD_BACKLIGHT_EN", "", "POWER_OFF_B"; > +}; > + > +&lcdif { > + assigned-clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_SRC>, > + <&clks IMX7D_PLL_VIDEO_POST_DIV>; > + assigned-clock-parents = <&clks IMX7D_PLL_VIDEO_POST_DIV>; > + assigned-clock-rates = <0>, <128000000>; > + status = "okay"; > +}; > + > +&mipi_dsi { > + samsung,burst-clock-frequency = <850000000>; > + status = "okay"; > + > + panel@0 { > + compatible = "tianma,tm050jdhg33", "ilitek,ili9881c"; > + reg = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_mipi_panel>; > + reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; // Pin 73 DSI_RESET > + power-supply = <®_vcc_3v3_per>; > + dsi-lanes = <2>; > + > + rotation = <90>; > + > + ilitek,enable-internal-backlight; > + default-brightness = <2047>; > + ilitek,pwm-frequency = <50000>; > + ilitek,backlight-supply = <®_vled_backlight>; > + }; > +}; > + > +&sai3 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sai3>; > + assigned-clocks = <&clks IMX7D_SAI3_ROOT_SRC>, > + <&clks IMX7D_SAI3_ROOT_CLK>; > + assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; > + assigned-clock-rates = <0>, <36864000>; > + status = "okay"; > +}; > + > +&uart1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart1>; > + status = "okay"; > +}; > + > +&uart7 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart7>; > + status = "okay"; > +}; > + > +&usbotg1 { > + dr_mode = "peripheral"; > + status = "okay"; > +}; > + > +&usbotg2 { > + status = "okay"; > +}; > + > +&iomuxc_lpsr { > + pinctrl_gpio_keys_2: pinctrl_gpio_keys_2grp { > + fsl,pins = < > + MX7D_PAD_LPSR_GPIO1_IO01__GPIO1_IO1 0x0C > + MX7D_PAD_LPSR_GPIO1_IO02__GPIO1_IO2 0x0C > + >; > + }; > + > + pinctrl_usbotg2_pwr: pinctrl_usbotg2_pwrgrp { > + fsl,pins = < > + MX7D_PAD_LPSR_GPIO1_IO07__GPIO1_IO7 0x14 > + >; > + }; > +}; > + > +&iomuxc { > + pinctrl_gpio_keys: pinctrl-gpio-keysgrp { > + fsl,pins = < > + MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x0000000C > + MX7D_PAD_GPIO1_IO11__GPIO1_IO11 0x0000000C > + MX7D_PAD_GPIO1_IO12__GPIO1_IO12 0x0000000C > + MX7D_PAD_LCD_DATA00__GPIO3_IO5 0x0000000C > + MX7D_PAD_LCD_DATA17__GPIO3_IO22 0x0000000C > + MX7D_PAD_LCD_DATA19__GPIO3_IO24 0x0000000C > + MX7D_PAD_LCD_DATA22__GPIO3_IO27 0x0000000C > + MX7D_PAD_LCD_RESET__GPIO3_IO4 0x0000000C > + >; > + }; > + > + pinctrl_i2c4: i2c4grp { > + fsl,pins = < > + MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f > + MX7D_PAD_I2C4_SDA__I2C4_SDA 0x4000007f > + >; > + }; > + > + pinctrl_i2c4_gpio: i2c4-gpiogrp { > + fsl,pins = < > + MX7D_PAD_I2C4_SCL__GPIO4_IO14 0x4000007f > + MX7D_PAD_I2C4_SDA__GPIO4_IO15 0x4000007f > + >; > + }; > + > + pinctrl_mipi_backlight: mipi-backlightgrp { > + fsl,pins = < > + MX7D_PAD_ENET1_TX_CLK__GPIO7_IO12 0x0000001B > + >; > + }; > + > + pinctrl_mipi_panel: mipi-panelgrp { > + fsl,pins = < > + MX7D_PAD_EPDC_BDR0__GPIO2_IO28 0x0000001B /* DSI_RESET */ > + >; > + }; > + > + pinctrl_poweroff: pinctrl_poweroffgrp { > + fsl,pins = < > + MX7D_PAD_ENET1_CRS__GPIO7_IO14 0x0000001B > + >; > + }; > + > + pinctrl_reg_vcc_3v3_per: pinctrl_reg_vcc_3v3_pergrp { > + fsl,pins = < > + MX7D_PAD_EPDC_GDRL__GPIO2_IO26 0x0000001B > + >; > + }; > + > + pinctrl_reg_vcc_5v0_per: pinctrl_reg_vcc_5v0_pergrp { > + fsl,pins = < > + MX7D_PAD_EPDC_BDR1__GPIO2_IO29 0x0000001B > + >; > + }; > + > + pinctrl_reg_imt: pinctrl_reg_imtgrp { > + fsl,pins = < > + MX7D_PAD_LCD_DATA05__GPIO3_IO10 0x0000001B > + >; > + }; > + > + pinctrl_rtc: pinctrl_rtcgrp { Again underscores. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest @ 2023-11-28 7:56 ` Krzysztof Kozlowski 0 siblings, 0 replies; 20+ messages in thread From: Krzysztof Kozlowski @ 2023-11-28 7:56 UTC (permalink / raw) To: Roland Hieber, Bartosz Golaszewski, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Li Yang Cc: linux-i2c, devicetree, linux-kernel, Rob Herring, linux-arm-kernel, Marco Felsch, Philipp Zabel, Michael Tretter On 27/11/2023 22:11, Roland Hieber wrote: > From: Marco Felsch <m.felsch@pengutronix.de> > > This is the initial support for the Gossen Metrawatt Profitest MF > (e143_01) board based on a Variscite VAR-SOM-MX7 SoM. > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > Co-developed-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Co-developed-by: Michael Tretter <m.tretter@pengutronix.de> > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> > Co-developed-by: Roland Hieber <rhi@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 7 + Ah, here you have. No one expected this... Order your patches correctly. User cannot be before documentation. > arch/arm/boot/dts/nxp/imx/Makefile | 1 + > arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts | 559 +++++++++++++++++++++++ Please run scripts/checkpatch.pl and fix reported warnings. Some warnings can be ignored, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. Runnign checkpatch should be a must before sending a patches. > 3 files changed, 567 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > index 32b195852a75..b751d289c712 100644 > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > @@ -900,6 +900,13 @@ properties: > - const: toradex,colibri-imx7d-emmc > - const: fsl,imx7d > > + - description: Variscite VAR-SOM-MX7 based boards > + items: > + - enum: > + - gome,e143_01 # Gossen Metrawatt Profitest MF (e143_01) > + - const: variscite,var-som-mx7 > + - const: fsl,imx7d > + > - description: i.MX7ULP based Boards > items: > - enum: > diff --git a/arch/arm/boot/dts/nxp/imx/Makefile b/arch/arm/boot/dts/nxp/imx/Makefile > index a724d1a7a9a0..f0a68c715a61 100644 > --- a/arch/arm/boot/dts/nxp/imx/Makefile > +++ b/arch/arm/boot/dts/nxp/imx/Makefile > @@ -363,6 +363,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \ > imx7d-colibri-iris-v2.dtb \ > imx7d-flex-concentrator.dtb \ > imx7d-flex-concentrator-mfg.dtb \ > + imx7d-gome-e143_01.dtb \ > imx7d-mba7.dtb \ > imx7d-meerkat96.dtb \ > imx7d-nitrogen7.dtb \ > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts b/arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts > new file mode 100644 > index 000000000000..6e98d34b2e54 > --- /dev/null > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-gome-e143_01.dts > @@ -0,0 +1,559 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright (C) 2022 Gossen Metrawatt GmbH > + * Copyright (C) 2022 Marco Felsch, Pengutronix > + * Copyright (C) 2022 Philipp Zabel, Pengutronix > + * Copyright (C) 2022 Roland Hieber, Pengutronix > + */ > +/dts-v1/; > + > +#include <dt-bindings/gpio/gpio.h> > +#include <dt-bindings/input/input.h> > +#include <dt-bindings/leds/common.h> > +#include "imx7d-var-som-mx7.dtsi" > + > +/ { > + model = "Gossen Metrawatt Profitest MF (e143_01)"; > + compatible = "gome,e143_01", "variscite,var-som-mx7", "fsl,imx7d"; > + > + aliases { > + gpio7 = &gpio8; > + rtc0 = &rtc0; > + }; > + > + max98357a: audio-codec { > + compatible = "maxim,max98357a"; > + #sound-dai-cells = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sdmode>; > + sdmode-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; // Pin 60 AUDIO_SHDN_B > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_gpio_keys>, <&pinctrl_gpio_keys_2>; > + autorepeat; > + > + button-0 { > + label = "S0"; > + gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; // Pin 183 BTN_S0_ESC > + linux,code = <KEY_ESC>; > + wakeup-source; > + }; > + > + button-1 { > + label = "S1"; > + gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; // Pin 185 BTN_S1_MEM > + linux,code = <KEY_DOCUMENTS>; > + wakeup-source; > + }; > + > + button-2 { > + label = "S2"; > + gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; // Pin 181 BTN_S2_HLP > + linux,code = <KEY_HELP>; > + wakeup-source; > + }; > + > + button-3 { > + label = "S3"; > + gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; // Pin 1 BTN_S3_STA > + linux,code = <KEY_PROG1>; > + wakeup-source; > + }; > + > + button-4 { > + label = "S4"; > + gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; // Pin 168 BTN_S4_IDN > + linux,code = <KEY_PROG2>; > + wakeup-source; > + }; > + > + button-5 { > + label = "S5"; > + gpios = <&gpio3 24 GPIO_ACTIVE_LOW>; // Pin 28 BTN_S5 > + linux,code = <KEY_F5>; > + }; > + > + button-6 { > + label = "S6"; > + gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; // Pin 40 BTN_S6 > + linux,code = <KEY_F6>; > + }; > + > + button-7 { > + label = "S7"; > + gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; // Pin 38 BTN_S7 > + linux,code = <KEY_F7>; > + }; > + > + button-8 { > + label = "S8"; > + gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; // Pin 36 BTN_S8 > + linux,code = <KEY_F8>; > + }; > + > + button-9 { > + label = "S9"; > + gpios = <&gpio3 27 GPIO_ACTIVE_LOW>; // Pin 20 BTN_S9 > + linux,code = <KEY_F9>; > + }; > + }; > + > + gpio-poweroff { > + compatible = "gpio-poweroff"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_poweroff>; > + gpios = <&gpio7 14 GPIO_ACTIVE_LOW>; // Pin 7 POWER_OFF_B > + input; > + }; > + > + iio-hwmon { > + compatible = "iio-hwmon"; > + io-channels = <&adc2 0>, // ARS_VAL > + <&adc2 1>, // VBAT_VAL > + <&adc2 2>, // LCD_BACKLIGHT_VAL > + <&adc2 3>; // VCC_5V0_FB > + }; > + > + leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_debug_led>; > + > + test-led-1 { led-0 > + label = "test-led-1:red"; > + gpios = <&gpio3 2 GPIO_ACTIVE_LOW>; // Pin 44 LED_TEST1_B > + color = <LED_COLOR_ID_RED>; > + linux,default-trigger = "disk-activity"; > + }; > + > + test-led-2 { led-1 > + label = "test-led-2:red"; > + gpios = <&gpio3 3 GPIO_ACTIVE_LOW>; // Pin 46 LED_TEST2_B > + color = <LED_COLOR_ID_RED>; > + linux,default-trigger = "heartbeat"; > + }; > + }; > + > + leds2 { > + compatible = "gpio-leds"; > + > + led_netz_gn { led-0 No underscores > + label = "mains:green"; > + gpios = <&gpio8 9 GPIO_ACTIVE_LOW>; // LED_NETZ_GN > + color = <LED_COLOR_ID_GREEN>; > + }; > + > + led_netz_rt { led-1 You get the point, I hope. ... > +&i2c4 { > + clock-frequency = <400000>; > + pinctrl-names = "default", "gpio"; > + pinctrl-0 = <&pinctrl_i2c4>; > + pinctrl-1 = <&pinctrl_i2c4_gpio>; > + scl-gpios = <&gpio4 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; // Pin 175 I2C4_SCL > + sda-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; // Pin 173 I2C4_SDA > + status = "okay"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + gpio8: max7312@23 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "maxim,max7312"; > + reg = <0x23>; > + gpio-controller; > + #gpio-cells = <2>; > + gpio-line-names = "LED_DEBUG_GN", "LED_DEBUG_RT", "LED_UL_GN", "LED_RCD_GN", > + "", "", "LED_UL_RT", "LED_RCD_RT", > + "LED_NETZ_RT", "LED_NETZ_GN", "", "", > + "DP_HW_CODE_1", "DP_HW_CODE_2", "DP_HW_CODE_3", "DP_HW_CODE_4"; > + vcc-supply = <®_vcc_3v3_per>; > + }; > +}; > + > +&gpio1 { > + gpio-line-names = "GWDOG_RST_B", "BTN_S3_STA", "BTN_S4_IDN", "", > + "", "", "", "USB_HOST_PWR_EN", > + "", "", "BTN_S2_HLP", "BTN_S1_MEM", > + "BTN_S0_ESC", "RTC_INT_B", "SOM: bt reg on"; > +}; > + > +&gpio2 { > + gpio-line-names = "", "", "", "", > + "DBG_GPIO1", "DBG_GPIO2", "DBG_GPIO3", "DBG_GPIO4", > + "", "", "", "", > + "MT_RXD", "MT_TXD", "", "", > + "", "", "", "", > + "", "", "", "", > + "", "", "VCC_3V3_PER_EN", "", > + "DSI_RESET", "VCC_5V0_PER_EN"; > +}; > + > +&gpio3 { > + gpio-line-names = "", "", "LED_TEST1_B", "LED_TEST2_B", > + "BTN_S8", "BTN_S6", "MT_RESET", "", > + "", "", "MT_EN", "", > + "", "", "", "", > + "", "", "", "", > + "AUDIO_SHDN_B", "", "BTN_S7", "", > + "BTN_S5", "", "", "BTN_S9", > + "BATT_LOW"; > +}; > + > +&gpio4 { > + gpio-line-names = "", "", "", "", > + "", "", "", "", > + "I2C1_SCL", "I2C1_SDA", "I2C2_SCL", "I2C2_SDA", > + "", "", "I2C4_SCL", "I2C4_SDA", > + "", "", "", "", > + "", "", "", "HIL_SPI_CS0"; > +}; > + > +&gpio5 { > + gpio-line-names = "", "", "", "", > + "", "", "", "", > + "", "", "", "SOM: ethphy0 reset"; > +}; > + > +&gpio6 { > + gpio-line-names = "", "", "", "", > + "", "", "", "", > + "", "", "", "SOM: sd3_pwr (eMMC)"; > +}; > + > +&gpio7 { > + gpio-line-names = "", "", "", "", > + "", "", "", "", > + "", "", "", "", > + "LCD_BACKLIGHT_EN", "", "POWER_OFF_B"; > +}; > + > +&lcdif { > + assigned-clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_SRC>, > + <&clks IMX7D_PLL_VIDEO_POST_DIV>; > + assigned-clock-parents = <&clks IMX7D_PLL_VIDEO_POST_DIV>; > + assigned-clock-rates = <0>, <128000000>; > + status = "okay"; > +}; > + > +&mipi_dsi { > + samsung,burst-clock-frequency = <850000000>; > + status = "okay"; > + > + panel@0 { > + compatible = "tianma,tm050jdhg33", "ilitek,ili9881c"; > + reg = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_mipi_panel>; > + reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; // Pin 73 DSI_RESET > + power-supply = <®_vcc_3v3_per>; > + dsi-lanes = <2>; > + > + rotation = <90>; > + > + ilitek,enable-internal-backlight; > + default-brightness = <2047>; > + ilitek,pwm-frequency = <50000>; > + ilitek,backlight-supply = <®_vled_backlight>; > + }; > +}; > + > +&sai3 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sai3>; > + assigned-clocks = <&clks IMX7D_SAI3_ROOT_SRC>, > + <&clks IMX7D_SAI3_ROOT_CLK>; > + assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>; > + assigned-clock-rates = <0>, <36864000>; > + status = "okay"; > +}; > + > +&uart1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart1>; > + status = "okay"; > +}; > + > +&uart7 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_uart7>; > + status = "okay"; > +}; > + > +&usbotg1 { > + dr_mode = "peripheral"; > + status = "okay"; > +}; > + > +&usbotg2 { > + status = "okay"; > +}; > + > +&iomuxc_lpsr { > + pinctrl_gpio_keys_2: pinctrl_gpio_keys_2grp { > + fsl,pins = < > + MX7D_PAD_LPSR_GPIO1_IO01__GPIO1_IO1 0x0C > + MX7D_PAD_LPSR_GPIO1_IO02__GPIO1_IO2 0x0C > + >; > + }; > + > + pinctrl_usbotg2_pwr: pinctrl_usbotg2_pwrgrp { > + fsl,pins = < > + MX7D_PAD_LPSR_GPIO1_IO07__GPIO1_IO7 0x14 > + >; > + }; > +}; > + > +&iomuxc { > + pinctrl_gpio_keys: pinctrl-gpio-keysgrp { > + fsl,pins = < > + MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x0000000C > + MX7D_PAD_GPIO1_IO11__GPIO1_IO11 0x0000000C > + MX7D_PAD_GPIO1_IO12__GPIO1_IO12 0x0000000C > + MX7D_PAD_LCD_DATA00__GPIO3_IO5 0x0000000C > + MX7D_PAD_LCD_DATA17__GPIO3_IO22 0x0000000C > + MX7D_PAD_LCD_DATA19__GPIO3_IO24 0x0000000C > + MX7D_PAD_LCD_DATA22__GPIO3_IO27 0x0000000C > + MX7D_PAD_LCD_RESET__GPIO3_IO4 0x0000000C > + >; > + }; > + > + pinctrl_i2c4: i2c4grp { > + fsl,pins = < > + MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f > + MX7D_PAD_I2C4_SDA__I2C4_SDA 0x4000007f > + >; > + }; > + > + pinctrl_i2c4_gpio: i2c4-gpiogrp { > + fsl,pins = < > + MX7D_PAD_I2C4_SCL__GPIO4_IO14 0x4000007f > + MX7D_PAD_I2C4_SDA__GPIO4_IO15 0x4000007f > + >; > + }; > + > + pinctrl_mipi_backlight: mipi-backlightgrp { > + fsl,pins = < > + MX7D_PAD_ENET1_TX_CLK__GPIO7_IO12 0x0000001B > + >; > + }; > + > + pinctrl_mipi_panel: mipi-panelgrp { > + fsl,pins = < > + MX7D_PAD_EPDC_BDR0__GPIO2_IO28 0x0000001B /* DSI_RESET */ > + >; > + }; > + > + pinctrl_poweroff: pinctrl_poweroffgrp { > + fsl,pins = < > + MX7D_PAD_ENET1_CRS__GPIO7_IO14 0x0000001B > + >; > + }; > + > + pinctrl_reg_vcc_3v3_per: pinctrl_reg_vcc_3v3_pergrp { > + fsl,pins = < > + MX7D_PAD_EPDC_GDRL__GPIO2_IO26 0x0000001B > + >; > + }; > + > + pinctrl_reg_vcc_5v0_per: pinctrl_reg_vcc_5v0_pergrp { > + fsl,pins = < > + MX7D_PAD_EPDC_BDR1__GPIO2_IO29 0x0000001B > + >; > + }; > + > + pinctrl_reg_imt: pinctrl_reg_imtgrp { > + fsl,pins = < > + MX7D_PAD_LCD_DATA05__GPIO3_IO10 0x0000001B > + >; > + }; > + > + pinctrl_rtc: pinctrl_rtcgrp { Again underscores. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2023-12-01 9:39 UTC | newest] Thread overview: 20+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-11-27 21:11 [PATCH 0/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber 2023-11-27 21:11 ` [PATCH 1/5] dt-bindings: at24: add ROHM BR24G04 Roland Hieber 2023-11-28 7:51 ` Krzysztof Kozlowski 2023-11-28 7:51 ` Krzysztof Kozlowski 2023-12-01 9:38 ` Bartosz Golaszewski 2023-12-01 9:38 ` Bartosz Golaszewski 2023-11-27 21:11 ` [PATCH 2/5] dt-bindings: vendor-prefixes: add Gossen Metrawatt Roland Hieber 2023-11-28 7:52 ` Krzysztof Kozlowski 2023-11-28 7:52 ` Krzysztof Kozlowski 2023-11-27 21:11 ` [PATCH 3/5] ARM: dts: imx7d-pinfunc: add mux for OSC32K_32K_OUT via GPIO1_IO03 Roland Hieber 2023-11-27 21:11 ` [PATCH 4/5] ARM: dts: add Variscite VAR-SOM-MX7 System on Module Roland Hieber 2023-11-28 7:53 ` Krzysztof Kozlowski 2023-11-28 7:53 ` Krzysztof Kozlowski 2023-11-28 17:22 ` Rob Herring 2023-11-28 17:22 ` Rob Herring 2023-11-27 21:11 ` [PATCH 5/5] ARM: dts: add support for Gossen Metrawatt Profitest Roland Hieber 2023-11-28 6:09 ` kernel test robot 2023-11-28 6:09 ` kernel test robot 2023-11-28 7:56 ` Krzysztof Kozlowski 2023-11-28 7:56 ` Krzysztof Kozlowski
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.