Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2371684imw; Wed, 6 Jul 2022 05:01:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vO26PiLBasyo1uDsJiAAW+p/tG/2vy+DuBuz8g49k2P3iPlMKZa3r7U5kPVL6aiG/vtvQY X-Received: by 2002:a17:902:e94f:b0:16a:214e:46c1 with SMTP id b15-20020a170902e94f00b0016a214e46c1mr46536408pll.89.1657108877796; Wed, 06 Jul 2022 05:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657108877; cv=none; d=google.com; s=arc-20160816; b=UV/IjZMhGJ4pN9MYxCMPnHRnq2H/Aqxp/Uv74AGcDAmpb2bMhn4Hfe3D7kvtBso/SY MrBVH/epkjEve9bbdtmWye9A59DmG1zuiFvKpLJNcgmyyrzfGCftMyUGFim4P/mnRzmX RrmAYE3ICqGYByYvXkVDRWX5K+gggJFS9OvOFCYPeFwl/1XZ5jr6Dk7Y3h7SFQpyTOuH j3ROvzHExb7czNYqr/Uguif9yswXqlthBVgbYWa28HbMX5eWbXWDBi+AYs0iqMyACzmj lYDMzaTX3fIjXEnUsYxU7fYecjNWLyibEka4a9O4dEaY5VUsuukCzwBulGr7zevghfWh ogsA== 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=JFzFsT4qq1uqWNvbURhU2TtddjUUlJ6nLvqes321WfA=; b=Bc0xFksVKkmX8q3JYbNXJ+TrkspIVffRwTE/yJyoxrU7Pz4ZYAKu/se9sxKBFzap7t mUXAneca2WSRU/5Yuf02YWTttTx4g8ityXT3IbfjEAbB3JwRYoga8iBMc8s/9SQgKCx8 XbphmdDRBhFXuSaQj2VhGb2odEdRRVqazk5E2DlaOghiebcR7xYzZ/73/KzYWRUliAga w2CuTByZALrEi3tCAxMhlnLKiIn1Baf69t1KlXyaE0wZaM+f1WkUGPh9tR8DxpX6E4LA yQckpdKUHT+rcW3NmKei+dTgCv8elYR6r6rNgFxYeHmw749oJ7SepNBx/In9mGFvK5aZ 1uqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WyhNXUyx; 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 cu9-20020a056a00448900b00528be7078easi1434829pfb.45.2022.07.06.05.01.05; Wed, 06 Jul 2022 05:01:17 -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=WyhNXUyx; 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 S232629AbiGFLly (ORCPT + 99 others); Wed, 6 Jul 2022 07:41:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232713AbiGFLls (ORCPT ); Wed, 6 Jul 2022 07:41:48 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B00425EA9; Wed, 6 Jul 2022 04:41:44 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 266Bf0fm096687; Wed, 6 Jul 2022 06:41:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657107660; bh=JFzFsT4qq1uqWNvbURhU2TtddjUUlJ6nLvqes321WfA=; h=From:To:CC:Subject:Date; b=WyhNXUyxqPF272eLOBvmurD4/4mxNW7w09DuyueA0ayNUYJ+EmeIbuhrdcKuqMXhh HHId0dawgWjOY0frrRENXhR4coLWVE3iAiO9eAMXbd8G3xVc5btmkg2pbDatdTxBo+ G0BcW3YXm/T8MKW3VshiwSVgbjlt/sRcvxPn6T9c= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 266Bf01A008129 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 6 Jul 2022 06:41:00 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 6 Jul 2022 06:40:59 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE113.ent.ti.com (10.64.6.34) 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; Wed, 6 Jul 2022 06:40:59 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 266Bew1c094008; Wed, 6 Jul 2022 06:40:59 -0500 From: Rahul T R To: , , CC: , , , , , , , , , , , , , , , , , , Rahul T R Subject: [PATCH v5 0/5] Add support for CDNS DSI J721E wrapper Date: Wed, 6 Jul 2022 17:10:48 +0530 Message-ID: <20220706114053.3454-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.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. 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 | 216 ++++++++ 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, 817 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