Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3535696imw; Thu, 7 Jul 2022 03:31:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s0K/m3WdqxoMmNxSZmQZqcxDDY4VvjvlnE6DHhfplbzRbzn2xSiZl3KqcZsfkPSfwM0uiS X-Received: by 2002:a05:6402:1e94:b0:43a:9e92:bf2 with SMTP id f20-20020a0564021e9400b0043a9e920bf2mr1296805edf.248.1657189899258; Thu, 07 Jul 2022 03:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657189899; cv=none; d=google.com; s=arc-20160816; b=yW5WWPSX2VpQn1K2YayoLnNRpqnlqrfVhafdBWpRF3DzgYSM5yECNKVuSFxGh1v1/T LKyUh4IOuU8f0iqzDsBhDATdhDFC1ydTq/rlWF7u2cTDqoHe3nt32xXwmf3XQMKBO28i UOFlVBd8dqlVrCbCJA+6GXWJFGADRg33tLvAE7kzUuOBTZ3HPn9O4YaBjsf58gUuRAwx 4v5xsMVP5JLZVNqeSxdSwh5z+m2SoVZFIWVgPqo7bnq73+APRO5spWB78mtnGZZg0Fad 5j9Rm3vGoc6c5heYDXNm+LBRjCzKhCUnJzbdo/7sRw80ZTDfbUh9iHdd6nTZcEuqQROB lScA== 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=sW5gI6HYnTdz5TO9TTaO/3u/2ZnabasMP4Tl8TiyKVY=; b=c8qYa3iSEf09VJQCp5r4oXWRWi0v0PePLp9uHhMV9B6uqK7uHIUkI8Ry5qY3kRyzQz qwIqfznCAPH6FOs3tN2EG76WGDKwoWo1lTQRFHvn8lMMxH6nj2e5VUXmfQ/6uv6WOXVd +5zWvt5RZzmcsq2CQnaCDup9mgzvuKqFjRxS5+mhaz2QCbVgL2OUfUFizYWWOXIuLRtF 6UIXSMiAnmVLyXqD3xUqUlGtW1mhCoDP84Y/jhLBBXMrVcpWCWVXhmnK3i2rOkV37XHY +95qesfNbE4AwBkbNIvSyMXtNCqEkvCdS7uUHtfttKv5558jjOCk+twUdUsN6gTImoEB Lf2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Kw76MCee; 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 jg17-20020a170907971100b00704dc5420adsi2144984ejc.38.2022.07.07.03.31.13; Thu, 07 Jul 2022 03:31:39 -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=Kw76MCee; 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 S235291AbiGGKQe (ORCPT + 99 others); Thu, 7 Jul 2022 06:16:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235280AbiGGKQc (ORCPT ); Thu, 7 Jul 2022 06:16:32 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4850E4F673; Thu, 7 Jul 2022 03:16:31 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 267AG4OB082090; Thu, 7 Jul 2022 05:16:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657188964; bh=sW5gI6HYnTdz5TO9TTaO/3u/2ZnabasMP4Tl8TiyKVY=; h=From:To:CC:Subject:Date; b=Kw76MCeerkplZkTKHq5TQna2G4UbXOTlgmP2GTBr60Nc8NbCcY46mTPEGS8HOmSv7 HpS84garLjILYMGyaly5ajcf2NbHWB7zhfj2HkbLUO9SLDXAgwbhLY4RBfzhGkhDP8 flNBCcGvVTj2koM44VCVrkq8sPZGaBYU1Qewob8s= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 267AG4SU012976 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Jul 2022 05:16:04 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 7 Jul 2022 05:16:04 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE112.ent.ti.com (10.64.6.33) 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; Thu, 7 Jul 2022 05:16:04 -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 267AG3mM126559; Thu, 7 Jul 2022 05:16:04 -0500 From: Rahul T R To: , , CC: , , , , , , , , , , , , , , , , , , Rahul T R Subject: [PATCH v6 0/5] Add support for CDNS DSI J721E wrapper Date: Thu, 7 Jul 2022 15:45:56 +0530 Message-ID: <20220707101601.7081-1-r-ravikumar@ti.com> X-Mailer: git-send-email 2.37.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=-5.1 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. 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 -- 2.37.0