diff mbox series

[v1] arm64: dts: ti: verdin-am62: Add DSI display support

Message ID 20230812191123.14779-1-francesco@dolcini.it (mailing list archive)
State New, archived
Headers show
Series [v1] arm64: dts: ti: verdin-am62: Add DSI display support | expand

Commit Message

Francesco Dolcini Aug. 12, 2023, 7:11 p.m. UTC
From: Francesco Dolcini <francesco.dolcini@toradex.com>

Add MIPI-DSI support to Verdin AM62.

Verdin AM62 has a MIPI DSI interface on the edge connector, this is
provided with a Toshiba TC358778 DPI to MIPI-DSI bridge connected to the
DSS DPI port with a 18-bit width parallel bus.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Comments

Nishanth Menon Aug. 13, 2023, 1:02 p.m. UTC | #1
Hi Francesco Dolcini,

On Sat, 12 Aug 2023 21:11:23 +0200, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@toradex.com>
> 
> Add MIPI-DSI support to Verdin AM62.
> 
> Verdin AM62 has a MIPI DSI interface on the edge connector, this is
> provided with a Toshiba TC358778 DPI to MIPI-DSI bridge connected to the
> DSS DPI port with a 18-bit width parallel bus.
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: verdin-am62: Add DSI display support
      commit: 9e77200356badfda6cec99e37be55fa940f83c7d

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
kernel test robot Aug. 13, 2023, 2:45 p.m. UTC | #2
Hi Francesco,

kernel test robot noticed the following build errors:

[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v6.5-rc5 next-20230809]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Francesco-Dolcini/arm64-dts-ti-verdin-am62-Add-DSI-display-support/20230813-031349
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20230812191123.14779-1-francesco%40dolcini.it
patch subject: [PATCH v1] arm64: dts: ti: verdin-am62: Add DSI display support
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20230813/202308132205.nYgQd2fC-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230813/202308132205.nYgQd2fC-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308132205.nYgQd2fC-lkp@intel.com/

All errors (new ones prefixed by >>):

>> Error: arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi:803.1-5 Label or path dss not found
>> Error: arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi:809.1-11 Label or path dss_ports not found
   FATAL ERROR: Syntax error parsing input tree
Francesco Dolcini Aug. 13, 2023, 2:56 p.m. UTC | #3
Il 13 agosto 2023 16:45:11 CEST, kernel test robot <lkp@intel.com> ha scritto:
>Hi Francesco,
>
>kernel test robot noticed the following build errors:
>
>[auto build test ERROR on robh/for-next]
>[also build test ERROR on linus/master v6.5-rc5 next-20230809]
>[If your patch is applied to the wrong git tree, kindly drop us a note.

here the note, wrong tree.

>And when submitting patch, we suggest to use '--base' as documented in
>https://git-scm.com/docs/git-format-patch#_base_tree_information]

yep, gonna remember about this next time...
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
index 5db9ef2dc7e5..40992e7e4c30 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
@@ -815,6 +815,26 @@  cpsw3g_phy0: ethernet-phy@0 {
 	};
 };
 
+&dss {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_parallel_rgb>;
+	status = "disabled";
+};
+
+&dss_ports {
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	/* VP2: DPI Output */
+	port@1 {
+		reg = <1>;
+
+		dpi_out: endpoint {
+			remote-endpoint = <&rgb_in>;
+		};
+	};
+};
+
 /* Verdin PWM_1, PWM_2 */
 &epwm0 {
 	pinctrl-names = "default";
@@ -1051,6 +1071,7 @@  port@0 {
 
 				rgb_in: endpoint {
 					data-lines = <18>;
+					remote-endpoint = <&dpi_out>;
 				};
 			};