mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK
@ 2026-09-07  6:33 Shashank Maurya
  2026-09-07  6:33 ` [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay Shashank Maurya
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Shashank Maurya @ 2026-09-07  6:33 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Florian Fainelli,
	Broadcom internal kernel review list
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-rpi-kernel,
	linux-arm-kernel, venkata.valluru, Jessica Zhang,
	Shashank Maurya

Add device tree overlays to enable support for the Raspberry Pi 7-inch
DSI touchscreen panel on Qualcomm Monaco and Lemans EVK platforms.

The overlays configure the panel on the primary DSI interface using
a 2-lane DSI connection and instantiate the panel MCU on the
corresponding touchscreen I2C bus for each platform. The changes
allow the Raspberry Pi 7-inch display to be used as an external
display option on both EVKs without affecting the default platform
configuration.

---
To: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konradybcio@kernel.org>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Florian Fainelli <florian.fainelli@broadcom.com>
To: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-rpi-kernel@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org

---
Shashank Maurya (2):
      arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay
      arm64: dts: qcom: lemans-evk: Add Raspberry Pi 7-inch DSI panel overlay

 arch/arm64/boot/dts/qcom/Makefile                  |  4 ++
 .../dts/qcom/lemans-evk-raspberrypi-dsi-7inch.dtso | 83 ++++++++++++++++++++++
 .../dts/qcom/monaco-evk-raspberrypi-dsi-7inch.dtso | 82 +++++++++++++++++++++
 3 files changed, 169 insertions(+)
---
base-commit: ed2647532a225739e86c7f236a2ce82764ec2772
change-id: 20260907-rpi_dts_overlay-58088ffce047
prerequisite-message-id: <20260907-rpi_reg-v2-0-0c59aa60d31f@oss.qualcomm.com>
prerequisite-patch-id: 5212bf185b35c36ed8857a67f29e60386d59ac60
prerequisite-patch-id: 056a90b913170106a6f8c1feb2366ee83c4375b9

Best regards,
--  
Shashank Maurya <shashank.maurya@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay
  2026-09-07  6:33 [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK Shashank Maurya
@ 2026-09-07  6:33 ` Shashank Maurya
  2026-09-09 14:50   ` Konrad Dybcio
  2026-09-09 14:51   ` Konrad Dybcio
  2026-09-07  6:33 ` [PATCH v2 2/2] arm64: dts: qcom: lemans-evk: " Shashank Maurya
  2026-09-10 19:35 ` [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK Bjorn Andersson
  2 siblings, 2 replies; 6+ messages in thread
From: Shashank Maurya @ 2026-09-07  6:33 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Florian Fainelli,
	Broadcom internal kernel review list
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-rpi-kernel,
	linux-arm-kernel, venkata.valluru, Jessica Zhang,
	Shashank Maurya

Add a DT overlay for the Raspberry Pi 7" DSI touchscreen panel on
Monaco EVK, using mdss_dsi0 with 2 data lanes and the panel MCU on
I2C8.

Signed-off-by: Shashank Maurya <shashank.maurya@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/Makefile                  |  2 +
 .../dts/qcom/monaco-evk-raspberrypi-dsi-7inch.dtso | 82 ++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 1c86e7e98f55..38554195fc98 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -71,6 +71,8 @@ monaco-evk-el2-dtbs := monaco-evk.dtb monaco-el2.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= monaco-evk-el2.dtb
 monaco-evk-ifp-mezzanine-dtbs	:= monaco-evk.dtb monaco-evk-ifp-mezzanine.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= monaco-evk-ifp-mezzanine.dtb
+monaco-evk-raspberrypi-dsi-7inch-dtbs	:= monaco-evk.dtb monaco-evk-raspberrypi-dsi-7inch.dtbo
+dtb-$(CONFIG_ARCH_QCOM)	+= monaco-evk-raspberrypi-dsi-7inch.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8216-samsung-fortuna3g.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-acer-a1-724.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-alcatel-idol347.dtb
diff --git a/arch/arm64/boot/dts/qcom/monaco-evk-raspberrypi-dsi-7inch.dtso b/arch/arm64/boot/dts/qcom/monaco-evk-raspberrypi-dsi-7inch.dtso
new file mode 100644
index 000000000000..f27b5a4a6093
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/monaco-evk-raspberrypi-dsi-7inch.dtso
@@ -0,0 +1,82 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+&{/} {
+	display_bl: backlight {
+		compatible = "pwm-backlight";
+		power-supply = <&reg_dsi_touch>;
+		pwms = <&reg_backlight 0 50000 0>;
+	};
+
+	reg_dsi_touch: regulator-touch {
+		compatible = "regulator-fixed";
+		regulator-name = "rpi-touch";
+		regulator-min-microvolt = <5500000>;
+		regulator-max-microvolt = <5500000>;
+		gpio = <&expander3 5 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+		regulator-always-on;
+	};
+};
+
+&i2c8 {
+	qcom,load-firmware;
+	qcom,xfer-mode = <1>;
+
+	status = "okay";
+
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	reg_backlight: reg_backlight@45 {
+		compatible = "raspberrypi,touchscreen-panel-regulator-v2";
+		reg = <0x45>;
+
+		vcc-supply = <&reg_dsi_touch>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		#pwm-cells = <3>;
+	};
+};
+
+&mdss_dsi0 {
+	vdda-supply = <&vreg_l1c>;
+
+	status = "okay";
+
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	panel@0 {
+		compatible = "raspberrypi,dsi-7inch";
+		reg = <0>;
+
+		reset-gpios = <&reg_backlight 0 GPIO_ACTIVE_LOW>;
+		power-supply = <&reg_dsi_touch>;
+		iovcc-supply = <&reg_dsi_touch>;
+		backlight = <&display_bl>;
+
+		port {
+			panel0_in: endpoint {
+				remote-endpoint = <&mdss_dsi0_out>;
+			};
+		};
+	};
+};
+
+&mdss_dsi0_out {
+	remote-endpoint = <&panel0_in>;
+	data-lanes = <0 1>;
+};
+
+&mdss_dsi0_phy {
+	vdds-supply = <&vreg_l4a>;
+
+	status = "okay";
+};

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 2/2] arm64: dts: qcom: lemans-evk: Add Raspberry Pi 7-inch DSI panel overlay
  2026-09-07  6:33 [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK Shashank Maurya
  2026-09-07  6:33 ` [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay Shashank Maurya
@ 2026-09-07  6:33 ` Shashank Maurya
  2026-09-10 19:35 ` [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Shashank Maurya @ 2026-09-07  6:33 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Florian Fainelli,
	Broadcom internal kernel review list
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-rpi-kernel,
	linux-arm-kernel, venkata.valluru, Jessica Zhang,
	Shashank Maurya

Add a DT overlay for the Raspberry Pi 7" DSI touchscreen panel on
Lemans EVK, using mdss0_dsi0 with 2 data lanes and the panel MCU on
I2C1.

Signed-off-by: Shashank Maurya <shashank.maurya@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/Makefile                  |  2 +
 .../dts/qcom/lemans-evk-raspberrypi-dsi-7inch.dtso | 83 ++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 38554195fc98..d17b46a043ad 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -57,6 +57,8 @@ lemans-evk-el2-dtbs := lemans-evk.dtb lemans-el2.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= lemans-evk-el2.dtb
 lemans-evk-ifp-mezzanine-dtbs	:= lemans-evk.dtb lemans-evk-ifp-mezzanine.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= lemans-evk-ifp-mezzanine.dtb
+lemans-evk-raspberrypi-dsi-7inch-dtbs	:= lemans-evk.dtb lemans-evk-raspberrypi-dsi-7inch.dtbo
+dtb-$(CONFIG_ARCH_QCOM)	+= lemans-evk-raspberrypi-dsi-7inch.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= mahua-crd.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= milos-fairphone-fp6.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= milos-nothing-asteroids.dtb
diff --git a/arch/arm64/boot/dts/qcom/lemans-evk-raspberrypi-dsi-7inch.dtso b/arch/arm64/boot/dts/qcom/lemans-evk-raspberrypi-dsi-7inch.dtso
new file mode 100644
index 000000000000..14743b3c3863
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/lemans-evk-raspberrypi-dsi-7inch.dtso
@@ -0,0 +1,83 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+&{/} {
+	display_bl: backlight {
+		compatible = "pwm-backlight";
+		power-supply = <&reg_dsi_touch>;
+		pwms = <&reg_backlight 0 255 0>;
+	};
+
+	reg_dsi_touch: regulator-touch {
+		compatible = "regulator-fixed";
+		regulator-name = "rpi-dsi-touch";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&expander3 1 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+};
+
+&i2c1 {
+	qcom,load-firmware;
+	qcom,xfer-mode = <1>;
+
+	status = "okay";
+
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	reg_backlight: reg_backlight@45 {
+		compatible = "raspberrypi,touchscreen-panel-regulator-v2";
+		reg = <0x45>;
+
+		vcc-supply = <&reg_dsi_touch>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		#pwm-cells = <3>;
+	};
+};
+
+&mdss0_dsi0 {
+	vdda-supply = <&vreg_l1c>;
+
+	status = "okay";
+
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	panel@0 {
+		compatible = "raspberrypi,dsi-7inch";
+		reg = <0>;
+
+		reset-gpios = <&reg_backlight 0 GPIO_ACTIVE_LOW>;
+		power-supply = <&reg_dsi_touch>;
+		iovcc-supply = <&reg_dsi_touch>;
+		backlight = <&display_bl>;
+
+		port {
+			panel0_in: endpoint {
+				remote-endpoint = <&mdss0_dsi0_out>;
+			};
+		};
+	};
+};
+
+&mdss0_dsi0_out {
+	remote-endpoint = <&panel0_in>;
+	data-lanes = <0 1>;
+};
+
+&mdss0_dsi0_phy {
+	vdds-supply = <&vreg_l4a>;
+
+	status = "okay";
+};

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay
  2026-09-07  6:33 ` [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay Shashank Maurya
@ 2026-09-09 14:50   ` Konrad Dybcio
  2026-09-09 14:51   ` Konrad Dybcio
  1 sibling, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-09-09 14:50 UTC (permalink / raw)
  To: Shashank Maurya, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Florian Fainelli,
	Broadcom internal kernel review list
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-rpi-kernel,
	linux-arm-kernel, venkata.valluru, Jessica Zhang

On 9/7/26 8:33 AM, Shashank Maurya wrote:
> Add a DT overlay for the Raspberry Pi 7" DSI touchscreen panel on
> Monaco EVK, using mdss_dsi0 with 2 data lanes and the panel MCU on
> I2C8.
> 
> Signed-off-by: Shashank Maurya <shashank.maurya@oss.qualcomm.com>
> ---

[...]

> +&i2c8 {
> +	qcom,load-firmware;
> +	qcom,xfer-mode = <1>;

This property is undocumented and unconsumed

Konrad

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay
  2026-09-07  6:33 ` [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay Shashank Maurya
  2026-09-09 14:50   ` Konrad Dybcio
@ 2026-09-09 14:51   ` Konrad Dybcio
  1 sibling, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-09-09 14:51 UTC (permalink / raw)
  To: Shashank Maurya, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Florian Fainelli,
	Broadcom internal kernel review list
  Cc: linux-arm-msm, devicetree, linux-kernel, linux-rpi-kernel,
	linux-arm-kernel, venkata.valluru, Jessica Zhang

On 9/7/26 8:33 AM, Shashank Maurya wrote:
> Add a DT overlay for the Raspberry Pi 7" DSI touchscreen panel on
> Monaco EVK, using mdss_dsi0 with 2 data lanes and the panel MCU on
> I2C8.
> 
> Signed-off-by: Shashank Maurya <shashank.maurya@oss.qualcomm.com>
> ---

[...]

> +	reg_dsi_touch: regulator-touch {
> +		compatible = "regulator-fixed";
> +		regulator-name = "rpi-touch";
> +		regulator-min-microvolt = <5500000>;
> +		regulator-max-microvolt = <5500000>;
> +		gpio = <&expander3 5 GPIO_ACTIVE_HIGH>;
> +		enable-active-high;
> +		regulator-always-on;
> +	};

Does this need to be always-on? There's clearly a consumer for it

Konrad

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK
  2026-09-07  6:33 [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK Shashank Maurya
  2026-09-07  6:33 ` [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay Shashank Maurya
  2026-09-07  6:33 ` [PATCH v2 2/2] arm64: dts: qcom: lemans-evk: " Shashank Maurya
@ 2026-09-10 19:35 ` Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2026-09-10 19:35 UTC (permalink / raw)
  To: Shashank Maurya
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Florian Fainelli, Broadcom internal kernel review list,
	linux-arm-msm, devicetree, linux-kernel, linux-rpi-kernel,
	linux-arm-kernel, venkata.valluru, Jessica Zhang

On Mon, Sep 07, 2026 at 12:03:52PM +0530, Shashank Maurya wrote:
> Add device tree overlays to enable support for the Raspberry Pi 7-inch
> DSI touchscreen panel on Qualcomm Monaco and Lemans EVK platforms.
> 
> The overlays configure the panel on the primary DSI interface using
> a 2-lane DSI connection and instantiate the panel MCU on the
> corresponding touchscreen I2C bus for each platform. The changes
> allow the Raspberry Pi 7-inch display to be used as an external
> display option on both EVKs without affecting the default platform
> configuration.
> 
> ---
> To: Bjorn Andersson <andersson@kernel.org>
> To: Konrad Dybcio <konradybcio@kernel.org>
> To: Rob Herring <robh@kernel.org>
> To: Krzysztof Kozlowski <krzk+dt@kernel.org>
> To: Conor Dooley <conor+dt@kernel.org>
> To: Florian Fainelli <florian.fainelli@broadcom.com>
> To: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
> Cc: linux-arm-msm@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-rpi-kernel@lists.infradead.org
> Cc: linux-arm-kernel@lists.infradead.org
> 
> ---
> Shashank Maurya (2):
>       arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay
>       arm64: dts: qcom: lemans-evk: Add Raspberry Pi 7-inch DSI panel overlay
> 
>  arch/arm64/boot/dts/qcom/Makefile                  |  4 ++
>  .../dts/qcom/lemans-evk-raspberrypi-dsi-7inch.dtso | 83 ++++++++++++++++++++++
>  .../dts/qcom/monaco-evk-raspberrypi-dsi-7inch.dtso | 82 +++++++++++++++++++++
>  3 files changed, 169 insertions(+)
> ---
> base-commit: ed2647532a225739e86c7f236a2ce82764ec2772
> change-id: 20260907-rpi_dts_overlay-58088ffce047
> prerequisite-message-id: <20260907-rpi_reg-v2-0-0c59aa60d31f@oss.qualcomm.com>

The two dts patches in this series clearly relates to those two
regulator patches, which has received change requests.

I would have sent the 4 patches together in a series, but as you didn't
you sent this series with unmet dependencies.

All I can do now is reject this series as well. Please send v2 once the
driver changes has been merged and you have validated this again.

Regards,
Bjorn

> prerequisite-patch-id: 5212bf185b35c36ed8857a67f29e60386d59ac60
> prerequisite-patch-id: 056a90b913170106a6f8c1feb2366ee83c4375b9
> 
> Best regards,
> --  
> Shashank Maurya <shashank.maurya@oss.qualcomm.com>
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-10 19:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07  6:33 [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK Shashank Maurya
2026-09-07  6:33 ` [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay Shashank Maurya
2026-09-09 14:50   ` Konrad Dybcio
2026-09-09 14:51   ` Konrad Dybcio
2026-09-07  6:33 ` [PATCH v2 2/2] arm64: dts: qcom: lemans-evk: " Shashank Maurya
2026-09-10 19:35 ` [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®