Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1060189ybl; Sat, 18 Jan 2020 17:48:12 -0800 (PST) X-Google-Smtp-Source: APXvYqwpG/Us6BbRaPkhS5y2R9ZK1FpF232NyiY5JIgL8Td6BYUZysELUDsOV01dCmTwAbEiOFa7 X-Received: by 2002:a9d:6251:: with SMTP id i17mr11602553otk.14.1579398492269; Sat, 18 Jan 2020 17:48:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579398492; cv=none; d=google.com; s=arc-20160816; b=olEmTxH4Q8kAPXqeP5ikMSnMRVEZPSD7ISTsy8klQSQ1r3auOSGb/ZWmmbp3HQXomf XERWZQUPFwghgsCrTFt4XITNNWWeIH8TnSARqHGuxd/dDBDR96dBZFIuDjhQ9c+9jjOr 5jV7nqLHxyi5BpIi0krZsMnHns/y6OCyDWM1bNNRkXRxTkvohXX/kfJ4BkuDPLSW7icN t0RBftx3jrEmR3D+TT/BMqaRvcS6boawDlvVB559lsYcGNHvNu5d1nytz358nQ2iOitW NxIBRmSReM89L404ADzq3QGIR4QkhkibrRQ2R+tY8N5eOz66SORZzsiy/b4CwndQ9eK8 8WUg== 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=ivEcPT8iEpAX9W6/VujM8EVm+W1Y9SnJ0dVmMcBNlH8=; b=KbcWWdyWp/K5QHqghjZsBCJpOULRlg8rwc1fbLtjYWVwAAy8OJbsHM30QgsjXZ2e2J KlEclTm4qeP9qmZYy6NLwXQGn14fU4J5rdB26n5QRmm5r04vY4p4qFEUh+Jzv0AEkPQc bajZ+Q20z35S6okWt3mIzhAWVb5gcZrW+85pPrwpNGwNs0nClYn8LBhxAvp3EIs3TVyd P0e5SBfLcxLcVZRYxDZv9a2smogMVwqiVXJEFWxPoGaxVXFmj4po4mn+f4eWeyPYyDqg iQEuHyY1OguETV+PhMRkESM4FEk20DSiFStkkf0pTKksMzs/Tgy5KT6OlAUxOiBWuPsu YcZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=JuFvvO89; 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 j24si19273474otk.76.2020.01.18.17.48.00; Sat, 18 Jan 2020 17:48:12 -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=JuFvvO89; 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 S1729011AbgASBqU (ORCPT + 99 others); Sat, 18 Jan 2020 20:46:20 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:17002 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728847AbgASBqT (ORCPT ); Sat, 18 Jan 2020 20:46:19 -0500 X-UUID: 2224402434e14e11985b2fb348685f06-20200119 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=ivEcPT8iEpAX9W6/VujM8EVm+W1Y9SnJ0dVmMcBNlH8=; b=JuFvvO891DcZ8n2lL03BjCVmGunkGTzmVUznn4UsaKs09upEYnL+QRPJWBiiB2dNFUTEU+BJlu//RqqxBD6mX8FMxRJ6o0raK7R3UEPaERKaaYUxeCR1h1Ulb6GTvitsDmHqiYO0bvHC6Q5di9a5UF40MVkM0sVB0rDPj/HErTM=; X-UUID: 2224402434e14e11985b2fb348685f06-20200119 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1726624286; Sun, 19 Jan 2020 09:46:12 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33DR.mediatek.inc (172.27.6.106) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 19 Jan 2020 09:42:38 +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; Sun, 19 Jan 2020 09:45:02 +0800 From: Jitao Shi To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Matthias Brugger , , CC: , , , , , , , , Jitao Shi Subject: [PATCH v10 3/5] drm/panel: support for auo, kd101n80-45na wuxga dsi video mode panel Date: Sun, 19 Jan 2020 09:45:39 +0800 Message-ID: <20200119014541.64273-4-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200119014541.64273-1-jitao.shi@mediatek.com> References: <20200119014541.64273-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 8E08A057F485E67EEFF4661343877C52EE854D1E48A879BAE38A304BDE365EA22000: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 QXVvLGtkMTAxbjgwLTQ1bmEncyBjb25uZWN0b3IgaXMgc2FtZSBhcyBib2UsdHYxMDF3dW0tbmw2 Lg0KVGhlIG1vc3QgY29kZXMgY2FuIGJlIHJ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