mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
ASoC: rk3308_codec: add hp-ctl and rename to spk-ctl gpio
Change-Id: I67a3c770b06c8f53afdac89bd3423ad776d6ec01 Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user