diff options
author | Xing Zheng <zhengxing@rock-chips.com> | 2018-04-17 11:34:35 +0800 |
---|---|---|
committer | Xing Zheng <zhengxing@rock-chips.com> | 2018-04-17 20:54:17 +0800 |
commit | ebe6ab37d92c6862e5f5c8a10a87e4a0e534cc77 (patch) | |
tree | a9c3a6fb7a4bc1728cf2cd60e215df0ef465406c /Documentation | |
parent | 63ce58c3fa57a4322ab72082005aa12c08943b4e (diff) |
ASoC: rk3308_codec: add hp-ctl and rename to spk-ctl gpio
Change-Id: I67a3c770b06c8f53afdac89bd3423ad776d6ec01
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.txt b/Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.txt index 689a65c670e3..9de0be73e7f6 100644 --- a/Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.txt +++ b/Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.txt @@ -11,7 +11,8 @@ Required properties: - clock-names: It should be "acodec". - resets : Must contain an entry for each entry in reset-names. - reset-names : Must include the following entries: "acodec-reset". -- spk_ctl-gpios: The gpio of speak controller. +- hp-ctl-gpios: The gpio of head phone controller. +- spk-ctl-gpios: The gpio of speak controller. Example for rk3308 internal codec: @@ -23,6 +24,7 @@ acodec: acodec@ff560000 { clock-names = "acodec"; resets = <&cru SRST_ACODEC_P>; reset-names = "acodec-reset"; - spk_ctl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; + hp-ctl-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>; + spk-ctl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; status = "okay"; }; |