Message ID | 20230103101951.10963-1-r-ravikumar@ti.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4538426wrt; Tue, 3 Jan 2023 02:22:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXvWpxt/4ppfTdK/VJpltfUjGE/CexLAOUVelCT6+57fIGXxOWvlCrLgGEkDsDoxBNDex2mf X-Received: by 2002:a05:6a20:ba92:b0:a4:cfe7:e6c0 with SMTP id fb18-20020a056a20ba9200b000a4cfe7e6c0mr47576370pzb.41.1672741345270; Tue, 03 Jan 2023 02:22:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672741345; cv=none; d=google.com; s=arc-20160816; b=Vct1IYVCjDSWnhMXmVZQ8p1CzTzxyyaM2xJ0s3hNNa6pY1vLCNSxly2zzIOGC92v63 QHVE2kWmvVIKx5xbsZuCaqeKIRmS6rBQBfcBNQ+YZrh7q5OlsCsfZgCFPXJHlEj19uGR nqq9GgX9S81C1DI7EkngA2JMuRt5mfOw9+NmkCFptKL1rhWQhAqcABFwUjjMxnm351WT qGBGFOXWUQV/G2qOTDvqJ50qKk6pYKBxMk5BbcpefQepknsqfb/yQSeObWrSDybzZ80N cooNbENvnAw9LO8RCuebSvjQ+VEFAF4NhcScu+wsPlDQJtmixZSYK0OfcUEFHnBgi08N 0O6Q== 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=0xN9TZmdjhOev0M52dFR/CYSWTBXVP70B4RkI64FGFs=; b=azUFdlOEv4Gp3/JSVLl+/khbnm67wHoFiIa3RPLU37PWIS4bc/gTRoePEzlfLkQTo+ U0/oqrT4oEkagRVDK1lxVFe6lKQk6/hv9ijnwXSIS8e70xDl19kq2SQOpYP27u4s4+Mw 3Y9yVGYM3Mb+u34urfK1fUMl0MjB5BnjGOvo/PcH2Y0I9o9+VNf7f8URHxu9wwqZnSxo TIOs8+ldQIORtACEfwgoQpmL+r/R0iyXkjtlQ8Z26sOi86v+c+yv4Wm59tSwOqvmD39v tgEvUIQOI/4k1o4TstJYHiDfBStx6pkOQui2zHOIy9hdczPX+WsQx7TdEzddFbwte42F ZA5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yz0w2TCt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 34-20020a631662000000b00477c62b9498si33001403pgw.212.2023.01.03.02.22.12; Tue, 03 Jan 2023 02:22:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yz0w2TCt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237187AbjACKUc (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Tue, 3 Jan 2023 05:20:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbjACKUU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 3 Jan 2023 05:20:20 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCC18F594; Tue, 3 Jan 2023 02:20:18 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 303AJvNC065995; Tue, 3 Jan 2023 04:19:57 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1672741197; bh=0xN9TZmdjhOev0M52dFR/CYSWTBXVP70B4RkI64FGFs=; h=From:To:CC:Subject:Date; b=yz0w2TCt/j8jTwbXFCVAR4IKQtp/Tn9bTtIqJY6Pa5jMyhHrFkRIXLcIgwFedvJts 1AUeCaNCalu9tZT9j2PbTowjXO52yTZIFw8jCdIC+gPLRvp8k5GwObc4I3Ye2Usl+9 L9TSJB1GxjlHTvQT7HNZj3b3+1GBGfggsfALwtZU= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 303AJv9u028214 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 3 Jan 2023 04:19:57 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 3 Jan 2023 04:19:57 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 3 Jan 2023 04:19:57 -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 303AJtQl032179; Tue, 3 Jan 2023 04:19:56 -0600 From: Rahul T R <r-ravikumar@ti.com> To: <dri-devel@lists.freedesktop.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org> CC: <andrzej.hajda@intel.com>, <narmstrong@baylibre.com>, <robert.foss@linaro.org>, <jonas@kwiboo.se>, <jernej.skrabec@gmail.com>, <airlied@linux.ie>, <daniel@ffwll.ch>, <p.zabel@pengutronix.de>, <tomi.valkeinen@ideasonboard.com>, <laurent.pinchart@ideasonboard.com>, <linux-kernel@vger.kernel.org>, <jpawar@cadence.com>, <sjakhade@cadence.com>, <mparab@cadence.com>, <a-bhatia1@ti.com>, <devicetree@vger.kernel.org>, <vigneshr@ti.com>, <lee.jones@linaro.org>, Rahul T R <r-ravikumar@ti.com> Subject: [PATCH v11 0/5] Add support for CDNS DSI J721E wrapper Date: Tue, 3 Jan 2023 15:49:46 +0530 Message-ID: <20230103101951.10963-1-r-ravikumar@ti.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753996428494782836?= X-GMAIL-MSGID: =?utf-8?q?1753996428494782836?= |
Series |
Add support for CDNS DSI J721E wrapper
|
|
Message
Rahul T R
Jan. 3, 2023, 10:19 a.m. UTC
Following series of patches adds supports for CDNS DSI bridge on j721e. v11: - Wrap commmit messages at 72 chars - Fix the order in Kconfig and Makefile - Clean up the includes, move macros and some headers to .c file - Add missing forward declarations - Add __ prefix to header gaurds - Change dsi_platform_ops to cdns_dsi_platform_ops - Add documentation to struct cdns_dsi_platform_ops v10: - Rebased to v6.2-rc1 - Accumulated the Reviewed-by acks v9: - Fixed below based on review comments in v8 - Added more info on wrapper in the commit message - Fixed the description in Kconfig - Fixed the formatting of of_match table - exit -> deinit in platform ops - Remove duplicate of struct declaration in cdns-dsi-j721e.h v8: - Rebased to 6.1-rc1 v7: - Rebased to next-20220920 - Accumulated the Reviewed-by acks v6: - Dropped generic definations for properties like reg, resets etc.. - Fixed the defination for port@0 and port@1 - removed the ti,sn65dsi86 node from the example, which is not related v5: - Remove power-domain property in the conversion commit - Add power-domain only for j721e compatible - Fix white space error in one of the commit v4: - split conversion txt to yaml - seperate commit for addinig new compatible - conditionally limit the items for reg property, based on the compatible v3: - Convert cdns-dsi.txt binding to yaml - Move the bridge under display/bridge/cadence - Add new compatible to enable the wrapper module v2: - Moved setting DPI0 to bridge_enable, since it should be done after pm_runtime_get Rahul T R (5): dt-bindings: display: bridge: Convert cdns,dsi.txt to yaml dt-bindings: display: bridge: cdns,dsi: Add compatible for dsi on j721e drm/bridge: cdns-dsi: Move to drm/bridge/cadence drm/bridge: cdns-dsi: Create a header file drm/bridge: cdns-dsi: Add support for J721E wrapper .../bindings/display/bridge/cdns,dsi.txt | 112 ----------- .../bindings/display/bridge/cdns,dsi.yaml | 180 ++++++++++++++++++ drivers/gpu/drm/bridge/Kconfig | 11 -- drivers/gpu/drm/bridge/Makefile | 1 - drivers/gpu/drm/bridge/cadence/Kconfig | 21 ++ drivers/gpu/drm/bridge/cadence/Makefile | 3 + .../{cdns-dsi.c => cadence/cdns-dsi-core.c} | 83 ++++---- .../gpu/drm/bridge/cadence/cdns-dsi-core.h | 84 ++++++++ .../gpu/drm/bridge/cadence/cdns-dsi-j721e.c | 51 +++++ .../gpu/drm/bridge/cadence/cdns-dsi-j721e.h | 16 ++ 10 files changed, 391 insertions(+), 171 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,dsi.txt create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml rename drivers/gpu/drm/bridge/{cdns-dsi.c => cadence/cdns-dsi-core.c} (97%) create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-core.h create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-j721e.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-j721e.h
Comments
Hi, On 03/01/2023 12:19, Rahul T R wrote: > Following series of patches adds supports for CDNS DSI > bridge on j721e. > > v11: > - Wrap commmit messages at 72 chars > - Fix the order in Kconfig and Makefile > - Clean up the includes, move macros and some headers to .c file > - Add missing forward declarations > - Add __ prefix to header gaurds > - Change dsi_platform_ops to cdns_dsi_platform_ops > - Add documentation to struct cdns_dsi_platform_ops > > v10: > - Rebased to v6.2-rc1 > - Accumulated the Reviewed-by acks > > v9: > - Fixed below based on review comments in v8 > - Added more info on wrapper in the commit message > - Fixed the description in Kconfig > - Fixed the formatting of of_match table > - exit -> deinit in platform ops > - Remove duplicate of struct declaration in cdns-dsi-j721e.h > > v8: > - Rebased to 6.1-rc1 > > v7: > - Rebased to next-20220920 > - Accumulated the Reviewed-by acks > > v6: > - Dropped generic definations for properties like reg, resets etc.. > - Fixed the defination for port@0 and port@1 > - removed the ti,sn65dsi86 node from the example, which is not related > > v5: > - Remove power-domain property in the conversion commit > - Add power-domain only for j721e compatible > - Fix white space error in one of the commit > > v4: > - split conversion txt to yaml > - seperate commit for addinig new compatible > - conditionally limit the items for reg property, based on the compatible > > v3: > - Convert cdns-dsi.txt binding to yaml > - Move the bridge under display/bridge/cadence > - Add new compatible to enable the wrapper module > > v2: > - Moved setting DPI0 to bridge_enable, since it > should be done after pm_runtime_get > > Rahul T R (5): > dt-bindings: display: bridge: Convert cdns,dsi.txt to yaml > dt-bindings: display: bridge: cdns,dsi: Add compatible for dsi on > j721e > drm/bridge: cdns-dsi: Move to drm/bridge/cadence > drm/bridge: cdns-dsi: Create a header file > drm/bridge: cdns-dsi: Add support for J721E wrapper > > .../bindings/display/bridge/cdns,dsi.txt | 112 ----------- > .../bindings/display/bridge/cdns,dsi.yaml | 180 ++++++++++++++++++ > drivers/gpu/drm/bridge/Kconfig | 11 -- > drivers/gpu/drm/bridge/Makefile | 1 - > drivers/gpu/drm/bridge/cadence/Kconfig | 21 ++ > drivers/gpu/drm/bridge/cadence/Makefile | 3 + > .../{cdns-dsi.c => cadence/cdns-dsi-core.c} | 83 ++++---- > .../gpu/drm/bridge/cadence/cdns-dsi-core.h | 84 ++++++++ > .../gpu/drm/bridge/cadence/cdns-dsi-j721e.c | 51 +++++ > .../gpu/drm/bridge/cadence/cdns-dsi-j721e.h | 16 ++ > 10 files changed, 391 insertions(+), 171 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,dsi.txt > create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml > rename drivers/gpu/drm/bridge/{cdns-dsi.c => cadence/cdns-dsi-core.c} (97%) > create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-core.h > create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-j721e.c > create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-j721e.h > Looks good to me. As Andrzej gave his Rb, I presume it's fine for me to push this to drm-misc-next. I'll do this a bit later today. There was a small typo in the 5th patch, about which checkpatch gave a warning. I'll fix that while applying. Tomi