Loading arch/arm64/boot/dts/qcom/Makefile +35 −1 Original line number Diff line number Diff line Loading @@ -400,6 +400,39 @@ dtb-$(CONFIG_ARCH_MDM9607) += mdm9607-cdp.dtb \ mdm9607-mtp.dtb \ mdm9607-rcm.dtb \ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) dtbo-$(CONFIG_ARCH_SDM660) += \ sdm660-mtp-external-codec-overlay.dtbo \ sdm660-mtp-internal-codec-overlay.dtbo \ sdm660-cdp-external-codec-overlay.dtbo \ sdm660-cdp-internal-codec-overlay.dtbo \ sdm660-qrd-external-codec-overlay.dtbo \ sdm660-rcm-external-codec-overlay.dtbo \ sdm660-rcm-internal-codec-overlay.dtbo \ sda660-mtp-external-codec-overlay.dtbo \ sda660-cdp-external-codec-overlay.dtbo \ sda660-rcm-external-codec-overlay.dtbo sdm660-mtp-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-mtp-internal-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-cdp-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-cdp-internal-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-qrd-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-rcm-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-rcm-internal-codec-overlay.dtbo-base := sdm660-pm660l.dtb sda660-mtp-external-codec-overlay.dtbo-base := sda660-pm660l.dtb sda660-cdp-external-codec-overlay.dtbo-base := sda660-pm660l.dtb sda660-rcm-external-codec-overlay.dtbo-base := sda660-pm660l.dtb else dtb-$(CONFIG_ARCH_SDM660) += sdm660-sim.dtb \ sdm660-internal-codec-cdp.dtb \ sdm660-internal-codec-mtp.dtb \ Loading Loading @@ -428,7 +461,8 @@ dtb-$(CONFIG_ARCH_SDM660) += sdm660-sim.dtb \ sdm660-pm660a-headset-jacktype-no-cdp.dtb \ sdm660-pm660a-headset-jacktype-no-rcm.dtb \ sdm660-usbc-audio-mtp.dtb \ sdm660-usbc-audio-rcm.dtb \ sdm660-usbc-audio-rcm.dtb endif endif ifeq ($(CONFIG_ARM64),y) Loading arch/arm64/boot/dts/qcom/sda660-cdp-external-codec-overlay.dts 0 → 100644 +41 −0 Original line number Diff line number Diff line /* Copyright (c) 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,cpu-osm.h> #include <dt-bindings/clock/qcom,rpmcc.h> #include <dt-bindings/clock/qcom,mmcc-sdm660.h> #include <dt-bindings/regulator/qcom,rpm-smd-regulator.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "sdm660-cdp.dtsi" #include "sdm660-external-codec.dtsi" / { model = "Qualcomm Technologies, Inc. SDA 660 Ext. Audio Codec CDP"; compatible = "qcom,sda660-cdp", "qcom,sda660", "qcom,cdp"; qcom,msm-id = <324 0x0>; qcom,board-id = <1 0>; }; &tavil_snd { qcom,msm-mbhc-hphl-swh = <0>; qcom,msm-mbhc-gnd-swh = <0>; }; &tasha_snd { qcom,msm-mbhc-hphl-swh = <0>; qcom,msm-mbhc-gnd-swh = <0>; }; arch/arm64/boot/dts/qcom/sda660-mtp-external-codec-overlay.dts 0 → 100644 +34 −0 Original line number Diff line number Diff line /* Copyright (c) 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,cpu-osm.h> #include <dt-bindings/clock/qcom,rpmcc.h> #include <dt-bindings/clock/qcom,mmcc-sdm660.h> #include <dt-bindings/regulator/qcom,rpm-smd-regulator.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "sdm660-mtp.dtsi" #include "sdm660-external-codec.dtsi" / { model = "Qualcomm Technologies, Inc. SDA 660 Ext. Audio Codec MTP"; compatible = "qcom,sda660-mtp", "qcom,sda660", "qcom,mtp"; qcom,msm-id = <324 0x0>; qcom,board-id = <8 0>; }; &tavil_snd { qcom,msm-mbhc-moist-cfg = <0>, <0>, <3>; }; arch/arm64/boot/dts/qcom/sda660-pm660l.dts 0 → 100644 +24 −0 Original line number Diff line number Diff line /* Copyright (c) 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; #include "sda660.dtsi" / { model = "Qualcomm Technologies, Inc. SDA 660 PM660L SoC"; compatible = "qcom,sda660"; qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>, <0x0001001b 0x0201011a 0x0 0x0>, <0x0001001b 0x0102001a 0x0 0x0>; }; arch/arm64/boot/dts/qcom/sda660-rcm-external-codec-overlay.dts 0 → 100644 +42 −0 Original line number Diff line number Diff line /* Copyright (c) 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,cpu-osm.h> #include <dt-bindings/clock/qcom,rpmcc.h> #include <dt-bindings/clock/qcom,mmcc-sdm660.h> #include <dt-bindings/regulator/qcom,rpm-smd-regulator.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "sdm660-cdp.dtsi" #include "sdm660-external-codec.dtsi" / { model = "Qualcomm Technologies, Inc. SDA 660 Ext. Audio Codec RCM"; compatible = "qcom,sda660-cdp", "qcom,sda660", "qcom,cdp"; qcom,msm-id = <324 0x0>; qcom,board-id = <21 0>; }; &tavil_snd { qcom,msm-mbhc-hphl-swh = <0>; qcom,msm-mbhc-gnd-swh = <0>; }; &tasha_snd { qcom,msm-mbhc-hphl-swh = <0>; qcom,msm-mbhc-gnd-swh = <0>; }; Loading
arch/arm64/boot/dts/qcom/Makefile +35 −1 Original line number Diff line number Diff line Loading @@ -400,6 +400,39 @@ dtb-$(CONFIG_ARCH_MDM9607) += mdm9607-cdp.dtb \ mdm9607-mtp.dtb \ mdm9607-rcm.dtb \ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) dtbo-$(CONFIG_ARCH_SDM660) += \ sdm660-mtp-external-codec-overlay.dtbo \ sdm660-mtp-internal-codec-overlay.dtbo \ sdm660-cdp-external-codec-overlay.dtbo \ sdm660-cdp-internal-codec-overlay.dtbo \ sdm660-qrd-external-codec-overlay.dtbo \ sdm660-rcm-external-codec-overlay.dtbo \ sdm660-rcm-internal-codec-overlay.dtbo \ sda660-mtp-external-codec-overlay.dtbo \ sda660-cdp-external-codec-overlay.dtbo \ sda660-rcm-external-codec-overlay.dtbo sdm660-mtp-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-mtp-internal-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-cdp-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-cdp-internal-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-qrd-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-rcm-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb sdm660-rcm-internal-codec-overlay.dtbo-base := sdm660-pm660l.dtb sda660-mtp-external-codec-overlay.dtbo-base := sda660-pm660l.dtb sda660-cdp-external-codec-overlay.dtbo-base := sda660-pm660l.dtb sda660-rcm-external-codec-overlay.dtbo-base := sda660-pm660l.dtb else dtb-$(CONFIG_ARCH_SDM660) += sdm660-sim.dtb \ sdm660-internal-codec-cdp.dtb \ sdm660-internal-codec-mtp.dtb \ Loading Loading @@ -428,7 +461,8 @@ dtb-$(CONFIG_ARCH_SDM660) += sdm660-sim.dtb \ sdm660-pm660a-headset-jacktype-no-cdp.dtb \ sdm660-pm660a-headset-jacktype-no-rcm.dtb \ sdm660-usbc-audio-mtp.dtb \ sdm660-usbc-audio-rcm.dtb \ sdm660-usbc-audio-rcm.dtb endif endif ifeq ($(CONFIG_ARM64),y) Loading
arch/arm64/boot/dts/qcom/sda660-cdp-external-codec-overlay.dts 0 → 100644 +41 −0 Original line number Diff line number Diff line /* Copyright (c) 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,cpu-osm.h> #include <dt-bindings/clock/qcom,rpmcc.h> #include <dt-bindings/clock/qcom,mmcc-sdm660.h> #include <dt-bindings/regulator/qcom,rpm-smd-regulator.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "sdm660-cdp.dtsi" #include "sdm660-external-codec.dtsi" / { model = "Qualcomm Technologies, Inc. SDA 660 Ext. Audio Codec CDP"; compatible = "qcom,sda660-cdp", "qcom,sda660", "qcom,cdp"; qcom,msm-id = <324 0x0>; qcom,board-id = <1 0>; }; &tavil_snd { qcom,msm-mbhc-hphl-swh = <0>; qcom,msm-mbhc-gnd-swh = <0>; }; &tasha_snd { qcom,msm-mbhc-hphl-swh = <0>; qcom,msm-mbhc-gnd-swh = <0>; };
arch/arm64/boot/dts/qcom/sda660-mtp-external-codec-overlay.dts 0 → 100644 +34 −0 Original line number Diff line number Diff line /* Copyright (c) 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,cpu-osm.h> #include <dt-bindings/clock/qcom,rpmcc.h> #include <dt-bindings/clock/qcom,mmcc-sdm660.h> #include <dt-bindings/regulator/qcom,rpm-smd-regulator.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "sdm660-mtp.dtsi" #include "sdm660-external-codec.dtsi" / { model = "Qualcomm Technologies, Inc. SDA 660 Ext. Audio Codec MTP"; compatible = "qcom,sda660-mtp", "qcom,sda660", "qcom,mtp"; qcom,msm-id = <324 0x0>; qcom,board-id = <8 0>; }; &tavil_snd { qcom,msm-mbhc-moist-cfg = <0>, <0>, <3>; };
arch/arm64/boot/dts/qcom/sda660-pm660l.dts 0 → 100644 +24 −0 Original line number Diff line number Diff line /* Copyright (c) 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; #include "sda660.dtsi" / { model = "Qualcomm Technologies, Inc. SDA 660 PM660L SoC"; compatible = "qcom,sda660"; qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>, <0x0001001b 0x0201011a 0x0 0x0>, <0x0001001b 0x0102001a 0x0 0x0>; };
arch/arm64/boot/dts/qcom/sda660-rcm-external-codec-overlay.dts 0 → 100644 +42 −0 Original line number Diff line number Diff line /* Copyright (c) 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,cpu-osm.h> #include <dt-bindings/clock/qcom,rpmcc.h> #include <dt-bindings/clock/qcom,mmcc-sdm660.h> #include <dt-bindings/regulator/qcom,rpm-smd-regulator.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "sdm660-cdp.dtsi" #include "sdm660-external-codec.dtsi" / { model = "Qualcomm Technologies, Inc. SDA 660 Ext. Audio Codec RCM"; compatible = "qcom,sda660-cdp", "qcom,sda660", "qcom,cdp"; qcom,msm-id = <324 0x0>; qcom,board-id = <21 0>; }; &tavil_snd { qcom,msm-mbhc-hphl-swh = <0>; qcom,msm-mbhc-gnd-swh = <0>; }; &tasha_snd { qcom,msm-mbhc-hphl-swh = <0>; qcom,msm-mbhc-gnd-swh = <0>; };