On Fri, Oct 26, 2018 at 06:31:56PM -0700, Andrey Smirnov wrote: > diff --git a/arch/arm/dts/vf610-zii-cfu1.dts b/arch/arm/dts/vf610-zii-cfu1.dts > index 149333596..74ec9fd1d 100644 > --- a/arch/arm/dts/vf610-zii-cfu1.dts > +++ b/arch/arm/dts/vf610-zii-cfu1.dts > @@ -19,3 +19,28 @@ > }; > }; > > + > +&gpio3 { > + fim-tdis { > + gpio-hog; > + gpios = <22 GPIO_ACTIVE_HIGH>; > + output-low; > + line-name = "fim_tdis"; > + }; > + > + e6352-intn { > + gpio-hog; > + gpios = <2 GPIO_ACTIVE_HIGH>; > + input; > + line-name = "e6352_intn"; > + }; > +}; > + > +&gpio4 { > + fim-sd { > + gpio-hog; > + gpios = <4 GPIO_ACTIVE_HIGH>; > + input; > + line-name = "fim_sd"; > + }; > +}; Hog GPIOs are GPIOs that are initialized once in the Kernel and from then on can never be changed. Is this true for these GPIOs you change here? I just want to make sure that you do not use gpio-hog in barebox to configure it and do something different in the Kernel because you pass another devicetree to the kernel. Or, to put it differently, you should be able to pass the barebox devicetree to Linux and still have a fully operating system. If that is true then I can apply these patches. Otherwise I would prefer some gpio-init mechanism that is implemented in barebox and the Kernel just don't cares. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox