Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10429147rwl; Mon, 2 Jan 2023 02:25:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXtaMZAq7J3U49BVdw1WbCR5yBOvmUDEVTyphvoIZ1G+FfpTe0oMOTjkJq4hJE69MlNLwfAA X-Received: by 2002:a05:6a20:c991:b0:b4:6f9:ef7d with SMTP id gy17-20020a056a20c99100b000b406f9ef7dmr15719362pzb.35.1672655142948; Mon, 02 Jan 2023 02:25:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672655142; cv=none; d=google.com; s=arc-20160816; b=hBmEsv01LkTPVscwScQJVL+FwbRjFWpZiMzjTkNxHQ4io0NLpqc1f2Y6S94BLYeBN1 BL7jGYRbiyEbKfYeDAU8nXoD421GrE0hOxcEFvoVyvS3jQiQA7/n2GLiAqm6Sa1Fy/sW mixJ5C8obzqzILiTcs8ynN7w2UQ2OGVom3msNo0woW3fVjlPhwIC4eUShcPE31QGskR5 Kl57b2K0t+Az9wFh5I4mAHeCl5EVUD5uTSOPn9F5Ie2R8/G1qAkYG6AZjKs8IEOmBzqc mHcpbtgjHZqq+s9fwWVNBmEuIV7ioJ42aPfEFmGnFRUba9/ghxKLfFglGAxYdbACXjYz gWIg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B2cqMWidbM3x8lG47YBA2/5FvuU+3OolvAYBKB/3CUc=; b=K7G21zGrHMaqoJApeHVNE/8dyhpSriZf7U1k3vqhGmT8FTwXnfA7agPcyA/COnN+h+ L2JYUbJF0DrXwv9HpBUIe1uInLJGUmkOm6p6JM5Eh3cSfSYkaUmySadrZp+AcdGrQeMY sn7T1WQVuQcnvOwHdCCK+a9nE9M5g/RBNcK/znOcgPPASlti3xMtJNZMq+vrA9ZVq1ft DcBbmoWtfSuP6shkY2oo2UePMMHrWiYTo4+A/6M/9BNrqUgJvSPQaZt8xWcrW2DqERr/ odETJwJowyhJJ3f0QmeOdLI9+Va1BgOiVxQ462V4quu6FH9upI8OkpZDlZGEAJ8VThbt syng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UxxXXCbg; 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 k11-20020aa788cb000000b00565ba4c501asi23002822pff.276.2023.01.02.02.25.34; Mon, 02 Jan 2023 02:25:42 -0800 (PST) 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=UxxXXCbg; 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 S232674AbjABKKh (ORCPT + 60 others); Mon, 2 Jan 2023 05:10:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231876AbjABKKT (ORCPT ); Mon, 2 Jan 2023 05:10:19 -0500 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E231DE98; Mon, 2 Jan 2023 02:10:17 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 302A9sXf058454; Mon, 2 Jan 2023 04:09:54 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1672654194; bh=B2cqMWidbM3x8lG47YBA2/5FvuU+3OolvAYBKB/3CUc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UxxXXCbgohm2eODzRVfZqGmHkpYgSmuQERHXdU6xuUoegjGar2DuDxi0ZCd/l4mXO qBRDlwRh1KE4k7k8CJctOtdGVfZQ/F+EIts9JKQVCmEEA5BOdrl6qX1Rwik8SRW8+I yVN9lFPBJfClNYQjOGb3Pb1heEg2O4OhckrKexUw= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 302A9s4b019779 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Jan 2023 04:09:54 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) 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.16; Mon, 2 Jan 2023 04:09:54 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 2 Jan 2023 04:09:54 -0600 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 302A9qU6031953; Mon, 2 Jan 2023 04:09:53 -0600 From: Rahul T R To: , , , CC: , , , , , , , , , , , , , , , , , Rahul T R Subject: [PATCH v10 3/5] drm/bridge: cdns-dsi: Move to drm/bridge/cadence Date: Mon, 2 Jan 2023 15:39:40 +0530 Message-ID: <20230102100942.1828-4-r-ravikumar@ti.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230102100942.1828-1-r-ravikumar@ti.com> References: <20230102100942.1828-1-r-ravikumar@ti.com> 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 Move the cadence dsi bridge under drm/bridge/cadence directory, to prepare for adding j721e wrapper support Signed-off-by: Rahul T R Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/bridge/Kconfig | 11 ----------- drivers/gpu/drm/bridge/Makefile | 1 - drivers/gpu/drm/bridge/cadence/Kconfig | 11 +++++++++++ drivers/gpu/drm/bridge/cadence/Makefile | 2 ++ .../bridge/{cdns-dsi.c => cadence/cdns-dsi-core.c} | 0 5 files changed, 13 insertions(+), 12 deletions(-) rename drivers/gpu/drm/bridge/{cdns-dsi.c => cadence/cdns-dsi-core.c} (100%) diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index 57946d80b02d..8b2226f72b24 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -15,17 +15,6 @@ config DRM_PANEL_BRIDGE menu "Display Interface Bridges" depends on DRM && DRM_BRIDGE -config DRM_CDNS_DSI - tristate "Cadence DPI/DSI bridge" - select DRM_KMS_HELPER - select DRM_MIPI_DSI - select DRM_PANEL_BRIDGE - select GENERIC_PHY_MIPI_DPHY - depends on OF - help - Support Cadence DPI to DSI bridge. This is an internal - bridge and is meant to be directly embedded in a SoC. - config DRM_CHIPONE_ICN6211 tristate "Chipone ICN6211 MIPI-DSI/RGB Converter bridge" depends on OF diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/Makefile index 1884803c6860..52f6e8b4a821 100644 --- a/drivers/gpu/drm/bridge/Makefile +++ b/drivers/gpu/drm/bridge/Makefile @@ -1,5 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o obj-$(CONFIG_DRM_CHIPONE_ICN6211) += chipone-icn6211.o obj-$(CONFIG_DRM_CHRONTEL_CH7033) += chrontel-ch7033.o obj-$(CONFIG_DRM_CROS_EC_ANX7688) += cros-ec-anx7688.o diff --git a/drivers/gpu/drm/bridge/cadence/Kconfig b/drivers/gpu/drm/bridge/cadence/Kconfig index 1d06182bea71..8fbb46c66094 100644 --- a/drivers/gpu/drm/bridge/cadence/Kconfig +++ b/drivers/gpu/drm/bridge/cadence/Kconfig @@ -25,3 +25,14 @@ config DRM_CDNS_MHDP8546_J721E initializes the J721E Display Port and sets up the clock and data muxes. endif + +config DRM_CDNS_DSI + tristate "Cadence DPI/DSI bridge" + select DRM_KMS_HELPER + select DRM_MIPI_DSI + select DRM_PANEL_BRIDGE + select GENERIC_PHY_MIPI_DPHY + depends on OF + help + Support Cadence DPI to DSI bridge. This is an internal + bridge and is meant to be directly embedded in a SoC. diff --git a/drivers/gpu/drm/bridge/cadence/Makefile b/drivers/gpu/drm/bridge/cadence/Makefile index 4d2db8df1bc6..e3d8e9a40784 100644 --- a/drivers/gpu/drm/bridge/cadence/Makefile +++ b/drivers/gpu/drm/bridge/cadence/Makefile @@ -2,3 +2,5 @@ obj-$(CONFIG_DRM_CDNS_MHDP8546) += cdns-mhdp8546.o cdns-mhdp8546-y := cdns-mhdp8546-core.o cdns-mhdp8546-hdcp.o cdns-mhdp8546-$(CONFIG_DRM_CDNS_MHDP8546_J721E) += cdns-mhdp8546-j721e.o +obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o +cdns-dsi-y := cdns-dsi-core.o diff --git a/drivers/gpu/drm/bridge/cdns-dsi.c b/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c similarity index 100% rename from drivers/gpu/drm/bridge/cdns-dsi.c rename to drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c -- 2.39.0