On Thu, Feb 27, 2020 at 10:20 AM Fabrizio Borrello
<[email protected]> wrote:
>
> Hi Robert, thank you for the fast reply.
>
> I hade :
>
> P9_11 {
>    gpio-name = "P9_11";
>    gpio = <0x35 0x1e 0x0>;
>    output;
>    dir-changeable;
> }
>
> Following your directions I modify the initial code as follow:
>
> P9_11 {
>                 gpio-hog;
>                 gpios = <11 GPIO_ACTIVE_HIGH>;
>                 output-low;
>                 gpio-name = "P9_11";
>                 gpio = <0x35 0x1e 0x0>;
>                 dir-changeable;
>             };
>
> Is now correct?

No, you can't combine those two..

If all you need is to set the logic level on startup, use gpio-hog..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYhqbNPf-PwPSaiDgk5OO6eNb_UBrTZKxT%2BZKpEoNXbxxQ%40mail.gmail.com.

Reply via email to