mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
audio: AB311 bringup, init 2 AMPs AD82584f [1/1]
PD#SWPL-7174 Problem: spk is out of work on AB311 Solution: bringup AMP ad82584f Verify: AB311 Change-Id: I8771fc204b19eeebed5247ec4c8984acbf004372 Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
This commit is contained in:
@@ -320,12 +320,12 @@
|
||||
};
|
||||
tdmacodec: codec {
|
||||
//sound-dai = <&dummy_codec>;
|
||||
sound-dai = </*&ad82584f*/ &tl1_codec>;
|
||||
prefix-names = "AMP", "AMP1";
|
||||
sound-dai = <&ad82584f &ad82584f1 &tl1_codec>;
|
||||
};
|
||||
};
|
||||
|
||||
aml-audio-card,dai-link@1 {
|
||||
status = "disabled";
|
||||
|
||||
format = "i2s";
|
||||
mclk-fs = <256>;
|
||||
@@ -1444,8 +1444,8 @@
|
||||
|
||||
pinctrl-names = "spdif_pins",
|
||||
"spdif_pins_mute";
|
||||
pinctrl-0 = <&spdifout_a>;
|
||||
pinctrl-1 = <&spdifout_a_mute>;
|
||||
pinctrl-0 = <&spdifin_a>;
|
||||
//pinctrl-1 = <&spdifout_a_mute>;
|
||||
|
||||
/*
|
||||
* whether do asrc for pcm and resample a or b
|
||||
@@ -1764,12 +1764,19 @@
|
||||
pinctrl-0=<&i2c3_h1_pins>;
|
||||
clock-frequency = <400000>;
|
||||
|
||||
ad82584f: ad82584f@62 {
|
||||
ad82584f: ad82584f@60 {
|
||||
compatible = "ESMT, ad82584f";
|
||||
#sound-dai-cells = <0>;
|
||||
reg = <0x30>;
|
||||
status = "okay";
|
||||
reset_pin = <&gpio GPIOH_13 0>;
|
||||
no_mclk;
|
||||
};
|
||||
ad82584f1: ad82584f@62 {
|
||||
compatible = "ESMT, ad82584f";
|
||||
#sound-dai-cells = <0>;
|
||||
reg = <0x31>;
|
||||
status = "disabled";
|
||||
reset_pin = <&gpio GPIOH_13 0>;
|
||||
status = "okay";
|
||||
no_mclk;
|
||||
};
|
||||
};
|
||||
@@ -1870,8 +1877,8 @@
|
||||
|
||||
ðmac {
|
||||
status = "okay";
|
||||
pinctrl-names = "internal_eth_pins";
|
||||
pinctrl-0 = <&internal_eth_pins>;
|
||||
//pinctrl-names = "internal_eth_pins";
|
||||
//pinctrl-0 = <&internal_eth_pins>;
|
||||
mc_val = <0x4be04>;
|
||||
|
||||
internal_phy=<1>;
|
||||
|
||||
@@ -316,7 +316,8 @@
|
||||
};
|
||||
tdmacodec: codec {
|
||||
//sound-dai = <&dummy_codec>;
|
||||
sound-dai = </*&ad82584f*/ &tl1_codec>;
|
||||
prefix-names = "AMP", "AMP1";
|
||||
sound-dai = <&ad82584f &ad82584f1 &tl1_codec>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1441,8 +1442,8 @@
|
||||
|
||||
pinctrl-names = "spdif_pins",
|
||||
"spdif_pins_mute";
|
||||
pinctrl-0 = <&spdifout_a>;
|
||||
pinctrl-1 = <&spdifout_a_mute>;
|
||||
pinctrl-0 = <&spdifin_a>;
|
||||
//pinctrl-1 = <&spdifout_a_mute>;
|
||||
|
||||
/*
|
||||
* whether do asrc for pcm and resample a or b
|
||||
@@ -1756,12 +1757,20 @@
|
||||
pinctrl-0=<&i2c3_h1_pins>;
|
||||
clock-frequency = <400000>;
|
||||
|
||||
ad82584f: ad82584f@62 {
|
||||
ad82584f: ad82584f@60 {
|
||||
compatible = "ESMT, ad82584f";
|
||||
#sound-dai-cells = <0>;
|
||||
reg = <0x30>;
|
||||
status = "okay";
|
||||
reset_pin = <&gpio GPIOH_13 0>;
|
||||
no_mclk;
|
||||
};
|
||||
|
||||
ad82584f1: ad82584f@62 {
|
||||
compatible = "ESMT, ad82584f";
|
||||
#sound-dai-cells = <0>;
|
||||
reg = <0x31>;
|
||||
status = "disabled";
|
||||
reset_pin = <&gpio GPIOH_13 0>;
|
||||
status = "okay";
|
||||
no_mclk;
|
||||
};
|
||||
};
|
||||
@@ -1863,8 +1872,8 @@
|
||||
|
||||
ðmac {
|
||||
status = "okay";
|
||||
pinctrl-names = "internal_eth_pins";
|
||||
pinctrl-0 = <&internal_eth_pins>;
|
||||
//pinctrl-names = "internal_eth_pins";
|
||||
//pinctrl-0 = <&internal_eth_pins>;
|
||||
mc_val = <0x4be04>;
|
||||
|
||||
internal_phy=<1>;
|
||||
|
||||
Reference in New Issue
Block a user