Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3545360imw; Thu, 7 Jul 2022 03:43:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uT3gKhBolh9+FzYnyrRFMhnIxpoI/dmGzJsXQX6veNl9kJvMnMuF2ydCG3+7WIdbZnJlJl X-Received: by 2002:a05:6402:2788:b0:435:d40e:c660 with SMTP id b8-20020a056402278800b00435d40ec660mr60560232ede.424.1657190639310; Thu, 07 Jul 2022 03:43:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657190639; cv=none; d=google.com; s=arc-20160816; b=bIg1qUdCJIPgB7ezynSWmuD4nGXOD0ezL9urjBhlfhhfyKbWmRqRa12RtXwsgojD0R 8WUQQ/JWWbWqUHM+UnD0vDHf3hJStTiKku5YxwKcl2twi5BP/IPmRtUEnVJLwEo5Uz1M ah5jKzftLPcoVc2XNZt8QI0Ln56sJGpm+ZnMwE9/HE9UhGDLgayCQwGrF+EplGk5EVi0 +b/HNY9ijmrRd9SeWpBhJJstXb9u9BOH2egw7y39QM+/pPb4LUTAd9eM5rIHzY+M8N43 ZegLCgrBBBdy6haBEL0Nh3jLCVzEAQILLCySMYttPVFbHnqRiQyaLrTbL0MjPWotG1/8 aNXg== 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=HyNcq5OTWjAONas7vzRflqI1ayM7mjhMDjST8p+eNTs=; b=0M7IdGHmv09/jqs2MYp+aEt9G/a8s1ZfFvRUBEV/qvzLWUe+q3YZ/uL1hPnQKAQsCm QW/rnlQhYBZ2uG+nBysLN5I7OE7YuQ/G67qFxakHkrtFvopORPm396PO7LzUOE7CKsPV rhuycj37BWOuFQuY5paRKgyCQgCk6LbSnrwwZPsQrFSdZBFHGV9xDAvvAXGzZFh0fdi4 vRKH9w6CpgQb5CaGF6oWB05UDL31yj0hYQQfSFuZekHHiL9EEuru4MzTQcQ03C611ifg Y1mp3j0HsTjXgV9INW2NAdLvqw4D/MBOLYhgm6ykdFpUQOnsdcl7Rf/rzHQAVi8/2Two rYyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lmzNHfp3; 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 hu9-20020a170907a08900b006fefa6b439bsi47128181ejc.573.2022.07.07.03.43.26; Thu, 07 Jul 2022 03:43:59 -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=lmzNHfp3; 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 S235350AbiGGKQw (ORCPT + 99 others); Thu, 7 Jul 2022 06:16:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235300AbiGGKQh (ORCPT ); Thu, 7 Jul 2022 06:16:37 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D5CB4F673; Thu, 7 Jul 2022 03:16:34 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 267AGCgw096887; Thu, 7 Jul 2022 05:16:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657188972; bh=HyNcq5OTWjAONas7vzRflqI1ayM7mjhMDjST8p+eNTs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lmzNHfp3D9a4cFT2wnvneoeOogx0rSE6xNU2OUzgaLPWB/z3btRYQ7CHROsm1LVSR YbM5IOOj5PXEY0Tn1BzO1Gk7O1Fdd93DAIsy9x8gRCllMYWWhvMbTjSXkY+OPBqpt+ jwQXQda6lu2om+ND8y+OHBEddhWlNLfaHucif7Vs= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 267AGCIJ108069 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Jul 2022 05:16:12 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE109.ent.ti.com (10.64.6.30) 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:12 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE105.ent.ti.com (10.64.6.26) 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:12 -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 267AGB4F126660; Thu, 7 Jul 2022 05:16:11 -0500 From: Rahul T R To: , , CC: , , , , , , , , , , , , , , , , , , Rahul T R Subject: [PATCH v6 4/5] drm/bridge: cdns-dsi: Create a header file Date: Thu, 7 Jul 2022 15:46:00 +0530 Message-ID: <20220707101601.7081-5-r-ravikumar@ti.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220707101601.7081-1-r-ravikumar@ti.com> References: <20220707101601.7081-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=-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,UPPERCASE_50_75 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 Create a header file for cdns dsi and move register offsets and structure to header, to prepare for adding j721e wrapper support Signed-off-by: Rahul T R --- .../gpu/drm/bridge/cadence/cdns-dsi-core.c | 446 +---------------- .../gpu/drm/bridge/cadence/cdns-dsi-core.h | 458 ++++++++++++++++++ 2 files changed, 459 insertions(+), 445 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..cba91247ab26 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