arm64: dts: rockchip: clean up output ctl gpios for rk3308

Add support hp-ctl gpio for amic board, and rename
to spk-ctl from dtsi file. Usually, we should assign
these output ctl gpios according to the specific
product type.

Change-Id: Icf0c29f61bed3c0f48069b9e38ddf47d921fed26
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
This commit is contained in:
Xing Zheng
2018-04-17 11:28:03 +08:00
parent 68e8641c53
commit 63ce58c3fa
2 changed files with 3 additions and 1 deletions

View File

@@ -30,6 +30,9 @@
status = "okay";
#sound-dai-cells = <0>;
hp-ctl-gpios = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
spk-ctl-gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
};
&i2s_8ch_2 {

View File

@@ -934,7 +934,6 @@
clock-names = "acodec", "mclk_tx", "mclk_rx";
resets = <&cru SRST_ACODEC_P>;
reset-names = "acodec-reset";
spk_ctl-gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
status = "disabled";
};