Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3216281iog; Mon, 20 Jun 2022 14:17:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tFfUFZO+S9/afDrD/94VWGxXbFeyvD7+S9qv0ToT+hflMYEV+bM//lybmNwHupgJ0LWdPF X-Received: by 2002:a62:3105:0:b0:51c:b8b9:7965 with SMTP id x5-20020a623105000000b0051cb8b97965mr26526632pfx.65.1655759824609; Mon, 20 Jun 2022 14:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655759824; cv=none; d=google.com; s=arc-20160816; b=AWm+HDHiweEX8t9zxurvXNCYvyM5NIZ+ReEIR/4T35b94QeE+DfsPCmO9dBB6jFkFS lGeEZtS6RUCRoXDDsYGI8zxYR532hdCr5HX5y78ckqiYbNqLfayxn/98YnP0qOYtJk6d 7PYMMjBjNSAGGV6MHFo4Cw+CGqMkCq/blLAAdcIM0pH5FMgCbSOQCH8iOOLoaIS5lRP8 Q5h4xfPWWrn9Xs22dH/KdgwcNgQvHeEHrfeJmToIr6S/ITDdyCIOH/fNPD8IaQEKGVdI tpMAzjc2TtrfdXr3RpKieVmjNOQrExdFoV9Rqc0lzRqbIQcjUoDn3ZFcHAJowSxenfcX ieuA== 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=M9i4sep0Y1ped2z1CILYYslzPFeeRvDYk+Y8YWIgRGM=; b=rBFXrKtqtTOLmJ6HUpd1/LrgCLSY1ThUyN5Bim0kc61GgarHp0QPkrXJV3ksqfvI// GU0tqRNBV0p+51sq8Ju+zDSx05V3vKPmKO+suwNZg9VqR+KiHY+GIAS9IW06Xh5zFVDU ZKmxoLr2bR7g3A0/PQA6jMcP4aI+QV5GibIinfWsqYU1PMD3od+gPW0WmtleswOeBEZd LsbNbvtgyioOLzkLSHD62muVVKskckDtuH9tEuIJBBehSmoRtQ3Zl6Yz3J8IIuB5A5Wi HHQwqHEeJGISrxb+YM5/FhW2UfHuJkaWo690/btV3RE7wiOpmoqBDLN1qA3gt1tdzbKD DY7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kSBLHvWb; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v69-20020a638948000000b003daf5a335bcsi17577934pgd.12.2022.06.20.14.16.51; Mon, 20 Jun 2022 14:17:04 -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=kSBLHvWb; 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 S241677AbiFTUy4 (ORCPT + 99 others); Mon, 20 Jun 2022 16:54:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233573AbiFTUyx (ORCPT ); Mon, 20 Jun 2022 16:54:53 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55D4B1B7A7; Mon, 20 Jun 2022 13:54:51 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25KKsXQZ129699; Mon, 20 Jun 2022 15:54:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1655758473; bh=M9i4sep0Y1ped2z1CILYYslzPFeeRvDYk+Y8YWIgRGM=; h=From:To:CC:Subject:Date; b=kSBLHvWbG0iV/KpV7ADRj/7N9Bh0JK6F5Z6V9gOPvWjH4aIQxGxsFdHbFNKEP71gP ICDd6lDn6hFNfry0VtmODlUpr3PwACCaUdPubhdSlj9I9ibihm+42ZIkA2gsC3cUbB s0aDVYJX4iRw3G4AonOSsqqhog4/0f9iUPBqIu9I= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25KKsXof094486 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Jun 2022 15:54:33 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 20 Jun 2022 15:54:32 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Mon, 20 Jun 2022 15:54:33 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 25KKsV6P062948; Mon, 20 Jun 2022 15:54:32 -0500 From: Rahul T R To: , , CC: , , , , , , , , , , , , , , , , , , Rahul T R Subject: [PATCH v3 0/4] Add support for CDNS DSI J721E wrapper Date: Tue, 21 Jun 2022 02:23:59 +0530 Message-ID: <20220620205403.31744-1-r-ravikumar@ti.com> X-Mailer: git-send-email 2.36.1 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=-5.0 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,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org Following series of patches adds supports for CDNS DSI bridge on j721e. 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 (4): dt-bindings: display: bridge: Convert cdns,dsi.txt to yaml 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 | 193 +++++++ 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, 794 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 -- 2.36.1