linux-2.6-block.git
7 months agodt-bindings: arm: qcom: add missing elements to the SoC list
Gabor Juhos [Tue, 29 Oct 2024 17:35:25 +0000 (18:35 +0100)]
dt-bindings: arm: qcom: add missing elements to the SoC list

There are multiple compatible strings defined in the json schema
for SoCs which are not included in the SoC elements list. Extend
the list with those items for completeness.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241029-qcom-missing-socs-v1-1-c5bf587b0afc@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: x1e80100-dell-xps13-9345: Introduce retimer support
Aleksandrs Vinarskis [Wed, 30 Oct 2024 18:19:36 +0000 (19:19 +0100)]
arm64: dts: qcom: x1e80100-dell-xps13-9345: Introduce retimer support

Describe x2 Parade PS8830 retimers for left and right USB Type-C ports
respectively. Adjust graphs between connectors and the PHYs accordingly,
add the voltage regulators. Dell XPS 13" 9345's DSDT describes 3rd
retimer, but its not actually present.

Regulators are _assumed_ to be correct, since:
* tlmm pins match DSDT definition.
* tlmm and pmic gpios were tested and confirmed to be powering
  off/resetting respective retimers.
* USB3.0 now works correctly in both orientation, pre and post suspend.

Derived from:
arm64: dts: qcom: x1e80100-t14s: Add external DP support

Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241030182153.16256-2-alex.vinarskis@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: x1e80100: Add support for PCIe3 on x1e80100
Qiang Yu [Tue, 5 Nov 2024 07:36:14 +0000 (23:36 -0800)]
arm64: dts: qcom: x1e80100: Add support for PCIe3 on x1e80100

Describe PCIe3 controller and PHY. Also add required system resources like
regulators, clocks, interrupts and registers configuration for PCIe3.

Signed-off-by: Qiang Yu <quic_qianyu@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20241105073615.3076979-1-quic_qianyu@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: x1e80100-vivobook-s15: Enable the gpu
Maud Spierings [Sun, 10 Nov 2024 17:25:57 +0000 (18:25 +0100)]
arm64: dts: qcom: x1e80100-vivobook-s15: Enable the gpu

Enable the gpu on the snapdragon powered asus vivobook s15

Signed-off-by: Maud Spierings <maud_spierings@hotmail.com>
Link: https://lore.kernel.org/r/20241110-qcom-asus-gpu-v2-1-5f774b17ced8@hotmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: ipq5424: Add smem and tcsr_mutex nodes
Manikanta Mylavarapu [Wed, 16 Oct 2024 15:15:28 +0000 (20:45 +0530)]
arm64: dts: qcom: ipq5424: Add smem and tcsr_mutex nodes

The smem is necessary for the socinfo driver. Additionally
smem requires the tcsr_mutex node. Therefore add both the nodes.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Link: https://lore.kernel.org/r/20241016151528.2893599-4-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: add IPQ5424 SoC and rdp466 board support
Sricharan Ramabadhran [Mon, 28 Oct 2024 06:05:05 +0000 (11:35 +0530)]
arm64: dts: qcom: add IPQ5424 SoC and rdp466 board support

Add initial device tree support for the Qualcomm IPQ5424 SoC and
rdp466 board.

Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com>
Link: https://lore.kernel.org/r/20241028060506.246606-6-quic_srichara@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agodt-bindings: qcom: Add ipq5424 boards
Sricharan Ramabadhran [Mon, 28 Oct 2024 06:05:04 +0000 (11:35 +0530)]
dt-bindings: qcom: Add ipq5424 boards

The IPQ5424 is Qualcomm's 802.11be SoC for Routers, Gateways
and access Points. It has a quad core Cortex-a55 with a per core
L1, Unified L2 caches and a common Unified L3 cache.

Document the new ipq5424 SoC/board device tree bindings.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com>
Link: https://lore.kernel.org/r/20241028060506.246606-5-quic_srichara@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoMerge branch '20241028060506.246606-3-quic_srichara@quicinc.com' into arm64-for-6.13
Bjorn Andersson [Wed, 6 Nov 2024 00:35:21 +0000 (16:35 -0800)]
Merge branch '20241028060506.246606-3-quic_srichara@quicinc.com' into arm64-for-6.13

Merge IPQ5424 global clock controller binding through topic branch to
make the constants available for both clock and DeviceTree branches.

7 months agodt-bindings: clock: Add Qualcomm IPQ5424 GCC binding
Sricharan Ramabadhran [Mon, 28 Oct 2024 06:05:02 +0000 (11:35 +0530)]
dt-bindings: clock: Add Qualcomm IPQ5424 GCC binding

Add binding for the Qualcomm IPQ5424 Global Clock Controller

Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241028060506.246606-3-quic_srichara@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: sar2130p: add QAR2130P board file
Dmitry Baryshkov [Sat, 2 Nov 2024 03:03:14 +0000 (05:03 +0200)]
arm64: dts: qcom: sar2130p: add QAR2130P board file

Add board DT file for the Qualcomm Snapdragon AR2 Gen1 Smart Viewer
Development Kit.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241102-sar2130p-dt-v4-3-60b7220fd0dd@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: sar2130p: add support for SAR2130P
Dmitry Baryshkov [Sat, 2 Nov 2024 03:03:13 +0000 (05:03 +0200)]
arm64: dts: qcom: sar2130p: add support for SAR2130P

Add DT file for the Qualcomm SAR2130P platform.

Co-developed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241102-sar2130p-dt-v4-2-60b7220fd0dd@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agodt-bindings: arm: qcom: add QAR2130P board
Dmitry Baryshkov [Sat, 2 Nov 2024 03:03:12 +0000 (05:03 +0200)]
dt-bindings: arm: qcom: add QAR2130P board

Add the Qualcomm QAR2130P development board using the Qualcomm AR2 Gen1
aka SAR2130P platform.

