2023-08-12 19:58:06

by Francesco Dolcini

[permalink] [raw]
Subject: [PATCH v1] arm64: dts: ti: verdin-am62: Add DSI display support

From: Francesco Dolcini <[email protected]>

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 <[email protected]>
---
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

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>;
};
};

--
2.25.1



2023-08-13 13:46:11

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH v1] arm64: dts: ti: verdin-am62: Add DSI display support

Hi Francesco Dolcini,

On Sat, 12 Aug 2023 21:11:23 +0200, Francesco Dolcini wrote:
> From: Francesco Dolcini <[email protected]>
>
> 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
--

Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D


2023-08-13 15:29:17

by Francesco Dolcini

[permalink] [raw]
Subject: Re: [PATCH v1] arm64: dts: ti: verdin-am62: Add DSI display support



Il 13 agosto 2023 16:45:11 CEST, kernel test robot <[email protected]> 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...


2023-08-13 15:50:30

by kernel test robot

[permalink] [raw]
Subject: Re: [PATCH v1] arm64: dts: ti: verdin-am62: Add DSI display support

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/[email protected]/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230813/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

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

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki