Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2416320pxu; Mon, 14 Dec 2020 01:34:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxuXtNdGHVAIBFIYXwT6HpqQIgzYAIXIATspu0xbN6OeYt2udxPxwBu7QlMvgblrnKxR3yj X-Received: by 2002:a50:8387:: with SMTP id 7mr5671297edi.131.1607938490949; Mon, 14 Dec 2020 01:34:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607938490; cv=none; d=google.com; s=arc-20160816; b=Yzj38YemzvKrWSbp3VkJsvRK2S7b0e71jXCxmpHreEfuLuE26BWPabKqw9bm7BZzBU x5bGcxL3j5Y6djTOAA5WnR5BHWuFNZ6pQz78u5TT6I9cnrrEbJTy/6ftcrEFRNk6NIzQ PUOq5CP9fs6GthM2Vgo4PXDZkyzl42KHBuzUF2dHqFG95UjwSoSKdsLsFE9nDyofn4P4 1lIkc1rsXo3jT3Xk+TNlltWUwC9mjCRDYRoDAG/zArx8NB+xJQTIiVB7S9UgZ3thTXc9 ffdntyow3Dca9XSWPUWnuSUKrHuOL+IYE7aj30yNZIbHe3Y4GsAA1BV3UocN+gTihPHU sn4Q== 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:date:cc:to:reply-to:from:subject:message-id :dkim-signature; bh=1yZEqxO2cnZFsAMkMD7O+YcfqSEG91GOKTLRptxYZvc=; b=TZwF+rDN8d+iBSnaHrPfCSJfaUik9U/ND0SJXt6gGucBIFflau51N+2f+DhYnIwvP+ CgDwR6YZlKu0JJdKpFVckBlw+qprMVzxeBPppbxslog1K1MsBgvb8ppk1ThzpWTdMt4r PEPhLqQz6/J5fBKnXdY7KQTsvLUmBcQSwVfJGqk1h0cCPmdGqxd3bYgpNGbuhKXj+a5H z5lb8T1/igwNSpGtoaKsr74cCiH/NoPaPtEjwteeo2hle2To/KQ0IiCxHBwtF3+cz98E VKmmDoqx9TZZuSjY5mj6CK+ArYribgSNZSIgupwYy5h2pSOwAVqVWDk8BFHzUeAGAXW+ K0pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="nUn/03jf"; 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 r26si9959820edi.245.2020.12.14.01.34.27; Mon, 14 Dec 2020 01:34:50 -0800 (PST) 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="nUn/03jf"; 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 S2436797AbgLNAkb (ORCPT + 99 others); Sun, 13 Dec 2020 19:40:31 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:52984 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730972AbgLNAkb (ORCPT ); Sun, 13 Dec 2020 19:40:31 -0500 X-UUID: 503347176dea40d7890ef66d253f531d-20201214 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:Reply-To:From:Subject:Message-ID; bh=1yZEqxO2cnZFsAMkMD7O+YcfqSEG91GOKTLRptxYZvc=; b=nUn/03jfELkLrzSp8hRTEkem7omiq6Gc9exBRy84BDywy57AlR/M1Dp3UkfgbGr1mhf+RNgd2nep3EtHB+wNbBsHVqIeLznOIbAHnJz9FPefgO5tDHstKsOUxSiimAFYGMJFfLBgzZzSUYS1qXkd3R6C2gZIeI269nf3h3udjEo=; X-UUID: 503347176dea40d7890ef66d253f531d-20201214 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 543559749; Mon, 14 Dec 2020 08:39:42 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 14 Dec 2020 08:39:40 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 14 Dec 2020 08:39:39 +0800 Message-ID: <1607906379.30306.2.camel@mhfsdcap03> Subject: Re: [PATCH v2, 15/17] soc: mediatek: mmsys: add mt8192 mmsys support From: Yongqiang Niu Reply-To: Yongqiang Niu To: Chun-Kuang Hu CC: CK Hu , Philipp Zabel , "Rob Herring" , Matthias Brugger , Mark Rutland , DTML , David Airlie , linux-kernel , DRI Development , "moderated list:ARM/Mediatek SoC support" , Daniel Vetter , Linux ARM Date: Mon, 14 Dec 2020 08:39:39 +0800 In-Reply-To: References: <1607746317-4696-1-git-send-email-yongqiang.niu@mediatek.com> <1607746317-4696-16-git-send-email-yongqiang.niu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIwLTEyLTE0IGF0IDAwOjAyICswODAwLCBDaHVuLUt1YW5nIEh1IHdyb3RlOg0K Pi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ZMX01PVVRfRU4gICAg ICAgICAgICAgIDB4ZjA0DQo+ID4gKyNkZWZpbmUgRElTUF9PVkwwX0dPX0JMRU5EICAgICAgICAg ICAgICAgICAgICAgQklUKDApDQo+ID4gKyNkZWZpbmUgRElTUF9PVkwwX0dPX0JHICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBCSVQoMSkNCj4gPiArI2RlZmluZSBESVNQX09WTDBfMkxf R09fQkxFTkQgICAgICAgICAgICAgICAgICBCSVQoMikNCj4gPiArI2RlZmluZSBESVNQX09WTDBf MkxfR09fQkcgICAgICAgICAgICAgICAgICAgICBCSVQoMykNCj4gPiArI2RlZmluZSBESVNQX09W TDFfMkxfTU9VVF9FTiAgICAgICAgICAgMHhmMDgNCj4gPiArI2RlZmluZSBPVkwxXzJMX01PVVRf RU5fUkRNQTEgICAgICAgICAgICAgICAgICBCSVQoNCkNCj4gPiArI2RlZmluZSBESVNQX09WTDBf MkxfTU9VVF9FTiAgICAgICAgICAgMHhmMTgNCj4gPiArI2RlZmluZSBESVNQX09WTDBfTU9VVF9F TiAgICAgICAgICAgICAgMHhmMWMNCj4gPiArI2RlZmluZSBPVkwwX01PVVRfRU5fRElTUF9SRE1B MCAgICAgICAgICAgICAgICAgICAgICAgIEJJVCgwKQ0KPiA+ICsjZGVmaW5lIE9WTDBfTU9VVF9F Tl9PVkwwXzJMICAgICAgICAgICAgICAgICAgIEJJVCg0KQ0KPiA+ICsjZGVmaW5lIERJU1BfUkRN QTBfU0VMX0lOICAgICAgICAgICAgICAweGYyYw0KPiA+ICsjZGVmaW5lIFJETUEwX1NFTF9JTl9P VkwwXzJMICAgICAgICAgICAgICAgICAgIDB4Mw0KPiA+ICsjZGVmaW5lIERJU1BfUkRNQTBfU09V VF9TRUwgICAgICAgICAgICAweGYzMA0KPiA+ICsjZGVmaW5lIFJETUEwX1NPVVRfQ09MT1IwICAg ICAgICAgICAgICAgICAgICAgIDB4MQ0KPiA+ICsjZGVmaW5lIERJU1BfQ0NPUlIwX1NPVVRfU0VM ICAgICAgICAgICAweGYzNA0KPiA+ICsjZGVmaW5lIENDT1JSMF9TT1VUX0FBTDAgICAgICAgICAg ICAgICAgICAgICAgIDB4MQ0KPiA+ICsjZGVmaW5lIERJU1BfQUFMMF9TRUxfSU4gICAgICAgICAg ICAgICAweGYzOA0KPiA+ICsjZGVmaW5lIEFBTDBfU0VMX0lOX0NDT1JSMCAgICAgICAgICAgICAg ICAgICAgIDB4MQ0KPiA+ICsjZGVmaW5lIERJU1BfRElUSEVSMF9NT1VUX0VOICAgICAgICAgICAw eGYzYw0KPiA+ICsjZGVmaW5lIERJVEhFUjBfTU9VVF9EU0kwICAgICAgICAgICAgICAgICAgICAg IEJJVCgwKQ0KPiA+ICsjZGVmaW5lIERJU1BfRFNJMF9TRUxfSU4gICAgICAgICAgICAgICAweGY0 MA0KPiA+ICsjZGVmaW5lIERTSTBfU0VMX0lOX0RJVEhFUjAgICAgICAgICAgICAgICAgICAgIDB4 MQ0KPiA+ICsjZGVmaW5lIERJU1BfT1ZMMl8yTF9NT1VUX0VOICAgICAgICAgICAweGY0Yw0KPiA+ ICsjZGVmaW5lIE9WTDJfMkxfTU9VVF9SRE1BNCAgICAgICAgICAgICAgICAgICAgIEJJVCgwKQ0K PiA+ICsNCj4gPiArc3RhdGljIHVuc2lnbmVkIGludCBtdGtfbW1zeXNfZGRwX21vdXRfZW4oZW51 bSBtdGtfZGRwX2NvbXBfaWQgY3VyLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIGVudW0gbXRrX2RkcF9jb21wX2lkIG5leHQsDQo+ID4gKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdW5zaWduZWQgaW50ICphZGRyKQ0KPiA+ICt7 DQo+ID4gKyAgICAgICB1bnNpZ25lZCBpbnQgdmFsdWU7DQo+ID4gKw0KPiA+ICsgICAgICAgaWYg KGN1ciA9PSBERFBfQ09NUE9ORU5UX09WTF8yTDAgJiYgbmV4dCA9PSBERFBfQ09NUE9ORU5UX1JE TUEwKSB7DQo+ID4gKyAgICAgICAgICAgICAgICphZGRyID0gRElTUF9PVkwwXzJMX01PVVRfRU47 DQo+ID4gKyAgICAgICAgICAgICAgIHZhbHVlID0gT1ZMMF9NT1VUX0VOX0RJU1BfUkRNQTA7DQo+ ID4gKyAgICAgICB9IGVsc2UgaWYgKGN1ciA9PSBERFBfQ09NUE9ORU5UX09WTF8yTDIgJiYgbmV4 dCA9PSBERFBfQ09NUE9ORU5UX1JETUE0KSB7DQo+ID4gKyAgICAgICAgICAgICAgICphZGRyID0g RElTUF9PVkwyXzJMX01PVVRfRU47DQo+ID4gKyAgICAgICAgICAgICAgIHZhbHVlID0gT1ZMMl8y TF9NT1VUX1JETUE0Ow0KPiA+ICsgICAgICAgfSBlbHNlIGlmIChjdXIgPT0gRERQX0NPTVBPTkVO VF9ESVRIRVIgJiYgbmV4dCA9PSBERFBfQ09NUE9ORU5UX0RTSTApIHsNCj4gPiArICAgICAgICAg ICAgICAgKmFkZHIgPSBESVNQX0RJVEhFUjBfTU9VVF9FTjsNCj4gPiArICAgICAgICAgICAgICAg dmFsdWUgPSBESVRIRVIwX01PVVRfRFNJMDsNCj4gPiArICAgICAgIH0gZWxzZSB7DQo+ID4gKyAg ICAgICAgICAgICAgIHZhbHVlID0gMDsNCj4gPiArICAgICAgIH0NCj4gPiArDQo+ID4gKyAgICAg ICByZXR1cm4gdmFsdWU7DQo+ID4gK30NCj4gPiArDQo+ID4gK3N0YXRpYyB1bnNpZ25lZCBpbnQg bXRrX21tc3lzX2RkcF9zZWxfaW4oZW51bSBtdGtfZGRwX2NvbXBfaWQgY3VyLA0KPiA+ICsgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZW51bSBtdGtfZGRwX2NvbXBfaWQg bmV4dCwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVuc2ln bmVkIGludCAqYWRkcik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Y29tcF9pZCBjdXIs DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbnVtIG10a19kZHBfY29t cF9pZCBuZXh0KQ0KPiA+ICt7DQo+ID4gKyAgICAgICBpZiAoY3VyID09IEREUF9DT01QT05FTlRf UkRNQTAgJiYgbmV4dCA9PSBERFBfQ09NUE9ORU5UX0NPTE9SMCkgew0KPiA+ICsgICAgICAgICAg ICAgICB3cml0ZWxfcmVsYXhlZChSRE1BMF9TT1VUX0NPTE9SMCwgY29uZmlnX3JlZ3MgKyBESVNQ X1JETUEwX1NPVVRfU0VMKTsNCj4gPiArICAgICAgIH0gZWxzZSBpZiAoY3VyID09IEREUF9DT01Q T05FTlRfQ0NPUlIgJiYgbmV4dCA9PSBERFBfQ09NUE9ORU5UX0FBTDApIHsNCj4gPiArICAgICAg ICAgICAgICAgd3JpdGVsX3JlbGF4ZWQoQ0NPUlIwX1NPVVRfQUFMMCwgY29uZmlnX3JlZ3MgKyBE SVNQX0NDT1JSMF9TT1VUX1NFTCk7DQo+ID4gKyAgICAgICB9DQo+ID4gK30NCj4gPiArDQo+ID4g K3N0YXRpYyB1bnNpZ25lZCBpbnQgbXRrX21tc3lzX292bF9tb3V0X2VuKGVudW0gbXRrX2RkcF9j b21wX2lkIGN1ciwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICBlbnVtIG10a19kZHBfY29tcF9pZCBuZXh0LA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHVuc2lnbmVkIGludCAqYWRkcikNCj4gPiArew0KPiA+ICsgICAg ICAgaW50IHZhbHVlID0gLTE7DQo+ID4gKw0KPiA+ICsgICAgICAgKmFkZHIgPSBNTVNZU19PVkxf TU9VVF9FTjsNCj4gPiArDQo+ID4gKyAgICAgICBpZiAoY3VyID09IEREUF9DT01QT05FTlRfT1ZM MCAmJiBuZXh0ID09IEREUF9DT01QT05FTlRfT1ZMXzJ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