Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2717087pxa; Fri, 7 Aug 2020 19:57:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo3gGUbHhObAQX/8DQ7ZUWK4kbHjaA2N5HVw+H+5LT3xWi8fdREfPtV9A8eX6Gx5ViVS8u X-Received: by 2002:a50:a6d2:: with SMTP id f18mr11388255edc.374.1596855470516; Fri, 07 Aug 2020 19:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596855470; cv=none; d=google.com; s=arc-20160816; b=efhm3YriGkNCJ4DsFHOTDMnJ+YpOCpOssMqSDafXObytKXLLHDy4J+LXO/SCxSEelW tyGXSe64sPORmq0p8Ax5CZ/FDekHYgVMpYmjv8CAufIx9dGQ7uE7RsAauuHMJRQlxzC6 nB8gme2KL45GolPUU04gmAAV0gu4aDufr9sB9fmV5JHslcr/cWr1AEVGQaRQI4DjjPni PG/kEWN6QvNiTaI5cT4EAByJ5H0qyvC6G/woAAXXtfljPVUi/NaTiuy+uvFez3QEQeGO 00Rkc9t6gweirzvyGsdA/9xK26joePbGIwHUdC1hc4U/vs8qfF3AxjfFm4qXT91I2JB6 f15w== 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=QiAgE+99D4ghsB9y3aaMC+UmXBsUodXfCyFZn7XNm0k=; b=pyNDErqCyPa1tGmspvO9IGYrEvUrZzHdsYS5qAjlAUhYw5mj1x4RHwYbftpgAgYWbG +nVrFmxbeBBHRcid4++1J+eD+iYEX9ZSE4MdYHewXng3NhDz8p5V3Bru/eaBzIeuIaR+ 8Dry5vSyD89MeBAgYdQsXWKuw7z3Tdyss5airhpxqitxyW8noVIDxT++5kMDc8t/zSBr 3dOz4qNFi46WkUkad2C4YPX+2obixrkwrWtQHUk5KU44iQK9otWHYzdkc04f6hfkzwXy s+UKhKZZL1epy+SBcKcbS/c2V8bnzIoUZyganz4xSFEGfwTqKfZXr4sbS/lvrK378Rax ZOag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GLZ73EU3; 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 qc15si6398827ejb.658.2020.08.07.19.57.27; Fri, 07 Aug 2020 19:57:50 -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=GLZ73EU3; 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 S1726871AbgHHCzE (ORCPT + 99 others); Fri, 7 Aug 2020 22:55:04 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:31249 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726402AbgHHCyw (ORCPT ); Fri, 7 Aug 2020 22:54:52 -0400 X-UUID: 104c8311a918460f813fb8f2a8616201-20200808 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=QiAgE+99D4ghsB9y3aaMC+UmXBsUodXfCyFZn7XNm0k=; b=GLZ73EU3Nkz7GShLsVOJsib6cySOe+7j5VNsn8nj2I3zBbxnK02ULgx7uHJurOUjytsNuBkyxGBcKTJsc+eEdGZQNsi5qTgs7UVzOubfRysbLv4j/qqA4NQ905frj9Q+iFnrxPO9+McPRRSCB6p2s2HXWGbEaDq/mpE1EW8oHkI=; X-UUID: 104c8311a918460f813fb8f2a8616201-20200808 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 775602181; Sat, 08 Aug 2020 10:54:46 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 8 Aug 2020 10:54:44 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 8 Aug 2020 10:54:43 +0800 From: Yongqiang Niu To: CK Hu , Philipp Zabel , Rob Herring , Matthias Brugger CC: David Airlie , Daniel Vetter , Mark Rutland , , , , , , Yongqiang Niu Subject: [RESEND v7, PATCH 6/7] drm/mediatek: add support for mediatek SOC MT8183 Date: Sat, 8 Aug 2020 10:53:50 +0800 Message-ID: <1596855231-5782-7-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1596855231-5782-1-git-send-email-yongqiang.niu@mediatek.com> References: <1596855231-5782-1-git-send-email-yongqiang.niu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 VGhpcyBwYXRjaCBhZGQgc3VwcG9ydCBmb3IgbWVkaWF0ZWsgU09DIE1UODE4Mw0KMS4gYWRkIG92 bCBwcml2YXRlIGRhdGENCjIuIGFkZCByZG1hIHByaXZhdGUgZGF0YQ0KMy4gYWRkIG11dGVzIH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