Konrad Dybcio
545fef1e5e
arm64: dts: qcom: sdm630: Throttle the GPU when overheating
...
Add an 85C passive trip point to ensure the thermal framework takes
sufficient action to prevent reaching junction temperature and a
110C critical point to help avoid hw damage.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-gpus_are_cool_now-v1-3-ababc269a438@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:52 -05:00
Konrad Dybcio
f7fd6d04c1
arm64: dts: qcom: sc8280xp: Throttle the GPU when overheating
...
Add an 85C passive trip point with 1C of hysteresis to ensure the
thermal framework takes sufficient action to prevent reaching junction
temperature. Also, add passive polling to ensure more than one
temperature change event is recorded.
Fixes: 014bbc990e ("arm64: dts: qcom: sc8280xp: Introduce additional tsens instances")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-gpus_are_cool_now-v1-2-ababc269a438@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:52 -05:00
Konrad Dybcio
7c05517e5e
arm64: dts: qcom: sc8180x: Throttle the GPU when overheating
...
Add an 85C passive trip point to ensure the thermal framework takes
sufficient action to prevent reaching junction temperature and a
110C critical point to help avoid hw damage.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-gpus_are_cool_now-v1-1-ababc269a438@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:52 -05:00
Konrad Dybcio
92332cca05
arm64: dts: qcom: sm8650-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-31-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
fe5cb7d307
arm64: dts: qcom: sm8550-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-30-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
d0730a729f
arm64: dts: qcom: sm8450-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-29-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
07fab48327
arm64: dts: qcom: sm8350-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-28-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
2d10e2e28d
arm64: dts: qcom: sm8250-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-27-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
fc2f92b522
arm64: dts: qcom: sm8150-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-26-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
088d826d5a
arm64: dts: qcom: sm6375-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-25-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
2aad3fd382
arm64: dts: qcom: sm6350-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-24-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
d1a12560ef
arm64: dts: qcom: sm6125-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-23-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
190f743561
arm64: dts: qcom: sm6115-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-22-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
2e58dbeae4
arm64: dts: qcom: sdm845-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-21-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
82162bf535
arm64: dts: qcom: sdm660-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-20-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:44 -05:00
Konrad Dybcio
e388421387
arm64: dts: qcom: sc8280xp-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-19-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
1f57b1cff4
arm64: dts: qcom: sc8180x-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-18-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
7747a49db7
arm64: dts: qcom: sc7280-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-17-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
7cd2d9080a
arm64: dts: qcom: sc7180-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-16-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
a759962163
arm64: dts: qcom: sa8775p-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-15-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
8d7807d247
arm64: dts: qcom: qcs404-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-14-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
d3eb8179f2
arm64: dts: qcom: qcm2290-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-13-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
8e49df9200
arm64: dts: qcom: pmx75: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-12-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
1a78b5da81
arm64: dts: qcom: pms405: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-11-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
d96854de5d
arm64: dts: qcom: pm7550ba: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-10-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
47d92455f5
arm64: dts: qcom: msm8998-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-9-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
612f017315
arm64: dts: qcom: msm8996-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-8-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
adfb64b78f
arm64: dts: qcom: msm8976-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-7-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
1a43ff5b5f
arm64: dts: qcom: msm8953-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-6-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
19c658e5bf
arm64: dts: qcom: msm8939-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-5-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:43 -05:00
Konrad Dybcio
b3f0d522b5
arm64: dts: qcom: msm8916-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-4-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:42 -05:00
Konrad Dybcio
88dd10e237
arm64: dts: qcom: ipq9574-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Varadarajan Narayanan <quic_varada@quicinc.com >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-3-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:42 -05:00
Konrad Dybcio
bebd3c6476
arm64: dts: qcom: ipq8074-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-2-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:42 -05:00
Konrad Dybcio
28930820bf
arm64: dts: qcom: ipq6018-*: Remove thermal zone polling delays
...
All of the thermal zone suppliers are interrupt-driven, remove the
bogus and unnecessary polling that only wastes CPU time.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240510-topic-msm-polling-cleanup-v2-1-436ca4218da2@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-07 18:03:42 -05:00
Stephen Boyd
38b68e62c0
arm64: dts: qcom: sc7180-trogdor: Make clamshell/detachable fragments
...
At a high-level, detachable Trogdors (sometimes known as Strongbads)
don't have a cros_ec keyboard, while all clamshell Trogdors (only known
as Trogdors) always have a cros_ec keyboard. Looking closer though, all
clamshells have a USB type-A connector and a hardwired USB camera. And
all detachables replace the USB camera with a MIPI based one and swap
the USB type-a connector for the detachable keyboard pogo pins.
Split the detachable and clamshell bits into different files so we can
describe these differences in one place instead of in each board that
includes sc7180-trogdor.dtsi. For now this is just the keyboard part,
but eventually this will include the type-a port and the pogo pins.
Cc: cros-qcom-dts-watchers@chromium.org
Cc: Bjorn Andersson <andersson@kernel.org >
Cc: Konrad Dybcio <konrad.dybcio@linaro.org >
Cc: Rob Herring <robh+dt@kernel.org >
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org >
Cc: Conor Dooley <conor+dt@kernel.org >
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: Pin-yen Lin <treapking@chromium.org >
Signed-off-by: Stephen Boyd <swboyd@chromium.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Link: https://lore.kernel.org/r/20240604214233.3551692-4-swboyd@chromium.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:40:22 -05:00
Stephen Boyd
5abfd51398
arm64: dts: qcom: sc7180: pazquel: Add missing comment header
...
We put a header before modifying pinctrl nodes defined in
sc7180-trogdor.dtsi in every other file. Add one here so we know that
this section is for pinctrl modifications.
Cc: cros-qcom-dts-watchers@chromium.org
Cc: Bjorn Andersson <andersson@kernel.org >
Cc: Konrad Dybcio <konrad.dybcio@linaro.org >
Cc: Rob Herring <robh+dt@kernel.org >
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org >
Cc: Conor Dooley <conor+dt@kernel.org >
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: Pin-yen Lin <treapking@chromium.org >
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Stephen Boyd <swboyd@chromium.org >
Link: https://lore.kernel.org/r/20240604214233.3551692-3-swboyd@chromium.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:40:22 -05:00
Stephen Boyd
13f1e1245b
arm64: dts: qcom: sc7180: quackingstick: Disable instead of delete usb_c1
...
It's simpler to reason about things if we disable nodes instead of
deleting them. Disable the second usb type-c connector node on
quackingstick instead of deleting it so that we can reason about ports
more easily.
Cc: cros-qcom-dts-watchers@chromium.org
Cc: Bjorn Andersson <andersson@kernel.org >
Cc: Konrad Dybcio <konrad.dybcio@linaro.org >
Cc: Rob Herring <robh+dt@kernel.org >
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org >
Cc: Conor Dooley <conor+dt@kernel.org >
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: Pin-yen Lin <treapking@chromium.org >
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Stephen Boyd <swboyd@chromium.org >
Link: https://lore.kernel.org/r/20240604214233.3551692-2-swboyd@chromium.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:40:22 -05:00
Krzysztof Kozlowski
05d84f973d
arm64: dts: qcom: sm8450-sony-xperia: correct touchscreen interrupt flags
...
Interrupt flags 0x2008 looks like some downstream copy-paste, because
generic GPIOLIB code, used by Qualcomm pin controller drivers, ignores
flags outside of IRQ_TYPE_SENSE_MASK. Probably the intention was to
pass just 0x8, so IRQ_TYPE_LEVEL_LOW.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Tested-by: Konrad Dybcio <konrad.dybcio@linaro.org > # SM8450 PDX223
Link: https://lore.kernel.org/r/20240605160032.150587-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:40:22 -05:00
Krzysztof Kozlowski
46822d2750
arm64: dts: qcom: sm8250-sony-xperia: correct touchscreen interrupt flags
...
Interrupt flags 0x2008 looks like some downstream copy-paste, because
generic GPIOLIB code, used by Qualcomm pin controller drivers, ignores
flags outside of IRQ_TYPE_SENSE_MASK. Probably the intention was to
pass just 0x8, so IRQ_TYPE_LEVEL_LOW.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240605160032.150587-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:40:22 -05:00
Krzysztof Kozlowski
fa2c8cad20
arm64: dts: qcom: sm6375-pdx225: correct touchscreen interrupt flags
...
Interrupt flags 0x2008 looks like some downstream copy-paste, because
generic GPIOLIB code, used by Qualcomm pin controller drivers, ignores
flags outside of IRQ_TYPE_SENSE_MASK. Probably the intention was to
pass just 0x8, so IRQ_TYPE_LEVEL_LOW.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240605160032.150587-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:40:22 -05:00
Krzysztof Kozlowski
d044c0e36d
arm64: dts: qcom: sm6350-pdx213: correct touchscreen interrupt flags
...
Interrupt flags 0x2008 looks like some downstream copy-paste, because
generic GPIOLIB code, used by Qualcomm pin controller drivers, ignores
flags outside of IRQ_TYPE_SENSE_MASK. Probably the intention was to
pass just 0x8, so IRQ_TYPE_LEVEL_LOW.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240605160032.150587-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:40:22 -05:00
Abel Vesa
830a24be7d
arm64: dts: qcom: x1e80100-qcp: Add pmic-glink node with all 3 connectors
...
Add the pmic-glink node and describe all 3 USB Type-C connectors. Do this
for USB only, for now. The DP ports will come at a later stage since
they use muxes.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20240606-x1e80100-dts-pmic-glink-v2-3-972c902e3e6b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:40:21 -05:00
Abel Vesa
24b7616a1c
arm64: dts: qcom: x1e80100-crd: Add pmic-glink node with all 3 connectors
...
Add the pmic-glink node and describe all 3 USB Type-C connectors. Do this
for USB only, for now. The DP ports will come at a later stage since
they use retimers.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20240606-x1e80100-dts-pmic-glink-v2-2-972c902e3e6b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:39:49 -05:00
Abel Vesa
aa48a8a5d6
arm64: dts: qcom: x1e80100: Add remote endpoints between PHYs and DPs
...
Describe the port/endpoints graph between the USB/DP combo PHYs and their
corresponding DP controllers.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20240606-x1e80100-dts-pmic-glink-v2-1-972c902e3e6b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 17:39:04 -05:00
Bjorn Andersson
80edfc18de
Merge branch 'arm64-fixes-for-6.10' into arm64-for-6.11
...
Merge the arm64-fixes-for-6.10 branch into arm64-for-6.11 to resolve the
merge conflict caused by pmic-glink and reserved-memory introduction at
the same place in the x1e80100 crd and qcp dts files.
2024-06-06 17:38:08 -05:00
Neil Armstrong
bc90f56a16
arm64: dts: sm8650-hdk: add support for the Display Card overlay
...
With the SM8650-HDK, a Display Card kit can be connected to provide
a VTDR6130 display with Goodix Berlin Touch controller.
In order to route the DSI lanes to the connector for the Display
Card kit, a switch must be changed on the board.
The HDMI nodes are disabled since the DSI lanes are shared with
the DSI to HDMI transceiver.
Add support for this card as an overlay and apply it it at
build-time to the sm8650-hdk dtb.
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org >
Tested-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20240606-topic-sm8650-upstream-hdk-v6-1-fb034fe864cc@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 13:24:47 -05:00
Aboothahir U
0354ab18ef
arm64: dts: qcom: pm660: Add rradc, charger
...
Add charger to PM660 PMIC. Readings from round-robin ADC
are needed for charger to function, so add it as well.
Signed-off-by: Aboothahir U <aboothahirpkd@gmail.com >
Signed-off-by: Barnabás Czémán <trabarni@gmail.com >
Link: https://lore.kernel.org/r/20240606-pm660-charger-rrdac-v1-1-a95d4da24f3b@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-06 13:21:27 -05:00
Abel Vesa
8e99e770f7
arm64: dts: qcom: x1e80100: Fix PCIe 6a reg offsets and add MHI
...
The actual size of the DBI region is 0xf20 and the start of the
ELBI region is 0xf40, according to the documentation. So fix them.
While at it, add the MHI region as well.
Fixes: 5eb83fc102 ("arm64: dts: qcom: x1e80100: Add PCIe nodes")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Link: https://lore.kernel.org/r/20240604-x1e80100-dts-fixes-pcie6a-v2-1-0b4d8c6256e5@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-05 22:03:16 -05:00
Raymond Hackley
ca4afdfdbb
arm64: dts: qcom: msm8916-samsung-fortuna/rossa: Add PMIC and charger
...
The phones listed below have Richtek RT5033 PMIC and charger.
Add them to the device trees.
- Samsung Galaxy Core Prime LTE
- Samsung Galaxy Grand Prime
Cc: Jakob Hauser <jahau@rocketmail.com >
Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com >
Link: https://lore.kernel.org/r/20240601115321.25314-4-raymondhackley@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-05 22:02:31 -05:00
Raymond Hackley
834cfba678
arm64: dts: qcom: msm8916-samsung-fortuna/rossa: Add S3FWRN5 NFC
...
Some variants of Samsung Galaxy Core Prime LTE / Grand Prime LTE have a
Samsung S3FWRN5 NFC chip that works quite well with the s3fwrn5 driver
in the Linux NFC subsystem.
The clock setup for the NFC chip is a bit special (although this
seems to be a common approach used for Qualcomm devices with NFC):
The NFC chip has an output GPIO that is asserted whenever the clock
is needed to function properly. On the A3/A5 this is wired up to
PM8916 GPIO2, which is then configured with a special function
(NFC_CLK_REQ or BB_CLK2_REQ).
Enabling the rpmcc RPM_SMD_BB_CLK2_PIN clock will then instruct
PM8916 to automatically enable the clock whenever the NFC chip
requests it. The advantage is that the clock is only enabled when
needed and we don't need to manage it ourselves from the NFC driver.
Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com >
Link: https://lore.kernel.org/r/20240601115321.25314-3-raymondhackley@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
2024-06-05 22:02:30 -05:00