Message ID | 20221021171820.15984-1-r-ravikumar@ti.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp818309wrr; Fri, 21 Oct 2022 10:28:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5AcxdDOZErJAD1tmGWHdZP7YAwqMqj8+kY+nKHNSMQAzurcecGqtr8P+68S8EC910nWq+C X-Received: by 2002:a17:907:80a:b0:783:2585:5d73 with SMTP id wv10-20020a170907080a00b0078325855d73mr16603712ejb.642.1666373298560; Fri, 21 Oct 2022 10:28:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666373298; cv=none; d=google.com; s=arc-20160816; b=ub/wRseuUlJiB55bBXdRi8mqk398G2MhEup6EII2sOpTn+zTq1mjvn1Som3jmZ/nRL 1UrXh8lrIgO5b1MJaxwXIuzcyXtafhgIlNhEsmTpQRG1RqTazL8+TlvEL3hTHGbN2E0X BIcIb77fW/AxrSUZwjdpLR13JxfcbnnjGv8lfVFZqOJRUOUbtqTe9dhclq3rROq8R/Mc a08SVvyhmsnLW3rBo+ctcm8XKdIFYuj+n6p5gKGuF6VwizEIRVz3biBQJSK9uNn87+7T VQGeNhDE8DIHN4idnp9DQwu+PmGNaq03w+I3pH7Fw/sH3oZDb8e2DLwiXhnja8vaNX+6 RCUg== 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=FEGOaZ67utUsN11Pn5uOK1m2QmT4JoKx1uzon8eizgU=; b=IT/Ii2It9YobZKop2PwH7RPDHi6i4tt7xbBwx6k29CmLQNMbFaof/dLFKD0tVu5uLI j1PSHH+BCnT9YRH2AHqztCy+NYH53gEex/YMqyzOlRXPMTKx3qLLs8JdvwDFBhnnlnDZ Nj0TX5cqGAmHDzpy6tLu+ulEi7ojEMulj7MMZ7HlY80yqD7r2tsTFGLqAP4OYtBCkIJn Ce/8IHYcHST0mku8H22Bs+IjYt7cR0ldWSacswjk0tfqah9ZTn/imnbA4TfWzPiDAFS5 s+lW5urhUqqiXJqa5mCrvOlsH2/2q6iWKS7PVX2/FllXcHp7vudEr/+FcodTbJbvMy50 shLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JivFkZkC; 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 k5-20020a170906578500b0078a19032c70si18460462ejq.334.2022.10.21.10.27.53; Fri, 21 Oct 2022 10:28:18 -0700 (PDT) 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=JivFkZkC; 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 S231261AbiJURTb (ORCPT <rfc822;mntrajkot1@gmail.com> + 99 others); Fri, 21 Oct 2022 13:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231182AbiJURTM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Oct 2022 13:19:12 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03A6C1AD680; Fri, 21 Oct 2022 10:19:08 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29LHIQk9061331; Fri, 21 Oct 2022 12:18:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666372706; bh=FEGOaZ67utUsN11Pn5uOK1m2QmT4JoKx1uzon8eizgU=; h=From:To:CC:Subject:Date; b=JivFkZkC6YLxsN9D9qPG4jQqZ8lvNo0FYYBWhNCzsMmW/HUJbvS8xLfvu6HQH9+ZL fJpN7VMFx56fyzDT5oD2DuxX74amoU6S4PPX75ZmONltLPv0u1WYUzfXj6d4icEiwQ R/HArc3HUkx00jauzMZR7RF1CE4zEQg69XZP0cZ8= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29LHIQ89017549 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 21 Oct 2022 12:18:26 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Fri, 21 Oct 2022 12:18:25 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Fri, 21 Oct 2022 12:18:25 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29LHIOgo037257; Fri, 21 Oct 2022 12:18:25 -0500 From: Rahul T R <r-ravikumar@ti.com> To: <dri-devel@lists.freedesktop.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <tomi.valkeinen@ideasonboard.com> 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>, <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 v8 0/5] Add support for CDNS DSI J721E wrapper Date: Fri, 21 Oct 2022 22:48:15 +0530 Message-ID: <20221021171820.15984-1-r-ravikumar@ti.com> X-Mailer: git-send-email 2.38.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.6 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,URIBL_BLOCKED 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?1747319047856051426?= X-GMAIL-MSGID: =?utf-8?q?1747319047856051426?= |
Series |
Add support for CDNS DSI J721E wrapper
|
|
Message
Rahul T R
Oct. 21, 2022, 5:18 p.m. UTC
Following series of patches adds supports for CDNS DSI bridge on j721e. 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} | 483 ++---------------- .../gpu/drm/bridge/cadence/cdns-dsi-core.h | 471 +++++++++++++++++ .../gpu/drm/bridge/cadence/cdns-dsi-j721e.c | 51 ++ .../gpu/drm/bridge/cadence/cdns-dsi-j721e.h | 18 + 10 files changed, 781 insertions(+), 570 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} (65%) 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