forked from luck/tmp_suning_uos_patched
ASoC: rt5677: Add gpio-controller DTS documentation
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f9f6a592cf
commit
0e612ff10c
@ -10,6 +10,11 @@ Required properties:
|
|||||||
|
|
||||||
- interrupts : The CODEC's interrupt output.
|
- interrupts : The CODEC's interrupt output.
|
||||||
|
|
||||||
|
- gpio-controller : Indicates this device is a GPIO controller.
|
||||||
|
|
||||||
|
- #gpio-cells : Should be two. The first cell is the pin number and the
|
||||||
|
second cell is used to specify optional parameters (currently unused).
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
|
|
||||||
- realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin.
|
- realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin.
|
||||||
@ -36,6 +41,10 @@ rt5677 {
|
|||||||
reg = <0x2c>;
|
reg = <0x2c>;
|
||||||
interrupt-parent = <&gpio>;
|
interrupt-parent = <&gpio>;
|
||||||
interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
|
interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
|
||||||
realtek,pow-ldo2-gpio =
|
realtek,pow-ldo2-gpio =
|
||||||
<&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
|
<&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user