Bjorn Andersson
74cf6675c3
arm64: dts: qcom: sc8180x: Fix LLCC reg property
...
The LLCC binding and driver was recently corrected to handle the stride
varying between platforms. Switch to the new format to ensure accesses
are done in the right place.
Fixes: 8575f197b0 ("arm64: dts: qcom: Introduce the SC8180x platform")
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com >
Link: https://lore.kernel.org/r/20230612220632.1885175-1-quic_bjorande@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 21:26:05 -07:00
Bjorn Andersson
36bd9fad22
arm64: dts: qcom: sc8180x-flex5g: Wire up USB Type-C
...
Following the SC8180X Primus reference design, add pmic_glink and USB
Type-C wiring for battery manager, external display and orientation
switching.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com >
Link: https://lore.kernel.org/r/20230612221456.1887533-4-quic_bjorande@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 21:25:32 -07:00
Bjorn Andersson
ab590fa619
arm64: dts: qcom: sc8180x-primus: Wire up USB Type-C
...
Wire up pmic_glink and the various components of USB Type-C to get
battery status, orientation switching of SuperSpeed USB, as well as
support for external display on the SC8180X Primus reference device.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com >
Link: https://lore.kernel.org/r/20230612221456.1887533-3-quic_bjorande@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 21:25:32 -07:00
Bjorn Andersson
b0246331c5
arm64: dts: qcom: sc8180x: Add USB Type-C of_graph anchors
...
Define anchors for wiring up the USB Type-C graph in the board files.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230612221456.1887533-2-quic_bjorande@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 21:25:32 -07:00
Devi Priya
5229c1d6a0
arm64: dts: qcom: ipq9574: Use assigned-clock-rates for QUP I2C core clks
...
Use assigned-clock-rates property for configuring the QUP I2C core clocks
to operate at nominal frequency.
Signed-off-by: Devi Priya <quic_devipriy@quicinc.com >
Link: https://lore.kernel.org/r/20230615084841.12375-1-quic_devipriy@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 21:25:19 -07:00
Lin, Meng-Bo
507f9db1e9
arm64: dts: qcom: msm8939-samsung-a7: Add initial dts
...
This dts adds support for Samsung Galaxy A7 smartphone released in 2015.
Add a device tree for A7 with initial support for:
- GPIO keys
- Hall Sensor
- SDHCI (internal and external storage)
- USB Device Mode
- UART (on USB connector via the SM5502 MUIC)
- WCNSS (WiFi/BT)
- Regulators
- Touch key
- Accelerometer/Magnetometer
- Fuelgauge
- NFC
- Vibrator
- Touchscreen
Signed-off-by: Lin, Meng-Bo <linmengbo0689@protonmail.com >
Link: https://lore.kernel.org/r/20230623100237.5299-1-linmengbo0689@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 21:19:15 -07:00
Lin, Meng-Bo
0391cb1543
dt-bindings: qcom: Document msm8939,a7
...
Document samsung,a7 bindings used in its device tree.
Signed-off-by: Lin, Meng-Bo <linmengbo0689@protonmail.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230623100220.5284-1-linmengbo0689@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 21:19:15 -07:00
Konrad Dybcio
e40266d905
dt-bindings: qcom: Allow SoC names ending in "pro"
...
There are a couple of SoCs whose names end in "pro", with the currently-
upstream examples being msm8974pro and msm8996pro. Allow such suffix in
SoC-specific compatibles.
Fixes: 5aa332c5e7 ("dt-bindings: qcom: document preferred compatible naming")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230626-topic-bindingsfixups-v1-1-254ae8642e69@linaro.org
[bjorn: Changed (pro|) to (pro)?, per Rob's request]
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 21:15:53 -07:00
Lin, Meng-Bo
63c7fe5542
arm64: dts: qcom: msm8916-samsung-j5-common: Add touchscreen
...
J5 and J5X use an Imagis IST3038C touchscreen that is connected to
blsp_i2c5. Add it to the device tree.
MFD driver for SM5703 is unavailable at the moment, which is required
to power up the touchscreen on J5, so it's disabled on J5 for now.
Signed-off-by: Lin, Meng-Bo <linmengbo0689@protonmail.com >
Link: https://lore.kernel.org/r/20230715214046.14902-1-linmengbo0689@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 21:00:04 -07:00
Lin, Meng-Bo
3e9b36783b
arm64: dts: qcom: msm8916-samsung-e2015: Add accelerometer
...
E5, E7 and Grand Max have ST LIS2HH12 accelerometer.
Add support for it.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net >
Signed-off-by: Lin, Meng-Bo <linmengbo0689@protonmail.com >
Link: https://lore.kernel.org/r/20230716190807.7056-1-linmengbo0689@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:59:57 -07:00
Krzysztof Kozlowski
45a6bf1b27
arm64: dts: qcom: sm8350: add APR and LPASS TLMM
...
Add audio-related nodes: the APR in the ADSP (same as on SM8250) and
LPASS TLMM pin controller.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230719192809.434709-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:20:00 -07:00
Krzysztof Kozlowski
423f3a7ec7
arm64: dts: qcom: sm8350-hdk: add uSD card
...
Add uSD card to HDK8350.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230719192809.434709-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:19:22 -07:00
Krzysztof Kozlowski
dd29cb5edd
arm64: dts: qcom: sm8350-hdk: include PMK8350
...
HDK8350 comes with PMK8350 PMIC, so include relevant DTSI. This also
allows to use reboot reason.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230719192809.434709-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:19:22 -07:00
Manivannan Sadhasivam
aeea56072c
arm64: dts: qcom: sm8250: Add interconnect paths to UFSHC
...
UFS host controller requires interconnect path configuration for proper
working. So let's specify them for SM8250 SoC.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Link: https://lore.kernel.org/r/20230720054100.9940-14-manivannan.sadhasivam@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:17:58 -07:00
Manivannan Sadhasivam
84e2e371f4
arm64: dts: qcom: sdm845: Add interconnect paths to UFSHC
...
UFS host controller requires interconnect path configuration for proper
working. So let's specify them for SDM845 SoC.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Link: https://lore.kernel.org/r/20230720054100.9940-13-manivannan.sadhasivam@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:17:42 -07:00
Manivannan Sadhasivam
bbbef6e24b
arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
...
Minimum frequency of the "ice_core_clk" should be 75MHz as specified in the
downstream vendor devicetree. So fix it!
https://git.codelinaro.org/clo/la/kernel/msm-4.9/-/blob/LA.UM.7.3.r1-09300-sdm845.0/arch/arm64/boot/dts/qcom/sdm845.dtsi
Fixes: 433f9a5729 ("arm64: dts: sdm845: add Inline Crypto Engine registers and clock")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Link: https://lore.kernel.org/r/20230720054100.9940-5-manivannan.sadhasivam@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:16:48 -07:00
Manivannan Sadhasivam
4b6ea15c0a
arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
...
GCC and it's GDSCs are under the RPMh CX power domain. So let's add the
missing RPMh power domain to the GCC node.
Fixes: 6d4cf750d0 ("arm64: dts: sdm845: Add minimal dts/dtsi files for sdm845 SoC and MTP")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Co-developed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Link: https://lore.kernel.org/r/20230720054100.9940-4-manivannan.sadhasivam@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:16:48 -07:00
Rohit Agarwal
1d14bcffb4
arm64: dts: qcom: sm8550: Update the RPMHPD bindings entry
...
Update the RPMHPD bindings entry as per the new generic bindings defined
in rpmhpd.h for SM8550 SoC.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com >
Link: https://lore.kernel.org/r/1689840545-5094-5-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:00:47 -07:00
Rohit Agarwal
8ed9de7968
arm64: dts: qcom: sm8450: Update the RPMHPD bindings entry
...
Update the RPMHPD bindings entry as per the new generic bindings defined
in rpmhpd.h for SM8450 SoC.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com >
Link: https://lore.kernel.org/r/1689840545-5094-4-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 20:00:47 -07:00
Rohit Agarwal
fc4cbfbb7f
arm64: dts: qcom: sm8350: Update the RPMHPD bindings entry
...
Update the RPMHPD bindings entry as per the new generic bindings defined in
rpmhpd.h for SM8350 SoC.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com >
Link: https://lore.kernel.org/r/1689840545-5094-3-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 19:59:44 -07:00
Rohit Agarwal
34e2fd6a68
arm64: dts: qcom: sm8250: Update the RPMHPD bindings entry
...
Update the RPMHPD bindings entry as per the new generic bindings defined in
rpmhpd.h for SM8250 SoC.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com >
Link: https://lore.kernel.org/r/1689840545-5094-2-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 19:59:44 -07:00
Bjorn Andersson
ca32bd384e
Merge branch '1689744162-9421-2-git-send-email-quic_rohiagar@quicinc.com' into arm64-for-6.6
...
Merge the new generic RPMHPD defines from a topic branch, to alow them
being used in DeviceTree source, and the driver.
2023-07-21 19:54:52 -07:00
Rohit Agarwal
7f31667d29
dt-bindings: power: qcom,rpmhpd: Add Generic RPMh PD indexes
...
Add Generic RPMh Power Domain indexes that can be used
for all the Qualcomm SoC henceforth.
The power domain indexes of these bindings are based on compatibility
with current targets like SM8[2345]50 targets.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com >
Suggested-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/1689744162-9421-2-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 19:54:36 -07:00
Komal Bajaj
3d5a9f6d53
arm64: dts: qcom: qru1000-idp: Update reserved memory region
...
Add missing reserved regions as described in QRU1000 memory map.
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com >
Link: https://lore.kernel.org/r/20230706125129.20969-3-quic_kbajaj@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 19:51:49 -07:00
Komal Bajaj
d52775a696
arm64: dts: qcom: qdu1000-idp: Update reserved memory region
...
Add missing reserved regions as described in QDU1000 memory map.
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com >
Link: https://lore.kernel.org/r/20230706125129.20969-2-quic_kbajaj@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-21 19:51:18 -07:00
Krzysztof Kozlowski
26834b452f
arm64: dts: qcom: sm8250-pdx203: add required pin function
...
DT bindings expect function in each pin state in the pin configuration:
sm8250-sony-xperia-edo-pdx203.dtb: pinctrl@f100000: cam-pwr-b-state: 'oneOf' conditional failed, one must be fixed:
'function' is a required property
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230717210055.21979-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-17 20:43:28 -07:00
Krzysztof Kozlowski
37e93c7c99
arm64: dts: qcom: sc8180x-primus: remove superfluous "input-enable"
...
Pin configuration property "input-enable" was used with the intention to
disable the output, but this is done by default by Linux drivers. Since
commit c4a48b0df8 ("dt-bindings: pinctrl: qcom: tlmm should use
output-disable, not input-enable") the property is not accepted anymore:
sc8180x-primus.dtb: pinctrl@3100000: hall-int-active-state: 'oneOf' conditional failed, one must be fixed:
'bias-disable', 'function', 'input-enable', 'pins' do not match any of the regexes: '-pins$', 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230717210055.21979-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-17 20:43:28 -07:00
Caleb Connolly
2c2f83d9c3
arm64: dts: qcom: sdm850-*: fix uart6 aliases
...
This is a follow up on a previous patch[1] fixing the aliases for
sdm845 devices, fix them here too.
[1]: 4772c03002 ("arm64: dts: qcom: sdm845-*: fix uart6 aliases")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org >
Link: https://lore.kernel.org/r/20230627-c630-uart-and-1p2-reg-v2-3-496b581935c1@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:44:27 -07:00
Caleb Connolly
443042bec4
arm64: dts: qcom: c630: add debug uart
...
The c630 exposes its debug UART via a connector on the PCB, enable it.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org >
Link: https://lore.kernel.org/r/20230627-c630-uart-and-1p2-reg-v2-2-496b581935c1@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:44:27 -07:00
Caleb Connolly
2bc06b7604
arm64: dts: qcom: c630: add panel bridge 1p2 regulator
...
The VCC and VCCA supplies of the DSI<->eDP bridge are derived from
vreg_l2a_1p2 and controlled by a GPIO on the PMIC. Add the regulator
here so Linux can control it.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org >
Link: https://lore.kernel.org/r/20230627-c630-uart-and-1p2-reg-v2-1-496b581935c1@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:44:27 -07:00
Konrad Dybcio
e4322bb818
arm64: dts: qcom: sc8180x: Add missing 'cache-unified' to L3
...
Add the missing property to fix the dt checker warning:
qcom/sc8180x-primus.dtb: l3-cache: 'cache-unified' is a required property
Fixes: 8575f197b0 ("arm64: dts: qcom: Introduce the SC8180x platform")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230626-topic-bindingsfixups-v1-7-254ae8642e69@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:42:32 -07:00
Konrad Dybcio
8db9443269
arm64: dts: qcom: pmi8994: Add missing OVP interrupt
...
Add the missing OVP interrupt. This fixes the schema warning:
wled@d800: interrupt-names: ['short'] is too short
Fixes: 37aa540cbd ("arm64: dts: qcom: pmi8994: Add WLED node")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230626-topic-bindingsfixups-v1-6-254ae8642e69@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:42:32 -07:00
Konrad Dybcio
4d77b63953
arm64: dts: qcom: pmi8950: Add missing OVP interrupt
...
Add the missing OVP interrupt. This fixes the schema warning:
wled@d800: interrupt-names: ['short'] is too short
Fixes: 0d97fdf380 ("arm64: dts: qcom: Add configuration for PMI8950 peripheral")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230626-topic-bindingsfixups-v1-5-254ae8642e69@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:42:32 -07:00
Konrad Dybcio
9a4ac09db3
arm64: dts: qcom: pm660l: Add missing short interrupt
...
Add the missing short interrupt. This fixes the schema warning:
wled@d800: interrupt-names: ['ovp'] is too short
Fixes: 7b56a804e5 ("arm64: dts: qcom: pm660l: Add WLED support")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230626-topic-bindingsfixups-v1-4-254ae8642e69@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:42:32 -07:00
Konrad Dybcio
7e1f024ef0
arm64: dts: qcom: pm6150l: Add missing short interrupt
...
Add the missing short interrupt. This fixes the schema warning:
wled@d800: interrupt-names: ['ovp'] is too short
Fixes: fe508ced49 ("arm64: dts: qcom: pm6150l: Add wled node")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Luca Weiss <luca@z3ntu.xyz >
Link: https://lore.kernel.org/r/20230626-topic-bindingsfixups-v1-3-254ae8642e69@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:42:32 -07:00
Krzysztof Kozlowski
6b0fd355e9
arm64: dts: qcom: sdm850-c630: add missing panel supply
...
Panel bindings (boe,nv133fhm-n61) require supply which here actually can
be turned on/off via GPIO control:
sdm850-lenovo-yoga-c630.dtb: panel: 'power-supply' is a required property
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Tested-by: Caleb Connolly <caleb.connolly@linaro.org >
Link: https://lore.kernel.org/r/20230617171512.286795-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:36:29 -07:00
Stephan Gerhold
7e1acc8b92
arm64: dts: qcom: Add rpm-proc node for GLINK gplatforms
...
Rather than having the RPM GLINK channels as the only child of a dummy
top-level rpm-glink node, switch to representing the RPM as remoteproc
like all the other remoteprocs (modem DSP, ...).
This allows assigning additional subdevices to it like the MPM
interrupt-controller or rpm-master-stats.
Tested-by: Konrad Dybcio <konrad.dybcio@linaro.org > # SM6375
Signed-off-by: Stephan Gerhold <stephan@gerhold.net >
Link: https://lore.kernel.org/r/20230531-rpm-rproc-v3-11-a07dcdefd918@gerhold.net
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:23:36 -07:00
Stephan Gerhold
091efd5633
arm64: dts: qcom: Add rpm-proc node for SMD platforms
...
Rather than having the RPM SMD channels as the only child of a dummy
SMD node, switch to representing the RPM as remoteproc like all the
other remoteprocs (WCNSS, modem DSP).
This allows assigning additional subdevices to it like the MPM
interrupt-controller or rpm-master-stats.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Stephan Gerhold <stephan@gerhold.net >
Link: https://lore.kernel.org/r/20230531-rpm-rproc-v3-10-a07dcdefd918@gerhold.net
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 22:19:09 -07:00
Praveenkumar I
752f585805
arm64: dts: qcom: ipq9574: Add cpu cooling maps
...
Add cpu cooling maps for passive trip points. The cpu cooling
device states are mapped to cpufreq based scaling frequencies.
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com >
Link: https://lore.kernel.org/r/20230713083101.971525-2-quic_ipkumar@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 21:36:42 -07:00
Dmitry Baryshkov
4e125191e6
arm64: dts: qcom: sm8450: provide MDSS cfg interconnect
...
Add support for the MDSS cfg-cpu bus vote on the SM8450 platform.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20230712121145.1994830-9-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 21:30:12 -07:00
Krzysztof Kozlowski
b8fbeea025
arm64: dts: qcom: sm8250-sony-xperia: correct GPIO keys wakeup again
...
gpio-keys,wakeup is a deprecated property:
m8250-sony-xperia-edo-pdx206.dtb: gpio-keys: key-camera-focus: Unevaluated properties are not allowed ('gpio-key,wakeup' was unexpected)
Fixes: a422c6a91a ("arm64: dts: qcom: sm8250-edo: Rectify gpio-keys")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230711063011.16222-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 20:40:46 -07:00
Konrad Dybcio
b4fe47d12f
arm64: dts: qcom: qrb2210-rb1: Add regulators
...
Add and assign RPM regulators coming from PM2250.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20230711-topic-rb1_regulator-v1-1-bc4398c35800@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 20:40:03 -07:00
Konrad Dybcio
5e6d88815c
arm64: dts: qcom: sc7180: Bring back cpufreq-based DDR votes
...
ChromeOS folks reported that bwmon is too slow and getting rid of
statically defined CPUFREQ-based votes (effectively floor votes because of
how opp-peak-kBps is interpreted), has a major performance impact in some
common applications. Bring them back until MEMLAT support is introduced.
This is a partial revert of the commit referenced in the fixes tag.
Fixes: adc16b84e1 ("arm64: dts: qcom: sc7180: Hook up BWMONs")
Reported-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230711-topic-7180ddr-v1-1-56e4f13afe9b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 20:38:08 -07:00
Konrad Dybcio
1df6b32e38
arm64: dts: qcom: sm6350: Add BWMONs
...
Add the CPU and LLC BWMONs (skip the NPU ones for now) on sm6350.
There are 3 more NPU BWMONs, but these are skipped for now.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230711-topic-sm638250_bwmon-v1-4-bd4bb96b0673@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 20:36:30 -07:00
Konrad Dybcio
2a2bd124d4
arm64: dts: qcom: sm8250: Add BWMONs
...
Add the CPU and LLC BWMONs (skip the NPU ones for now) on sm8250.
LPDDR4X levels are skipped, as LPDDR5 seems more popular with SM8250 and
voting for inexistent levels doesn't uptick the bus frequency, which
results in no increased bandwidth, which results in bwmon deciding we
shouldn't go higher.. you see the point!
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230711-topic-sm638250_bwmon-v1-3-bd4bb96b0673@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-13 20:36:30 -07:00
Dmitry Baryshkov
8bb8688c1d
arm64: dts: qcom: msm8996: scale CBF clock according to the CPUfreq
...
Turn CBF into the interconnect provider. Scale CBF frequency (bandwidth)
according to CPU frequencies.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Tested-by: Yassine Oudjana <y.oudjana@protonmail.com >
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20230512001334.2983048-5-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-12 17:19:07 -07:00
Konrad Dybcio
4cb19bd7c6
arm64: dts: qcom: sm8250: Mark SMMUs as DMA coherent
...
The SMMUs on SM8250 are cache-coherent. Mark them as such.
Fixes: a89441fcd0 ("arm64: dts: qcom: sm8250: add apps_smmu node")
Fixes: 04a3605b18 ("arm64: dts: qcom: add sm8250 GPU nodes")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230704-topic-8250_pcie_dmac-v1-2-799603a980b0@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-09 22:03:57 -07:00
Konrad Dybcio
339d38a436
arm64: dts: qcom: sm8250: Mark PCIe hosts as DMA coherent
...
The PCIe hosts on SM8250 are cache-coherent. Mark them as such.
Fixes: e53bdfc009 ("arm64: dts: qcom: sm8250: Add PCIe support")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230704-topic-8250_pcie_dmac-v1-1-799603a980b0@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-09 22:03:22 -07:00
Dmitry Baryshkov
10848179ae
arm64: dts: qcom: sm8450-hdk: add ADC-TM thermal zones
...
Add thermal zones controlled through the ADC-TM (ADC thermal monitoring)
PMIC interface. This includes several onboard sensors and the XO thermal
sensor.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20230707123027.1510723-9-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-09 21:51:48 -07:00
Dmitry Baryshkov
53ccae05c9
arm64: dts: qcom: sm8450-hdk: define DIE_TEMP channels
...
Declare the DIE_TEMP channels provided by PMICs. Use them to provide
temperature reading for the spmi-temp-alarm thermal zones.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20230707123027.1510723-8-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2023-07-09 21:51:48 -07:00