linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org
Cc: Konrad Dybcio <konrad.dybcio@somainline.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Sasha Levin <sashal@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH AUTOSEL 5.13 094/108] arm64: dts: qcom: sm8150: Disable Adreno and modem by default
Date: Wed, 14 Jul 2021 15:37:46 -0400	[thread overview]
Message-ID: <20210714193800.52097-94-sashal@kernel.org> (raw)
In-Reply-To: <20210714193800.52097-1-sashal@kernel.org>

From: Konrad Dybcio <konrad.dybcio@somainline.org>

[ Upstream commit b1dc3c6b3dabbedaf896a3c1a998da191c311c70 ]

Components that rely on proprietary (not to mention signed!) firmware should
not be enabled by default, as lack of the aforementioned firmware could cause
various issues, from random errors to straight-up failing to boot.

Not enabling modem back on the HDK, as it uses a sa8150.

Also fixed a sorting mistake in both boards' dt while at it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210611203301.101067-1-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 arch/arm64/boot/dts/qcom/sm8150-hdk.dts | 10 +++++++++-
 arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 10 +++++++++-
 arch/arm64/boot/dts/qcom/sm8150.dtsi    |  6 ++++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts
index fb2cf3d987a1..50ee3bb97325 100644
--- a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts
@@ -354,7 +354,11 @@ vreg_l6f_2p85: ldo6 {
 	};
 };
 
-&qupv3_id_1 {
+&gmu {
+	status = "okay";
+};
+
+&gpu {
 	status = "okay";
 };
 
@@ -372,6 +376,10 @@ resin {
 	};
 };
 
+&qupv3_id_1 {
+	status = "okay";
+};
+
 &remoteproc_adsp {
 	status = "okay";
 
diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
index 3774f8e63416..7de54b2e497e 100644
--- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
@@ -349,7 +349,11 @@ vreg_l6f_2p85: ldo6 {
 	};
 };
 
-&qupv3_id_1 {
+&gmu {
+	status = "okay";
+};
+
+&gpu {
 	status = "okay";
 };
 
@@ -367,6 +371,10 @@ resin {
 	};
 };
 
+&qupv3_id_1 {
+	status = "okay";
+};
+
 &remoteproc_adsp {
 	status = "okay";
 	firmware-name = "qcom/sm8150/adsp.mdt";
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 51235a9521c2..618a1e64f808 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -1082,6 +1082,8 @@ gpu: gpu@2c00000 {
 
 			qcom,gmu = <&gmu>;
 
+			status = "disabled";
+
 			zap-shader {
 				memory-region = <&gpu_mem>;
 			};
@@ -1149,6 +1151,8 @@ gmu: gmu@2c6a000 {
 
 			operating-points-v2 = <&gmu_opp_table>;
 
+			status = "disabled";
+
 			gmu_opp_table: opp-table {
 				compatible = "operating-points-v2";
 
@@ -1496,6 +1500,8 @@ remoteproc_mpss: remoteproc@4080000 {
 			qcom,smem-states = <&modem_smp2p_out 0>;
 			qcom,smem-state-names = "stop";
 
+			status = "disabled";
+
 			glink-edge {
 				interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
 				label = "modem";
-- 
2.30.2


  parent reply	other threads:[~2021-07-14 19:42 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-14 19:36 [PATCH AUTOSEL 5.13 001/108] ARM: dts: gemini: rename mdio to the right name Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 002/108] ARM: dts: gemini: add device_type on pci Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 003/108] ARM: dts: rockchip: Fix thermal sensor cells o rk322x Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 004/108] ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288 Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 005/108] arm64: dts: rockchip: Use only supported PCIe link speed on rk3399 Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 006/108] arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 007/108] ARM: dts: rockchip: Fix the timer clocks order Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 008/108] ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 009/108] ARM: dts: rockchip: Fix power-controller node names for rk3066a Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 010/108] ARM: dts: rockchip: Fix power-controller node names for rk3188 Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 011/108] ARM: dts: rockchip: Fix power-controller node names for rk3288 Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 012/108] arm64: dts: rockchip: Fix power-controller node names for px30 Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 013/108] arm64: dts: rockchip: Fix power-controller node names for rk3328 Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 014/108] arm64: dts: rockchip: Fix power-controller node names for rk3399 Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 015/108] reset: ti-syscon: fix to_ti_syscon_reset_data macro Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 016/108] ARM: dts: BCM5301X: Fix NAND nodes names Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 017/108] ARM: brcmstb: dts: fix " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 018/108] ARM: Cygnus: " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 019/108] ARM: NSP: " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 020/108] ARM: dts: BCM63xx: Fix " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 021/108] ARM: dts: Hurricane 2: " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 022/108] ARM: dts: BCM5301X: Fix pinmux subnodes names Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 023/108] soc: bcm: brcmstb: remove unused variable 'brcmstb_machine_match' Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 024/108] ARM: dts: imx25-pinfunc: Fix gpio function name for pads GPIO_[A-F] Sasha Levin
