Re: [PATCH 4/5] ARM: dts: imx6ul-pico-hobbit: Extend peripherals support
On Sun, Dec 02, 2018 at 07:18:08PM -0200, Otavio Salvador wrote: > From: Fabio Estevam > > This adds following peripherals support: > > - ADC > - GPIO LED > - GPIOs > > Signed-off-by: Fabio Estevam > Signed-off-by: Otavio Salvador > --- > > arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 30 > 1 file changed, 30 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts > b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts > index 8656ccbb5a06..f2dd6945e98c 100644 > --- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts > +++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts > @@ -14,6 +14,8 @@ > > leds { > compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <_gpio_leds>; > > led { > label = "gpio-led"; > @@ -58,6 +60,12 @@ > { > status = "okay"; > > + adc081c: adc@50 { > + compatible = "ti,adc081c"; > + reg = <0x50>; > + vref-supply = <_3p3v>; > + }; > + The child nodes should be sorted in order of unit-address. That said, it should go after touchscreen@38 below. I fixed it up and applied the series. Shawn > polytouch: touchscreen@38 { > compatible = "edt,edt-ft5x06"; > reg = <0x38>; > @@ -68,3 +76,25 @@ > touchscreen-size-y = <480>; > }; > }; > + > + { > + pinctrl-names = "default"; > + pinctrl-0 = <_hog>; > + > + pinctrl_hog: hoggrp { > + fsl,pins = < > + MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x10b0 > + MX6UL_PAD_CSI_DATA00__GPIO4_IO210x10b0 > + MX6UL_PAD_CSI_DATA01__GPIO4_IO220x10b0 > + MX6UL_PAD_CSI_DATA02__GPIO4_IO230x10b0 > + MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x10b0 > + MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x10b0 > + >; > + }; > + > + pinctrl_gpio_leds: gpioledsgrp { > + fsl,pins = < > + MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x10b0 > + >; > + }; > +}; > -- > 2.19.2 >
Re: [PATCH 4/5] ARM: dts: imx6ul-pico-hobbit: Extend peripherals support
On Sun, Dec 02, 2018 at 07:18:08PM -0200, Otavio Salvador wrote: > From: Fabio Estevam > > This adds following peripherals support: > > - ADC > - GPIO LED > - GPIOs > > Signed-off-by: Fabio Estevam > Signed-off-by: Otavio Salvador > --- > > arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 30 > 1 file changed, 30 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts > b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts > index 8656ccbb5a06..f2dd6945e98c 100644 > --- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts > +++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts > @@ -14,6 +14,8 @@ > > leds { > compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <_gpio_leds>; > > led { > label = "gpio-led"; > @@ -58,6 +60,12 @@ > { > status = "okay"; > > + adc081c: adc@50 { > + compatible = "ti,adc081c"; > + reg = <0x50>; > + vref-supply = <_3p3v>; > + }; > + The child nodes should be sorted in order of unit-address. That said, it should go after touchscreen@38 below. I fixed it up and applied the series. Shawn > polytouch: touchscreen@38 { > compatible = "edt,edt-ft5x06"; > reg = <0x38>; > @@ -68,3 +76,25 @@ > touchscreen-size-y = <480>; > }; > }; > + > + { > + pinctrl-names = "default"; > + pinctrl-0 = <_hog>; > + > + pinctrl_hog: hoggrp { > + fsl,pins = < > + MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x10b0 > + MX6UL_PAD_CSI_DATA00__GPIO4_IO210x10b0 > + MX6UL_PAD_CSI_DATA01__GPIO4_IO220x10b0 > + MX6UL_PAD_CSI_DATA02__GPIO4_IO230x10b0 > + MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x10b0 > + MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x10b0 > + >; > + }; > + > + pinctrl_gpio_leds: gpioledsgrp { > + fsl,pins = < > + MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x10b0 > + >; > + }; > +}; > -- > 2.19.2 >
[PATCH 4/5] ARM: dts: imx6ul-pico-hobbit: Extend peripherals support
From: Fabio Estevam This adds following peripherals support: - ADC - GPIO LED - GPIOs Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 30 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts index 8656ccbb5a06..f2dd6945e98c 100644 --- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts +++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts @@ -14,6 +14,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <_gpio_leds>; led { label = "gpio-led"; @@ -58,6 +60,12 @@ { status = "okay"; + adc081c: adc@50 { + compatible = "ti,adc081c"; + reg = <0x50>; + vref-supply = <_3p3v>; + }; + polytouch: touchscreen@38 { compatible = "edt,edt-ft5x06"; reg = <0x38>; @@ -68,3 +76,25 @@ touchscreen-size-y = <480>; }; }; + + { + pinctrl-names = "default"; + pinctrl-0 = <_hog>; + + pinctrl_hog: hoggrp { + fsl,pins = < + MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x10b0 + MX6UL_PAD_CSI_DATA00__GPIO4_IO210x10b0 + MX6UL_PAD_CSI_DATA01__GPIO4_IO220x10b0 + MX6UL_PAD_CSI_DATA02__GPIO4_IO230x10b0 + MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x10b0 + MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x10b0 + >; + }; + + pinctrl_gpio_leds: gpioledsgrp { + fsl,pins = < + MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x10b0 + >; + }; +}; -- 2.19.2
[PATCH 4/5] ARM: dts: imx6ul-pico-hobbit: Extend peripherals support
From: Fabio Estevam This adds following peripherals support: - ADC - GPIO LED - GPIOs Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 30 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts index 8656ccbb5a06..f2dd6945e98c 100644 --- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts +++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts @@ -14,6 +14,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <_gpio_leds>; led { label = "gpio-led"; @@ -58,6 +60,12 @@ { status = "okay"; + adc081c: adc@50 { + compatible = "ti,adc081c"; + reg = <0x50>; + vref-supply = <_3p3v>; + }; + polytouch: touchscreen@38 { compatible = "edt,edt-ft5x06"; reg = <0x38>; @@ -68,3 +76,25 @@ touchscreen-size-y = <480>; }; }; + + { + pinctrl-names = "default"; + pinctrl-0 = <_hog>; + + pinctrl_hog: hoggrp { + fsl,pins = < + MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x10b0 + MX6UL_PAD_CSI_DATA00__GPIO4_IO210x10b0 + MX6UL_PAD_CSI_DATA01__GPIO4_IO220x10b0 + MX6UL_PAD_CSI_DATA02__GPIO4_IO230x10b0 + MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x10b0 + MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x10b0 + >; + }; + + pinctrl_gpio_leds: gpioledsgrp { + fsl,pins = < + MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x10b0 + >; + }; +}; -- 2.19.2