On 13/09/2022 14:39, Shenwei Wang wrote: >> >> Well, we are talking about the correctness of DT (hardware description), not >> how kernel driver works with DT. >> > > So the correct syntax here is: if enable-active-high is used, the flag of gpio phandle should also be configured as "ACTIVE_HIGH". Otherwise, if no enable-active-high, the GPIO flag should be "ACTIVE_LOW". Is my understanding correct? Yes. Best regards, Krzysztof