Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp654344ybt; Fri, 19 Jun 2020 10:16:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxt6QyDcVNWq7GUbOsnXVIiwfNvLhHQhk2+/phozOQiSpVUqJoJp47QUzb8UwL8SohCIHCU X-Received: by 2002:a17:906:a387:: with SMTP id k7mr4856124ejz.408.1592587013222; Fri, 19 Jun 2020 10:16:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592587013; cv=none; d=google.com; s=arc-20160816; b=O8ORpDqKwDP4m38xowEGQgr/b0L3yRiXt+ZmIrSFECYhNr0+J2v7PJMdaDFW7A67ud UEPA8HUNn+e2VkrRk57EnQkh4bleg+8BjsBhJIJPVp2elAHSnmcATbdjtFXg38GTnboG DIN1Y9J1daokIrf3gK5RNVuyj/NNOssrussKvSvfHGeQ66tW0RkimoBN5oGMLBUSNNGV 1kD+FMAhAlj1TSk4W5yNtrUxlS6Sx1mr7VZ8usS6zD4n42VWAK3Nc0CLXZ/ExBKQTrDq ULs65NtaTj1Zbseqol81R/q1F4zzVCSTVLouSo6Vrv/zkSgPj4PUdE0GLbrOT7XhKioT +saQ== 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=xmg1w3ypX4AvT1+i24MnshAnpwzBsGKjigr9tp4Uf7E=; b=hn3KDCDmcEjGwMT3v5tAmHJgCLauTu5STEFjVSfG4C4zjx4nI8vVOlDoxGg9J+Q5T5 RqDS22ULqO0JmbEyk89R3BzMHpJEXRWq/C8BLzVbCBnDEt/BMeNI6M4jlkGkc61waaIG vjEDB8vkE9YT/gw26rsTLni9yq/LGAn8nBRun4ECLj/iF+p6EFRrfFqwH7zDdPjcKCqw UbmpM8bd2/fcJIeRY3CWQ1WbdZDM66KhgBUclN867jeU2v2vK6PMhhrHi22vbE+V3naU Cd8Hmif4sWQDb9obghF/3zdA4vcMewRTR3S68QpeS5FuZv1Aaqlt4RSNJap26NOs0v8n 6/xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=lxIKatnx; 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 du1si6042393ejc.616.2020.06.19.10.16.30; Fri, 19 Jun 2020 10:16:53 -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=lxIKatnx; 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 S1732200AbgFSJma (ORCPT + 99 others); Fri, 19 Jun 2020 05:42:30 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:56638 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1732173AbgFSJm0 (ORCPT ); Fri, 19 Jun 2020 05:42:26 -0400 X-UUID: 391b4275a91c42c084f542a0c227f688-20200619 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=xmg1w3ypX4AvT1+i24MnshAnpwzBsGKjigr9tp4Uf7E=; b=lxIKatnx5Z+RsisdwUs86yNdT7R3ChAuisRRAcOSmvnPyuuGdgnr4UO3QWqb8HbOjDkAlGmqqzypQ7vQHixlMEMa7PE1R74yvwld494sLB5Acbs2noDI8lXgEm0jAx5llt+CrQ8PGJaXs6oMuPKO9y849qgBwTkdJ+Cn604xiK0=; X-UUID: 391b4275a91c42c084f542a0c227f688-20200619 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 677885380; Fri, 19 Jun 2020 17:42:07 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 19 Jun 2020 17:42:03 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 19 Jun 2020 17:42:02 +0800 From: Neal Liu To: Rob Herring , Matthias Brugger CC: Neal Liu , , , , , Subject: [PATCH v2 2/2] soc: mediatek: devapc: add devapc-mt6873 driver Date: Fri, 19 Jun 2020 17:42:00 +0800 Message-ID: <1592559720-8482-3-git-send-email-neal.liu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1592559720-8482-1-git-send-email-neal.liu@mediatek.com> References: <1592559720-8482-1-git-send-email-neal.liu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: E0B163962F1135967F8C685B03557F40BC5F0C13593F6F8072F8DD8B2E6A36CD2000: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 TVQ2ODczIGJ1cyBmcmFicmljIHByb3ZpZGVzIFRydXN0Wm9uZSBzZWN1cml0eSBzdXBwb3J0IGFu ZCBkYXRhDQpwcm90ZWN0aW9uIHRvIHByZXZlbnQgc2xhdmVzIGZyb20gYmVpbmcg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mZn0sDQorCXsiU1BJMiIsICAgICAgICAgICAgMHgx MjQsICAweDNmZmZ9LA0KKwl7IlNQSTMiLCAgICAgICAgICAgIDB4NTI0LCAgMHgzZmZmfSwNCisJ eyJTUEk0IiwgICAgICAgICAgICAweDkyNCwgIDB4M2ZmZn0sDQorCXsiU1BJNSIsICAgICAgICAg ICAgMHhkMjQsICAweDNmZmZ9LA0KKwl7IlNQSTciLCAgICAgICAgICAgIDB4MWE0LCAgMHgzZmZm fSwNCisJeyJBdWRpbyIsICAgICAgICAgICAweDlhNCwgIDB4M2ZmZn0sDQorCXsiU1BJMSIsICAg ICAgICAgICAgMHhkYTQsICAweDNmZmZ9LA0KKwl7IkFQX0RNQV9FWFQiLCAgICAgIDB4MjI0LCAg MHgyM2ZmfSwNCisJeyJUSEVSTTIiLCAgICAgICAgICAweDJhNCwgIDB4M2ZmZn0sDQorCXsiU1BN IiwgICAgICAgICAgICAgMHg2YTQsICAweDNmZmZ9LA0KKwl7IkNDVSIsICAgICAgICAgICAgIDB4 YWE0LCAgMHgzZmZmfSwNCisJeyJUSEVSTSIsICAgICAgICAgICAweGVhNCwgIDB4M2ZmZn0sDQor CXsiRFhfQ0MiLCAgICAgICAgICAgMHgzNCwgICAweDM4N2Z9LA0KKwl7IkdDRSIsICAgICAgICAg ICAgIDB4NDQsICAgMHgzZTdmfSwNCisJeyJQQ0lFIiwgICAgICAgICAgICAweDY0LCAgIDB4MzA3 Zn0sDQorCXsiRFBNQUlGIiwgICAgICAgICAgMHg2LCAgICAweDNmMGZ9LA0KKwl7IlNTUE0iLCAg ICAgICAgICAgIDB4OCwgICAgMHgzZjhmfSwNCisJeyJVRlMiLCAgICAgICAgICAgICAweGEsICAg IDB4M2Y5Zn0sDQorCXsiTVNEQzAiLCAgICAgICAgICAgMHgxYSwgICAweDNmZmZ9LA0KKwl7Ik1T REMxIiwgICAgICAgICAgIDB4M2EsICAgMHgzZmZmfSwNCisJeyJNU0RDMiIsICAgICAgICAgICAw eDdhLCA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w0KKyNkZWZpbmUg X19ERVZBUENfTVQ2ODczX0hfXw0KKw0KKy8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCisgKiBWQVJJ QUJMRSBERUZJTklUSU9ODQorICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8NCisvKiBkYmcgc3RhdHVz IGRlZmF1bHQgc2V0dGluZyAqLw0KKyNkZWZpbmUgUExBVF9EQkdfVVRfREVGQVVMVAkJZmFsc2UN CisjZGVmaW5lIFBMQVRfREJHX0RBUENfREVGQVVMVAkJZmFsc2UNCisNCisvKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqDQorICogU1RSVUNUVVJFIERFRklOSVRJT04NCisgKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqLw0KK2VudW0gREVWQVBDX1NMQVZFX1RZUEUgew0KKwlTTEFWRV9UWVBFX0lORlJBID0gMCwN CisJU0xBVkVfVFlQRV9QRVJJLA0KKwlTTEFWRV9UWVBFX1BFUkkyLA0KKwlTTEFWRV9UWVBFX1BF UklfUEFSLA0KKwlTTEFWRV9UWVBFX05VTSwNCit9Ow0KKw0KK2VudW0gREVWQVBDX1ZJT19NQVNL X1NUQV9OVU0gew0KKwlWSU9fTUFTS19TVEFfTlVNX0lORlJBID0gMTIsDQorCVZJT19NQVNLX1NU QV9OVU1fUEVSSSA9IDEwLA0KKwlWSU9fTUFTS19TVEFfTlVNX1BFUkkyID0gOCwNCisJVklPX01B U0tfU1RBX05VTV9QRVJJX1BBUiA9IDIsDQorfTsNCisNCitlbnVtIERFVkFQQ19WSU9fU0xBVkVf TlVNIHsNCisJVklPX1NMQVZ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bnVtIElORlJBQ0ZHX01NMk5EX09GRlNF VCB7DQorCUlORlJBQ0ZHX01NX1NFQ19WSU8wX09GRlNFVCA9IDB4QjMwLA0KKwlJTkZSQUNGR19N RFBfU0VDX1ZJTzBfT0ZGU0VUID0gMHhCNDAsDQorfTsNCisNCitzdHJ1Y3QgSU5GUkFBWElfSURf SU5GTyB7DQorCWNvbnN0IGNoYXIJKm1hc3RlcjsNCisJdTMyCQlidXNfaWQ7DQorCXUzMgkJbWFz azsNCit9Ow0KKw0KKy8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCisgKiBQTEFURk9STSBERUZJTkFU SU9ODQorICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKi8NCisNCisvKiBGb3IgSW5mcmEgVklPX0RCRyAq Lw0KKyNkZWZpbmUgSU5GUkFfVklPX0RCR19NU1RJRAkJCTB4RkZGRkZGRkYNCisjZGVmaW5lIElO RlJBX1ZJT19EQkdfTVNUSURfU1RBUlRfQklUCQkwDQorI2RlZmluZSBJTkZSQV9WSU9fREJHX0RN TklECQkJMHgwMDAwMDAzRg0KKyNkZWZpbmUgSU5GUkFfVklPX0RCR19ETU5JRF9TVEFSVF9CSVQJ CTANCisjZGVmaW5lIElORlJBX1ZJT19EQkdfV19WSU8JCQkweDAwMDAwMDQwDQorI2RlZmluZSBJ TkZSQV9WSU9fREJHX1dfVklPX1NUQVJUX0JJVAkJNg0KKyNkZWZpbmUgSU5GUkFfVklPX0RCR19S X1ZJTwkJCTB4MDAwMDAwODANCisjZGVmaW5lIElORlJBX1ZJT19EQkdfUl9WSU9fU1RBUlRfQklU CQk3DQorI2RlZmluZSBJTkZSQV9WSU9fQUREUl9ISUdICQkJMHgwMDAwMEYwMA0KKyNkZWZpbmUg SU5GUkFfVklPX0FERFJfSElHSF9TVEFSV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kZXggMDAw MDAwMC4uMWU1OGEzZQ0KLS0tIC9kZXYvbnVsbA0KKysrIGIvZHJpdmVycy9zb2MvbWVkaWF0ZWsv ZGV2YXBjL2RldmFwYy1tdGstbXVsdGktYW8uaA0KQEAgLTAsMCArMSwxODIgQEANCisvKiBTUERY LUxpY2Vuc2UtSWRlbnRpZmllcjogR1BMLTIuMCAqLw0KKy8qDQorICogQ29weXJpZ2h0IChDKSAy MDIwIE1lZGlhVGVrIEluYy4NCisgKi8NCisNCisjaWZuZGVmIF9fREVWQVBDX01US19NVUxUSV9B T19IX18NCisjZGVmaW5lIF9fREVWQVBDX01US19NVUxUSV9BT19IX18NCisNCisjaW5jbHVkZSA8 bGludXgvcGxhdGZvcm1fZGV2aWNlLmg+DQorI2luY2x1ZGUgPGxpbnV4L3R5cGVzLmg+DQorDQor LyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKg0KKyAqIFZBUklBQkxFIERFRklOQVRJT04NCisgKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqLw0KKyNkZWZpbmUgTU9EX05PX0lOXzFfREVWQVBDCTE2DQorI2RlZmlu ZSBWSU9MQVRJT05fVFJJR0dFUkVECTENCisjZGVmaW5lIFZJT0xBVElPTl9NQVNLRUQJMQ0KKyNk ZWZpbmUgREVBRAkJCTB4ZGVhZGJlYWYNCisjZGVmaW5lIFBGWAkJCSJbREVWQVBDXTogIg0KKyNk ZWZpbmUgU0xBVkVfVFlQRV9OVU1fTUFYCTUNCisNCisjZGVmaW5lIGRldmFwY19sb2cocCwgcywg Zm10LCBhcmdzLi4uKSBcDQorCWRvIHsgXA0KKwkJdHlwZW9mKHApIChfcCkgPSAocCk7IFwNCisJ CSgoX3ApICs9IHNjbnByaW50ZihfcCwgc2l6ZW9mKHMpIC0gc3RybGVuKHMpLCBmbXQsICMjYXJn cykpOyBcDQorCX0gd2hpbGUgKDApDQorDQorI2RlZmluZSBVTlVTRUQoeCkJCSh2b2lkKSh4KQ0K Kw0KKy8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioNCisgKiBEQVRBIFNUUlVDVFVSRSAmIEZVTkNUSU9O IERFRklOQVRJT04NCisgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqLw0KK2VudW0gREVWQVBDX1BEX1JF R19UWVBFIHsNCisJVklPX01BU0sgPSAwLA0KKwlWSU9fU1RBLA0KKwlWSU9fREJHMCwNCisJVklP X0RCRzEsDQorCVZJT19EQkcyLA0KKwlBUENfQ09OLA0KKwlWSU9fU0hJRlRfU1RBLA0KKwlWSU9f U0hJRlRfU0VMLA0KKwlWSU9fU0hJRlRfQ09OLA0KKwlQRF9SRUdfVFlQRV9OVU0sDQorfTsNCisN CitlbnVtIERFVkFQQ19VVF9DTUQgew0KKwlERVZBUENfVVRfREFQQ19WSU8gPSAxLA0KKwlERVZB UENfVVRfU1JBTV9WSU8sDQorfTsNCisNCitlbnVtIERFVkFQQ19ET01fSUQgew0KKwlET01BSU5f MCA9IDAsDQorCURPTUFJTl8xLA0KKwlET01BSU5fMiwNCisJRE9NQUlOXzMsDQorCURPTUFJTl80 LA0KKwlET01BSU5fNSwNCisJRE9NQUlOXzYsDQorCURPTUFJTl83LA0KKwlET01BSU5fOCwNCisJ RE9NQUlOXzksDQorCURPTUFJTl8xMCwNCisJRE9NQUlOXzExLA0KKwlET01BSU5fMTIsDQorCURP TUFJTl8xMywNCisJRE9NQUlOXzE0LA0KKwlET01BSU5fMTUsDQorCURPTUFJTl9PVEhFUlMsDQor fTsNCisNCitlbnVtIFNSQU1ST01fVklPIHsNCisJUk9NX1ZJT0xBVElPTiA9IDAsDQorCVNSQU1f VklPTEFUSU9OLA0KK307DQorDQorZW51bSBERVZBUENfUEVSTV9UWVBFIHsNCisJTk9fUFJPVEVD VElPTiA9IDAsDQorCVNFQ19SV19PTkxZLA0KKwlTRUNfUldfTlNfUiwNCisJRk9SQklEREVOLA0K KwlQRVJNX1RZUEVfTlVNLA0KK307DQorDQorc3RydWN0IG10a19kZXZhcGNfZGJnX3N0YXR1cyB7 DQorCWJvb2wgZW5hYmxlX3V0Ow0KKwlib29sIGVuYWJsZV9kYXBjOyAvKiBkdW1wIEFQQyAqLw0K K307DQorDQorc3RydWN0IG10a19kZXZpY2VfaW5mbyB7DQorCWludCBzeXNfaW5kZXg7DQorCWlu dCBjdHJsX2luZGV4Ow0KKwlpbnQgdmlvX2luZGV4Ow0KK307DQorDQorc3RydWN0IG10a19kZXZp Y2VfbnVtIHsNCisJaW50IHNsYXZlX3R5cGU7DQorCXUzMiB2aW9fc2xhdmVfbnVtOw0KK307DQor DQorc3RydWN0IG10a19kZXZhcGNfdmlvX2luZm8gew0KKwlib29sIHJlYWQ7DQorCWJvb2wgd3Jp dGU7DQorCXUzMiB2aW9fYWRkcjsNCisJdTMyIHZpb19hZGRyX2hpZ2g7DQorCXUzMiBtYXN0ZXJf aWQ7DQorCXUzMiBkb21haW5faWQ7DQorCWludCAqdmlvX21hc2tfc3RhX251bTsNCisJaW50IHNy YW1yb21fc2x2X3R5cGU7DQorCWludCBzcmFtcm9tX3Zpb19pZHg7DQorCWludCBtbTJuZF9zbHZf dHlwZTsNCisJaW50IG1kcF92aW9faWR4Ow0KKwlpbnQgZGlzcDJfdmlvX2lkeDsNCisJaW50IG1t c3lzX3Zpb19pZHg7DQorCWludCBzaGlmdF9zdGFfYml0Ow0KK307DQorDQorc3RydWN0IG10a19p bmZyYV92aW9fZGJnX2Rlc2Mgew0KKwl1MzIgdmlvX2RiZ19tc3RpZDsNCisJdTggdmlvX2RiZ19t c3RpZF9zdGFydF9iaXQ7DQorCXUzMiB2aW9fZGJnX2RtbmlkOw0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