mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 09:41:54 +09:00
Merge tag 'qcom-arm64-fixes-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/fixes
Qualcomm ARM64 DTS fixes for 5.15
This starts by reverting the SC7280 CPUfreq update, which was merged
before concensus about the associated drivers changes was reached.
It then moves the reserved-memory changes done to get IPA working on the
Lenovo Yoga C630 into the Yoga specific DTS, as changing the memory map
on the platform level did break a couple of the other boards.
It fixes the HDMI audio on Trogdor and add missing Aggre2 NOC qos clocks
on SDM6{30,36,60} which prevented some boards from booting.
Lastly it enables the PON module on SM8250/QRB5165, as the lack thereof
is blocking automated testing in LKFT.
* tag 'qcom-arm64-fixes-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
arm64: dts: qcom: sdm630: Add missing a2noc qos clocks
arm64: dts: qcom: qrb5165-rb5: enabled pwrkey and resin nodes
arm64: dts: qcom: pm8150: specify reboot mode magics
arm64: dts: qcom: pm8150: use qcom,pm8998-pon binding
arm64: dts: qcom: sc7180-trogdor: Fix lpass dai link for HDMI
arm64: dts: qcom: sdm850-yoga: Reshuffle IPA memory mappings
Revert "arm64: dts: qcom: sc7280: Fixup the cpufreq node"
Link: https://lore.kernel.org/r/20210930025509.1091-1-bjorn.andersson@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -48,8 +48,10 @@
|
||||
#size-cells = <0>;
|
||||
|
||||
pon: power-on@800 {
|
||||
compatible = "qcom,pm8916-pon";
|
||||
compatible = "qcom,pm8998-pon";
|
||||
reg = <0x0800>;
|
||||
mode-bootloader = <0x2>;
|
||||
mode-recovery = <0x1>;
|
||||
|
||||
pon_pwrkey: pwrkey {
|
||||
compatible = "qcom,pm8941-pwrkey";
|
||||
|
||||
@@ -804,6 +804,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
&pon_pwrkey {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pon_resin {
|
||||
status = "okay";
|
||||
|
||||
linux,code = <KEY_VOLUMEDOWN>;
|
||||
};
|
||||
|
||||
&qupv3_id_0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -273,7 +273,6 @@
|
||||
"Headphone Jack", "HPOL",
|
||||
"Headphone Jack", "HPOR";
|
||||
|
||||
#sound-dai-cells = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@@ -301,11 +300,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
dai-link@2 {
|
||||
dai-link@5 {
|
||||
link-name = "MultiMedia2";
|
||||
reg = <2>;
|
||||
reg = <LPASS_DP_RX>;
|
||||
cpu {
|
||||
sound-dai = <&lpass_cpu 2>;
|
||||
sound-dai = <&lpass_cpu LPASS_DP_RX>;
|
||||
};
|
||||
|
||||
codec {
|
||||
@@ -782,7 +781,7 @@ hp_i2c: &i2c9 {
|
||||
qcom,playback-sd-lines = <0>;
|
||||
};
|
||||
|
||||
hdmi-primary@0 {
|
||||
hdmi@5 {
|
||||
reg = <LPASS_DP_RX>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1850,9 +1850,9 @@
|
||||
|
||||
cpufreq_hw: cpufreq@18591000 {
|
||||
compatible = "qcom,cpufreq-epss";
|
||||
reg = <0 0x18591100 0 0x900>,
|
||||
<0 0x18592100 0 0x900>,
|
||||
<0 0x18593100 0 0x900>;
|
||||
reg = <0 0x18591000 0 0x1000>,
|
||||
<0 0x18592000 0 0x1000>,
|
||||
<0 0x18593000 0 0x1000>;
|
||||
clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>;
|
||||
clock-names = "xo", "alternate";
|
||||
#freq-domain-cells = <1>;
|
||||
|
||||
@@ -654,9 +654,20 @@
|
||||
compatible = "qcom,sdm660-a2noc";
|
||||
reg = <0x01704000 0xc100>;
|
||||
#interconnect-cells = <1>;
|
||||
clock-names = "bus", "bus_a";
|
||||
clock-names = "bus",
|
||||
"bus_a",
|
||||
"ipa",
|
||||
"ufs_axi",
|
||||
"aggre2_ufs_axi",
|
||||
"aggre2_usb3_axi",
|
||||
"cfg_noc_usb2_axi";
|
||||
clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>,
|
||||
<&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>;
|
||||
<&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>,
|
||||
<&rpmcc RPM_SMD_IPA_CLK>,
|
||||
<&gcc GCC_UFS_AXI_CLK>,
|
||||
<&gcc GCC_AGGRE2_UFS_AXI_CLK>,
|
||||
<&gcc GCC_AGGRE2_USB3_AXI_CLK>,
|
||||
<&gcc GCC_CFG_NOC_USB2_AXI_CLK>;
|
||||
};
|
||||
|
||||
mnoc: interconnect@1745000 {
|
||||
|
||||
@@ -128,23 +128,28 @@
|
||||
no-map;
|
||||
};
|
||||
|
||||
wlan_msa_mem: memory@8c400000 {
|
||||
reg = <0 0x8c400000 0 0x100000>;
|
||||
ipa_fw_mem: memory@8c400000 {
|
||||
reg = <0 0x8c400000 0 0x10000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
gpu_mem: memory@8c515000 {
|
||||
reg = <0 0x8c515000 0 0x2000>;
|
||||
ipa_gsi_mem: memory@8c410000 {
|
||||
reg = <0 0x8c410000 0 0x5000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
ipa_fw_mem: memory@8c517000 {
|
||||
reg = <0 0x8c517000 0 0x5a000>;
|
||||
gpu_mem: memory@8c415000 {
|
||||
reg = <0 0x8c415000 0 0x2000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
adsp_mem: memory@8c600000 {
|
||||
reg = <0 0x8c600000 0 0x1a00000>;
|
||||
adsp_mem: memory@8c500000 {
|
||||
reg = <0 0x8c500000 0 0x1a00000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
wlan_msa_mem: memory@8df00000 {
|
||||
reg = <0 0x8df00000 0 0x100000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
|
||||
@@ -16,6 +16,17 @@
|
||||
#include "sdm850.dtsi"
|
||||
#include "pm8998.dtsi"
|
||||
|
||||
/*
|
||||
* Update following upstream (sdm845.dtsi) reserved
|
||||
* memory mappings for firmware loading to succeed
|
||||
* and enable the IPA device.
|
||||
*/
|
||||
/delete-node/ &ipa_fw_mem;
|
||||
/delete-node/ &ipa_gsi_mem;
|
||||
/delete-node/ &gpu_mem;
|
||||
/delete-node/ &adsp_mem;
|
||||
/delete-node/ &wlan_msa_mem;
|
||||
|
||||
/ {
|
||||
model = "Lenovo Yoga C630";
|
||||
compatible = "lenovo,yoga-c630", "qcom,sdm845";
|
||||
@@ -58,6 +69,29 @@
|
||||
};
|
||||
};
|
||||
|
||||
/* Reserved memory changes for IPA */
|
||||
reserved-memory {
|
||||
wlan_msa_mem: memory@8c400000 {
|
||||
reg = <0 0x8c400000 0 0x100000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
gpu_mem: memory@8c515000 {
|
||||
reg = <0 0x8c515000 0 0x2000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
ipa_fw_mem: memory@8c517000 {
|
||||
reg = <0 0x8c517000 0 0x5a000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
adsp_mem: memory@8c600000 {
|
||||
reg = <0 0x8c600000 0 0x1a00000>;
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
|
||||
sn65dsi86_refclk: sn65dsi86-refclk {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
|
||||
Reference in New Issue
Block a user