Message ID | 20231108171619.978438-1-a-bhatia1@ti.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp1063700vqo; Wed, 8 Nov 2023 09:17:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGteTWCg72XlV8CecrWkvijDnQDaFcxpbohKIeYNOEP0ABtzkmrkk1ndebahc0ZvXhJJvTZ X-Received: by 2002:a05:6a20:728e:b0:17e:1f9a:91f5 with SMTP id o14-20020a056a20728e00b0017e1f9a91f5mr2795685pzk.44.1699463843102; Wed, 08 Nov 2023 09:17:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699463843; cv=none; d=google.com; s=arc-20160816; b=Y8rlqsb+Jo3inWbeKGzVYPykDk6QRIHMjjbAh6mWmgagvTz0kFDJ521RgIWQ2sP1Ob DPkQoSbEEg93NiViMUJGTo8IRGB8Wd97jKsN9gwxV245ugpAiF/GzoqnJtPev53w16Mg GL+inJv2qQ8dCYro7h3c/PdOfof0oewNkhe505YerkQYe7W2IQsIICVoCnkJ/95FROa9 UAugqU+sGmeRetLemn00tsSvDi8fsL1GFed+Qg21iIeCgIIrU/qQr4xAXL0kKYDc2r2S 8nihV/+fCXewgcGaOKL6C7DWhFC57TO+YqJL4W2xkUFjKF36HPsrAvTiBDSzVCZToFQx OOfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=smX0ePku65I1V1dFik56r1qTlLoFJ9WIl8YRS3aknEw=; fh=wI0ZQIZ/7W35y//qdlFh6hE7ccL5NiQrVu9oBwKDsMA=; b=iqQkmNCCxKydAsRV0f//6JqlXJYQgL2GoPcPlye/rxvGb3LinGq0w4D8m2AA2DaK7i EGB2OkQvq3E/W3L42NKgwX+1mQLE2QrjK5bguvjHAUhXFl+7m5CaWhR2Pyo2yTwIa7v2 tn0sKv329C2VFMXoLCHFKJJEUALhVmzND9XxWdMlfYhQDywdmYrMq1pc2fqjwznd6D9V 63Y4krm6Cx+lZTvQ1+ZGgs98D728WL8mPVLdWRCAFaweMTxaZ4fDG85IJ2icrfM/t2+5 A65veLz6gxiUElzOEzUdH25pFUBn8Kg8ybTDBySuVc4cn0KnXiGOdJOx4DJb3ChByLE0 plww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Z1zZi7rF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id w8-20020a63f508000000b005bdbcf7c447si5098594pgh.309.2023.11.08.09.17.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 09:17:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Z1zZi7rF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9A6F88235791; Wed, 8 Nov 2023 09:17:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232272AbjKHRQv (ORCPT <rfc822;jaysivo@gmail.com> + 32 others); Wed, 8 Nov 2023 12:16:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232401AbjKHRQs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 8 Nov 2023 12:16:48 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72B851FFB; Wed, 8 Nov 2023 09:16:46 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3A8HGL7L108935; Wed, 8 Nov 2023 11:16:21 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1699463781; bh=smX0ePku65I1V1dFik56r1qTlLoFJ9WIl8YRS3aknEw=; h=From:To:CC:Subject:Date; b=Z1zZi7rF9biXmBsAhmriT4JRxo1bJ24u4S1mlEGpOlnZ2imq0iUAB9PirXwEtW31n 7la0mcMVV1Ly2nYipon8jtQH23g2/uMgwzhJR4PeVV0dHM6iHPMq5jQ+1DwSy87pYM KPkdS7NUAoKZg4d4rkWg+g3IzX9ud+Y9yNWhEnhA= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3A8HGLZY020906 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Nov 2023 11:16:21 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 8 Nov 2023 11:16:21 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 8 Nov 2023 11:16:20 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3A8HGJ2D005614; Wed, 8 Nov 2023 11:16:20 -0600 From: Aradhya Bhatia <a-bhatia1@ti.com> To: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, Jyri Sarha <jyri.sarha@iki.fi>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> CC: DRI Development List <dri-devel@lists.freedesktop.org>, Devicetree List <devicetree@vger.kernel.org>, Linux Kernel List <linux-kernel@vger.kernel.org>, Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Devarsh Thakkar <devarsht@ti.com>, Jayesh Choudhary <j-choudhary@ti.com>, Jai Luthra <j-luthra@ti.com>, Aradhya Bhatia <a-bhatia1@ti.com> Subject: [PATCH v3 0/2] Add DSS support for TI AM62A7 SoC Date: Wed, 8 Nov 2023 22:46:17 +0530 Message-ID: <20231108171619.978438-1-a-bhatia1@ti.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 08 Nov 2023 09:17:18 -0800 (PST) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782016998686534673 X-GMAIL-MSGID: 1782016998686534673 |
Series |
Add DSS support for TI AM62A7 SoC
|
|
Message
Aradhya Bhatia
Nov. 8, 2023, 5:16 p.m. UTC
This patch series adds a new compatible for the Display SubSystem (DSS) controller on TI's AM62A7 SoC. It further adds the required support, for the same, in the tidss driver. The DSS controller is similar to the recently added AM625 DSS, with the key difference being the absence of VP1 output on the SoC. The VP1 in AM62A7 DSS is tied off and cannot be used, unlike in AM625, where the VP1 was connected to 2 OLDI TXes. The video pipeline that corresponds to VP1 still exists and can be used to overlay planes on the VP2's primary plane. This can be done using the overlay managers inside the SoC. Moreover, DSS VP2 can output Full-HD RGB888 DPI video signals. I have tested these patches on AM62A7 SK-EVM, which converts DPI signals to HDMI on the platform using the Sil9022A HDMI transmitter. All the patches, required to enable display on AM62A7-SK, can be found on my github fork[0] in the branch "next_am62a-v3". Regards Aradhya [0]: https://github.com/aradhya07/linux-ab/tree/next_am62a-v3 Change Log: V2 -> V3: - Add Krzysztof Kozlowski's R-b in patch 1/2. - Add new DISPC_VP_TIED_OFF for tied-off video-ports in patch 2/2. V1 -> V2: - Correctly sort DISPC_AM62A7 macro after DISPC_AM625 in patch 2/2. Previous Versions: V1: https://lore.kernel.org/all/20230818131750.4779-1-a-bhatia1@ti.com/ V2: https://lore.kernel.org/all/20230818142124.8561-1-a-bhatia1@ti.com/ Aradhya Bhatia (2): dt-bindings: display: ti: Add support for am62a7 dss drivers/tidss: Add support for AM62A7 DSS .../bindings/display/ti/ti,am65x-dss.yaml | 14 +++++ drivers/gpu/drm/tidss/tidss_dispc.c | 59 +++++++++++++++++++ drivers/gpu/drm/tidss/tidss_dispc.h | 3 + drivers/gpu/drm/tidss/tidss_drv.c | 1 + 4 files changed, 77 insertions(+) base-commit: 2220f68f4504aa1ccce0fac721ccdb301e9da32f
Comments
Hi, On 08/11/2023 19:16, Aradhya Bhatia wrote: > This patch series adds a new compatible for the Display SubSystem (DSS) > controller on TI's AM62A7 SoC. It further adds the required support, for > the same, in the tidss driver. > > The DSS controller is similar to the recently added AM625 DSS, with the > key difference being the absence of VP1 output on the SoC. The VP1 in > AM62A7 DSS is tied off and cannot be used, unlike in AM625, where the > VP1 was connected to 2 OLDI TXes. The video pipeline that corresponds to > VP1 still exists and can be used to overlay planes on the VP2's primary > plane. This can be done using the overlay managers inside the SoC. > Moreover, DSS VP2 can output Full-HD RGB888 DPI video signals. > > I have tested these patches on AM62A7 SK-EVM, which converts DPI signals > to HDMI on the platform using the Sil9022A HDMI transmitter. All the > patches, required to enable display on AM62A7-SK, can be found on my > github fork[0] in the branch "next_am62a-v3". > > Regards > Aradhya > > [0]: https://github.com/aradhya07/linux-ab/tree/next_am62a-v3 > > Change Log: > V2 -> V3: > - Add Krzysztof Kozlowski's R-b in patch 1/2. > - Add new DISPC_VP_TIED_OFF for tied-off video-ports in patch 2/2. > > V1 -> V2: > - Correctly sort DISPC_AM62A7 macro after DISPC_AM625 in patch 2/2. > > Previous Versions: > V1: https://lore.kernel.org/all/20230818131750.4779-1-a-bhatia1@ti.com/ > V2: https://lore.kernel.org/all/20230818142124.8561-1-a-bhatia1@ti.com/ > > Aradhya Bhatia (2): > dt-bindings: display: ti: Add support for am62a7 dss > drivers/tidss: Add support for AM62A7 DSS > > .../bindings/display/ti/ti,am65x-dss.yaml | 14 +++++ > drivers/gpu/drm/tidss/tidss_dispc.c | 59 +++++++++++++++++++ > drivers/gpu/drm/tidss/tidss_dispc.h | 3 + > drivers/gpu/drm/tidss/tidss_drv.c | 1 + > 4 files changed, 77 insertions(+) > > > base-commit: 2220f68f4504aa1ccce0fac721ccdb301e9da32f For the series: Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Tomi
On 08/11/2023 19:16, Aradhya Bhatia wrote: > This patch series adds a new compatible for the Display SubSystem (DSS) > controller on TI's AM62A7 SoC. It further adds the required support, for > the same, in the tidss driver. > > The DSS controller is similar to the recently added AM625 DSS, with the > key difference being the absence of VP1 output on the SoC. The VP1 in > AM62A7 DSS is tied off and cannot be used, unlike in AM625, where the > VP1 was connected to 2 OLDI TXes. The video pipeline that corresponds to > VP1 still exists and can be used to overlay planes on the VP2's primary > plane. This can be done using the overlay managers inside the SoC. > Moreover, DSS VP2 can output Full-HD RGB888 DPI video signals. > > I have tested these patches on AM62A7 SK-EVM, which converts DPI signals > to HDMI on the platform using the Sil9022A HDMI transmitter. All the > patches, required to enable display on AM62A7-SK, can be found on my > github fork[0] in the branch "next_am62a-v3". > > Regards > Aradhya > > [0]: https://github.com/aradhya07/linux-ab/tree/next_am62a-v3 > > Change Log: > V2 -> V3: > - Add Krzysztof Kozlowski's R-b in patch 1/2. > - Add new DISPC_VP_TIED_OFF for tied-off video-ports in patch 2/2. > > V1 -> V2: > - Correctly sort DISPC_AM62A7 macro after DISPC_AM625 in patch 2/2. > > Previous Versions: > V1: https://lore.kernel.org/all/20230818131750.4779-1-a-bhatia1@ti.com/ > V2: https://lore.kernel.org/all/20230818142124.8561-1-a-bhatia1@ti.com/ > > Aradhya Bhatia (2): > dt-bindings: display: ti: Add support for am62a7 dss > drivers/tidss: Add support for AM62A7 DSS > > .../bindings/display/ti/ti,am65x-dss.yaml | 14 +++++ > drivers/gpu/drm/tidss/tidss_dispc.c | 59 +++++++++++++++++++ > drivers/gpu/drm/tidss/tidss_dispc.h | 3 + > drivers/gpu/drm/tidss/tidss_drv.c | 1 + > 4 files changed, 77 insertions(+) > > > base-commit: 2220f68f4504aa1ccce0fac721ccdb301e9da32f Thanks, I'm applying to drm-misc. Tomi