Commit d6c006f5 authored by Srinivasa Rao Mandadapu's avatar Srinivasa Rao Mandadapu Committed by Bjorn Andersson

arm64: dts: qcom: sc7280: Add max98360a codec for CRD 1.0/2.0 and IDP boards

Add max98360a codec node for audio use case on revision 3, 4
(aka CRD 1.0 and 2.0) and IDP boards.
Add amp_en node for max98360a codec pin control.
Signed-off-by: default avatarSrinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Co-developed-by: default avatarVenkata Prasad Potturu <quic_potturu@quicinc.com>
Signed-off-by: default avatarVenkata Prasad Potturu <quic_potturu@quicinc.com>
Reviewed-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1657200184-29565-7-git-send-email-quic_srivasam@quicinc.com
parent 0a3a56a9
...@@ -20,6 +20,14 @@ aliases { ...@@ -20,6 +20,14 @@ aliases {
serial1 = &uart7; serial1 = &uart7;
}; };
max98360a: audio-codec-0 {
compatible = "maxim,max98360a";
pinctrl-names = "default";
pinctrl-0 = <&amp_en>;
sdmode-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
#sound-dai-cells = <0>;
};
wcd9385: audio-codec-1 { wcd9385: audio-codec-1 {
compatible = "qcom,wcd9385-codec"; compatible = "qcom,wcd9385-codec";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
...@@ -613,6 +621,12 @@ &sdc2_data { ...@@ -613,6 +621,12 @@ &sdc2_data {
}; };
&tlmm { &tlmm {
amp_en: amp-en {
pins = "gpio63";
bias-pull-down;
drive-strength = <2>;
};
bt_en: bt-en { bt_en: bt-en {
pins = "gpio85"; pins = "gpio85";
function = "gpio"; function = "gpio";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment