Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1040051pxb; Thu, 5 Nov 2020 22:12:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXdc7knue4rDHUP653rUTxrqkxaYDpx94lKqBQROg+RgU1vdu9BQZniP+/seAnHFuwCay0 X-Received: by 2002:a05:6402:16d6:: with SMTP id r22mr488111edx.246.1604643161569; Thu, 05 Nov 2020 22:12:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604643161; cv=none; d=google.com; s=arc-20160816; b=cc8rMFkC+FnR/Js53XF/+UxyNoCkonENM4fhHThXlioTkEeXXh1SgzGssmyQS4licL rqLIu0UzI7SkrHfmGUWmXhb8NVUBV5126M+s0sOGT6JvCDtXtseipRwNjMCRM4kTSUSD N9vVtidYsoIXmw6TfErSYCznoxX/QyTqeiJpOCieAe+rYtFAdl00UY2g+U33GfZEAbRc vgy9cnnawDGNFvRFl8Le9fVMlDgRMWZD9l7VcMQ3yWw4Aa33ZNmnh0enFz31+DejBfjm yu87fm21prUPnfwGitNPwfI/HC/d0XJGJi1KPl3pupSAcGy/3pYqqrp/o+CKRXpnhhBu rVVg== 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=xbJ4Jgj0E8NLElCm+7ybm+itcY8qXH1MqBxXBrR6TlE=; b=TSqKMIYEvAVghlU00G1k4C8MxVE/Vj7PUCsdvN/VM5S50gxxqk9UEEDEk3eAHuiRFV p8bQIvobsgD0q8EpM7Z0QvxUQrUHqkK9Cm0SXtg0cVEAQ4bXsSmnX6jN5nbSz4u3Q4sT ZsfTsMHqU0eQaIUaK+g6xED6JZOlvNlTvfrIrAO9ZcGSsVFHtA8mLZ6N1BoATtmQ0PFb 7xrNHYNwdRiHXbvXuMWsIhGRkfg9fOUPqGgALG2heTwTF2c4x+rjb3R9JEw51sKu1+H7 J6sWeSCQBNjq8DrONoFtwnz/sBSwq2i15DH6UWAGGTVxk33zQdv1rrwLIXEHVCqUkxG6 qbaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=s7BUk7bK; 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 ks9si175605ejb.1.2020.11.05.22.12.18; Thu, 05 Nov 2020 22:12:41 -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=s7BUk7bK; 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 S1726322AbgKFGKQ (ORCPT + 99 others); Fri, 6 Nov 2020 01:10:16 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:47129 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726367AbgKFGKN (ORCPT ); Fri, 6 Nov 2020 01:10:13 -0500 X-UUID: 83317fa881914d0396396d624c632ab2-20201106 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=xbJ4Jgj0E8NLElCm+7ybm+itcY8qXH1MqBxXBrR6TlE=; b=s7BUk7bKaez5HroUePtnVCErTfnrPTmIVSXI7G8WR2d66/ZkwSF3KuPR+mlGoSQsWx+ys3szizZegY8FRKSwbRpfyn8zFEC7DDOE8MiZg7uDVIQhAw35i23abE1TP7me2o/+bW1W7v4hrKqsFZEehkp3ONGC4wYvY9RKy5VJ5JU=; X-UUID: 83317fa881914d0396396d624c632ab2-20201106 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 478649880; Fri, 06 Nov 2020 14:10:09 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 6 Nov 2020 14:10:05 +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; Fri, 6 Nov 2020 14:10:03 +0800 From: Chunfeng Yun To: Kishon Vijay Abraham I , Vinod Koul CC: Maxime Ripard , Chen-Yu Tsai , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl , Ray Jui , Scott Branden , , Florian Fainelli , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lubomir Rintel , Chunfeng Yun , Matthias Brugger , Randy Dunlap , Krzysztof Kozlowski , Colin Ian King , Ondrej Jirman , Rikard Falkeborn , Icenowy Zheng , Remi Pommarel , Lorenzo Pieralisi , Yue Wang , Hanjie Lin , Joe Perches , Bharat Gooty , Rayagonda Kokatanur , Peter Chen , Roger Quadros , Jyri Sarha , Sanket Parmar , Anil Varughese , Li Jun , Ma Feng , Wei Yongjun , , , , Subject: [PATCH v2 13/17] phy: rockchip: convert to devm_platform_ioremap_resource Date: Fri, 6 Nov 2020 14:08:46 +0800 Message-ID: <1604642930-29019-13-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1604642930-29019-1-git-send-email-chunfeng.yun@mediatek.com> References: <1604642930-29019-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 86C70527313290A44E6B1C6CF834D4339D864A835E8927062864AEE502B44A472000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIGRldm1fcGxhdGZvcm1faW9yZW1hcF9yZXNvdXJjZSB0byBzaW1wbGlmeSBjb2RlDQoNClNp Z25lZC1vZmYtYnk6IENodW5mZW5nIFl1biA8Y2h1bmZlbmcueXVuQG1lZGlhdGVrLmNvbT4NCi0t LQ0KdjI6IG5vIGNoYW5nZXMNCi0tLQ0KIGRyaXZlcnMvcGh5L3JvY2tjaGlwL3BoeS1yb2NrY2hp cC1pbm5vLWhkbWkuYyB8IDQgKy0tLQ0KIDEgZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKSwg MyBkZWxldGlvbnMoLSkNCg0KZGlmZiAtLWdpdCBhL2RyaXZlcnMvcGh5L3JvY2tjaGlwL3BoeS1y b2NrY2hpcC1pbm5vLWhkbWkuYyBiL2RyaXZlcnMvcGh5L3JvY2tjaGlwL3BoeS1yb2NrY2hpcC1p bm5vLWhkbWkuYw0KaW5kZXggOWNhMjBjOTQ3MjgzLi5hMzdmM2YzNDI2NDIgMTAwNjQ0DQotLS0g YS9kcml2ZXJzL3BoeS9yb2NrY2hpcC9waHktcm9ja2NoaXAtaW5uby1oZG1pLmMNCisrKyBiL2Ry aXZlcnMvcGh5L3JvY2tjaGlwL3BoeS1yb2NrY2hpcC1pbm5vLWhkbWkuYw0KQEAgLTExNDQsNyAr MTE0NCw2IEBAIHN0YXRpYyBpbnQgaW5ub19oZG1pX3BoeV9wcm9iZShzdHJ1Y3QgcGxhdGZvcm1f ZGV2aWNlICpwZGV2KQ0KIHsNCiAJc3RydWN0IGlubm9faGRtaV9waHkgKmlubm87DQ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