Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7266130ybl; Wed, 15 Jan 2020 19:06:59 -0800 (PST) X-Google-Smtp-Source: APXvYqzu3ao+2IkE6rUvmaX3Wr/BZPtBN+9LPASHLWjAxAjBdekmji+1pRQduXiFm7OXF0tvowGw X-Received: by 2002:a9d:7616:: with SMTP id k22mr374235otl.364.1579144019628; Wed, 15 Jan 2020 19:06:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579144019; cv=none; d=google.com; s=arc-20160816; b=Kqs3LymrhOzEKkXM+1KJD9ERDe4c68Loh4dq3A+qJRfVxrsJNtwhXWqFUhWm24jXB4 RQ1q6ovDq1jjutdiWFOvOmYp2xzGVYdPYUBzB0Y2tO+D4HDWvAjnMhceQATVxYNnm78k jWxew0FwCSuepO13hSKDHBLMg0KN92tfatZsXvUsHjVtaOp9oWGlzTbfbr0Ujjp1p/JV S2n5d9nlrGH1PvoFjLujymbtvqXZZ24LeAKbfrrhOjRoL6CTdKNgydB5QjEPpiHVBPra OiCyJRgvyY6RJCNgrZv0b5SdcKfUfCy0e8SzKSKb9PPFbFQCG/7FAtopagY0pybbqyx/ xqlA== 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=MTiGfwzTQOTSiMEKIgrO9Uq1SZiNUa8/1xTYDCyjEefDQX8sM3qRWESWEUfOcBNpzF 555shcG8fuNP9hQUr4mHGuKvjBE2RR+nqHBu8va4wkRebLuRAF3T2f4ZqjC74+2z5UUF r40+pMVagSA/TSE5EkjlyZt6HZ+cbHVTXQmMVodcv9QL0NpROHy/FheCLz+iUIwusboY aQTJhGlDeaD15pReTjNaDjuVn/iNfIdFH2rhFOUu2ljaHcoV3zWlvkJnIfzgf1cFTTXR OINyAJOivJe9spl7J7Cd7BmNfEJ7s4WorNIWUWIDZSBII9GZ32t2xM9R5sV7dfT617FA vxXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Xfmj0Xqn; 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 a9si10712129oid.132.2020.01.15.19.06.47; Wed, 15 Jan 2020 19:06:59 -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=Xfmj0Xqn; 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 S1730779AbgAPCP3 (ORCPT + 99 others); Wed, 15 Jan 2020 21:15:29 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:8509 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730718AbgAPCP0 (ORCPT ); Wed, 15 Jan 2020 21:15:26 -0500 X-UUID: 8ecbccea5b964b5987dbcbe8da4e84ab-20200116 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=Xfmj0XqnyVnPUnXKOcXQoDdQazli1e0cvGmAGK/uHUMZ3ZlMEBmETiEsiAdheYZaLp/5V2LMc0mkQnGq/zsIkM0H6+v74yor+pGO2xIWcyMiiEkuQ68F3kPbG+GR0UVyN+bWvfQI/mCU7Ak0g9PsAmKWTYCWmYdsJC+dQrpXt8Y=; X-UUID: 8ecbccea5b964b5987dbcbe8da4e84ab-20200116 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 65801640; Thu, 16 Jan 2020 10:15:22 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N1.mediatek.inc (172.27.4.75) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 16 Jan 2020 10:14:15 +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; Thu, 16 Jan 2020 10:14:27 +0800 From: Jitao Shi To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Matthias Brugger , , CC: , , , , , , , , Jitao Shi Subject: [PATCH v9 3/5] drm/panel: support for auo,kd101n80-45na wuxga dsi video mode panel Date: Thu, 16 Jan 2020 10:15:09 +0800 Message-ID: <20200116021511.22675-4-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200116021511.22675-1-jitao.shi@mediatek.com> References: <20200116021511.22675-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: A9E163718BE7D98B910CE3EDC929C20F035A8CDDEAAD2CE69E028F97959B0B892000: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 QXVvLGtkMTAxbjgwLTQ1bmEncyBjb25uZWN0b3IgaXMgc2FtZSBhcyBib2UsdHYxMDF3dW0tb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