diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2023-05-29 15:47:02 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-05-30 00:37:16 +0300 |
commit | 274cf2bdd6c94da2bf293f5a6c9a5f712dd4b01e (patch) | |
tree | 56690e80a7fa0556e7efb6280c0dfd09fd996b85 /arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts | |
parent | 835f939501769253eb7eb2dc5389b8592a63a3ed (diff) | |
download | linux-274cf2bdd6c94da2bf293f5a6c9a5f712dd4b01e.tar.xz |
arm64: dts: qcom: pm8916: Rename &wcd_codec -> &pm8916_codec
All definitions in pm8916.dtsi use the &pm8916_ label prefix, only the
codec uses the &wcd_codec label. &wcd_codec is confusing because the
codec on MSM8916 is split into a "wcd-digital" and "wcd-analog" part
and both could be described with &wcd_codec.
Let's just name it &pm8916_codec so it's consistent with all other PMIC
device nodes.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230525-msm8916-labels-v1-5-bec0f5fb46fb@gerhold.net
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts b/arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts index cbf53de44ef3..1334bfcf3cee 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts @@ -222,6 +222,14 @@ status = "okay"; }; +&pm8916_codec { + status = "okay"; + qcom,micbias-lvl = <2800>; + qcom,mbhc-vthreshold-low = <75 150 237 450 500>; + qcom,mbhc-vthreshold-high = <75 150 237 450 500>; + qcom,hphl-jack-type-normally-open; +}; + &pm8916_l8 { regulator-min-microvolt = <2950000>; regulator-max-microvolt = <2950000>; @@ -298,7 +306,7 @@ sound-dai = <&lpass MI2S_PRIMARY>; }; codec { - sound-dai = <&lpass_codec 0>, <&wcd_codec 0>; + sound-dai = <&lpass_codec 0>, <&pm8916_codec 0>; }; }; @@ -308,7 +316,7 @@ sound-dai = <&lpass MI2S_TERTIARY>; }; codec { - sound-dai = <&lpass_codec 1>, <&wcd_codec 1>; + sound-dai = <&lpass_codec 1>, <&pm8916_codec 1>; }; }; }; @@ -322,14 +330,6 @@ extcon = <&usb_id>; }; -&wcd_codec { - status = "okay"; - qcom,micbias-lvl = <2800>; - qcom,mbhc-vthreshold-low = <75 150 237 450 500>; - qcom,mbhc-vthreshold-high = <75 150 237 450 500>; - qcom,hphl-jack-type-normally-open; -}; - &wcnss { status = "okay"; }; |