Commit 15544135 authored by Bjorn Andersson's avatar Bjorn Andersson

Merge branch 'arm64-fixes-for-6.3' into arm64-for-6.4

Merge the arm64-fixes-for-6.3 branch to avoid merge conflicts with
changes for v6.4.
parents 0514b376 1dc40551
...@@ -62,11 +62,11 @@ &pcie1 { ...@@ -62,11 +62,11 @@ &pcie1 {
perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>; perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
}; };
&pcie_phy0 { &pcie_qmp0 {
status = "okay"; status = "okay";
}; };
&pcie_phy1 { &pcie_qmp1 {
status = "okay"; status = "okay";
}; };
......
...@@ -48,11 +48,11 @@ &pcie1 { ...@@ -48,11 +48,11 @@ &pcie1 {
perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>; perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
}; };
&pcie_phy0 { &pcie_qmp0 {
status = "okay"; status = "okay";
}; };
&pcie_phy1 { &pcie_qmp1 {
status = "okay"; status = "okay";
}; };
......
...@@ -33,7 +33,3 @@ &button_default { ...@@ -33,7 +33,3 @@ &button_default {
&gpio_leds_default { &gpio_leds_default {
pins = "gpio81", "gpio82", "gpio83"; pins = "gpio81", "gpio82", "gpio83";
}; };
&sim_ctrl_default {
pins = "gpio1", "gpio2";
};
...@@ -25,6 +25,11 @@ &led_b { ...@@ -25,6 +25,11 @@ &led_b {
gpios = <&msmgpio 20 GPIO_ACTIVE_HIGH>; gpios = <&msmgpio 20 GPIO_ACTIVE_HIGH>;
}; };
&mpss {
pinctrl-0 = <&sim_ctrl_default>;
pinctrl-names = "default";
};
&button_default { &button_default {
pins = "gpio37"; pins = "gpio37";
bias-pull-down; bias-pull-down;
...@@ -34,6 +39,25 @@ &gpio_leds_default { ...@@ -34,6 +39,25 @@ &gpio_leds_default {
pins = "gpio20", "gpio21", "gpio22"; pins = "gpio20", "gpio21", "gpio22";
}; };
&sim_ctrl_default { /* This selects the external SIM card slot by default */
pins = "gpio1", "gpio2"; &msmgpio {
sim_ctrl_default: sim-ctrl-default-state {
esim-sel-pins {
pins = "gpio0", "gpio3";
bias-disable;
output-low;
};
sim-en-pins {
pins = "gpio1";
bias-disable;
output-low;
};
sim-sel-pins {
pins = "gpio2";
bias-disable;
output-high;
};
};
}; };
...@@ -92,9 +92,6 @@ &gcc { ...@@ -92,9 +92,6 @@ &gcc {
}; };
&mpss { &mpss {
pinctrl-0 = <&sim_ctrl_default>;
pinctrl-names = "default";
status = "okay"; status = "okay";
}; };
...@@ -240,11 +237,4 @@ gpio_leds_default: gpio-leds-default-state { ...@@ -240,11 +237,4 @@ gpio_leds_default: gpio-leds-default-state {
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
sim_ctrl_default: sim-ctrl-default-state {
function = "gpio";
drive-strength = <2>;
bias-disable;
output-low;
};
}; };
...@@ -1012,7 +1012,7 @@ &swr0 { ...@@ -1012,7 +1012,7 @@ &swr0 {
left_spkr: speaker@0,3 { left_spkr: speaker@0,3 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
reg = <0 3>; reg = <0 3>;
powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrLeft"; sound-name-prefix = "SpkrLeft";
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
...@@ -1021,7 +1021,7 @@ left_spkr: speaker@0,3 { ...@@ -1021,7 +1021,7 @@ left_spkr: speaker@0,3 {
right_spkr: speaker@0,4 { right_spkr: speaker@0,4 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
reg = <0 4>; reg = <0 4>;
powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrRight"; sound-name-prefix = "SpkrRight";
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
......
...@@ -241,7 +241,7 @@ &qup2 { ...@@ -241,7 +241,7 @@ &qup2 {
}; };
&remoteproc_nsp0 { &remoteproc_nsp0 {
firmware-name = "qcom/sa8540p/cdsp.mbn"; firmware-name = "qcom/sa8540p/cdsp0.mbn";
status = "okay"; status = "okay";
}; };
......
...@@ -2138,6 +2138,8 @@ pcie1: pci@1c08000 { ...@@ -2138,6 +2138,8 @@ pcie1: pci@1c08000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pcie1_clkreq_n>; pinctrl-0 = <&pcie1_clkreq_n>;
dma-coherent;
iommus = <&apps_smmu 0x1c80 0x1>; iommus = <&apps_smmu 0x1c80 0x1>;
iommu-map = <0x0 &apps_smmu 0x1c80 0x1>, iommu-map = <0x0 &apps_smmu 0x1c80 0x1>,
......
...@@ -374,6 +374,7 @@ vreg_s10b: smps10 { ...@@ -374,6 +374,7 @@ vreg_s10b: smps10 {
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-always-on;
}; };
vreg_s11b: smps11 { vreg_s11b: smps11 {
...@@ -381,6 +382,7 @@ vreg_s11b: smps11 { ...@@ -381,6 +382,7 @@ vreg_s11b: smps11 {
regulator-min-microvolt = <1272000>; regulator-min-microvolt = <1272000>;
regulator-max-microvolt = <1272000>; regulator-max-microvolt = <1272000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-always-on;
}; };
vreg_s12b: smps12 { vreg_s12b: smps12 {
...@@ -388,6 +390,7 @@ vreg_s12b: smps12 { ...@@ -388,6 +390,7 @@ vreg_s12b: smps12 {
regulator-min-microvolt = <984000>; regulator-min-microvolt = <984000>;
regulator-max-microvolt = <984000>; regulator-max-microvolt = <984000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-always-on;
}; };
vreg_l3b: ldo3 { vreg_l3b: ldo3 {
...@@ -459,6 +462,7 @@ vreg_bob: bob { ...@@ -459,6 +462,7 @@ vreg_bob: bob {
regulator-min-microvolt = <3008000>; regulator-min-microvolt = <3008000>;
regulator-max-microvolt = <3960000>; regulator-max-microvolt = <3960000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
regulator-always-on;
}; };
}; };
...@@ -820,75 +824,88 @@ &pmk8280_vadc { ...@@ -820,75 +824,88 @@ &pmk8280_vadc {
pmic-die-temp@3 { pmic-die-temp@3 {
reg = <PMK8350_ADC7_DIE_TEMP>; reg = <PMK8350_ADC7_DIE_TEMP>;
qcom,pre-scaling = <1 1>; qcom,pre-scaling = <1 1>;
label = "pmk8350_die_temp";
}; };
xo-therm@44 { xo-therm@44 {
reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>;
qcom,hw-settle-time = <200>; qcom,hw-settle-time = <200>;
qcom,ratiometric; qcom,ratiometric;
label = "pmk8350_xo_therm";
}; };
pmic-die-temp@103 { pmic-die-temp@103 {
reg = <PM8350_ADC7_DIE_TEMP(1)>; reg = <PM8350_ADC7_DIE_TEMP(1)>;
qcom,pre-scaling = <1 1>; qcom,pre-scaling = <1 1>;
label = "pmc8280_1_die_temp";
}; };
sys-therm@144 { sys-therm@144 {
reg = <PM8350_ADC7_AMUX_THM1_100K_PU(1)>; reg = <PM8350_ADC7_AMUX_THM1_100K_PU(1)>;
qcom,hw-settle-time = <200>; qcom,hw-settle-time = <200>;
qcom,ratiometric; qcom,ratiometric;
label = "sys_therm1";
}; };
sys-therm@145 { sys-therm@145 {
reg = <PM8350_ADC7_AMUX_THM2_100K_PU(1)>; reg = <PM8350_ADC7_AMUX_THM2_100K_PU(1)>;
qcom,hw-settle-time = <200>; qcom,hw-settle-time = <200>;
qcom,ratiometric; qcom,ratiometric;
label = "sys_therm2";
}; };
sys-therm@146 { sys-therm@146 {
reg = <PM8350_ADC7_AMUX_THM3_100K_PU(1)>; reg = <PM8350_ADC7_AMUX_THM3_100K_PU(1)>;
qcom,hw-settle-time = <200>; qcom,hw-settle-time = <200>;
qcom,ratiometric; qcom,ratiometric;
label = "sys_therm3";
}; };
sys-therm@147 { sys-therm@147 {
reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>; reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
qcom,hw-settle-time = <200>; qcom,hw-settle-time = <200>;
qcom,ratiometric; qcom,ratiometric;
label = "sys_therm4";
}; };
pmic-die-temp@303 { pmic-die-temp@303 {
reg = <PM8350_ADC7_DIE_TEMP(3)>; reg = <PM8350_ADC7_DIE_TEMP(3)>;
qcom,pre-scaling = <1 1>; qcom,pre-scaling = <1 1>;
label = "pmc8280_2_die_temp";
}; };
sys-therm@344 { sys-therm@344 {
reg = <PM8350_ADC7_AMUX_THM1_100K_PU(3)>; reg = <PM8350_ADC7_AMUX_THM1_100K_PU(3)>;
qcom,hw-settle-time = <200>; qcom,hw-settle-time = <200>;
qcom,ratiometric; qcom,ratiometric;
label = "sys_therm5";
}; };
sys-therm@345 { sys-therm@345 {
reg = <PM8350_ADC7_AMUX_THM2_100K_PU(3)>; reg = <PM8350_ADC7_AMUX_THM2_100K_PU(3)>;
qcom,hw-settle-time = <200>; qcom,hw-settle-time = <200>;
qcom,ratiometric; qcom,ratiometric;
label = "sys_therm6";
}; };
sys-therm@346 { sys-therm@346 {
reg = <PM8350_ADC7_AMUX_THM3_100K_PU(3)>; reg = <PM8350_ADC7_AMUX_THM3_100K_PU(3)>;
qcom,hw-settle-time = <200>; qcom,hw-settle-time = <200>;
qcom,ratiometric; qcom,ratiometric;
label = "sys_therm7";
}; };
sys-therm@347 { sys-therm@347 {
reg = <PM8350_ADC7_AMUX_THM4_100K_PU(3)>; reg = <PM8350_ADC7_AMUX_THM4_100K_PU(3)>;
qcom,hw-settle-time = <200>; qcom,hw-settle-time = <200>;
qcom,ratiometric; qcom,ratiometric;
label = "sys_therm8";
}; };
pmic-die-temp@403 { pmic-die-temp@403 {
reg = <PMR735A_ADC7_DIE_TEMP>; reg = <PMR735A_ADC7_DIE_TEMP>;
qcom,pre-scaling = <1 1>; qcom,pre-scaling = <1 1>;
label = "pmr735a_die_temp";
}; };
}; };
...@@ -932,9 +949,9 @@ &sound { ...@@ -932,9 +949,9 @@ &sound {
"VA DMIC0", "MIC BIAS1", "VA DMIC0", "MIC BIAS1",
"VA DMIC1", "MIC BIAS1", "VA DMIC1", "MIC BIAS1",
"VA DMIC2", "MIC BIAS3", "VA DMIC2", "MIC BIAS3",
"TX DMIC0", "MIC BIAS1", "VA DMIC0", "VA MIC BIAS1",
"TX DMIC1", "MIC BIAS2", "VA DMIC1", "VA MIC BIAS1",
"TX DMIC2", "MIC BIAS3", "VA DMIC2", "VA MIC BIAS3",
"TX SWR_ADC1", "ADC2_OUTPUT"; "TX SWR_ADC1", "ADC2_OUTPUT";
wcd-playback-dai-link { wcd-playback-dai-link {
...@@ -985,7 +1002,7 @@ platform { ...@@ -985,7 +1002,7 @@ platform {
va-dai-link { va-dai-link {
link-name = "VA Capture"; link-name = "VA Capture";
cpu { cpu {
sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
}; };
platform { platform {
...@@ -1110,7 +1127,7 @@ &vamacro { ...@@ -1110,7 +1127,7 @@ &vamacro {
vdd-micb-supply = <&vreg_s10b>; vdd-micb-supply = <&vreg_s10b>;
qcom,dmic-sample-rate = <600000>; qcom,dmic-sample-rate = <4800000>;
status = "okay"; status = "okay";
}; };
......
...@@ -2512,12 +2512,12 @@ swr1: soundwire-controller@3210000 { ...@@ -2512,12 +2512,12 @@ swr1: soundwire-controller@3210000 {
qcom,ports-sinterval-low = /bits/ 8 <0x03 0x1f 0x1f 0x07 0x00>; qcom,ports-sinterval-low = /bits/ 8 <0x03 0x1f 0x1f 0x07 0x00>;
qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0B 0x01 0x00>; qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0B 0x01 0x00>;
qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0B 0x00 0x00>; qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0B 0x00 0x00>;
qcom,ports-hstart = /bits/ 8 <0xff 0x03 0xff 0xff 0xff>; qcom,ports-hstart = /bits/ 8 <0xff 0x03 0x00 0xff 0xff>;
qcom,ports-hstop = /bits/ 8 <0xff 0x06 0xff 0xff 0xff>; qcom,ports-hstop = /bits/ 8 <0xff 0x06 0x0f 0xff 0xff>;
qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff>; qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff>;
qcom,ports-block-pack-mode = /bits/ 8 <0xff 0x00 0x01 0xff 0xff>; qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0x01 0xff 0xff>;
qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00>; qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00>;
qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0x00>; qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff>;
#sound-dai-cells = <1>; #sound-dai-cells = <1>;
#address-cells = <2>; #address-cells = <2>;
...@@ -2608,7 +2608,7 @@ swr2: soundwire-controller@3330000 { ...@@ -2608,7 +2608,7 @@ swr2: soundwire-controller@3330000 {
<&intc GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>; <&intc GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "core", "wake"; interrupt-names = "core", "wake";
clocks = <&vamacro>; clocks = <&txmacro>;
clock-names = "iface"; clock-names = "iface";
label = "TX"; label = "TX";
#sound-dai-cells = <1>; #sound-dai-cells = <1>;
...@@ -2617,15 +2617,15 @@ swr2: soundwire-controller@3330000 { ...@@ -2617,15 +2617,15 @@ swr2: soundwire-controller@3330000 {
qcom,din-ports = <4>; qcom,din-ports = <4>;
qcom,dout-ports = <0>; qcom,dout-ports = <0>;
qcom,ports-sinterval-low = /bits/ 8 <0x01 0x03 0x03 0x03>; qcom,ports-sinterval-low = /bits/ 8 <0x01 0x01 0x03 0x03>;
qcom,ports-offset1 = /bits/ 8 <0x01 0x00 0x02 0x01>; qcom,ports-offset1 = /bits/ 8 <0x01 0x00 0x02 0x00>;
qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x00 0x00>; qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x00 0x00>;
qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0xff 0xff>; qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff>; qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff>; qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-word-length = /bits/ 8 <0xff 0x00 0xff 0xff>; qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff>; qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff>;
qcom,ports-lane-control = /bits/ 8 <0x00 0x01 0x00 0x00>; qcom,ports-lane-control = /bits/ 8 <0x00 0x01 0x00 0x01>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -753,7 +753,7 @@ swm: swm@c85 { ...@@ -753,7 +753,7 @@ swm: swm@c85 {
left_spkr: speaker@0,3 { left_spkr: speaker@0,3 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
reg = <0 3>; reg = <0 3>;
powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_LOW>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrLeft"; sound-name-prefix = "SpkrLeft";
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
...@@ -761,7 +761,7 @@ left_spkr: speaker@0,3 { ...@@ -761,7 +761,7 @@ left_spkr: speaker@0,3 {
right_spkr: speaker@0,4 { right_spkr: speaker@0,4 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_LOW>;
reg = <0 4>; reg = <0 4>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrRight"; sound-name-prefix = "SpkrRight";
......
...@@ -662,7 +662,7 @@ swm: swm@c85 { ...@@ -662,7 +662,7 @@ swm: swm@c85 {
left_spkr: speaker@0,3 { left_spkr: speaker@0,3 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
reg = <0 3>; reg = <0 3>;
powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_LOW>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrLeft"; sound-name-prefix = "SpkrLeft";
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
...@@ -670,7 +670,7 @@ left_spkr: speaker@0,3 { ...@@ -670,7 +670,7 @@ left_spkr: speaker@0,3 {
right_spkr: speaker@0,4 { right_spkr: speaker@0,4 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_LOW>;
reg = <0 4>; reg = <0 4>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrRight"; sound-name-prefix = "SpkrRight";
......
...@@ -1064,6 +1064,7 @@ spi5: spi@4a94000 { ...@@ -1064,6 +1064,7 @@ spi5: spi@4a94000 {
dma-names = "tx", "rx"; dma-names = "tx", "rx";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled";
}; };
}; };
......
...@@ -1226,6 +1226,7 @@ remoteproc_cdsp: remoteproc@b000000 { ...@@ -1226,6 +1226,7 @@ remoteproc_cdsp: remoteproc@b000000 {
clock-names = "xo"; clock-names = "xo";
power-domains = <&rpmpd SM6375_VDDCX>; power-domains = <&rpmpd SM6375_VDDCX>;
power-domain-names = "cx";
memory-region = <&pil_cdsp_mem>; memory-region = <&pil_cdsp_mem>;
......
...@@ -1850,7 +1850,7 @@ pcie0: pci@1c00000 { ...@@ -1850,7 +1850,7 @@ pcie0: pci@1c00000 {
"slave_q2a", "slave_q2a",
"tbu"; "tbu";
iommus = <&apps_smmu 0x1d80 0x7f>; iommus = <&apps_smmu 0x1d80 0x3f>;
iommu-map = <0x0 &apps_smmu 0x1d80 0x1>, iommu-map = <0x0 &apps_smmu 0x1d80 0x1>,
<0x100 &apps_smmu 0x1d81 0x1>; <0x100 &apps_smmu 0x1d81 0x1>;
...@@ -1949,7 +1949,7 @@ pcie1: pci@1c08000 { ...@@ -1949,7 +1949,7 @@ pcie1: pci@1c08000 {
assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>; assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
assigned-clock-rates = <19200000>; assigned-clock-rates = <19200000>;
iommus = <&apps_smmu 0x1e00 0x7f>; iommus = <&apps_smmu 0x1e00 0x3f>;
iommu-map = <0x0 &apps_smmu 0x1e00 0x1>, iommu-map = <0x0 &apps_smmu 0x1e00 0x1>,
<0x100 &apps_smmu 0x1e01 0x1>; <0x100 &apps_smmu 0x1e01 0x1>;
......
...@@ -764,7 +764,7 @@ &swr0 { ...@@ -764,7 +764,7 @@ &swr0 {
left_spkr: speaker@0,3 { left_spkr: speaker@0,3 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
reg = <0 3>; reg = <0 3>;
powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_LOW>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrLeft"; sound-name-prefix = "SpkrLeft";
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
...@@ -773,7 +773,7 @@ left_spkr: speaker@0,3 { ...@@ -773,7 +773,7 @@ left_spkr: speaker@0,3 {
right_spkr: speaker@0,4 { right_spkr: speaker@0,4 {
compatible = "sdw10217211000"; compatible = "sdw10217211000";
reg = <0 4>; reg = <0 4>;
powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_HIGH>; powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_LOW>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
sound-name-prefix = "SpkrRight"; sound-name-prefix = "SpkrRight";
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
......
...@@ -625,6 +625,6 @@ &ufs_mem_phy { ...@@ -625,6 +625,6 @@ &ufs_mem_phy {
}; };
&venus { &venus {
firmware-name = "qcom/sm8250/elish/venus.mbn"; firmware-name = "qcom/sm8250/xiaomi/elish/venus.mbn";
status = "okay"; status = "okay";
}; };
...@@ -1672,6 +1672,7 @@ ufs_mem_hc: ufshc@1d84000 { ...@@ -1672,6 +1672,7 @@ ufs_mem_hc: ufshc@1d84000 {
power-domains = <&gcc UFS_PHY_GDSC>; power-domains = <&gcc UFS_PHY_GDSC>;
iommus = <&apps_smmu 0xe0 0x0>; iommus = <&apps_smmu 0xe0 0x0>;
dma-coherent;
clock-names = clock-names =
"core_clk", "core_clk",
......
...@@ -2128,8 +2128,8 @@ wsa2macro: codec@31e0000 { ...@@ -2128,8 +2128,8 @@ wsa2macro: codec@31e0000 {
<&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&vamacro>; <&vamacro>;
clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
assigned-clocks = <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, assigned-clocks = <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
<&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_2X_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_2X_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
assigned-clock-rates = <19200000>, <19200000>; assigned-clock-rates = <19200000>, <19200000>;
#clock-cells = <0>; #clock-cells = <0>;
...@@ -4082,6 +4082,7 @@ ufs_mem_hc: ufshc@1d84000 { ...@@ -4082,6 +4082,7 @@ ufs_mem_hc: ufshc@1d84000 {
power-domains = <&gcc UFS_PHY_GDSC>; power-domains = <&gcc UFS_PHY_GDSC>;
iommus = <&apps_smmu 0xe0 0x0>; iommus = <&apps_smmu 0xe0 0x0>;
dma-coherent;
interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>, interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>,
<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>; <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>;
......
...@@ -66,7 +66,7 @@ cpus { ...@@ -66,7 +66,7 @@ cpus {
CPU0: cpu@0 { CPU0: cpu@0 {
device_type = "cpu"; device_type = "cpu";
compatible = "qcom,kryo"; compatible = "arm,cortex-a510";
reg = <0 0>; reg = <0 0>;
clocks = <&cpufreq_hw 0>; clocks = <&cpufreq_hw 0>;
enable-method = "psci"; enable-method = "psci";
...@@ -90,7 +90,7 @@ L3_0: l3-cache { ...@@ -90,7 +90,7 @@ L3_0: l3-cache {
CPU1: cpu@100 { CPU1: cpu@100 {
device_type = "cpu"; device_type = "cpu";
compatible = "qcom,kryo"; compatible = "arm,cortex-a510";
reg = <0 0x100>; reg = <0 0x100>;
clocks = <&cpufreq_hw 0>; clocks = <&cpufreq_hw 0>;
enable-method = "psci"; enable-method = "psci";
...@@ -110,7 +110,7 @@ L2_100: l2-cache { ...@@ -110,7 +110,7 @@ L2_100: l2-cache {
CPU2: cpu@200 { CPU2: cpu@200 {
device_type = "cpu"; device_type = "cpu";
compatible = "qcom,kryo"; compatible = "arm,cortex-a510";
reg = <0 0x200>; reg = <0 0x200>;
clocks = <&cpufreq_hw 0>; clocks = <&cpufreq_hw 0>;
enable-method = "psci"; enable-method = "psci";
...@@ -130,7 +130,7 @@ L2_200: l2-cache { ...@@ -130,7 +130,7 @@ L2_200: l2-cache {
CPU3: cpu@300 { CPU3: cpu@300 {
device_type = "cpu"; device_type = "cpu";
compatible = "qcom,kryo"; compatible = "arm,cortex-a715";
reg = <0 0x300>; reg = <0 0x300>;
clocks = <&cpufreq_hw 1>; clocks = <&cpufreq_hw 1>;
enable-method = "psci"; enable-method = "psci";
...@@ -150,7 +150,7 @@ L2_300: l2-cache { ...@@ -150,7 +150,7 @@ L2_300: l2-cache {
CPU4: cpu@400 { CPU4: cpu@400 {
device_type = "cpu"; device_type = "cpu";
compatible = "qcom,kryo"; compatible = "arm,cortex-a715";
reg = <0 0x400>; reg = <0 0x400>;
clocks = <&cpufreq_hw 1>; clocks = <&cpufreq_hw 1>;
enable-method = "psci"; enable-method = "psci";
...@@ -170,7 +170,7 @@ L2_400: l2-cache { ...@@ -170,7 +170,7 @@ L2_400: l2-cache {
CPU5: cpu@500 { CPU5: cpu@500 {
device_type = "cpu"; device_type = "cpu";
compatible = "qcom,kryo"; compatible = "arm,cortex-a710";
reg = <0 0x500>; reg = <0 0x500>;
clocks = <&cpufreq_hw 1>; clocks = <&cpufreq_hw 1>;
enable-method = "psci"; enable-method = "psci";
...@@ -190,7 +190,7 @@ L2_500: l2-cache { ...@@ -190,7 +190,7 @@ L2_500: l2-cache {
CPU6: cpu@600 { CPU6: cpu@600 {
device_type = "cpu"; device_type = "cpu";
compatible = "qcom,kryo"; compatible = "arm,cortex-a710";
reg = <0 0x600>; reg = <0 0x600>;
clocks = <&cpufreq_hw 1>; clocks = <&cpufreq_hw 1>;
enable-method = "psci"; enable-method = "psci";
...@@ -210,7 +210,7 @@ L2_600: l2-cache { ...@@ -210,7 +210,7 @@ L2_600: l2-cache {
CPU7: cpu@700 { CPU7: cpu@700 {
device_type = "cpu"; device_type = "cpu";
compatible = "qcom,kryo"; compatible = "arm,cortex-x3";
reg = <0 0x700>; reg = <0 0x700>;
clocks = <&cpufreq_hw 2>; clocks = <&cpufreq_hw 2>;
enable-method = "psci"; enable-method = "psci";
...@@ -1896,6 +1896,7 @@ ufs_mem_hc: ufs@1d84000 { ...@@ -1896,6 +1896,7 @@ ufs_mem_hc: ufs@1d84000 {
required-opps = <&rpmhpd_opp_nom>; required-opps = <&rpmhpd_opp_nom>;
iommus = <&apps_smmu 0x60 0x0>; iommus = <&apps_smmu 0x60 0x0>;
dma-coherent;
interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>, interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>,
<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>; <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>;
...@@ -1988,7 +1989,7 @@ IPCC_MPROC_SIGNAL_GLINK_QMP ...@@ -1988,7 +1989,7 @@ IPCC_MPROC_SIGNAL_GLINK_QMP
lpass_tlmm: pinctrl@6e80000 { lpass_tlmm: pinctrl@6e80000 {
compatible = "qcom,sm8550-lpass-lpi-pinctrl"; compatible = "qcom,sm8550-lpass-lpi-pinctrl";
reg = <0 0x06e80000 0 0x20000>, reg = <0 0x06e80000 0 0x20000>,
<0 0x0725a000 0 0x10000>; <0 0x07250000 0 0x10000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-ranges = <&lpass_tlmm 0 0 23>; gpio-ranges = <&lpass_tlmm 0 0 23>;
...@@ -2704,7 +2705,7 @@ qup_i2c0_data_clk: qup-i2c0-data-clk-state { ...@@ -2704,7 +2705,7 @@ qup_i2c0_data_clk: qup-i2c0-data-clk-state {
pins = "gpio28", "gpio29"; pins = "gpio28", "gpio29";
function = "qup1_se0"; function = "qup1_se0";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c1_data_clk: qup-i2c1-data-clk-state { qup_i2c1_data_clk: qup-i2c1-data-clk-state {
...@@ -2712,7 +2713,7 @@ qup_i2c1_data_clk: qup-i2c1-data-clk-state { ...@@ -2712,7 +2713,7 @@ qup_i2c1_data_clk: qup-i2c1-data-clk-state {
pins = "gpio32", "gpio33"; pins = "gpio32", "gpio33";
function = "qup1_se1"; function = "qup1_se1";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c2_data_clk: qup-i2c2-data-clk-state { qup_i2c2_data_clk: qup-i2c2-data-clk-state {
...@@ -2720,7 +2721,7 @@ qup_i2c2_data_clk: qup-i2c2-data-clk-state { ...@@ -2720,7 +2721,7 @@ qup_i2c2_data_clk: qup-i2c2-data-clk-state {
pins = "gpio36", "gpio37"; pins = "gpio36", "gpio37";
function = "qup1_se2"; function = "qup1_se2";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c3_data_clk: qup-i2c3-data-clk-state { qup_i2c3_data_clk: qup-i2c3-data-clk-state {
...@@ -2728,7 +2729,7 @@ qup_i2c3_data_clk: qup-i2c3-data-clk-state { ...@@ -2728,7 +2729,7 @@ qup_i2c3_data_clk: qup-i2c3-data-clk-state {
pins = "gpio40", "gpio41"; pins = "gpio40", "gpio41";
function = "qup1_se3"; function = "qup1_se3";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c4_data_clk: qup-i2c4-data-clk-state { qup_i2c4_data_clk: qup-i2c4-data-clk-state {
...@@ -2736,7 +2737,7 @@ qup_i2c4_data_clk: qup-i2c4-data-clk-state { ...@@ -2736,7 +2737,7 @@ qup_i2c4_data_clk: qup-i2c4-data-clk-state {
pins = "gpio44", "gpio45"; pins = "gpio44", "gpio45";
function = "qup1_se4"; function = "qup1_se4";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c5_data_clk: qup-i2c5-data-clk-state { qup_i2c5_data_clk: qup-i2c5-data-clk-state {
...@@ -2744,7 +2745,7 @@ qup_i2c5_data_clk: qup-i2c5-data-clk-state { ...@@ -2744,7 +2745,7 @@ qup_i2c5_data_clk: qup-i2c5-data-clk-state {
pins = "gpio52", "gpio53"; pins = "gpio52", "gpio53";
function = "qup1_se5"; function = "qup1_se5";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c6_data_clk: qup-i2c6-data-clk-state { qup_i2c6_data_clk: qup-i2c6-data-clk-state {
...@@ -2752,7 +2753,7 @@ qup_i2c6_data_clk: qup-i2c6-data-clk-state { ...@@ -2752,7 +2753,7 @@ qup_i2c6_data_clk: qup-i2c6-data-clk-state {
pins = "gpio48", "gpio49"; pins = "gpio48", "gpio49";
function = "qup1_se6"; function = "qup1_se6";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c8_data_clk: qup-i2c8-data-clk-state { qup_i2c8_data_clk: qup-i2c8-data-clk-state {
...@@ -2760,14 +2761,14 @@ scl-pins { ...@@ -2760,14 +2761,14 @@ scl-pins {
pins = "gpio57"; pins = "gpio57";
function = "qup2_se0_l1_mira"; function = "qup2_se0_l1_mira";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
sda-pins { sda-pins {
pins = "gpio56"; pins = "gpio56";
function = "qup2_se0_l0_mira"; function = "qup2_se0_l0_mira";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
}; };
...@@ -2776,7 +2777,7 @@ qup_i2c9_data_clk: qup-i2c9-data-clk-state { ...@@ -2776,7 +2777,7 @@ qup_i2c9_data_clk: qup-i2c9-data-clk-state {
pins = "gpio60", "gpio61"; pins = "gpio60", "gpio61";
function = "qup2_se1"; function = "qup2_se1";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c10_data_clk: qup-i2c10-data-clk-state { qup_i2c10_data_clk: qup-i2c10-data-clk-state {
...@@ -2784,7 +2785,7 @@ qup_i2c10_data_clk: qup-i2c10-data-clk-state { ...@@ -2784,7 +2785,7 @@ qup_i2c10_data_clk: qup-i2c10-data-clk-state {
pins = "gpio64", "gpio65"; pins = "gpio64", "gpio65";
function = "qup2_se2"; function = "qup2_se2";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c11_data_clk: qup-i2c11-data-clk-state { qup_i2c11_data_clk: qup-i2c11-data-clk-state {
...@@ -2792,7 +2793,7 @@ qup_i2c11_data_clk: qup-i2c11-data-clk-state { ...@@ -2792,7 +2793,7 @@ qup_i2c11_data_clk: qup-i2c11-data-clk-state {
pins = "gpio68", "gpio69"; pins = "gpio68", "gpio69";
function = "qup2_se3"; function = "qup2_se3";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c12_data_clk: qup-i2c12-data-clk-state { qup_i2c12_data_clk: qup-i2c12-data-clk-state {
...@@ -2800,7 +2801,7 @@ qup_i2c12_data_clk: qup-i2c12-data-clk-state { ...@@ -2800,7 +2801,7 @@ qup_i2c12_data_clk: qup-i2c12-data-clk-state {
pins = "gpio2", "gpio3"; pins = "gpio2", "gpio3";
function = "qup2_se4"; function = "qup2_se4";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c13_data_clk: qup-i2c13-data-clk-state { qup_i2c13_data_clk: qup-i2c13-data-clk-state {
...@@ -2808,7 +2809,7 @@ qup_i2c13_data_clk: qup-i2c13-data-clk-state { ...@@ -2808,7 +2809,7 @@ qup_i2c13_data_clk: qup-i2c13-data-clk-state {
pins = "gpio80", "gpio81"; pins = "gpio80", "gpio81";
function = "qup2_se5"; function = "qup2_se5";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_i2c15_data_clk: qup-i2c15-data-clk-state { qup_i2c15_data_clk: qup-i2c15-data-clk-state {
...@@ -2816,7 +2817,7 @@ qup_i2c15_data_clk: qup-i2c15-data-clk-state { ...@@ -2816,7 +2817,7 @@ qup_i2c15_data_clk: qup-i2c15-data-clk-state {
pins = "gpio72", "gpio106"; pins = "gpio72", "gpio106";
function = "qup2_se7"; function = "qup2_se7";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up = <2200>;
}; };
qup_spi0_cs: qup-spi0-cs-state { qup_spi0_cs: qup-spi0-cs-state {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment