arm64: dts: qcom: sc7180: Split up TF-A related PSCI configuration
authorNikita Travkin <nikita@trvn.ru>
Tue, 8 Aug 2023 10:10:13 +0000 (15:10 +0500)
committerBjorn Andersson <andersson@kernel.org>
Mon, 14 Aug 2023 03:19:02 +0000 (20:19 -0700)
commit4fb40b22e97ecea2d18a0c450c24388909e5b44c
treeffed77b6559720b4f5c70b9938e7824d57820e68
parent1c63dd1c5fdafa8854526d7d60d2b741c813678d
arm64: dts: qcom: sc7180: Split up TF-A related PSCI configuration

When initially submitted, the sc7180 support only targeted CROS devices
that make use of alternative TF-A firmware and not the official Qualcomm
firmware. The PSCI implementations in those firmwares differ however so
devices that use qcom firmware, like WoA laptops such as aspire1 need
different setup.

This commit adjusts the SoC dtsi to the OSI mode PSCI setup, common to
the Qualcomm firmware and introduces new sc7180-firmware-tfa.dtsi that
overrides the PSCI setup for the PC mode and uses TF-A specific
psci-suspend-param. This dtsi is added to all boards that appear to use
TF-A.

Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Link: https://lore.kernel.org/r/20230808-sc7180-tfa-fw-v1-1-666d5d8467e5@trvn.ru
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc7180-firmware-tfa.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/qcom/sc7180-idp.dts
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
arch/arm64/boot/dts/qcom/sc7180.dtsi