The qcom-soc.yaml chunks use explicit 'sa|sar' instead of just 'sar?' to
be more obvious for reviewers and to ease future extensions. Overuse of
the regular expressions can easily end up with the hard-to-read and
modify schema.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241102-sar2130p-dt-v4-1-60b7220fd0dd@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoMerge branch 'icc-sar2130p' of https://git.kernel.org/pub/scm/linux/kernel/git/djakov...
Bjorn Andersson [Wed, 6 Nov 2024 00:28:09 +0000 (16:28 -0800)]
Merge branch 'icc-sar2130p' of https://git./linux/kernel/git/djakov/icc into HEAD

Merge interconnect bindings for SAR2130P to make constants available in
DeviceTree source branch.

7 months agoMerge branch '20241027-sar2130p-clocks-v5-0-ecad2a1432ba@linaro.org' into arm64-for...
Bjorn Andersson [Wed, 6 Nov 2024 00:22:51 +0000 (16:22 -0800)]
Merge branch '20241027-sar2130p-clocks-v5-0-ecad2a1432ba@linaro.org' into arm64-for-6.13

Merge SAR2130P clock bindings through topic branch, to allow them being
used in both clock and DeviceTree branches.

7 months agodt-bindings: clk: qcom,sm8450-gpucc: add SAR2130P compatibles
Konrad Dybcio [Sun, 27 Oct 2024 01:24:44 +0000 (03:24 +0200)]
dt-bindings: clk: qcom,sm8450-gpucc: add SAR2130P compatibles

Expand qcom,sm8450-gpucc bindings to include SAR2130P.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241027-sar2130p-clocks-v5-5-ecad2a1432ba@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agodt-bindings: clock: qcom,sm8550-dispcc: Add SAR2130P compatible
Dmitry Baryshkov [Sun, 27 Oct 2024 01:24:43 +0000 (03:24 +0200)]
dt-bindings: clock: qcom,sm8550-dispcc: Add SAR2130P compatible

Document compatible for the Display Clock Controller on SAR2130P
platform.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241027-sar2130p-clocks-v5-4-ecad2a1432ba@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agodt-bindings: clock: qcom,sm8550-tcsr: Add SAR2130P compatible
Dmitry Baryshkov [Sun, 27 Oct 2024 01:24:42 +0000 (03:24 +0200)]
dt-bindings: clock: qcom,sm8550-tcsr: Add SAR2130P compatible

Document compatible for the TCSR Clock Controller on SAR2130P platform.
It is mostly compatible with the SM8550, except that it doesn't provide
UFS clocks.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241027-sar2130p-clocks-v5-3-ecad2a1432ba@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agodt-bindings: clock: qcom: document SAR2130P Global Clock Controller
Dmitry Baryshkov [Sun, 27 Oct 2024 01:24:41 +0000 (03:24 +0200)]
dt-bindings: clock: qcom: document SAR2130P Global Clock Controller

Add bindings for the Global Clock Controller (GCC) present on the
Qualcomm SAR2130P platform.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241027-sar2130p-clocks-v5-2-ecad2a1432ba@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agodt-bindings: clock: qcom,rpmhcc: Add SAR2130P compatible
Dmitry Baryshkov [Sun, 27 Oct 2024 01:24:40 +0000 (03:24 +0200)]
dt-bindings: clock: qcom,rpmhcc: Add SAR2130P compatible

Document compatible for RPMh clock controller on SAR2130P platform.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241027-sar2130p-clocks-v5-1-ecad2a1432ba@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: x1e001de-devkit: Enable external DP support
Sibi Sankar [Fri, 25 Oct 2024 12:35:51 +0000 (18:05 +0530)]
arm64: dts: qcom: x1e001de-devkit: Enable external DP support

The Qualcomm Snapdragon X Elite Devkit for Windows has the same
configuration as the CRD variant i.e. all 3 of the type C ports
support external DP altmode. Add all the nodes needed to enable
them.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Link: https://lore.kernel.org/r/20241025123551.3528206-4-quic_sibis@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: x1e001de-devkit: Add audio related nodes
Sibi Sankar [Fri, 25 Oct 2024 12:35:49 +0000 (18:05 +0530)]
arm64: dts: qcom: x1e001de-devkit: Add audio related nodes

The x1e001de devkit devices are expected to ship without external
speaker/mic connected, so just enable headphone jack on it.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Link: https://lore.kernel.org/r/20241025123551.3528206-2-quic_sibis@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agoarm64: dts: qcom: Add X1E001DE Snapdragon Devkit for Windows
Sibi Sankar [Fri, 25 Oct 2024 12:32:27 +0000 (18:02 +0530)]
arm64: dts: qcom: Add X1E001DE Snapdragon Devkit for Windows

Add initial support for x1e001de devkit platform. This includes:

-DSPs
-Ethernet (RTL8125BG) over the pcie 5 instance.
-NVme
-Wifi
-USB-C ports

Link: https://www.qualcomm.com/news/releases/2024/05/qualcomm-accelerates-development-for-copilot--pcs-with-snapdrago
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Tested-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Acked-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241025123227.3527720-4-quic_sibis@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
7 months agodt-bindings: arm: qcom: Add Snapdragon Devkit for Windows
Sibi Sankar [Fri, 25 Oct 2024 12:32:25 +0000 (18:02 +0530)]
dt-bindings: arm: qcom: Add Snapdragon Devkit for Windows

X1E001DE is the speed binned variant of X1E80100 that supports turbo
boost up to 4.3 GHz.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Tested-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Acked-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241025123227.3527720-2-quic_sibis@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Add cma heap for libcamera...
Bryan O'Donoghue [Fri, 25 Oct 2024 15:43:28 +0000 (16:43 +0100)]
arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Add cma heap for libcamera softisp support

libcamera softisp requires a linux,cma heap export in order to support
user-space debayering, 3a and export to other system components such as
pipewire, Firefox/Chromium - Hangouts, Zoom etc.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-6-cdff2f1a5792@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Add cma heap for libcamera softisp...
Bryan O'Donoghue [Fri, 25 Oct 2024 15:43:27 +0000 (16:43 +0100)]
arm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Add cma heap for libcamera softisp support

