28 Oct
2022
28 Oct
'22
9:26 p.m.
On Sat, Oct 29, 2022 at 1:58 AM Krzysztof Kozlowski krzysztof.kozlowski@linaro.org wrote:
- dmic-gpios:
- maxItems: 1
- description: GPIO for switching between DMICs
Switching how? Enabling? What is the meaning of each GPIO pin value?
I think I should add more like an example, description: dmic-gpios optional prop for switching between two DMICs. Ex, the GPIO can control a MUX HW component to select dmic clk and data form a Front or Rear dmic.
Do you agree with that or have other suggestions? If do, I will send the v3 patch for you to check, thanks
dmic-gpios = <&pio 23 0>;
Use defines for flags.
Yes, you are right, I will change it to dmic-gpios = <&pio 23 GPIO_ACTIVE_HIGH>;