summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/apq8096-db820c.dts
diff options
context:
space:
mode:
authorYassine Oudjana <y.oudjana@protonmail.com>2022-06-22 20:13:22 +0400
committerBjorn Andersson <andersson@kernel.org>2022-09-13 21:56:43 -0500
commitb504af6c9912502efa9af162b50cd589351b6894 (patch)
treebfb9d5114134fae84a65bba958e3e063965ae4fa /arch/arm64/boot/dts/qcom/apq8096-db820c.dts
parent9e826e05061c61d84217bbe436b4ef0bedbfe458 (diff)
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
Diffstat (limited to 'arch/arm64/boot/dts/qcom/apq8096-db820c.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/apq8096-db820c.dts5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts
index 62e2f7eea276..5cdc7ac1a9c0 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts
@@ -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 @@
};
codec {
- sound-dai = <&wcd9335 6>;
+ sound-dai = <&wcd9335 AIF4_PB>;
};
};
@@ -1079,7 +1080,7 @@
};
codec {
- sound-dai = <&wcd9335 1>;
+ sound-dai = <&wcd9335 AIF1_CAP>;
};
};
};