libcamera softisp requires a linux,cma heap export in order to support
user-space debayering, 3a and export to other system components such as
pipewire, Firefox/Chromium - Hangouts, Zoom etc.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-5-cdff2f1a5792@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Drop redundant clock-lanes from camera@1a
Bryan O'Donoghue [Fri, 25 Oct 2024 15:43:26 +0000 (16:43 +0100)]
arm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Drop redundant clock-lanes from camera@1a

Remove redundant clock-lanes property. The sensor doesn't require
clock-lanes at all. Remove now.

Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # rb5
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-4-cdff2f1a5792@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sc8280xp-x13s: Drop redundant clock-lanes from camera@10
Bryan O'Donoghue [Fri, 25 Oct 2024 15:43:25 +0000 (16:43 +0100)]
arm64: dts: qcom: sc8280xp-x13s: Drop redundant clock-lanes from camera@10

clock-lanes does nothing here - the sensor doesn't care about this
property, remove it.

Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # x13s
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-3-cdff2f1a5792@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Convert mezzanine riser to...
Bryan O'Donoghue [Fri, 25 Oct 2024 15:43:24 +0000 (16:43 +0100)]
arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Convert mezzanine riser to dtso

Convert the navigation / camera mezzanine from its own dts to a dtso. A
small amount of additional includes / address / cell size change needs to
be applied to convert.

Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # rb3
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-2-cdff2f1a5792@linaro.org
[bjorn: Corrected up makefile syntax, added missing cells for cci_i2c1]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Convert mezzanine riser to dtbo
Bryan O'Donoghue [Fri, 25 Oct 2024 15:43:23 +0000 (16:43 +0100)]
arm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Convert mezzanine riser to dtbo

Convert the navigation / camera mezzanine from its own dts to a dtso. A
small amount of additional includes / address / cell size change needs to
be applied to convert.

Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # rb5
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241025-b4-linux-next-24-10-25-camss-dts-fixups-v1-1-cdff2f1a5792@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8450-hdk: model the PMU of the on-board wcn6855
Bartosz Golaszewski [Fri, 18 Oct 2024 12:49:16 +0000 (14:49 +0200)]
arm64: dts: qcom: sm8450-hdk: model the PMU of the on-board wcn6855

Add nodes for the WCN6855 PMU, the WLAN and BT modules and relevant
regulators and pin functions to fully describe how the wifi is actually
wired on this platform.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241018-sc8280xp-pwrseq-v6-6-8da8310d9564@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sc8280xp-x13s: model the PMU of the on-board wcn6855
Bartosz Golaszewski [Fri, 18 Oct 2024 12:49:15 +0000 (14:49 +0200)]
arm64: dts: qcom: sc8280xp-x13s: model the PMU of the on-board wcn6855

Add a node for the PMU of the WCN6855 and rework the inputs of the wifi
and bluetooth nodes to consume the PMU's outputs.

With this we can drop the regulator-always-on properties from vreg_s11b
and vreg_s12b as they will now be enabled by the power sequencing
driver.

Tested-by: Steev Klimaszewski <steev@kali.org> # Thinkpad X13s
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241018-sc8280xp-pwrseq-v6-5-8da8310d9564@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sc8280xp-crd: enable bluetooth
Bartosz Golaszewski [Fri, 18 Oct 2024 12:49:14 +0000 (14:49 +0200)]
arm64: dts: qcom: sc8280xp-crd: enable bluetooth

Add the bluetooth node for sc8280xp-crd and make it consume the outputs
from the PMU as per the new DT bindings contract.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20241018-sc8280xp-pwrseq-v6-4-8da8310d9564@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sc8280xp-crd: model the PMU of the on-board wcn6855
Bartosz Golaszewski [Fri, 18 Oct 2024 12:49:13 +0000 (14:49 +0200)]
arm64: dts: qcom: sc8280xp-crd: model the PMU of the on-board wcn6855

Add nodes for the WCN6855 PMU, the WLAN module and relevant regulators
and pin functions to fully describe how the wifi is actually wired on
this platform.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Co-developed-by: Konrad Dybcio <konradybcio@kernel.org>
Signed-off-by: Konrad Dybcio <konradybcio@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20241018-sc8280xp-pwrseq-v6-3-8da8310d9564@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards
Tengfei Fan [Wed, 11 Sep 2024 11:10:58 +0000 (19:10 +0800)]
arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards

Add device tree support for the QCS9100 Ride and Ride Rev3 boards. The
QCS9100 is a variant of the SA8775p, and they are fully compatible with
each other. The QCS9100 Ride/Ride Rev3 board is essentially the same as
the SA8775p Ride/Ride Rev3 board, with the QCS9100 SoC mounted instead
of the SA8775p.

Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
Reviewed-by: Konrad Dybcio <konradybcio@kernel.org>
Link: https://lore.kernel.org/r/20240911-add_qcs9100_support-v2-4-e43a71ceb017@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agodt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3
Tengfei Fan [Wed, 11 Sep 2024 11:10:57 +0000 (19:10 +0800)]
dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3

Document qcs9100-ride and qcs9100-ride Rev3 is based on QCS9100 SoC.

QCS9100 is a IoT version of SA8775p, hence use the latter's compatible
string as fallback.

Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
Reviewed-by: Konrad Dybcio <konradybcio@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20240911-add_qcs9100_support-v2-3-e43a71ceb017@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100: Update C4/C5 residency/exit numbers
Konrad Dybcio [Tue, 16 Jul 2024 10:35:04 +0000 (12:35 +0200)]
arm64: dts: qcom: x1e80100: Update C4/C5 residency/exit numbers

Update the numbers based on the information found in the DSDT.

Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240716-topic-h_bits-v1-2-f6c5d3ff982c@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100-crd: describe HID supplies
Johan Hovold [Tue, 29 Oct 2024 07:52:58 +0000 (08:52 +0100)]
arm64: dts: qcom: x1e80100-crd: describe HID supplies

