summaryrefslogtreecommitdiff
path: root/sdxbaagha-wcd.dtsi
diff options
context:
space:
mode:
authorQC Publisher <qcpublisher@qti.qualcomm.com>2023-02-06 10:31:44 -0800
committerAndrei Ciubotariu <aciubotariu@google.com>2023-02-06 13:16:17 -0800
commitd6ae6b2c02f1ea33ac635d5619097fb1a30c618d (patch)
tree677997f2de31f135075c5885f5275ed8d0f51208 /sdxbaagha-wcd.dtsi
parentd216a0cd948390505970ba70cbbfaf53a0b59e02 (diff)
downloadaudio-devicetree-d6ae6b2c02f1ea33ac635d5619097fb1a30c618d.tar.gz
Commit label r00040.3 - ES4 0.0.040.3
TRACKING-ID:72eeaf0e-66b0-4fb9-bbb8-091dc3ddf9bf
Diffstat (limited to 'sdxbaagha-wcd.dtsi')
-rwxr-xr-xsdxbaagha-wcd.dtsi68
1 files changed, 68 insertions, 0 deletions
diff --git a/sdxbaagha-wcd.dtsi b/sdxbaagha-wcd.dtsi
new file mode 100755
index 0000000..10f84ed
--- /dev/null
+++ b/sdxbaagha-wcd.dtsi
@@ -0,0 +1,68 @@
+&qupv3_se4_i2c {
+ tavil_codec {
+ wcd: wcd_pinctrl@5 {
+ compatible = "qcom,wcd-pinctrl";
+ qcom,gpios-count = <5>;
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ spkr_1_wcd_en_active: spkr_1_wcd_en_active {
+ mux {
+ pins = "gpio2";
+ };
+
+ config {
+ pins = "gpio2";
+ output-high;
+ };
+ };
+
+ spkr_1_wcd_en_sleep: spkr_1_wcd_en_sleep {
+ mux {
+ pins = "gpio2";
+ };
+
+ config {
+ pins = "gpio2";
+ input-enable;
+ };
+ };
+
+ spkr_2_wcd_en_active: spkr_2_sd_n_active {
+ mux {
+ pins = "gpio3";
+ };
+
+ config {
+ pins = "gpio3";
+ output-high;
+ };
+ };
+
+ spkr_2_wcd_en_sleep: spkr_2_sd_n_sleep {
+ mux {
+ pins = "gpio3";
+ };
+
+ config {
+ pins = "gpio3";
+ input-enable;
+ };
+ };
+ };
+
+ wsa_spkr_wcd_sd1: msm_cdc_pinctrll {
+ compatible = "qcom,msm-cdc-pinctrl";
+ pinctrl-names = "aud_active", "aud_sleep";
+ pinctrl-0 = <&spkr_1_wcd_en_active>;
+ pinctrl-1 = <&spkr_1_wcd_en_sleep>;
+ };
+
+ wsa_spkr_wcd_sd2: msm_cdc_pinctrlr {
+ compatible = "qcom,msm-cdc-pinctrl";
+ pinctrl-names = "aud_active", "aud_sleep";
+ pinctrl-0 = <&spkr_2_wcd_en_active>;
+ pinctrl-1 = <&spkr_2_wcd_en_sleep>;
+ };
+ };
+};