mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
arm64: dts: qcom: Use WCD9335 DT bindings
Replace DAI indices in codec nodes with definitions from the WCD9335 DT bindings for devices that use WCD9335. Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20220622161322.168017-4-y.oudjana@protonmail.com
This commit is contained in:
parent
9e826e0506
commit
b504af6c99
|
|
@ -14,6 +14,7 @@
|
|||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
#include <dt-bindings/sound/qcom,q6afe.h>
|
||||
#include <dt-bindings/sound/qcom,q6asm.h>
|
||||
#include <dt-bindings/sound/qcom,wcd9335.h>
|
||||
|
||||
/*
|
||||
* GPIO name legend: proper name = the GPIO line is used as GPIO
|
||||
|
|
@ -1064,7 +1065,7 @@ platform {
|
|||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd9335 6>;
|
||||
sound-dai = <&wcd9335 AIF4_PB>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -1079,7 +1080,7 @@ platform {
|
|||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd9335 1>;
|
||||
sound-dai = <&wcd9335 AIF1_CAP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include "msm8996-xiaomi-common.dtsi"
|
||||
#include <dt-bindings/sound/qcom,q6afe.h>
|
||||
#include <dt-bindings/sound/qcom,q6asm.h>
|
||||
#include <dt-bindings/sound/qcom,wcd9335.h>
|
||||
#include <dt-bindings/input/ti-drv260x.h>
|
||||
|
||||
/ {
|
||||
|
|
@ -193,7 +194,7 @@ platform {
|
|||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd9335 6>;
|
||||
sound-dai = <&wcd9335 AIF4_PB>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -208,7 +209,7 @@ platform {
|
|||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd9335 1>;
|
||||
sound-dai = <&wcd9335 AIF1_CAP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include "pmi8996.dtsi"
|
||||
#include <dt-bindings/sound/qcom,q6afe.h>
|
||||
#include <dt-bindings/sound/qcom,q6asm.h>
|
||||
#include <dt-bindings/sound/qcom,wcd9335.h>
|
||||
|
||||
/ {
|
||||
model = "Xiaomi Mi Note 2";
|
||||
|
|
@ -190,7 +191,7 @@ platform {
|
|||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd9335 6>;
|
||||
sound-dai = <&wcd9335 AIF4_PB>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -205,7 +206,7 @@ platform {
|
|||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd9335 1>;
|
||||
sound-dai = <&wcd9335 AIF1_CAP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user