Add the missing HID supplies to avoid relying on other consumers to keep
them on.

This also avoids the following warnings on boot:

i2c_hid_of 0-0010: supply vdd not found, using dummy regulator
i2c_hid_of 0-0010: supply vddl not found, using dummy regulator
i2c_hid_of 1-0015: supply vdd not found, using dummy regulator
i2c_hid_of 1-0015: supply vddl not found, using dummy regulator
i2c_hid_of 1-003a: supply vdd not found, using dummy regulator
i2c_hid_of 1-003a: supply vddl not found, using dummy regulator

Note that VREG_MISC_3P3 is also used for things like the fingerprint
reader which are not yet fully described so mark the regulator as always
on for now.

Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support")
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20241029075258.19642-1-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: msm8998-lenovo-miix-630: add WiFi calibration variant
Dmitry Baryshkov [Tue, 23 Jul 2024 11:28:32 +0000 (14:28 +0300)]
arm64: dts: qcom: msm8998-lenovo-miix-630: add WiFi calibration variant

As most other board Miix uses board-id = 0xff, so define calibration
variant to distinguish it from other devices with the same chip_id.

qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40010002

Cc: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/r/20240723-miix630-support-v2-5-7d98f6047a17@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: msm8998-clamshell: enable resin/VolDown
Dmitry Baryshkov [Tue, 23 Jul 2024 11:28:31 +0000 (14:28 +0300)]
arm64: dts: qcom: msm8998-clamshell: enable resin/VolDown

Let resin device generate the VolumeDown key.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/r/20240723-miix630-support-v2-4-7d98f6047a17@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: msm8998-lenovo-miix-630: enable VolumeUp button
Dmitry Baryshkov [Tue, 23 Jul 2024 11:28:30 +0000 (14:28 +0300)]
arm64: dts: qcom: msm8998-lenovo-miix-630: enable VolumeUp button

Add gpio-keys device, responsible for a single button: Volume Up.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/r/20240723-miix630-support-v2-3-7d98f6047a17@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: msm8998-lenovo-miix-630: enable aDSP and SLPI
Dmitry Baryshkov [Tue, 23 Jul 2024 11:28:29 +0000 (14:28 +0300)]
arm64: dts: qcom: msm8998-lenovo-miix-630: enable aDSP and SLPI

Enable two other DSP instances on this platofm, aDSP and SLPI.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/r/20240723-miix630-support-v2-2-7d98f6047a17@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: msm8998-lenovo-miix-630: enable touchscreen
Dmitry Baryshkov [Tue, 23 Jul 2024 11:28:28 +0000 (14:28 +0300)]
arm64: dts: qcom: msm8998-lenovo-miix-630: enable touchscreen

There is no point in keeping touchscreen disabled, enable corresponding
i2c-hid device.

04F3:2608 Touchscreen as /devices/platform/soc@0/c179000.i2c/i2c-0/0-0010/0018:04F3:2608.0001/input/input1
04F3:2608 as /devices/platform/soc@0/c179000.i2c/i2c-0/0-0010/0018:04F3:2608.0001/input/input2
04F3:2608 as /devices/platform/soc@0/c179000.i2c/i2c-0/0-0010/0018:04F3:2608.0001/input/input3
04F3:2608 Stylus as /devices/platform/soc@0/c179000.i2c/i2c-0/0-0010/0018:04F3:2608.0001/input/input4

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/r/20240723-miix630-support-v2-1-7d98f6047a17@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: qcs6490-rb3gen2: Add PCIe nodes
Krishna chaitanya chundru [Thu, 24 Oct 2024 13:28:49 +0000 (18:58 +0530)]
arm64: dts: qcom: qcs6490-rb3gen2: Add PCIe nodes

Enable PCIe1 controller and its corresponding PHY nodes on
qcs6490-rb3g2 platform.

SMMU v2 has limited SID's to assign dynamic SID's with the existing
logic. For now, use static iommu-map table assigning unique SID's for
each port as dynamic approach needs boarder community discussions.

PCIe switch connected to this board has 3 downstream ports and
to the one of the downstream an embedded ethernet is connected.
Assign unique SID for each downstream port and to embedded ethernet,
and also reserve a SID for the endpoints which are going to be
connected to the other two downstream ports.

As this PCIe switch is present in this platform only update iommu-map
in this platform only as other board variants might have different
PCIe topology and might need different mapping.

Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Link: https://lore.kernel.org/r/20241024-enable_pcie-v2-1-e5a6f5da74e4@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100-dell-xps13-9345: fix nvme regulator boot glitch
Aleksandrs Vinarskis [Wed, 16 Oct 2024 20:15:49 +0000 (22:15 +0200)]
arm64: dts: qcom: x1e80100-dell-xps13-9345: fix nvme regulator boot glitch

The NVMe regulator has been left enabled by the boot firmware. Mark it
as such to avoid disabling the regulator temporarily during boot.

Based on https://lore.kernel.org/all/20241016145112.24785-1-johan+linaro@kernel.org/

Fixes: f5b788d0e8cd ("arm64: dts: qcom: Add support for X1-based Dell XPS 13 9345")
Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20241016202253.9677-3-alex.vinarskis@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100-dell-xps13-9345: route edp-panel enable gpio
Aleksandrs Vinarskis [Wed, 16 Oct 2024 20:15:48 +0000 (22:15 +0200)]
arm64: dts: qcom: x1e80100-dell-xps13-9345: route edp-panel enable gpio

tlmm 74 was experimentally found to be panel enable pin, which shall be
high for panel (both low-res IPS, OLED) to work. Define it as such.

Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Link: https://lore.kernel.org/r/20241016202253.9677-2-alex.vinarskis@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: Use 'ufshc' as the node name for UFS controller nodes
Manivannan Sadhasivam [Tue, 14 May 2024 13:08:41 +0000 (15:08 +0200)]
arm64: dts: qcom: Use 'ufshc' as the node name for UFS controller nodes

