Konrad Dybcio
2bd5ab9333
arm64: dts: qcom: msm8992: Don't use sfpb mutex
...
MSM8992 uses the same mutex hardware as MSM8994. This was wrong
from the start, but never presented as an issue until the sfpb
compatible was given different driver data.
Fixes: 6a6d1978f9 ("arm64: dts: msm8992 SoC and LG Bullhead (Nexus 5X) support")
Reported-by: Eugene Lepshy <fekz115@gmail.com >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221219131918.446587-1-konrad.dybcio@linaro.org
2023-01-10 09:49:03 -06:00
Konrad Dybcio
290d43062d
arm64: dts: qcom: msm8992-*: Fix up comments
...
Make sure all multiline C-style commends begin with just '/*' with
the comment text starting on a new line.
Also, trim off downstream regulator properties from comments to prevent
them from accidentally landing into mainline one day..
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107145522.6706-9-konrad.dybcio@linaro.org
2022-11-07 19:26:37 -06:00
Krzysztof Kozlowski
812b0b61ee
arm64: dts: qcom: add RPM clock controller fallback compatible
...
The bindings require a fallback compatible to RPM clock controller.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220401201035.189106-4-krzysztof.kozlowski@linaro.org
2022-04-12 22:13:57 -05:00
Konrad Dybcio
9d511d0a79
arm64: dts: qcom: msm8994: Add OCMEM node
...
Add OCMEM node to allow for GPU SRAM access.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220319174645.340379-13-konrad.dybcio@somainline.org
2022-04-12 22:08:58 -05:00
Konrad Dybcio
b0b5687a2c
arm64: dts: qcom: msm8992: Use the correct MMCC compatible
...
Now that proper msm8992 support is in the driver, switch to
the new compatible.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220319174645.340379-8-konrad.dybcio@somainline.org
2022-04-12 22:07:24 -05:00
Konrad Dybcio
355ea704c8
arm64: dts: qcom: msm8992: Use the correct GCC compatible
...
Now that proper msm8992 support is in the driver, switch to
the new compatible.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Reviewed-by: Petr Vorel <petr.vorel@gmail.com >
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220319174645.340379-7-konrad.dybcio@somainline.org
2022-04-12 22:07:21 -05:00
Konrad Dybcio
976d321f32
arm64: dts: qcom: msm8992: Make the DT an overlay on top of 8994
...
This saves a good thousand lines of code, perhaps even
more in the long run.
Co-developed-by: Gustave Monce <gustave.monce@outlook.com >
Signed-off-by: Gustave Monce <gustave.monce@outlook.com >
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Link: https://lore.kernel.org/r/20210131013853.55810-5-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2021-02-02 16:34:15 -06:00
Konrad Dybcio
53364cfcaa
arm64: dts: qcom: msm8992/4: Rename vreg_vph_pwr to vph_pwr
...
Rename the fixed regulator to follow the common naming scheme
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Link: https://lore.kernel.org/r/20210118162432.107275-4-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2021-01-25 12:45:13 -06:00
Konrad Dybcio
0f7273c3da
arm64: dts: qcom: msm8992/4: Add RPM Power Domains
...
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Link: https://lore.kernel.org/r/20210118161943.105733-2-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2021-01-25 12:38:11 -06:00
Konrad Dybcio
1865bb1978
arm64: dts: qcom: msm8992: Add USB support
...
This is a very basic dwc3 configuration (no PHYs yet),
but it works.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20201005150313.149754-11-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-11-10 22:55:09 -06:00
Konrad Dybcio
b97def9c05
arm64: dts: qcom: msm8992: Add BLSP_I2C1 support
...
This will be required to support touchscreen on Lumia
devices.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20201005150313.149754-8-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-11-10 22:54:59 -06:00
Konrad Dybcio
211ea9b349
arm64: dts: qcom: msm8992: Add support for SDHCI2
...
This will let us use SD cards on our devices.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20201005150313.149754-6-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-11-10 22:54:30 -06:00
Krzysztof Kozlowski
aa551bd7a0
arm64: dts: qcom: msm8992: Fix UART interrupt property
...
"interrupt" is not a valid property.
Fixes: 7f8bcc0c4c ("arm64: dts: qcom: msm8992: Add BLSP2_UART2 and I2C nodes")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org >
Link: https://lore.kernel.org/r/20200829111209.32685-1-krzk@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-08-30 17:21:11 +00:00
Konrad Dybcio
75c8a10d9c
arm64: dts: qcom: msm8992: Add RPMCC node
...
This lets us use clocks provided by RPM.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200625182118.131476-12-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:44:25 -07:00
Konrad Dybcio
329e16d5f8
arm64: dts: qcom: msm8992: Add PSCI support.
...
This SoC's firmware does not fully support the PSCI
spec, but it's good enough to bring the cores up.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200625182118.131476-11-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:44:16 -07:00
Konrad Dybcio
0835375212
arm64: dts: qcom: msm8992: Add PMU node
...
Add the PMU so we can get proper perf event support on this SoC.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200625182118.131476-10-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:44:10 -07:00
Konrad Dybcio
7f8bcc0c4c
arm64: dts: qcom: msm8992: Add BLSP2_UART2 and I2C nodes
...
Add support for I2C to enable support for peripherals
such as touchscreens or sensors. Also add BLSP_UART2 interface.
Please note that the naming scheme follows downstream and as
abominable as it is, that's what we get.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200625182118.131476-9-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:44:01 -07:00
Konrad Dybcio
ce13edfb7b
arm64: dts: qcom: msm8992: Add SPMI PMIC arbiter device
...
Add SPMI PMIC arbiter device to communicate with PMICs
attached to SPMI bus.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200625182118.131476-8-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:43:49 -07:00
Konrad Dybcio
be577b8125
arm64: dts: qcom: msm8992: Add a SCM node
...
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200625182118.131476-7-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:43:19 -07:00
Konrad Dybcio
2912215f53
arm64: dts: qcom: msm8992: Add a proper CPU map
...
This commit adds cpu nodes for all 6 cores
present on this SoC and the cpu-map.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200625182118.131476-6-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:43:13 -07:00
Konrad Dybcio
c83e0951bc
arm64: dts: qcom: msm8992: Fix SDHCI1
...
This commit ensures the correct IRQ type is set
and disables the device by default.
The mmc-hs400-1_8v property is also moved to
Bullhead as it might not be present on all boards.
The node has been renamed to sdhci@ instead of mmc@
and the phandle was changed to sdhc_1 to comply with
the newer DTS style.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200625182118.131476-3-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:42:38 -07:00
Konrad Dybcio
d99c1c2a1a
arm64: dts: qcom: msm8992: Modernize the DTS style
...
Following changes have been made:
- remove name, compatible and msm-id
- wrap clocks in clocks{}
- order nodes by name and by address
- clock_gcc -> gcc
- msmgpio -> tlmm
- retire msm8992-pins.dtsi
- add some of the missing pins
- make comments C-style
- make apcs a mailbox
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200625182118.131476-2-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:42:22 -07:00
Konrad Dybcio
f007210d96
arm64: dts: qcom: Move msm8994-smd-rpm contents to lg-bullhead.
...
This was the only device using that dtsi, so no point
keeping it separate AND with a confusing name (bullhead
is based on msm8992 and the file contains regulator
values for that specific board).
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200624150107.76234-8-konradybcio@gmail.com
[bjorn: Squashed with change that remove regulators from msm8992.dtsi]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:37:51 -07:00
Konrad Dybcio
95087f6163
arm64: dts: qcom: msm8992: Add a label to rpm-requests
...
This enables the node to be referenced directly from other
DTs.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com >
Link: https://lore.kernel.org/r/20200624150107.76234-4-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-07-27 23:33:35 -07:00
Christian Lamparter
297177a45b
ARM64: dts: qcom: add gpio-ranges property
...
This patch adds the gpio-ranges property to almost all of
the Qualcomm ARM platforms that utilize the pinctrl-msm
framework.
The gpio-ranges property is part of the gpiolib subsystem.
As a result, the binding text is available in section
"2.1 gpio- and pin-controller interaction" of
Documentation/devicetree/bindings/gpio/gpio.txt
For more information please see the patch titled:
"pinctrl: msm: fix gpio-hog related boot issues" from
this series.
Reported-by: Sven Eckelmann <sven.eckelmann@openmesh.com >
Tested-by: Sven Eckelmann <sven.eckelmann@openmesh.com > [ipq4019]
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Christian Lamparter <chunkeey@gmail.com >
Tested-by: Robert Marko <robert.marko@sartura.hr > [ipq4019]
Cc: Luka Perkov <luka.perkov@sartura.hr >
Signed-off-by: Robert Marko <robert.marko@sartura.hr >
Link: https://lore.kernel.org/r/20200108125455.308969-2-robert.marko@sartura.hr
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-02-24 20:54:54 -08:00
Thomas Gleixner
97fb5e8d9b
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284
...
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 and
only version 2 as published by the free software foundation this
program is distributed in the hope that it will be useful but
without any warranty without even the implied warranty of
merchantability or fitness for a particular purpose see the gnu
general public license for more details
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 294 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Reviewed-by: Allison Randal <allison@lohutok.net >
Reviewed-by: Alexios Zavras <alexios.zavras@intel.com >
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190529141900.825281744@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-06-05 17:36:37 +02:00
Rob Herring
31af04cd60
arm64: dts: Remove inconsistent use of 'arm,armv8' compatible string
...
The 'arm,armv8' compatible string is only for software models. It adds
little value otherwise and is inconsistently used as a fallback on some
platforms. Remove it from those platforms.
This fixes warnings generated by the DT schema.
Reported-by: Michal Simek <michal.simek@xilinx.com >
Cc: Mark Rutland <mark.rutland@arm.com >
Cc: Will Deacon <will.deacon@arm.com >
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com >
Acked-by: Nishanth Menon <nm@ti.com >
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com >
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Acked-by: Chanho Min <chanho.min@lge.com >
Acked-by: Krzysztof Kozlowski <krzk@kernel.org >
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com >
Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com >
Acked-by: Thierry Reding <treding@nvidia.com >
Acked-by: Heiko Stuebner <heiko@sntech.de >
Acked-by: Simon Horman <horms+renesas@verge.net.au >
Acked-by: Tero Kristo <t-kristo@ti.com >
Acked-by: Wei Xu <xuwei5@hisilicon.com >
Acked-by: Liviu Dudau <liviu.dudau@arm.com >
Acked-by: Matthias Brugger <matthias.bgg@gmail.com >
Acked-by: Michal Simek <michal.simek@xilinx.com >
Acked-by: Scott Branden <scott.branden@broadcom.com >
Acked-by: Kevin Hilman <khilman@baylibre.com >
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com >
Acked-by: Robert Richter <rrichter@cavium.com >
Acked-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com >
Acked-by: Dinh Nguyen <dinguyen@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
2019-01-30 17:34:36 +01:00
Jeremy McNicoll
f3b2c99e73
arm64: dts: Enable onboard SDHCI on msm8992
...
This enables SDHCI on the Nexus 5X as well creates common smd_rpm node
which can be shared between both 5X and 6P as per HW design.
Given the lack of documentation, only downstream code was used as a reference
and it eludes to the fact that 8994-rpm-regulator is common between both msm8992
& msm8994. [ see msm.git branch: msm-angler-3.10-marshmallow-mr1, msm8992.dtsi]
At this early stage of development it makes sense for the 8994-rpm-regulator
to be common until data / documentation suggests otherwise.
Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com >
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Signed-off-by: Andy Gross <andy.gross@linaro.org >
2018-05-22 23:28:41 -05:00
Jeremy McNicoll
4255db1462
arm64: dts: smem enablement for msm8992
...
SMEM allows various subsystems/processors to share
memory/data (heap format) in order to enable various
peripherals.
Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com >
Signed-off-by: Andy Gross <andy.gross@linaro.org >
2017-06-05 21:28:12 -05:00
Jeremy McNicoll
75a3f782e8
arm64: dts: msm8992 add fixed regulator
...
This regulator is not moving anywhere. Sit, stay...
Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com >
Signed-off-by: Andy Gross <andy.gross@linaro.org >
2017-06-05 21:27:55 -05:00
Jeremy McNicoll
6a6d1978f9
arm64: dts: msm8992 SoC and LG Bullhead (Nexus 5X) support
...
Initial device tree support for Qualcomm MSM8992 SoC and
LG Bullhead / Google Nexus 5X support.
Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com >
Signed-off-by: Andy Gross <andy.gross@linaro.org >
2016-11-12 22:56:43 -06:00