Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3603824ybv; Tue, 25 Feb 2020 04:12:32 -0800 (PST) X-Google-Smtp-Source: APXvYqwDBLbTJ+Ogsc2jaqChmO+EwJU7nsd8dS2ZgdEy2F5yUjA6qseip47D80guLKmGL9Ex42p8 X-Received: by 2002:a9d:4c14:: with SMTP id l20mr43861122otf.125.1582632752826; Tue, 25 Feb 2020 04:12:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582632752; cv=none; d=google.com; s=arc-20160816; b=CheHu+4Vn1qqvDGloi992DacgrwraM/pUWFsYePeOTzACBG2N/SG3RmBXYYxvEwJtx 6mtnGPgFgeCG1r+0yaIqNf63ZrwU+u4HVgGFkxkGkw6pCX4irZqkwWDvTkIym7fiN5py sxt9rbka5cEjSkfQXBtmNapsqSORMFj4PspW8c3uUojAqIMiO0OMFsZTVGjL/L1JF2W4 7ydFGi+kHKZBUcYarnbeM6IQ4CLuk2Rto8xOw3lihGC2JB0U9oG/X2zKTHksdA+xOrb1 zappwKUIkNo634RodhXMFxZqMuGy7ql/8RSyatnWAg7PbqvMCw9/T3JdNwH5RlmpXIkg RMhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XdO6DxCLv2eqDKtcLSh5mOGePmSad4AJHFN1yrqNlXg=; b=bMdoeZOvs3swIG1nXIHgdnyxQ1XkGZJ9rYm05KlegOSzGL8x0PasQIS0g8S9gtYtUu 6eXFmcuXutF37cVTQMnRdaecJqQPGxfJ4kU4k0pzjrEfkM35meQUhr3wA2BQCHPColqO 32P6FgZRbJkPKRjLycmNinhsbW5AAMTzjaY7rAKmpwGf17hi3+tAJp+1U0CoWf/1UIOe JcPiX32j4msXggSyJhQEnYUDufD/7gc3XlLTEaRe8BFHwbCjESRtIQWeO5wWKYfn93+P wZ/9rOEp0idhVlgGMowgYJI7QDNDm88tkEWC26o+sQq+Vdfds43kgR0BjXn7v92sOf14 F6Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=R8XRv+fM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si5262094oic.34.2020.02.25.04.12.20; Tue, 25 Feb 2020 04:12:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=R8XRv+fM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730379AbgBYLry (ORCPT + 99 others); Tue, 25 Feb 2020 06:47:54 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:59945 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725788AbgBYLrx (ORCPT ); Tue, 25 Feb 2020 06:47:53 -0500 X-UUID: 9bb78951937b4b45aeef237ee2988633-20200225 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=XdO6DxCLv2eqDKtcLSh5mOGePmSad4AJHFN1yrqNlXg=; b=R8XRv+fMDzvu9Wjj7wkss2/zr1Oj8fbuWiunL8Cj2WHl052rtl0dLKPqLm+/p4+p4555Qb2AK9e09U8v3mFvhCsZBOmW2k807pUpzquymz2sEfVkLYOtprKOfdFfP8lNtFZPpHHxC/r/T7VYOThpXzHbBKb/6qcf8nthpah5YzI=; X-UUID: 9bb78951937b4b45aeef237ee2988633-20200225 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1840605644; Tue, 25 Feb 2020 19:47:41 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 25 Feb 2020 19:48:16 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (10.16.6.18) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 25 Feb 2020 19:46:20 +0800 From: Jitao Shi To: Rob Herring , Mark Rutland , Matthias Brugger , Daniel Vetter , David Airlie , , CC: , , , , , , , , , , , Jitao Shi Subject: [PATCH v2 3/4] drm/mediatek: add the mipitx driving control Date: Tue, 25 Feb 2020 19:47:29 +0800 Message-ID: <20200225114730.124939-4-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200225114730.124939-1-jitao.shi@mediatek.com> References: <20200225114730.124939-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 99280E93026C520557BB989933A6DAE48EB4CE48DF3A64BA3B1611BB93E08A7D2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkIGEgcHJvcGVydHkgaW4gZGV2aWNlIHRyZWUgdG8gY29udHJvbCB0aGUgZHJpdmluZyBieSBk aWZmZXJlbnQNCmJvYXJkLg0KDQpTaWduZWQtb2ZmLWJ5OiBKaXRh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