Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3349762pxb; Tue, 20 Apr 2021 06:29:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWcqIy54DqjFLHOOKknzv8ZGQezK3+QKUwHdxteY9tKIXSKqD3ITGDtWVbV3EfzHSRHFe4 X-Received: by 2002:a17:90a:bb13:: with SMTP id u19mr4912909pjr.96.1618925353764; Tue, 20 Apr 2021 06:29:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618925353; cv=none; d=google.com; s=arc-20160816; b=I1aofBX9Z3Ls0jkqzRbU+UwXVbGQZuXC5QzToyCX1IOUtiYA0c+Fb+F2WNssHNsCJs PkWiV8GSYD9s3PA1Vee5E1FKl91kQUuUpkzknCJaxUrX2pWEPK0jQPOqb3vK7DXi5WtH knEE5IbVoHTR4vlFSXnGiiDsKlKm9D1JrCi+MHJFQMAbuN0Zj5YFduvLCz8CFjpWp+x/ sR7LM/hN6yA3xJRyPNJH3LUazotqDpenyW87OEhNHyVY3+izVNe6PaS4IhPb6bqkora0 JBAot7mXd6PB3vwAeQX33+1i6nesbL5Y2zX4M5+dp4gCf8vTIOqqpYBC2oOt2W9XYRwl b6iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=x4PC10VWjynceWQKGlyruq1xHVfMHe0q+ks95eUDcMM=; b=uHVTYepJRAUxUfRcxdRYPMvLvsQD8aNgIRc/eSrTXtbMyiJv32cEE17+Rlkntp0uP+ GAN7asHbr8JqgY5sxg+/iCyab2URGCi+n88AhQtre0JmaEPkQwbm2IkziPfMJQs1vtqC 85ZZ6PQdNyAp123MrMz1bZf+TsV17fk7zQKHDVi5ystUUCRw21PeF/ApcZl0vcIkn59A i5AJY7LYkAa25LtZIYhGMKZWBC9EVBtPnyud7GQXxQMu6OXobs9iydzltegtIzy7bQ29 swYCHYm79f+Gv49aVvktvD0ucxuc8r4Irg6dU4GJju2xunEWbewAUTLkFS3HxiZDUqEU msQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=h4Amvf4z; 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=pass (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 s25si2427782pgq.532.2021.04.20.06.29.01; Tue, 20 Apr 2021 06:29:13 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=h4Amvf4z; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232536AbhDTN1R (ORCPT + 99 others); Tue, 20 Apr 2021 09:27:17 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:13776 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232524AbhDTN1N (ORCPT ); Tue, 20 Apr 2021 09:27:13 -0400 X-UUID: 959f53c016c34ab6838cafa57f8b35a2-20210420 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=x4PC10VWjynceWQKGlyruq1xHVfMHe0q+ks95eUDcMM=; b=h4Amvf4zV4EtMkX2uOL4XqdQaDatxwvRwb5ngk9VPSOOCnHO5ReevrLdvhAn5RpAgTGbB5wpolNxmbFt+WEr/9H2fsGIk2bu9IoBdpwuMGd208bbXNW7Etcr83p6wkRXEVwqERMWhDQH5gSKCjU6igqkGVGEemsietuXaU9M0dQ=; X-UUID: 959f53c016c34ab6838cafa57f8b35a2-20210420 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1691856229; Tue, 20 Apr 2021 21:26:37 +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.1497.2; Tue, 20 Apr 2021 21:26:20 +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.1497.2 via Frontend Transport; Tue, 20 Apr 2021 21:26:18 +0800 From: Jitao Shi To: Rob Herring , Mark Rutland , Matthias Brugger , Daniel Vetter , David Airlie , , CC: , , , , , , , , , , , , Jitao Shi Subject: [PATCH 3/4] drm/mediatek: fine tune the dsi panel's power sequence Date: Tue, 20 Apr 2021 21:26:12 +0800 Message-ID: <20210420132614.150242-3-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210420132614.150242-1-jitao.shi@mediatek.com> References: <20210420132614.150242-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: DE26EABE28240C1980E352A0A7E176B5B54C70B4B01E7B5C108E2A0C6A821C082000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkIHRoZSBkcm1fcGFuZWxfcHJlcGFyZV9wb3dlciBhbmQgZHJtX3BhbmVsX3VucHJlcGFyZV9w b3dlciBjb250cm9sLg0KVHVybiBvbiBwYW5lbCBwb3dlc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