Post Go back to editing

Open Drain GPIO on Sc5xx and Yocto

Category: Software
Product Number: SC587
Software Version: Yocto


We need to configure PB04 in open-drain mode.

Does anyone know how we can do this in ADI yocto linux.

We can find it in the dtb or the source for mux and there in no information about open-drain configuration on the main wiki -

Is it possible to implement libgpiod to make this work or any other suggestions? 

Below are the excerpts from the hardware manual.