Devicetree binding has documented the node name for UFS controllers as
'ufshc'. So let's use it instead of 'ufs' which is for the UFS devices.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20240514-ufs-nodename-fix-v1-2-4c55483ac401@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: qcm6490-idp: Add UFS nodes
Manish Pandey [Sat, 19 Oct 2024 06:36:59 +0000 (12:06 +0530)]
arm64: dts: qcom: qcm6490-idp: Add UFS nodes

Add UFS host controller and Phy nodes for Qualcomm qcm6490-idp board.

Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
Link: https://lore.kernel.org/r/20241019063659.6324-1-quic_mapa@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:42 +0000 (17:47 +0200)]
arm64: dts: qcom: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-17-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sdm: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:41 +0000 (17:47 +0200)]
arm64: dts: qcom: sdm: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-16-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:40 +0000 (17:47 +0200)]
arm64: dts: qcom: sm: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-15-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8650: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:39 +0000 (17:47 +0200)]
arm64: dts: qcom: sm8650: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-14-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8550: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:38 +0000 (17:47 +0200)]
arm64: dts: qcom: sm8550: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-13-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8450: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:37 +0000 (17:47 +0200)]
arm64: dts: qcom: sm8450: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-12-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8350: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:36 +0000 (17:47 +0200)]
arm64: dts: qcom: sm8350: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-11-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8250: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:35 +0000 (17:47 +0200)]
arm64: dts: qcom: sm8250: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-10-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8150: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:34 +0000 (17:47 +0200)]
arm64: dts: qcom: sm8150: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-9-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm6350: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:33 +0000 (17:47 +0200)]
arm64: dts: qcom: sm6350: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-8-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm6115: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:32 +0000 (17:47 +0200)]
arm64: dts: qcom: sm6115: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-7-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sc: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:31 +0000 (17:47 +0200)]
arm64: dts: qcom: sc: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-6-0505bc7d2c56@linaro.org
[bjorn: Update sm7325 references to match the updated case]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sc8280xp: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:30 +0000 (17:47 +0200)]
arm64: dts: qcom: sc8280xp: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Tested-by: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-5-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sc7180: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:29 +0000 (17:47 +0200)]
arm64: dts: qcom: sc7180: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-4-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: msm8992-libra: drop unused regulators labels
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:28 +0000 (17:47 +0200)]
arm64: dts: qcom: msm8992-libra: drop unused regulators labels

DTS coding style expects labels to be lowercase, but the labels are not
used, so just drop them.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-3-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: msm: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:27 +0000 (17:47 +0200)]
arm64: dts: qcom: msm: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-2-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: ipq: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:26 +0000 (17:47 +0200)]
arm64: dts: qcom: ipq: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-1-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8450: Add 'global' interrupt to the PCIe RC node
Manivannan Sadhasivam [Wed, 28 Aug 2024 15:46:22 +0000 (21:16 +0530)]
arm64: dts: qcom: sm8450: Add 'global' interrupt to the PCIe RC node

Qcom PCIe RC controllers are capable of generating 'global' SPI interrupt
to the host CPUs. This interrupt can be used by the device driver to
identify events such as PCIe link specific events, safety events, etc...

Hence, add it to the PCIe RC node along with the existing MSI interrupts.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240828-pci-qcom-hotplug-v4-12-263a385fbbcb@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sa8775p: Add 'linux,pci-domain' to PCIe EP controller nodes
Manivannan Sadhasivam [Wed, 28 Aug 2024 15:46:19 +0000 (21:16 +0530)]
arm64: dts: qcom: sa8775p: Add 'linux,pci-domain' to PCIe EP controller nodes

'linux,pci-domain' property provides the PCI domain number for the PCI
endpoint controllers in a SoC. If this property is not present, then an
unstable (across boots) unique number will be assigned.

Use this property to specify the domain number based on the actual hardware
instance of the PCI endpoint controllers in SA8775P SoC.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240828-pci-qcom-hotplug-v4-9-263a385fbbcb@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sa8775p: Add TCSR halt register space
Mukesh Ojha [Fri, 30 Aug 2024 13:39:08 +0000 (19:09 +0530)]
arm64: dts: qcom: sa8775p: Add TCSR halt register space

Enable download mode for sa8775p which can help collect
ramdump for this SoC.

Reviewed-by: Elliot Berman <quic_eberman@quicinc.com>
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Link: https://lore.kernel.org/r/20240830133908.2246139-2-quic_mojha@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sa8775p-ride: add WiFi/BT nodes
Miaoqing Pan [Fri, 11 Oct 2024 04:19:39 +0000 (12:19 +0800)]
arm64: dts: qcom: sa8775p-ride: add WiFi/BT nodes

Add a node for the PMU module of the WCN6855 present on the sa8775p-ride
board. Assign its LDO power outputs to the existing WiFi/Bluetooth module.

Signed-off-by: Miaoqing Pan <quic_miaoqing@quicinc.com>
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241011041939.2916179-1-quic_miaoqing@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sa8775p: add QCrypto nodes
Yuvaraj Ranganathan [Thu, 17 Oct 2024 14:45:00 +0000 (20:15 +0530)]
arm64: dts: qcom: sa8775p: add QCrypto nodes

Add the QCE and Crypto BAM DMA nodes.

Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
Link: https://lore.kernel.org/r/20241017144500.3968797-3-quic_yrangana@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoMerge branch '20241011-sa8775p-mm-v4-resend-patches-v5-0-4a9f17dc683a@quicinc.com...
Bjorn Andersson [Tue, 22 Oct 2024 22:29:43 +0000 (17:29 -0500)]
Merge branch '20241011-sa8775p-mm-v4-resend-patches-v5-0-4a9f17dc683a@quicinc.com' into arm64-for-6.13