2021-07-14 20:35   ` Uwe Kleine-König
2021-07-14 20:59     ` Sasha Levin
2021-07-15  7:16       ` Uwe Kleine-König
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 025/108] ARM: dts: exynos: align Broadcom WiFi with dtschema Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 026/108] soc: mediatek: add missing MODULE_DEVICE_TABLE Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 027/108] ARM: dts: imx6: phyFLEX: Fix UART hardware flow control Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 028/108] ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 029/108] arm64: dts: rockchip: fix regulator-gpio states array Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 030/108] ARM: dts: ux500: Fix interrupt cells Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 031/108] ARM: dts: ux500: Rename gpio-controller node Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 032/108] ARM: dts: ux500: Fix orientation of accelerometer Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 033/108] ARM: dts: ux500: Fix some compatible strings Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 034/108] ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 035/108] ARM: dts: ux500: Fix orientation of Janice accelerometer Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 036/108] rtc: mxc_v2: add missing MODULE_DEVICE_TABLE Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 037/108] arm64: dts: renesas: beacon: Fix USB extal reference Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 038/108] arm64: dts: renesas: beacon: Fix USB ref clock references Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 039/108] kbuild: sink stdout from cmd for silent build Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 040/108] ARM: dts: am335x: align GPIO hog names with dt-schema Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 041/108] ARM: dts: am437x: align gpio " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 042/108] ARM: dts: omap3: " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 043/108] ARM: dts: omap5-board-common: " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 044/108] ARM: dts: dra7x-evm: Align GPIO " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 045/108] ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 046/108] ARM: dts: am437x-gp-evm: " Sasha Levin
2021-07-14 19:36 ` [PATCH AUTOSEL 5.13 047/108] ARM: dts: am335x: " Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 048/108] ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 049/108] arm64: tegra: Add PMU node for Tegra194 Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 050/108] arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 051/108] ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 052/108] ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 053/108] arm64: dts: qcom: sm8350: fix the node unit addresses Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 054/108] arm64: dts: qcom: msm8996: Make CPUCC actually probe (and work) Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 055/108] arm64: dts: qcom: sm8250: fix display nodes Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 056/108] arm64: dts: qcom: sc7180: Move rmtfs memory region Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 057/108] ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2 Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 058/108] ARM: dts: stm32: Fix touchscreen node " Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 059/108] ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 060/108] ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 061/108] ARM: dts: stm32: fix RCC node name on stm32f429 MCU Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 062/108] ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 063/108] memory: tegra: Fix compilation warnings on 64bit platforms Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 064/108] firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 065/108] firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 066/108] ARM: dts: aspeed: Everest: Fix cable card PCA chips Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 067/108] ARM: dts: bcm283x: Fix up MMC node names Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 068/108] ARM: dts: bcm283x: Fix up GPIO LED " Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 069/108] i3c: master: svc: drop free_irq of devm_request_irq allocated irq Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 070/108] arm64: dts: juno: Update SCPI nodes as per the YAML schema Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 071/108] ARM: dts: rockchip: fix supply properties in io-domains nodes Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 072/108] ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 073/108] ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15 Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 074/108] ARM: dts: stm32: fix ltdc pinctrl on microdev2.0-of7 Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 075/108] ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 076/108] ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 077/108] ARM: dts: stm32: Rename eth@N to ethernet@N " Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 078/108] ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N " Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 079/108] ARM: dts: stm32: fix stpmic node for stm32mp1 boards Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 080/108] arm64: dts: qcom: sc7180: Add wakeup delay for adau codec Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 081/108] ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 082/108] soc/tegra: fuse: Fix Tegra234-only builds Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 083/108] firmware: tegra: bpmp: " Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 084/108] arm64: dts: rockchip: Update RK3399 PCI host bridge window to 32-bit address memory Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 085/108] arm64: dts: ls208xa: remove bus-num from dspi node Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 086/108] arm64: dts: imx8mn-beacon-som: Assign PMIC clock Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 087/108] arm64: dts: imx8mq: assign PCIe clocks Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 088/108] arm64: dts: imx8: conn: fix enet clock setting Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 089/108] thermal/core: Correct function name thermal_zone_device_unregister() Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 090/108] thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1 Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 091/108] thermal/drivers/imx_sc: Add missing of_node_put for loop iteration Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 092/108] thermal/drivers/sprd: " Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 093/108] arm64: dts: qcom: sm8250: Fix pcie2_lane unit address Sasha Levin
2021-07-14 19:37 ` Sasha Levin [this message]
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 095/108] kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 096/108] arch/arm64/boot/dts/marvell: fix NAND partitioning scheme Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 097/108] rtc: max77686: Do not enforce (incorrect) interrupt trigger type Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 098/108] scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8 Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 099/108] scsi: libsas: Add LUN number check in .slave_alloc callback Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 100/108] scsi: be2iscsi: Fix some missing space in some messages Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 101/108] scsi: libfc: Fix array index out of bound exception Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 102/108] scsi: qedf: Add check to synchronize abort and flush Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 103/108] sched/fair: Fix CFS bandwidth hrtimer expiry type Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 104/108] perf/x86/intel/uncore: Clean up error handling path of iio mapping Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 105/108] thermal/core/thermal_of: Stop zone device before unregistering it Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 106/108] s390/traps: do not test MONITOR CALL without CONFIG_BUG Sasha Levin
2021-07-14 19:37 ` [PATCH AUTOSEL 5.13 107/108] s390: introduce proper type handling call_on_stack() macro Sasha Levin
2021-07-14 19:38 ` [PATCH AUTOSEL 5.13 108/108] cifs: prevent NULL deref in cifs_compose_mount_options() Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210714193800.52097-94-sashal@kernel.org \
    --to=sashal@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@somainline.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).