Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6516861ybl; Wed, 15 Jan 2020 06:03:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyoCJ4IYxtbUUMHyACDMPGK+iXGzUmv5OWpRsdrxeX5dMh5ATUh2qkZCtIZJCREfAHE465w X-Received: by 2002:a05:6808:b1c:: with SMTP id s28mr21401681oij.2.1579096995856; Wed, 15 Jan 2020 06:03:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579096995; cv=none; d=google.com; s=arc-20160816; b=xP67v73exCbdGJSrqc83p9hO461cE1uyXOpfhHKIvMgdQU0eASBsJXMis9nyiYveK+ OH9tsnD9T4lXClsWSjUW4IqDXTkHyUJ5ukKeqCiIFI6GYeYqo4imRMBpUegRZXIwjMXb nv4dvS/ZSxgb6EVy5+IAPJi8OPBKRJSWYYCPSz5SkrxU/Lx+M5+vRF2yCww/MYx8mSWD i/pjI9mWYM9HQXJkOp5EiUNx+U9bQN8/9N6dQBV2Fi9qlpJR0sLW7gEomWGM0Xmv058T 2MHSVFE8Z+EBke6V5ylaI/ZxmcbhVCkKuD4xEj9j9cqK0QccFsG9HynABp3t6vBBsdrH 2Nvg== 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=4g608X1G+j+xv5qeMRfbQHl0wdhs5Wf++CEUgpvOxNY=; b=L8A6fsmQbrd6fmrI7kYDoFG/VlGUBTbnXJ99ojPACbDChUJFJcxIKvR4giF4lyzcuH r3dUzKuR26waWqC5d6ZbG6fjEIzbOVFbABwxUobTzk92zjofg2aovZ1NaG875juDYALx o5mqMWQ9O3/EK9I0gzoGxMH00ihc3YYHrKAYO+CYNT/yr1G+JfknfPTbYzf1mvOx4fc+ 8yeOl5N50QoXSnthuSW+/dcciajzppfufyXMCPfilHUQTmb0WFbK6Ng0o2au1/Gxqhov xxwSrgNv4hKYH6rlcoeDSTXySbQ+GRSwKul1NsCD5frLPv+lNiofzTKwT0x1cID6BrM4 eCpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=bx0+WAFt; 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 j19si9036072oij.51.2020.01.15.06.03.00; Wed, 15 Jan 2020 06:03:15 -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=bx0+WAFt; 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 S1730349AbgAOOBp (ORCPT + 99 others); Wed, 15 Jan 2020 09:01:45 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:32102 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729751AbgAOOBn (ORCPT ); Wed, 15 Jan 2020 09:01:43 -0500 X-UUID: fcbe6c9ffa7b46d888e2fd5a911db483-20200115 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=4g608X1G+j+xv5qeMRfbQHl0wdhs5Wf++CEUgpvOxNY=; b=bx0+WAFtiAxz7hEWF5dsQjem9CDTg6vfejN48mLXtL4ACCmJxOtblZhvy6SP5ZGKXG5YWW2lL95U7QmhLzdpOffkoxUaguj9W2AFnba9S1r2kRnNBTEWpoEPygPRKG3eynhiaa+y4GjTSYI7P98389LQjPQo1DEwu76gZkKkiTg=; X-UUID: fcbe6c9ffa7b46d888e2fd5a911db483-20200115 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1318032820; Wed, 15 Jan 2020 22:01:03 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS33DR.mediatek.inc (172.27.6.106) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 15 Jan 2020 21:57:48 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (10.16.6.18) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 15 Jan 2020 22:01:12 +0800 From: Jitao Shi To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Matthias Brugger , , CC: , , , , , , , , Jitao Shi Subject: [PATCH v8 4/8] drm/panel: support for auo,kd101n80-45na wuxga dsi video mode panel Date: Wed, 15 Jan 2020 21:59:54 +0800 Message-ID: <20200115135958.126303-5-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200115135958.126303-1-jitao.shi@mediatek.com> References: <20200115135958.126303-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 0CE60C29589A534C1C2C5975AC573A3481789FB9247A42479E8F8FFA2086C5172000: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 Lg0KVGhlIG1vc3QgY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