Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5067999pxj; Wed, 26 May 2021 01:55:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGyrVEJQWEjIA1x0+dVxWjaLrM1d4f79puayqATKW56BP4EkCIw3mfBdKnqUV4CgQwvDvi X-Received: by 2002:a05:6402:1046:: with SMTP id e6mr36375110edu.218.1622019358631; Wed, 26 May 2021 01:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622019358; cv=none; d=google.com; s=arc-20160816; b=ss+c1Q/TrvPlz6VbMBTxnxui3YBT1mssEw56VC0ZRY7kyiDdluZGy+hLokg+7Abn5V YfT6ee5JQogu+StqmwgSegQ3PUfKPHYEimxAjnl2Mg0FNS4E0xwlxxAbTKTZHGzltKjP O44SfMDKFvGa3JmiChLT59L30WbondhZo9/peeUeUGyC1sVFlGoV7fBX/EJN0N2fkzvK WpehfwHp92btB7NdWH5uXHkxZAZPOVx6eL4IQEZllWR33DVct/fxsC1QXzCvZsR7swjh eALTFJY2EsZlXg0ZspbWc34uceqrJabsdn+aI/WKkryLkoHHSpZ7nU7TiBfOt/0HJlzy LzYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=j9adN5nGdDZSFrganTaiEQfPAMywWfWf/pCMql5ejgI=; b=ZAjL8/NpRUDhCTQyUUReVXnO0+KQDvapQPP3WX2JFXq4xLdYvQWk6xhSGWN9C4JuC+ 0mECnwkeVnELwbIoZkziu6dYkFWUY9w2E8pjHfTSxb8kaeRpEJCYDK+Z/a38ZLx/Dx3T 0QN0uVDIEu2v1mS//SFIu231T132hqtU/wb5fS808zzPZKO8h1J0uuArPLIi6kbdgMQl OARhoLxmdJQg9YMFrsmmWtIGmsboAuFBWsuVjFFh3SHf2h5HgexZow3AoT9wfWgIevTp WmKW++7nRPgd+MpTq4N72khQx9hLNMP95cx/ylh7gWAZDiPFjT/P9AAID16BbDBLyUc4 OU1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w21si15257955ejy.240.2021.05.26.01.55.34; Wed, 26 May 2021 01:55:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233137AbhEZIx6 (ORCPT + 99 others); Wed, 26 May 2021 04:53:58 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:40617 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232918AbhEZIx6 (ORCPT ); Wed, 26 May 2021 04:53:58 -0400 X-UUID: 6dbda7c56e614858aa7b1275ac30b903-20210526 X-UUID: 6dbda7c56e614858aa7b1275ac30b903-20210526 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1116983690; Wed, 26 May 2021 16:52:21 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 26 May 2021 16:52:20 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 26 May 2021 16:52:19 +0800 From: Rex-BC Chen To: , CC: , , , , , Rex-BC Chen Subject: [v5,PATCH 0/3] mt8183 dpi supports dual edge Date: Wed, 26 May 2021 16:52:16 +0800 Message-ID: <20210526085219.7582-1-rex-bc.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v5: Remove ddr_edge_sel and use output_fmts to determine which edge to be set. v4: Use output_fmts to determine whether it is dual edge. Rebase to v5.13-rc1 v3: Modify clock rate for dual edge setting. Add more bridge function. v2: Modify unused code v1: DPI can sample on falling, rising or both edge. When DPI sample the data both rising and falling edge. It can reduce half data io pins. Rex-BC Chen (3): [v5] drm/mediatek: dpi dual edge sample mode support [v5] drm/mediatek: config driver data to support dual edge sample [v5] drm/mediatek: dpi: add bus format negotiation drivers/gpu/drm/mediatek/mtk_dpi.c | 130 +++++++++++++++++++++++++++-- 1 file changed, 124 insertions(+), 6 deletions(-) -- 2.18.0