Loading arch/arm64/boot/dts/qcom/Makefile +3 −1 Original line number Original line Diff line number Diff line Loading @@ -16,8 +16,10 @@ dtb-$(CONFIG_ARCH_QCS405) += qcs405-rumi.dtb \ qcs405-iot-sku7.dtb \ qcs405-iot-sku7.dtb \ qcs405-iot-sku8.dtb \ qcs405-iot-sku8.dtb \ qcs405-iot-sku9.dtb \ qcs405-iot-sku9.dtb \ qcs405-iot-sku10.dtb \ qcs403-iot-sku1.dtb \ qcs403-iot-sku1.dtb \ qcs403-iot-sku2.dtb qcs403-iot-sku2.dtb \ qcs403-iot-sku3.dtb ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) dtbo-$(CONFIG_ARCH_SM8150) += \ dtbo-$(CONFIG_ARCH_SM8150) += \ Loading arch/arm64/boot/dts/qcom/qcs403-iot-sku3.dts 0 → 100644 +78 −0 Original line number Original line Diff line number Diff line /* * Copyright (c) 2018, 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 "qcs403.dtsi" / { model = "Qualcomm Technologies, Inc. QCS403 SSRD IOT"; compatible = "qcom,qcs403-iot", "qcom,qcs403", "qcom,iot"; qcom,board-id = <0x010020 0x4>; cpus { /delete-node/ cpu@102; /delete-node/ cpu@103; cpu-map { cluster0 { /delete-node/ core2; /delete-node/ core3; }; }; }; }; &soc { cpuss_dump { /delete-node/ qcom,l1_i_cache102; /delete-node/ qcom,l1_i_cache103; /delete-node/ qcom,l1_d_cache102; /delete-node/ qcom,l1_d_cache103; }; qcom,spm@b012000 { qcom,cpu-vctl-list = <&CPU0 &CPU1>; }; qcom,lpm-levels { qcom,pm-cluster@0{ qcom,pm-cpu { qcom,cpu = <&CPU0 &CPU1>; }; }; }; /delete-node/ cti@61ba000; /delete-node/ cti@61bb000; /delete-node/ etm@61be000; /delete-node/ etm@61bf000; funnel@61a1000 { ports { /delete-node/ port@3; /delete-node/ port@4; }; }; }; &thermal_zones { cpuss-max-step { cooling-maps { /delete-node/ cpu2_cdev; /delete-node/ cpu3_cdev; }; }; /delete-node/ cpuss-2-step; /delete-node/ cpuss-3-step; }; arch/arm64/boot/dts/qcom/qcs405-iot-sku10.dts 0 → 100644 +23 −0 Original line number Original line Diff line number Diff line /* * Copyright (c) 2018, 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 "qcs405.dtsi" #include "qcs405-tdm-audio-overlay.dtsi" / { model = "Qualcomm Technologies, Inc. QCS405 EVB1 4000 TDM Mic"; compatible = "qcom,qcs405-iot", "qcom,qcs405", "qcom,iot"; qcom,board-id = <0x070020 0x1>; }; arch/arm64/boot/dts/qcom/qcs405-lpi.dtsi +179 −0 Original line number Original line Diff line number Diff line Loading @@ -245,6 +245,185 @@ }; }; }; }; quin_mi2s_sck { quin_mi2s_sck_sleep: quin_mi2s_sck_sleep { mux { pins = "gpio8"; function = "func2"; }; config { pins = "gpio8"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sck_active: quin_mi2s_sck_active { mux { pins = "gpio8"; function = "func2"; }; config { pins = "gpio8"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_ws { quin_mi2s_ws_sleep: quin_mi2s_ws_sleep { mux { pins = "gpio9"; function = "func2"; }; config { pins = "gpio9"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_ws_active: quin_mi2s_ws_active { mux { pins = "gpio9"; function = "func2"; }; config { pins = "gpio9"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_sd0 { quin_mi2s_sd0_sleep: quin_mi2s_sd0_sleep { mux { pins = "gpio10"; function = "func2"; }; config { pins = "gpio10"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sd0_active: quin_mi2s_sd0_active { mux { pins = "gpio10"; function = "func2"; }; config { pins = "gpio10"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_sd1 { quin_mi2s_sd1_sleep: quin_mi2s_sd1_sleep { mux { pins = "gpio11"; function = "func2"; }; config { pins = "gpio11"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sd1_active: quin_mi2s_sd1_active { mux { pins = "gpio11"; function = "func2"; }; config { pins = "gpio11"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_sd2 { quin_mi2s_sd2_sleep: quin_mi2s_sd2_sleep { mux { pins = "gpio12"; function = "func2"; }; config { pins = "gpio12"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sd2_active: quin_mi2s_sd2_active { mux { pins = "gpio12"; function = "func2"; }; config { pins = "gpio12"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_sd3 { quin_mi2s_sd3_sleep: quin_mi2s_sd3_sleep { mux { pins = "gpio13"; function = "func2"; }; config { pins = "gpio13"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sd3_active: quin_mi2s_sd3_active { mux { pins = "gpio13"; function = "func2"; }; config { pins = "gpio13"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; wsa_swr_clk_pin { wsa_swr_clk_pin { wsa_swr_clk_sleep: wsa_swr_clk_sleep { wsa_swr_clk_sleep: wsa_swr_clk_sleep { mux { mux { Loading arch/arm64/boot/dts/qcom/qcs405-tdm-audio-overlay.dtsi 0 → 100644 +73 −0 Original line number Original line Diff line number Diff line /* * Copyright (c) 2018, 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. */ #include "qcs405-tasha.dtsi" #include "qcs405-va-bolero.dtsi" &qcs405_snd { qcom,model = "qcs405-tdm-snd-card"; qcom,va-bolero-codec = <1>; qcom,tasha-codec = <1>; asoc-codec = <&stub_codec>, <&bolero>; asoc-codec-names = "msm-stub-codec.1", "bolero_codec"; qcom,quin-mi2s-gpios = <&cdc_quin_mi2s_gpios>; tdm-vdd-micb-supply = <&pms405_l7>; qcom,tdm-vdd-micb-voltage = <1800000 1800000>; qcom,tdm-vdd-micb-current = <13000>; qcom,audio-routing = "RX_BIAS", "MCLK", "AMIC3", "MIC BIAS3", "AMIC4", "MIC BIAS4", "MIC BIAS3", "Analog Mic3", "MIC BIAS4", "Analog Mic4", "VA DMIC0", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic0", "VA DMIC1", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic1", "VA DMIC2", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic2", "VA DMIC3", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic3", "VA DMIC4", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic4", "VA DMIC5", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic5", "VA DMIC6", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic6", "VA DMIC7", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic7"; pinctrl-names = "default"; pinctrl-0 = <&spdifrx_opt_default>; }; &bolero { qcom,num-macros = <1>; }; &tdm_quin_tx { qcom,msm-cpudai-tdm-clk-attribute = /bits/ 16 <1>; }; &soc { cdc_quin_mi2s_gpios: msm_cdc_pinctrl_quin { compatible = "qcom,msm-cdc-pinctrl"; pinctrl-names = "aud_active", "aud_sleep"; pinctrl-0 = <&quin_mi2s_sck_active &quin_mi2s_ws_active &quin_mi2s_sd0_active &quin_mi2s_sd1_active &quin_mi2s_sd2_active &quin_mi2s_sd3_active>; pinctrl-1 = <&quin_mi2s_sck_sleep &quin_mi2s_ws_sleep &quin_mi2s_sd0_sleep &quin_mi2s_sd1_sleep &quin_mi2s_sd2_sleep &quin_mi2s_sd3_sleep>; qcom,lpi-gpios; }; }; Loading
arch/arm64/boot/dts/qcom/Makefile +3 −1 Original line number Original line Diff line number Diff line Loading @@ -16,8 +16,10 @@ dtb-$(CONFIG_ARCH_QCS405) += qcs405-rumi.dtb \ qcs405-iot-sku7.dtb \ qcs405-iot-sku7.dtb \ qcs405-iot-sku8.dtb \ qcs405-iot-sku8.dtb \ qcs405-iot-sku9.dtb \ qcs405-iot-sku9.dtb \ qcs405-iot-sku10.dtb \ qcs403-iot-sku1.dtb \ qcs403-iot-sku1.dtb \ qcs403-iot-sku2.dtb qcs403-iot-sku2.dtb \ qcs403-iot-sku3.dtb ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) dtbo-$(CONFIG_ARCH_SM8150) += \ dtbo-$(CONFIG_ARCH_SM8150) += \ Loading
arch/arm64/boot/dts/qcom/qcs403-iot-sku3.dts 0 → 100644 +78 −0 Original line number Original line Diff line number Diff line /* * Copyright (c) 2018, 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 "qcs403.dtsi" / { model = "Qualcomm Technologies, Inc. QCS403 SSRD IOT"; compatible = "qcom,qcs403-iot", "qcom,qcs403", "qcom,iot"; qcom,board-id = <0x010020 0x4>; cpus { /delete-node/ cpu@102; /delete-node/ cpu@103; cpu-map { cluster0 { /delete-node/ core2; /delete-node/ core3; }; }; }; }; &soc { cpuss_dump { /delete-node/ qcom,l1_i_cache102; /delete-node/ qcom,l1_i_cache103; /delete-node/ qcom,l1_d_cache102; /delete-node/ qcom,l1_d_cache103; }; qcom,spm@b012000 { qcom,cpu-vctl-list = <&CPU0 &CPU1>; }; qcom,lpm-levels { qcom,pm-cluster@0{ qcom,pm-cpu { qcom,cpu = <&CPU0 &CPU1>; }; }; }; /delete-node/ cti@61ba000; /delete-node/ cti@61bb000; /delete-node/ etm@61be000; /delete-node/ etm@61bf000; funnel@61a1000 { ports { /delete-node/ port@3; /delete-node/ port@4; }; }; }; &thermal_zones { cpuss-max-step { cooling-maps { /delete-node/ cpu2_cdev; /delete-node/ cpu3_cdev; }; }; /delete-node/ cpuss-2-step; /delete-node/ cpuss-3-step; };
arch/arm64/boot/dts/qcom/qcs405-iot-sku10.dts 0 → 100644 +23 −0 Original line number Original line Diff line number Diff line /* * Copyright (c) 2018, 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 "qcs405.dtsi" #include "qcs405-tdm-audio-overlay.dtsi" / { model = "Qualcomm Technologies, Inc. QCS405 EVB1 4000 TDM Mic"; compatible = "qcom,qcs405-iot", "qcom,qcs405", "qcom,iot"; qcom,board-id = <0x070020 0x1>; };
arch/arm64/boot/dts/qcom/qcs405-lpi.dtsi +179 −0 Original line number Original line Diff line number Diff line Loading @@ -245,6 +245,185 @@ }; }; }; }; quin_mi2s_sck { quin_mi2s_sck_sleep: quin_mi2s_sck_sleep { mux { pins = "gpio8"; function = "func2"; }; config { pins = "gpio8"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sck_active: quin_mi2s_sck_active { mux { pins = "gpio8"; function = "func2"; }; config { pins = "gpio8"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_ws { quin_mi2s_ws_sleep: quin_mi2s_ws_sleep { mux { pins = "gpio9"; function = "func2"; }; config { pins = "gpio9"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_ws_active: quin_mi2s_ws_active { mux { pins = "gpio9"; function = "func2"; }; config { pins = "gpio9"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_sd0 { quin_mi2s_sd0_sleep: quin_mi2s_sd0_sleep { mux { pins = "gpio10"; function = "func2"; }; config { pins = "gpio10"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sd0_active: quin_mi2s_sd0_active { mux { pins = "gpio10"; function = "func2"; }; config { pins = "gpio10"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_sd1 { quin_mi2s_sd1_sleep: quin_mi2s_sd1_sleep { mux { pins = "gpio11"; function = "func2"; }; config { pins = "gpio11"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sd1_active: quin_mi2s_sd1_active { mux { pins = "gpio11"; function = "func2"; }; config { pins = "gpio11"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_sd2 { quin_mi2s_sd2_sleep: quin_mi2s_sd2_sleep { mux { pins = "gpio12"; function = "func2"; }; config { pins = "gpio12"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sd2_active: quin_mi2s_sd2_active { mux { pins = "gpio12"; function = "func2"; }; config { pins = "gpio12"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; quin_mi2s_sd3 { quin_mi2s_sd3_sleep: quin_mi2s_sd3_sleep { mux { pins = "gpio13"; function = "func2"; }; config { pins = "gpio13"; drive-strength = <2>; /* 2 mA */ bias-pull-down; /* PULL DOWN */ input-enable; }; }; quin_mi2s_sd3_active: quin_mi2s_sd3_active { mux { pins = "gpio13"; function = "func2"; }; config { pins = "gpio13"; drive-strength = <8>; /* 8 mA */ bias-disable; /* NO PULL */ output-high; }; }; }; wsa_swr_clk_pin { wsa_swr_clk_pin { wsa_swr_clk_sleep: wsa_swr_clk_sleep { wsa_swr_clk_sleep: wsa_swr_clk_sleep { mux { mux { Loading
arch/arm64/boot/dts/qcom/qcs405-tdm-audio-overlay.dtsi 0 → 100644 +73 −0 Original line number Original line Diff line number Diff line /* * Copyright (c) 2018, 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. */ #include "qcs405-tasha.dtsi" #include "qcs405-va-bolero.dtsi" &qcs405_snd { qcom,model = "qcs405-tdm-snd-card"; qcom,va-bolero-codec = <1>; qcom,tasha-codec = <1>; asoc-codec = <&stub_codec>, <&bolero>; asoc-codec-names = "msm-stub-codec.1", "bolero_codec"; qcom,quin-mi2s-gpios = <&cdc_quin_mi2s_gpios>; tdm-vdd-micb-supply = <&pms405_l7>; qcom,tdm-vdd-micb-voltage = <1800000 1800000>; qcom,tdm-vdd-micb-current = <13000>; qcom,audio-routing = "RX_BIAS", "MCLK", "AMIC3", "MIC BIAS3", "AMIC4", "MIC BIAS4", "MIC BIAS3", "Analog Mic3", "MIC BIAS4", "Analog Mic4", "VA DMIC0", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic0", "VA DMIC1", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic1", "VA DMIC2", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic2", "VA DMIC3", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic3", "VA DMIC4", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic4", "VA DMIC5", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic5", "VA DMIC6", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic6", "VA DMIC7", "VA MIC BIAS1", "VA MIC BIAS1", "Digital Mic7"; pinctrl-names = "default"; pinctrl-0 = <&spdifrx_opt_default>; }; &bolero { qcom,num-macros = <1>; }; &tdm_quin_tx { qcom,msm-cpudai-tdm-clk-attribute = /bits/ 16 <1>; }; &soc { cdc_quin_mi2s_gpios: msm_cdc_pinctrl_quin { compatible = "qcom,msm-cdc-pinctrl"; pinctrl-names = "aud_active", "aud_sleep"; pinctrl-0 = <&quin_mi2s_sck_active &quin_mi2s_ws_active &quin_mi2s_sd0_active &quin_mi2s_sd1_active &quin_mi2s_sd2_active &quin_mi2s_sd3_active>; pinctrl-1 = <&quin_mi2s_sck_sleep &quin_mi2s_ws_sleep &quin_mi2s_sd0_sleep &quin_mi2s_sd1_sleep &quin_mi2s_sd2_sleep &quin_mi2s_sd3_sleep>; qcom,lpi-gpios; }; };