Merge SA8775P multimedia clock bindings into the DeviceTree branch to
gain access to the clock constants.

8 months agodt-bindings: clock: qcom: Add SA8775P display clock controllers
Taniya Das [Thu, 10 Oct 2024 18:58:35 +0000 (00:28 +0530)]
dt-bindings: clock: qcom: Add SA8775P display clock controllers

Add device tree bindings for the display clock controllers
on Qualcomm SA8775P platform.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Link: https://lore.kernel.org/r/20241011-sa8775p-mm-v4-resend-patches-v5-5-4a9f17dc683a@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agodt-bindings: clock: qcom: Add SA8775P camera clock controller
Taniya Das [Thu, 10 Oct 2024 18:58:33 +0000 (00:28 +0530)]
dt-bindings: clock: qcom: Add SA8775P camera clock controller

Add device tree bindings for the camera clock controller
on Qualcomm SA8775P platform.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Link: https://lore.kernel.org/r/20241011-sa8775p-mm-v4-resend-patches-v5-3-4a9f17dc683a@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agodt-bindings: clock: qcom: Add SA8775P video clock controller
Taniya Das [Thu, 10 Oct 2024 18:58:31 +0000 (00:28 +0530)]
dt-bindings: clock: qcom: Add SA8775P video clock controller

Add device tree bindings for the video clock controller on Qualcomm
SA8775P platform.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Link: https://lore.kernel.org/r/20241011-sa8775p-mm-v4-resend-patches-v5-1-4a9f17dc683a@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm7325: Add device-tree for Nothing Phone 1
Eugene Lepshy [Sun, 20 Oct 2024 20:56:14 +0000 (23:56 +0300)]
arm64: dts: qcom: sm7325: Add device-tree for Nothing Phone 1

Add device tree for the Nothing Phone 1 (nothing,spacewar) smartphone
which is based on the SM7325 SoC.

Supported features are, as of now:
* USB & UFS
* Debug UART
* Display via SimpleFB
* Power & volume buttons
* PMIC GLink
* Remoteprocs (ADSP, CDSP, MPSS, WPSS)
* WiFi & Bluetooth
* IPA
* VPU Iris (Venus)
* NFC
* Flash/torch LED
* RTC
* Device-specific thermals
* Various plumbing like regulators, i2c, spi, cci, etc

Signed-off-by: Eugene Lepshy <fekz115@gmail.com>
Co-developed-by: Danila Tikhonov <danila@jiaxyga.com>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Link: https://lore.kernel.org/r/20241020205615.211256-7-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agodt-bindings: arm: qcom: Add SM7325 Nothing Phone 1
Danila Tikhonov [Sun, 20 Oct 2024 20:56:13 +0000 (23:56 +0300)]
dt-bindings: arm: qcom: Add SM7325 Nothing Phone 1

Nothing Phone 1 (nothing,spacewar) is a smartphone based on the SM7325
SoC.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241020205615.211256-6-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agodt-bindings: vendor-prefixes: Add Nothing Technology Limited
Danila Tikhonov [Sun, 20 Oct 2024 20:56:12 +0000 (23:56 +0300)]
dt-bindings: vendor-prefixes: Add Nothing Technology Limited

