Srinivasa Rao Mandadapu
837f597ebc
arm64: dts: qcom: sm8250: Remove redundant soundwire property
...
Remove redundant and undocumented property qcom,port-offset in
soundwire controller nodes.
This patch is required to avoid dtbs_check errors with
qcom,soundwire.yaml
Fixes: 24f52ef0c4 ("arm64: dts: qcom: sm8250: Add nodes for tx and rx macros with soundwire masters")
Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com >
Co-developed-by: Ratna Deepthi Kudaravalli <quic_rkudarav@quicinc.com >
Signed-off-by: Ratna Deepthi Kudaravalli <quic_rkudarav@quicinc.com >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/1667918763-32445-3-git-send-email-quic_srivasam@quicinc.com
2022-11-09 21:25:52 -06:00
Srinivasa Rao Mandadapu
bd35f4b017
arm64: dts: qcom: Update soundwire secondary node names
...
Update soundwire secondary nodes of WSA speaker to match with
dt-bindings pattern properties regular expression.
This modification is required to avoid dtbs-check errors
occurred with qcom,soundwire.yaml.
Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com >
Co-developed-by: Ratna Deepthi Kudaravalli <quic_rkudarav@quicinc.com >
Signed-off-by: Ratna Deepthi Kudaravalli <quic_rkudarav@quicinc.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/1667918763-32445-2-git-send-email-quic_srivasam@quicinc.com
2022-11-09 21:25:52 -06:00
Alex Elder
d4d4a7c4fd
arm64: dts: qcom: sc7280-idp: don't modify &ipa twice
...
In "sc7280-idp.dts", the IPA node is modified after being defined.
However that file includes "sc7280-idp.dtsi", which also modifies
the IPA node (in the same way). This only needs to be done in
"sc7280-idp.dtsi".
Signed-off-by: Alex Elder <elder@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221108201625.1220919-1-elder@linaro.org
2022-11-09 21:23:42 -06:00
Maulik Shah
2ffa0ca4d3
arm64: dts: qcom: Add power-domains property for apps_rsc
...
Add power-domains property which allows apps_rsc device to attach
to cluster power domain on sm8150, sm8250, sm8350 and sm8450.
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com >
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org >
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org > # SM8450
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221018152837.619426-4-ulf.hansson@linaro.org
2022-11-09 21:14:37 -06:00
Dmitry Baryshkov
d6e636787d
arm64: dts: qcom: msm8996: change order of SMMU clocks on this platform
...
Change order of SMMU clocks to match the schema.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221102184420.534094-2-dmitry.baryshkov@linaro.org
2022-11-07 22:23:05 -06:00
Job Noorman
6d9a666d49
arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen
...
Add Himax hx83112b touchscreen to the FP3 DT.
Signed-off-by: Job Noorman <job@noorman.info >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107105604.26541-4-job@noorman.info
2022-11-07 22:06:26 -06:00
Konrad Dybcio
4420e60416
arm64: dts: qcom: Add device tree for Sony Xperia 10 IV
...
Add support for Sony Xperia 10 IV, a.k.a PDX225. This device is a part
of the SoMC SM6375 Murray platform and currently it is the only
device based on that board, so no -common DTSI is created until (if?)
other Murray devices appear.
This commit brings support for:
* USB (only USB2 for now)
* Display via simplefb
To create a working boot image, you need to run:
cat arch/arm64/boot/Image.gz arch/arm64/boot/dts/qcom/sm6375-sony-xperia-\
murray-pdx225.dtb > .Image.gz-dtb
mkbootimg \
--kernel .Image.gz-dtb \
--ramdisk some_initrd.img \
--pagesize 4096 \
--base 0x0 \
--kernel_offset 0x8000 \
--ramdisk_offset 0x1000000 \
--tags_offset 0x100 \
--cmdline "SOME_CMDLINE" \
--dtb_offset 0x1f00000 \
--header_version 1 \
--os_version 12 \
--os_patch_level 2022-04 \ # or newer
-o boot.img-sony-xperia-pdx225
Then, you need to flash it on the device and get rid of all the
vendor_boot/dtbo mess:
First, you need to get rid of vendor_boot. However, the bootloader
is utterly retarded and it will not let you neither flash nor erase it.
There are a couple ways to handle this: you can either dd /dev/zero to
it from Android (if you have root) or a custom recovery or from fastbootd
(fastboot/adb reboot fastboot). You will not be able to boot Android
images on your phone unless you lock the bootloader (fastboot oem lock)
and restore the factory image with Xperia Companion
Windows-and-macOS-only software.
The best way so far is probably to use the second (_b) slot and flash
mainline there. This will however require you to flash some partitions
manually, as they are not populated from factory:
(boot_b, dtbo_b, vendor_boot_b, vbmeta_b, vbmeta_system_b) - these we
don't really care about as we nuke/replace them
(dsp_b, imagefv_b, modem_b, oem_b, rdimage_b) - these you NEED to populate
to get a successful boot on slot B, otherwise you will have limited / no
functionality.
To switch slots, simply run:
fastboot --set-active=a //or =b
The rest assumes you are on slot A.
// You have to either pull vbmeta{"","_system"} from
// /dev/block/bootdevice/by-name/ or build one as a part of AOSP
fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system_b \
vbmeta_system.img
fastboot flash boot_b boot.img-sony-xperia-pdx225
fastboot reboot fastboot // entering fastbootd
fastboot flash vendor_boot_b emptything.img
fastboot flash dtbo_b emptything.img
fastboot reboot bootloader // entering bootloader fastboot
fastboot --set-active=b
fastboot reboot // mainline time!
Where emptything.img is a tiny file that consists of 2 bytes (all zeroes),
doing a "fastboot erase" won't cut it, the bootloader will go crazy and
things will fall apart when it tries to overlay random bytes from an empty
partition onto a perfectly good appended DTB.
From there on you can flash new mainline builds by simply flashing
boot.img that you create after each kernel rebuild.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107120920.12593-4-konrad.dybcio@linaro.org
2022-11-07 22:04:31 -06:00
Konrad Dybcio
59d34ca97f
arm64: dts: qcom: Add initial device tree for SM6375
...
Add an initial device tree for the SM6375 (SD695) SoC.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107120920.12593-3-konrad.dybcio@linaro.org
2022-11-07 22:04:31 -06:00
Konrad Dybcio
7c1b74e079
dt-bindings: arm: cpus: Add Kryo 660 CPUs
...
Add a compatible for Kryo 660 CPUs found in at least Qualcomm SM6375.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107120920.12593-1-konrad.dybcio@linaro.org
2022-11-07 22:03:01 -06:00
Stephen Boyd
9ec68fea9e
arm64: dts: qcom: sc7180: Fully describe fingerprint node on Trogdor
...
Update the fingerprint node on Trogdor to match the fingerprint DT
binding. This will allow us to drive the reset and boot gpios from the
driver when it is re-attached after flashing. We'll also be able to boot
the fingerprint processor if the BIOS isn't doing it for us.
Cc: Douglas Anderson <dianders@chromium.org >
Cc: Matthias Kaehlcke <mka@chromium.org >
Cc: Alexandru M Stan <amstan@chromium.org >
Signed-off-by: Stephen Boyd <swboyd@chromium.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107191535.624371-3-swboyd@chromium.org
2022-11-07 21:53:13 -06:00
Stephen Boyd
aefd5370ab
arm64: dts: qcom: sc7280: Fully describe fingerprint node on Herobrine
...
Update the fingerprint node on Herobrine to match the fingerprint DT
binding. This will allow us to drive the reset and boot gpios from the
driver when it is re-attached after flashing. We'll also be able to boot
the fingerprint processor if the BIOS isn't doing it for us.
Cc: Douglas Anderson <dianders@chromium.org >
Cc: Matthias Kaehlcke <mka@chromium.org >
Cc: Alexandru M Stan <amstan@chromium.org >
Signed-off-by: Stephen Boyd <swboyd@chromium.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107191535.624371-2-swboyd@chromium.org
2022-11-07 21:53:06 -06:00
Marijn Suijten
f53152d1d4
arm64: dts: qcom: sm6125: Enable Command Queue Engine (CQE) for SDHCI 1
...
Downstream sources confirm sm6125 supports CQE, and after fixing the
reg name for this range [1] this feature probes and enables correctly:
[ 0.391950] sdhci_msm 4744000.mmc: mmc0: CQE init: success
[1]: https://lore.kernel.org/all/20221026163646.37433-1-krzysztof.kozlowski@linaro.org/
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107214702.311271-1-marijn.suijten@somainline.org
2022-11-07 19:33:39 -06:00
Krzysztof Kozlowski
3de1172624
arm64: dts: qcom: sm6125: fix SDHCI CQE reg names
...
SM6125 comes with SDCC (SDHCI controller) v5, so the second range of
registers is cqhci, not core.
Fixes: cff4bbaf2a ("arm64: dts: qcom: Add support for SM6125")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org >
Tested-by: Marijn Suijten <marijn.suijten@somainline.org > # Sony Xperia 10 II
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221026163646.37433-1-krzysztof.kozlowski@linaro.org
2022-11-07 19:33:31 -06:00
Luca Weiss
4ab3acd637
arm64: dts: qcom: pm8998: adjust coincell node name to bindings
...
The spmi-pmic bindings say that pm8941-coincell should be called
'charger'.
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Luca Weiss <luca@z3ntu.xyz >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221031175119.939860-3-luca@z3ntu.xyz
2022-11-07 19:26:38 -06:00
Konrad Dybcio
5d9bf21088
arm64: dts: qcom: pm6150/l/pm7325/pms405: Fix up comments
...
Make sure all multiline C-style commends begin with just '/*' with
the comment text starting on a new line.
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-12-konrad.dybcio@linaro.org
2022-11-07 19:26:38 -06:00
Konrad Dybcio
3e3a2be790
arm64: dts: qcom: qcs404-*: Fix up comments
...
Switch '//' comments to C-style /* */.
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-11-konrad.dybcio@linaro.org
2022-11-07 19:26:38 -06:00
Konrad Dybcio
79b185d055
arm64: dts: qcom: msm8994-*: Fix up comments
...
Make sure all multiline C-style commends begin with just '/*' with
the comment text starting on a new line.
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-10-konrad.dybcio@linaro.org
2022-11-07 19:26:38 -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
Konrad Dybcio
d5d8e59f35
arm64: dts: qcom: ipq8074-*: Fix up comments
...
Make sure all multiline C-style commends begin with just '/*' with
the comment text starting on a new line.
Also, fix up some whitespace within comments.
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-8-konrad.dybcio@linaro.org
2022-11-07 19:26:37 -06:00
Konrad Dybcio
108162894a
arm64: dts: qcom: sdm845-*: Fix up comments
...
Switch '//' comments to C-style /* */.
Make sure all multiline C-style commends begin with just '/*' with
the comment text starting on a new line.
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-7-konrad.dybcio@linaro.org
2022-11-07 19:26:37 -06:00
Konrad Dybcio
b47fac7ab9
arm64: dts: qcom: sc8280xp-x13s: Fix up comments
...
Switch '//' comments to C-style /* */.
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-6-konrad.dybcio@linaro.org
2022-11-07 19:26:37 -06:00
Konrad Dybcio
689469ea4c
arm64: dts: qcom: msm8998-*: Fix up comments
...
Switch '//' comments to C-style /* */ and fix up the contents of some.
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-5-konrad.dybcio@linaro.org
2022-11-07 19:26:37 -06:00
Konrad Dybcio
83e8692144
arm64: dts: qcom: msm8953: Fix up comments
...
Switch '//' comments to C-style /* */ and fix up the contents of some.
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-4-konrad.dybcio@linaro.org
2022-11-07 19:26:37 -06:00
Konrad Dybcio
bd95b48a59
arm64: dts: qcom: msm/apq8x96-*: Fix up comments
...
Switch '//' comments to C-style /* */ and fix up the contents of some.
Make sure all multiline C-style commends begin with just '/*' with
the comment text starting on a new line.
Also, fix up a single raw '2' to PM8994_GPIO_S4 while at it.
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-3-konrad.dybcio@linaro.org
2022-11-07 19:26:37 -06:00
Konrad Dybcio
4bb376f6cc
arm64: dts: qcom: msm/apq8x16-*: Fix up comments
...
Switch '//' comments to C-style /* */ and fix up the contents of some.
Make sure all multiline C-style commends begin with just '/*' with
the comment text starting on a new line.
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-2-konrad.dybcio@linaro.org
2022-11-07 19:26:37 -06:00
Krzysztof Kozlowski
a979f2e5d5
arm64: dts: qcom: qcs404: align TLMM pin configuration with DT schema
...
DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221104161131.57719-1-krzysztof.kozlowski@linaro.org
2022-11-07 19:26:37 -06:00
Robert Marko
1bc6b7f26b
arm64: dts: qcom: hk01: use GPIO flags for tlmm
...
Use respective GPIO_ACTIVE_LOW/HIGH flags for tlmm GPIOs instead of
harcoding the cell value.
Signed-off-by: Robert Marko <robimarko@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107092930.33325-3-robimarko@gmail.com
2022-11-07 19:26:37 -06:00
Robert Marko
3f49bdaf6f
arm64: dts: qcom: hk10: use GPIO flags for tlmm
...
Use respective GPIO_ACTIVE_LOW/HIGH flags for tlmm GPIOs instead of
harcoding the cell value.
Signed-off-by: Robert Marko <robimarko@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107092930.33325-2-robimarko@gmail.com
2022-11-07 19:26:37 -06:00
Robert Marko
7284a39439
arm64: dts: qcom: hk10: use "okay" instead of "ok"
...
Use "okay" instead of "ok" in USB nodes as "ok" is deprecated.
Signed-off-by: Robert Marko <robimarko@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107092930.33325-1-robimarko@gmail.com
2022-11-07 19:26:37 -06:00
Konrad Dybcio
d0ee86d3c0
MAINTAINERS: Update Konrad Dybcio's email address
...
Use my new Linaro address in place of my SoMainline one.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107092207.5832-1-konrad.dybcio@linaro.org
2022-11-07 19:26:37 -06:00
Johan Hovold
0d0be9d88b
arm64: dts: qcom: sc8280xp: fix USB MP QMP PHY nodes
...
Update the USB MP QMP PHY nodes to match the new binding which
specifically includes the missing register regions (e.g. PCS_USB).
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Reviewed-by: Andrew Halaney <ahalaney@redhat.com >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107081705.18446-1-johan+linaro@kernel.org
2022-11-07 19:26:37 -06:00
Sheng-Liang Pan
3d11e7e120
arm64: dts: qcom: sc7280: sort out the "Status" to last property with sc7280-herobrine-audio-rt5682.dtsi
...
To keep diffs clean, sort out "Status" to last property.
Signed-off-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107173954.v11.5.I4c6d97e6f3cf8cdc691d2d4519883c3018dd4372@changeid
2022-11-07 19:26:37 -06:00
Sheng-Liang Pan
5977c14285
arm64: dts: qcom: sc7280: add sc7280-herobrine-audio-rt5682-3mic3.dtsi for evoker
...
add specific 3mic setting as sc7280-herobrine-audio-rt5682-3mic.dtsi,
so we can include sc7280-herobrine-audio-rt5682-3mic.dtsi for evoker
as it uses rt5682 with 3 mics.
Signed-off-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107173954.v11.4.I9718ac3622fa550e432209ae5c95c87b873a0f87@changeid
2022-11-07 19:26:37 -06:00
Sheng-Liang Pan
928263d174
arm64: dts: qcom: sc7280: Add touchscreen and touchpad support for evoker
...
Change touchpad and touchscreen node for evoker
Touchpad: SA461D-1011
Touchscreen: GT7986U
Signed-off-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107173954.v11.3.I3ac715e729f6f9b5a3e3001b155df4f9d14e6186@changeid
2022-11-07 19:26:37 -06:00
Sheng-Liang Pan
ef4fc701d4
arm64: dts: qcom: sc7280: Add LTE SKU for sc7280-evoker family
...
evoker have wifi/lte sku, add different dts for each sku.
Signed-off-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221107173954.v11.2.If03e9e85e63ece4b1599db841c90ed785c47a4be@changeid
2022-11-07 19:26:37 -06:00
Luca Weiss
0c9a86fb9e
arm64: dts: qcom: pm8150b: change vbus-regulator node name
...
Use the node name as now defined in the spmi-pmic bindings.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz >
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221031173933.936147-3-luca@z3ntu.xyz
2022-11-07 19:26:36 -06:00
Robert Marko
3aa0b8cd95
arm64: dts: qcom: ipq8074: pass XO and sleep clocks to GCC
...
Pass XO and sleep clocks to the GCC controller so it does not have to
find them by matching globaly by name.
If not passed directly, driver maintains backwards compatibility by then
falling back to global lookup.
Since we are here, set cell numbers in decimal instead of hex.
Signed-off-by: Robert Marko <robimarko@gmail.com >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030175703.1103224-3-robimarko@gmail.com
2022-11-07 19:26:36 -06:00
Dmitry Baryshkov
830493fc13
arm64: dts: qcom: msm8996: use dsi1_phy for the MMCC's dsi1 clocks
...
Link dsi1_phy as a clock provider of "dsi1pll" and "dsi1pllbyte" clocks
to the MMCC.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030161612.95471-2-dmitry.baryshkov@linaro.org
2022-11-07 19:26:36 -06:00
Dmitry Baryshkov
65bebf7874
arm64: dts: qcom: msm8996: use hdmi_phy for the MMCC's hdmipll clock
...
Link hdmi_phy as a clock provider of "hdmipll" clock to the MMCC.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030161612.95471-1-dmitry.baryshkov@linaro.org
2022-11-07 19:26:36 -06:00
Marijn Suijten
7372b944a6
arm64: dts: qcom: sm6350: Add apps_smmu with streamID to SDHCI 1/2 nodes
...
When enabling the APPS SMMU the mainline driver reconfigures the SMMU
from its bootloader configuration, losing the stream mapping for (among
which) the SDHCI hardware and breaking its ADMA feature. This feature
can be disabled with:
sdhci.debug_quirks=0x40
But it is of course desired to have this feature enabled and working
through the SMMU.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Reviewed-by: Luca Weiss <luca.weiss@fairphone.com >
Tested-by: Luca Weiss <luca.weiss@fairphone.com > # sm7225-fairphone-fp4
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-11-marijn.suijten@somainline.org
2022-11-07 19:26:24 -06:00
Marijn Suijten
2904a41c50
arm64: dts: qcom: sm6350-lena: Configure Samsung touchscreen
...
Use the generic samsung,s6sy761 touchscreen driver for this device,
together with a few pins and regulators to power it up correctly.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-10-marijn.suijten@somainline.org
2022-11-07 17:25:47 -06:00
Marijn Suijten
8bad51c689
arm64: dts: qcom: sm6350-lena: Enable QUP and GPI DMA
...
Enable QUP and GPI DMA hardware to be able to add functioning I2C nodes
later.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-9-marijn.suijten@somainline.org
2022-11-07 17:25:47 -06:00
Marijn Suijten
85eef5cb65
arm64: dts: qcom: sm6350-lena: Provide power to SDHCI 2 (SDCard slot)
...
Without power the SDCard slot / hardware remains dormant.
Like many other platforms these regulators are used exclusively by
SDHCI, and have their maximum voltage decreased to what downstream sets
on the consumer side. Additionally the SDHCI driver supports setting a
load, for which the regulator definition is extended much the same.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-8-marijn.suijten@somainline.org
2022-11-07 17:25:47 -06:00
Marijn Suijten
deaf8c88db
arm64: dts: qcom: sm6350-lena: Define pm6350 and pm6150l regulators
...
This regulator configuration was adopted from downstream, and is
identical to the sm7225 FairPhone 4 configuration bar pm6350_l8a.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-7-marijn.suijten@somainline.org
2022-11-07 17:25:47 -06:00
Marijn Suijten
2b8bbe9856
arm64: dts: qcom: sm6350-lena: Include pm6350 and configure buttons
...
Include pm6350 to inherit its GPIO and button configuration, and
configure "resin" to serve as volume up, and gpio2 as volume down.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-6-marijn.suijten@somainline.org
2022-11-07 17:25:47 -06:00
Marijn Suijten
f6e2d6914c
arm64: dts: qcom: pm6350: Include header for KEY_POWER
...
Make pm6350.dtsi self-contained by including input.h, needed for the
KEY_POWER constant used to define the power key.
Fixes: d8a3c775d7 ("arm64: dts: qcom: Add PM6350 PMIC")
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Reviewed-by: Luca Weiss <luca.weiss@fairphone.com >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-5-marijn.suijten@somainline.org
2022-11-07 17:25:46 -06:00
Marijn Suijten
edf070fcbc
arm64: dts: qcom: sm6350-lena: Add SD Card Detect to sdc2 on/off pinctrl
...
In addition to the sdc2 pins, set the SD Card Detect pin in a sane state
to be used as an interrupt when an SD Card is slotted in or removed.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-4-marijn.suijten@somainline.org
2022-11-07 17:25:46 -06:00
Marijn Suijten
a5d0314b9d
arm64: dts: qcom: sm6350: Add pinctrl for SDHCI 2
...
Use the generic pin functions specifically for sdc2.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Reviewed-by: Luca Weiss <luca.weiss@fairphone.com >
Tested-by: Luca Weiss <luca.weiss@fairphone.com > # sm7225-fairphone-fp4
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-3-marijn.suijten@somainline.org
2022-11-07 17:25:46 -06:00
Marijn Suijten
e10d451e10
arm64: dts: qcom: sm6350: Add resets for SDHCI 1/2
...
Make sure the SDHCI hardware is properly reset before interacting with
it, to protect against any possibly indeterminate state left by the
bootloader.
Suggested-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Reviewed-by: Luca Weiss <luca.weiss@fairphone.com >
Tested-by: Luca Weiss <luca.weiss@fairphone.com > # sm7225-fairphone-fp4
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221030073232.22726-2-marijn.suijten@somainline.org
2022-11-07 17:25:46 -06:00
Luca Weiss
ce1b5eb74b
arm64: dts: qcom: pm6150l: add temp sensor and thermal zone config
...
Add temp-alarm device tree node and a default configuration for the
corresponding thermal zone for this PMIC. Temperatures are based on
downstream values, except for trip2 where 125°C is used instead of 145°C
due to limitations without a configured ADC.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Signed-off-by: Bjorn Andersson <andersson@kernel.org >
Link: https://lore.kernel.org/r/20221028075405.124809-2-luca.weiss@fairphone.com
2022-11-07 17:25:46 -06:00