From patchwork Tue Jan 3 10:19:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul T R X-Patchwork-Id: 38352 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4538506wrt; Tue, 3 Jan 2023 02:22:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXsvGhDgfCFFCgZRJf67iIEh8ezinY0ZRIaOKCpxXPuie786YJz+YvWt/CJrYt2Sg1XcM00k X-Received: by 2002:a05:6a20:548e:b0:9d:efd3:66ca with SMTP id i14-20020a056a20548e00b0009defd366camr64362311pzk.17.1672741364474; Tue, 03 Jan 2023 02:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672741364; cv=none; d=google.com; s=arc-20160816; b=qsdLitiSSwHr5W5vzGbW0DFlmiJmfeBNc8aDeUhAOHMOf06O5XfABbvDjailLQEYit n8C6G26IbyzyYFA+dV/1liC527LAsgp6nBiTszjPXKPCbH8ZDbqCcUMn9UJHOohyb8LG rqv2FUF9dVj0c1Ey/yzaasDAdbTaDzoUt+P5Q87qcsQhCxpg6uq0zyXj0/EZkxiWaLOm lo+gyXQWies7hil63Sf0JxOSliXkxPK7lOUgrrJY7kUAFlM/7qNttfOYjIZ5QWaK/PT7 JLsMkHRIcISuyq1ZZCV6kcD0u0vU5+s3U63LuOA9H4y+RXAiWTbzpV5j1AOU+r2D98wM LTBA== 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=3GQKbMmlwLTURi8g3PJtXSNB0nvr/fid1qs+DsbMEY8=; b=JBadAKiHkHMRc3vjiSlS5OgevxL79yUD1IryFSZGPt9u1I32Di7B0ubnECPa2bkYgk IVpHQQTvyVoSpMHcWwgnaUFLCocdftiBdn+5RJT8l4UeJkRhBt56Bv06S6I+3bJd1OeX eKpR3jfdxjnXIdXwexiaFyTH0D9p/CtgCH50CfH7sfLfpOl33BtBfSEpbLcUeiSNMCqX FhElizbOvcnSR7U6hniQ4ks2UDRYSNtw+QkBmz5R1guosFJo97gOuTn0PiAUIYJsU1eJ wMrYAWWfC40qrG9TK+uraBhEOwXDrXDH+7BdPk79dH8W3L6ncIErdxAptphU2ZRz/oVq DDvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xbb4sSBL; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u3-20020a631403000000b0045f7fc4b812si33634925pgl.295.2023.01.03.02.22.31; Tue, 03 Jan 2023 02:22:44 -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=xbb4sSBL; 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 S237338AbjACKUm (ORCPT + 99 others); Tue, 3 Jan 2023 05:20:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237333AbjACKU3 (ORCPT ); Tue, 3 Jan 2023 05:20:29 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02B41F5A0; Tue, 3 Jan 2023 02:20:24 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 303AK5l7130193; Tue, 3 Jan 2023 04:20:05 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1672741205; bh=3GQKbMmlwLTURi8g3PJtXSNB0nvr/fid1qs+DsbMEY8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xbb4sSBLrDeNhAs/oDd6yOA6ungEuPasyn8BgTnAwSL6JF0FqVkdkdru4uYcPAZ6t 4RLD/NbTobWvpdRAUocp35kmZvVnGnmxEXVFzS9kWAZ546NZFNfDM0reFGp8YyPJOU KReSoodju6pCwCU+iE341cPOyOclq5xSBIHTiw/8= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 303AK5K7036402 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 3 Jan 2023 04:20:05 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 3 Jan 2023 04:20:05 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE109.ent.ti.com (157.170.170.41) 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; Tue, 3 Jan 2023 04:20:05 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 303AK3NB004362; Tue, 3 Jan 2023 04:20:04 -0600 From: Rahul T R To: , , CC: , , , , , , , , , , , , , , , , , , Rahul T R Subject: [PATCH v11 4/5] drm/bridge: cdns-dsi: Create a header file Date: Tue, 3 Jan 2023 15:49:50 +0530 Message-ID: <20230103101951.10963-5-r-ravikumar@ti.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230103101951.10963-1-r-ravikumar@ti.com> References: <20230103101951.10963-1-r-ravikumar@ti.com> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753996449011275890?= X-GMAIL-MSGID: =?utf-8?q?1753996449011275890?= Create a header file for cdns dsi and move structure definations to prepare for adding j721e wrapper support Signed-off-by: Rahul T R Reviewed-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Reviewed-by: Andrzej Hajda --- .../gpu/drm/bridge/cadence/cdns-dsi-core.c | 48 +------------- .../gpu/drm/bridge/cadence/cdns-dsi-core.h | 64 +++++++++++++++++++ 2 files changed, 66 insertions(+), 46 deletions(-) create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-core.h diff --git a/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c b/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c index 20bece84ff8c..058349bfeb67 100644 --- a/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c +++ b/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c @@ -6,10 +6,7 @@ */ #include -#include #include -#include -#include #include #include