Add entry for Nothing Technology Limited (https://nothing.tech/)

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241020205615.211256-5-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: Add SM7325 device tree
Eugene Lepshy [Sun, 20 Oct 2024 20:56:11 +0000 (23:56 +0300)]
arm64: dts: qcom: Add SM7325 device tree

The Snapdragon 778G (SM7325) / 778G+ (SM7325-AE) / 782G (SM7325-AF)
is software-wise very similar to the Snapdragon 7c+ Gen 3 (SC7280).

It uses the Kryo670.

Signed-off-by: Eugene Lepshy <fekz115@gmail.com>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241020205615.211256-4-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agodt-bindings: arm: cpus: Add qcom kryo670 compatible
Danila Tikhonov [Sun, 20 Oct 2024 20:56:10 +0000 (23:56 +0300)]
dt-bindings: arm: cpus: Add qcom kryo670 compatible

The Qualcomm Snapdragon 778G/778G+/780G/782G uses CPUs named Kryo 670.
Add the compatible string in the documentation.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241020205615.211256-3-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sa8775p: Add GPI configuration
Viken Dadhaniya [Mon, 21 Oct 2024 10:28:15 +0000 (15:58 +0530)]
arm64: dts: qcom: sa8775p: Add GPI configuration

I2C and SPI geni driver also supports the GSI node based
on client requirements. Currently, in the DTSI, the GSI mode
configuration is not added.

Therefore, add GPI DT nodes for QUPV_0/1/2/3 for I2C and SPI
for the SA8775.

Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
Link: https://lore.kernel.org/r/20241021102815.12079-1-quic_vdadhani@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agodt-bindings: interconnect: qcom: document SAR2130P NoC
Dmitry Baryshkov [Fri, 18 Oct 2024 08:33:24 +0000 (11:33 +0300)]
dt-bindings: interconnect: qcom: document SAR2130P NoC

Add bindings for the Network of Connects (NoC) present on the
Qualcomm SAR2130P platform.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241018-sar2130p-icc-v2-1-c58c73dcd19d@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
8 months agoarm64: dts: qcom: x1e80100: Resize GIC Redistributor register region
Sibi Sankar [Wed, 12 Jun 2024 12:40:54 +0000 (18:10 +0530)]
arm64: dts: qcom: x1e80100: Resize GIC Redistributor register region

Resize the GICR register region as it currently seeps into the CPU Control
Processor mailbox RX region.

Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Link: https://lore.kernel.org/r/20240612124056.39230-4-quic_sibis@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100: rename vph-pwr regulator nodes
Johan Hovold [Tue, 15 Oct 2024 12:26:00 +0000 (14:26 +0200)]
arm64: dts: qcom: x1e80100: rename vph-pwr regulator nodes

Rename the x1e80100 vph-pwr regulator nodes to use "regulator" as a
prefix for consistency with the other fixed regulators.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241015122601.16127-1-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sa8775p: extend the register range for UFS ICE
Bartosz Golaszewski [Mon, 7 Oct 2024 10:02:57 +0000 (12:02 +0200)]
arm64: dts: qcom: sa8775p: extend the register range for UFS ICE

The full register range for ICE on sa8775p is 0x18000 so update the
crypto node.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20241007-wrapped-keys-dts-v8-3-05ee041f2fc1@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8550: extend the register range for UFS ICE
Bartosz Golaszewski [Mon, 7 Oct 2024 10:02:56 +0000 (12:02 +0200)]
arm64: dts: qcom: sm8550: extend the register range for UFS ICE

The full register range for ICE on sm8550 is 0x18000 so update the
crypto node.

Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
Co-developed-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20241007-wrapped-keys-dts-v8-2-05ee041f2fc1@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sm8650: extend the register range for UFS ICE
Bartosz Golaszewski [Mon, 7 Oct 2024 10:02:55 +0000 (12:02 +0200)]
arm64: dts: qcom: sm8650: extend the register range for UFS ICE

The full register range for ICE on sm8650 is 0x18000 so update the
crypto node.

Reviewed-by: Om Prakash Singh <quic_omprsing@quicinc.com>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
Co-developed-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20241007-wrapped-keys-dts-v8-1-05ee041f2fc1@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sa8775p: Populate additional UART DT nodes
Viken Dadhaniya [Mon, 7 Oct 2024 09:14:07 +0000 (14:44 +0530)]
arm64: dts: qcom: sa8775p: Populate additional UART DT nodes

Currently, UART configuration is populated for only a few SEs
(Serial Engines) in the sa8775p DTSI file. Since every SE can
support the UART protocol, usecase or client should have the flexibility
to enable required SE for UART depending on the specific board version.

Hence, populate UART configurations for the remaining SEs in the
sa8775p SoC.

Co-developed-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
Link: https://lore.kernel.org/r/20241007091407.13798-1-quic_vdadhani@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100-t14s: add another trackpad support
Srinivas Kandagatla [Fri, 4 Oct 2024 13:08:49 +0000 (14:08 +0100)]
arm64: dts: qcom: x1e80100-t14s: add another trackpad support

Trackpad HID device on T14s could be found on two possible slave addresses
(hid@15 and hid@2c) on i2c0 instance.
With the current state of DT boot, there is no way to patch the device
tree at runtime during boot. This, however results in non-functional
trackpad on Product Models 21N2ZC5PUS which have trackpad on hid@2c
slave address.

This patch adds hid@2c device along with hid@15 to get it working on
both the variants. This should work as i2c-hid driver will stop
probing the device if there is nothing on the slave address, we can
actually keep both devices enabled in DT, and i2c-hid driver will
only probe the existing one.

The only problem is that we cannot setup pinctrl in both device nodes,
as two devices with the same pinctrl will cause pin conflict that makes
the second device fail to probe.  Let's move the pinctrl state up to
parent node along with the parent pinctrl to solve this problem.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20241004130849.2944-1-srinivas.kandagatla@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: Add support for X1-based Dell XPS 13 9345
Aleksandrs Vinarskis [Thu, 3 Oct 2024 21:10:09 +0000 (23:10 +0200)]
arm64: dts: qcom: Add support for X1-based Dell XPS 13 9345

Initial support for Dell XPS 9345 13" 2024 (Codenamed 'Tributo') based
on X1E80100.

Working:
* Touchpad
* Keyboard (only post suspend&resume, i2c-hid patch required [1])
* Touchscreen
* eDP (low-res IPS, OLED) with brightness control
* NVME
* USB Type-C ports in USB2/USB3 (one orientation)
* WiFi
* GPU/aDSP/cDSP firmware loading (requires binaries from Windows)
* Lid switch
* Sleep/suspend, nothing visibly broken on resume

Not working:
* Speakers (WIP, pin guessing, x4 WSA8845)
* Microphones (WIP, pin guessing, dual array)
* Fingerprint Reader (WIP, USB MP with ptn3222)
* USB as DP/USB3 (WIP, PS8830 based)
* Camera (Likely OV01A10)
* EC over i2c

Should be working, but cannot be tested due to lack of hw:
* higher res IPS panel

[1] https://lore.kernel.org/all/20240925100303.9112-1-alex.vinarskis@gmail.com/

Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Tested-by: Stefan Schmidt <stefan.schmidt@linaro.org>
Link: https://lore.kernel.org/r/20241003211139.9296-4-alex.vinarskis@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agodt-bindings: arm: qcom: Add Dell XPS 13 9345
Aleksandrs Vinarskis [Thu, 3 Oct 2024 21:10:07 +0000 (23:10 +0200)]
dt-bindings: arm: qcom: Add Dell XPS 13 9345

Document the X1E80100-based Dell XPS 13 9345 laptop, platform
codenamed 'Tributo'/'Tributo R'.

Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Stefan Schmidt <stefan.schmidt@linaro.org>
Link: https://lore.kernel.org/r/20241003211139.9296-2-alex.vinarskis@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e78100-t14s: enable otg on usb-c ports
Jonathan Marek [Fri, 11 Oct 2024 23:16:23 +0000 (19:16 -0400)]
arm64: dts: qcom: x1e78100-t14s: enable otg on usb-c ports

The 2 USB-C ports on x1e78100-t14s are OTG-capable, remove the dr_mode
override to enable OTG.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241011231624.30628-3-jonathan@marek.ca
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100-crd: enable otg on usb ports
Jonathan Marek [Fri, 11 Oct 2024 23:16:22 +0000 (19:16 -0400)]
arm64: dts: qcom: x1e80100-crd: enable otg on usb ports

The 3 USB ports on x1e80100-crd are OTG-capable, remove the dr_mode
override to enable OTG.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241011231624.30628-2-jonathan@marek.ca
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100: enable OTG on USB-C controllers
Jonathan Marek [Fri, 11 Oct 2024 23:16:21 +0000 (19:16 -0400)]
arm64: dts: qcom: x1e80100: enable OTG on USB-C controllers

These 3 controllers support OTG and the driver requires the usb-role-switch
property to enable OTG. Add the property to enable OTG by default.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241011231624.30628-1-jonathan@marek.ca
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100-vivobook-s15: Drop orientation-switch from USB SS[0-1...
Abel Vesa [Mon, 14 Oct 2024 11:21:49 +0000 (14:21 +0300)]
arm64: dts: qcom: x1e80100-vivobook-s15: Drop orientation-switch from USB SS[0-1] QMP PHYs

The orientation-switch is already set in the x1e80100 SoC dtsi,
so drop from Vivobook S15 dts.

Fixes: d0e2f8f62dff ("arm64: dts: qcom: Add device tree for ASUS Vivobook S 15")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20241014-x1e80100-dts-drop-orientation-switch-v1-2-26afa6d4afd9@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100-slim7x: Drop orientation-switch from USB SS[0-1] QMP PHYs
Abel Vesa [Mon, 14 Oct 2024 11:21:48 +0000 (14:21 +0300)]
arm64: dts: qcom: x1e80100-slim7x: Drop orientation-switch from USB SS[0-1] QMP PHYs

The orientation-switch is already set in the x1e80100 SoC dtsi,
so drop from Slim 7X dts.

Fixes: 45247fe17db2 ("arm64: dts: qcom: x1e80100: add Lenovo Thinkpad Yoga slim 7x devicetree")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20241014-x1e80100-dts-drop-orientation-switch-v1-1-26afa6d4afd9@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: Drop undocumented domain "idle-state-name"
Rob Herring (Arm) [Mon, 14 Oct 2024 16:16:32 +0000 (11:16 -0500)]
arm64: dts: qcom: Drop undocumented domain "idle-state-name"

"idle-state-name" is not a valid property for "domain-idle-state"
binding, so drop it.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241014161631.1527918-2-robh@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sc7280: Add 0x81 Adreno speed bin
Eugene Lepshy [Mon, 14 Oct 2024 19:48:25 +0000 (22:48 +0300)]
arm64: dts: qcom: sc7280: Add 0x81 Adreno speed bin

A642L (speedbin 0x81) uses index 4, so this commit sets the fourth bit
for A642L supported opps.

Signed-off-by: Eugene Lepshy <fekz115@gmail.com>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20241014194825.44406-2-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: x1e80100: enable GICv3 ITS for PCIe
Johan Hovold [Wed, 9 Oct 2024 16:17:15 +0000 (18:17 +0200)]
arm64: dts: qcom: x1e80100: enable GICv3 ITS for PCIe

The DWC PCIe controller can be used with its internal MSI controller or
with an external one such as the GICv3 Interrupt Translation Service
(ITS).

Add the msi-map properties needed to use the GIC ITS. This will also
make Linux switch to the ITS implementation, which allows for assigning
affinity to individual MSIs. This specifically allows NVMe and Wi-Fi
interrupts to be processed on all cores (and not just on CPU0).

Note that using the GIC ITS on x1e80100 will cause Advanced Error
Reporting (AER) interrupts to be received on errors unlike when using
the internal MSI controller. Consequently, notifications about
(correctable) errors may now be logged for errors that previously went
unnoticed.

Also note that PCIe5 (and PCIe3) can currently only be used with the
internal MSI controller due to a platform (firmware) limitation.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241009161715.14994-1-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: qcs6490-rb3gen2: Enable PWR/VOL keys
Konrad Dybcio [Sat, 5 Oct 2024 02:47:17 +0000 (19:47 -0700)]
arm64: dts: qcom: qcs6490-rb3gen2: Enable PWR/VOL keys

RB3Gen2 has three tiny buttons located under the blue USB-A ports.
They're all connected through the various PMICs and are used for
volume and power.

Describe them.

Signed-off-by: Konrad Dybcio <quic_kdybcio@quicinc.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241004-rb3gen2-pwr-vol-keys-v1-1-4b1859c7cc4f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: qcs6490-rb3gen2: Specify i2c1 clock frequency
Bjorn Andersson [Sat, 5 Oct 2024 04:09:05 +0000 (21:09 -0700)]
arm64: dts: qcom: qcs6490-rb3gen2: Specify i2c1 clock frequency

Per the binding, omitting the clock frequency from a Geni I2C controller
node defaults the bus to 100Khz. But at least in Linux, a friendly info
print highlights the lack of explicitly defined frequency in the
DeviceTree.

Specify the frequency, to give it an explicit value, and to silence the
log print in Linux.

Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241004-i2c1-frequency-v1-1-77a359015d54@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: qcom: sda660-ifc6560: enable mDSP and WiFi devices
Dmitry Baryshkov [Sat, 7 Sep 2024 18:48:18 +0000 (21:48 +0300)]
arm64: dts: qcom: sda660-ifc6560: enable mDSP and WiFi devices

Enable the onboard WiFi device present on the Inforce IFC6560 SBC.
Pretty much like MSM8998 this device also doesn't generate the
MSA_READY_IND indication.

For the reference:

ath10k_snoc 18800000.wifi: qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40050000
ath10k_snoc 18800000.wifi: qmi fw_version 0x101d01da fw_build_timestamp 2018-07-26 21:42 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.1.0.1.c2-00474-QCAHLSWMTPLZ-1
ath10k_snoc 18800000.wifi: qmi not waiting for msa_ready indicator
ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 0 tracing 0 dfs 0 testmode 0
ath10k_snoc 18800000.wifi: firmware ver  api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790
ath10k_snoc 18800000.wifi: htt-ver 3.54 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
ath10k_snoc 18800000.wifi: invalid MAC address; choosing random

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konradybcio@kernel.org>
Link: https://lore.kernel.org/r/20240907-sdm660-wifi-v1-7-e316055142f8@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>