Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4081233rwb; Tue, 20 Sep 2022 08:33:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Esf27B3u/hT4h/qtYZIAr8qiXxj0fskkq5GjqcURYERsbYIXawbYf1SIN0tBIfF8wV0Jh X-Received: by 2002:a17:907:d94:b0:77a:bf:9c93 with SMTP id go20-20020a1709070d9400b0077a00bf9c93mr17240992ejc.147.1663688005971; Tue, 20 Sep 2022 08:33:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663688005; cv=none; d=google.com; s=arc-20160816; b=JtirZvPXM5t6W6HlQXfe3Oq7qcN6JGhu8CMOO7RmazIwv4X0EVvDQqEOKf6MlHUJUS /Z9YuaSWQadrjvsmDiVdfYNI1sL5J32swUdN3lNkUNXMWt4MlPjyGhcVNDzTbEsx9BuC OVQ63IpJJfIvQee6DaxtD6kh28W4AD6B1n/2UDmXsw/VfzORPy+RNiuDIyuGhMVN95PW ereuQp5R1kuv0icH3sfRuvidfWoQWMj1bSgzKhj9jfyLX/koe5zQjaIrcS3Cc+548Uah y4r/BvmTlnKLlOjRNoPhSrTz17yJxP7nNbC+XC4k/uDOaEr5eB+Us8jiZ4V8uFRcmdme H3fg== 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=ppUsWiAeOkmXONIsn/PtH1IaX3m56Al9gE7kqH30n/s=; b=za1gOLbr8dwG23YLPpuJ2UyxOplnHoWaoaz4F3FcZCto+S4xpY8gk6mmUYVSbMGmMF fCAxfJhGuwtiKtZsxJ564SNA9bXcElKkwEQBKn1P2UEEC7bkpBWQ+/BmcBAmBtMD48x6 PY1g8THh0de3gJxtR1/4q6tWtUNeVpZ90jp4TQOnKUeC9C+/3mRC/ZW0cYx+8BUXFYLJ zJG/NHdcNr+QYCTJW2MlK3mHwvRyVkRpvZiUxr+w+aeejXl1VXRDV3avGGbIxiwMVVgo UQMQCtaV5E0Htv37TNnvF5jfjZP4HG1v5xBorjhLP8VUwBribS/vIEiBkKrTWzOXXIYo +9sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=aoZoFLoE; 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 t29-20020a50ab5d000000b004478be1775dsi94316edc.114.2022.09.20.08.33.00; Tue, 20 Sep 2022 08:33:25 -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=aoZoFLoE; 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 S229461AbiITPUO (ORCPT + 99 others); Tue, 20 Sep 2022 11:20:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231497AbiITPUD (ORCPT ); Tue, 20 Sep 2022 11:20:03 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A78453038; Tue, 20 Sep 2022 08:19:57 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 28KFJNh3022853; Tue, 20 Sep 2022 10:19:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1663687163; bh=ppUsWiAeOkmXONIsn/PtH1IaX3m56Al9gE7kqH30n/s=; h=From:To:CC:Subject:Date; b=aoZoFLoELZunK+HTzKlRu3w24WixCbOXFXq+IK6u1R1EjQ6zBGme2L96dAQqXoPQl dusThLO2f/ZX9f1KdVwC7suE2Yqqc++QOwhW588ZZq/Vf6/FKeRNsuFp3sigZCTcb+ tUzrMAi4ELhmp4mqVzE9FxmM0fZq46g9Y2AaNhx4= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 28KFJNIS010575 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Sep 2022 10:19:23 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) 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; Tue, 20 Sep 2022 10:19:22 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE101.ent.ti.com (10.64.6.22) 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; Tue, 20 Sep 2022 10:19:22 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 28KFJLG3061140; Tue, 20 Sep 2022 10:19:22 -0500 From: Rahul T R To: , , CC: , , , , , , , , , , , , , , , , , , Rahul T R Subject: [PATCH v7 0/5] Add support for CDNS DSI J721E wrapper Date: Tue, 20 Sep 2022 20:49:14 +0530 Message-ID: <20220920151919.25658-1-r-ravikumar@ti.com> X-Mailer: git-send-email 2.37.3 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: X-Mailing-List: linux-kernel@vger.kernel.org Following series of patches adds supports for CDNS DSI bridge on j721e. 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 -- 2.37.3