From patchwork Thu Apr 29 04:16:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmV4LUJDIENoZW4gKOmZs+afj+i+sCk=?= X-Patchwork-Id: 12230435 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E763C433B4 for ; Thu, 29 Apr 2021 04:19:57 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E095661450 for ; Thu, 29 Apr 2021 04:19:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E095661450 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=o2QIIxRe5UpdWJHZ+6rjYIfZrnvCMVk5CgXoXp9t1To=; b=LqwG90/9VsqXNUZ7vXoDm5VgF KEPQQGf1Ky+YnkuckXnWNbBVzhBVk9wvOl9AXOjAOOmCr83PLFT8tup69Yt7wwXdqsg0c342kbJk6 tcQluRrLbjDtN+UgAidR4lI72TqNUroS7uw3mVtO1f8+/qGEaR3Ytj0P45r96SbsBt4NScsV1FopC L2ICKVU/iD0bRTsDkIbl+KmyXb4Tk8xNeKiwLcMMYO5PWxcAWRneDsAWMs+uCr2sdB/+tC4xCPnoE 55m1Ovh3emmGeA9FswmMgmgRM3cw6q/hkZVCaeZHz/kXWceAPoHVdih9mXUvU/Gg62yCQNZrMQWaa cubx1JvQg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lby76-004qaO-VT; Thu, 29 Apr 2021 04:17:21 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lby6i-004qXI-U0; Thu, 29 Apr 2021 04:16:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=gdbIqgi/2OFG3TkM7HUsvCi6RxrQlCjbtiuCLzRxmKs=; b=tQQiLm/AT7d2w40a71mqfcsB+O B/i1uhjGOGfFcFYVRPuh5DIms+DI1jrY2f1AQBDshYTeS6wMsJr+ZLRFNUZhHZaBQl/SQUces3ROL EAcZ0Sp1Wkakb/DhtlbuEW0NEkF6dkNw0htFwYkfrEk8Vo61UaV/vZrJ3qQrj4LW62zEf00usy1SO T0fGpQ9gl0p5e7FoV/kpri8gWKx+bknwXG4Cg5kUMXSsT6cMO6msHshqmuSthsRpD36HYo1fDZ+uu DGHLwLgdbNXIRPKno+H3ABrfmxJwXxWbOwDs9tVWgmAgEMvlYcV+9LI6Dyd7S3XyyVhmOPn/beMI1 m7R0bfgg==; Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lby6g-000MDJ-Ig; Thu, 29 Apr 2021 04:16:55 +0000 X-UUID: 37a4a30ffaa142f3b0ddc4089ceea756-20210428 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=gdbIqgi/2OFG3TkM7HUsvCi6RxrQlCjbtiuCLzRxmKs=; b=kxuPqp9SCzdTxoGtwuaux3tAog/B/Gw9lL6ETvWIS+orFkR5SuwJ0oCnwq1/9wmuAOwVGfaja6bC7EutszCPT51cGkmv+Xrsrsl9QUZ3sl2iIPa0t9+cbEOMUbDBxq7jC72cpW2iQSjJ5pQw7px+OEvNFcJvtD7itCInJct9uZk=; X-UUID: 37a4a30ffaa142f3b0ddc4089ceea756-20210428 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 118769784; Wed, 28 Apr 2021 21:16:50 -0700 Received: from mtkmbs05n2.mediatek.inc (172.21.101.140) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 28 Apr 2021 21:16:49 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 29 Apr 2021 12:16:47 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 29 Apr 2021 12:16:47 +0800 From: Rex-BC Chen To: , CC: , , , , , Rex-BC Chen , Jitao Shi Subject: [v3 RESEND, PATCH 2/3] drm/mediatek: config mt8183 driver data to support dual edge sample Date: Thu, 29 Apr 2021 12:16:40 +0800 Message-ID: <20210429041641.11077-3-rex-bc.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210429041641.11077-1-rex-bc.chen@mediatek.com> References: <20210429041641.11077-1-rex-bc.chen@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210428_211654_629000_153494A4 X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org add dual_edge value for mt8183_conf Signed-off-by: Jitao Shi Signed-off-by: Rex-BC Chen --- drivers/gpu/drm/mediatek/mtk_dpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c index 79f3e83f40ef..c548780dd3a5 100644 --- a/drivers/gpu/drm/mediatek/mtk_dpi.c +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c @@ -691,6 +691,7 @@ static const struct mtk_dpi_conf mt2701_conf = { static const struct mtk_dpi_conf mt8183_conf = { .cal_factor = mt8183_calculate_factor, .reg_h_fre_con = 0xe0, + .dual_edge = true, }; static int mtk_dpi_probe(struct platform_device *pdev)