Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1039927pxb; Thu, 5 Nov 2020 22:12:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7adahg+7UU5WZYXBtFRK0krsy4hb+Tksicz7qwHC+fBVix4ZOoS/s7SbQAvw8WoDHL64H X-Received: by 2002:a17:906:4116:: with SMTP id j22mr494394ejk.373.1604643144613; Thu, 05 Nov 2020 22:12:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604643144; cv=none; d=google.com; s=arc-20160816; b=EKEn7V2zD4xOG0OYjRln8HHI+SoJ+7wUl2+OYjftAGzKDI5MHD+4rZfiBdMEOsZX76 QStO3xUH0MUkq7SsUiZNxE0MSWG4L+kKnHk8P/DmRL4K+SC7oj6OyqjyNr0BwjYPTBYX 6LFobUEsJt3VNqGkseHGTehzhhRKdSclm3BwVlCHL5kMWa2Uq3XtB3nVf3YoQUfxPf4H dAf4qeZDc+xHsQV3nmUQp9Z06uTqqtsj1U3TI/2VIw8yJP7PC1mPbcWUPRU5L9NIaYIk 3FicE/lpsLYnAMGCQJooSn78Q22xt/KWBVb+jfZa5WPK4lr+wXsris5B+rHCTrf7v7C/ UVmg== 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=hHePrxz5/N/IKVqvcGZCe9swAjMl2cJVBXsFNc5Mopg=; b=PK57FYsPGZZOZpdHQ9JunF+giOqwL95ihFLOkr1L5M0UrEvl8wCP2OG/3Le0KXz2jW ua/q6sp3OWLiV14TBh0LiyiEPYobWLD1kC/Z7t0QLiNm3sH1XyywDT5+JZm2e+0Z1LjO 9SU32KejupkJq/TPxyn03K1papIUfTbTBltTah9WRIZq2+1/RfSQAjgy9k+rFDhDgW4E od0tKoq/OQhL9fTXYWL+OuYgoBArToE935D5cMIMdrSHGEhbRx2Ni6gQ75EG2m9qtVds JhQxtZFh9GEJESeMf34LKl2nFQOC1rVBd7UZinByVNSwdT4VeZ+xs6jSbr1GM4lydxkm 0e0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=S6iyqS4L; 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 o15si292248edz.359.2020.11.05.22.12.01; Thu, 05 Nov 2020 22:12:24 -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=S6iyqS4L; 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 S1726273AbgKFGJx (ORCPT + 99 others); Fri, 6 Nov 2020 01:09:53 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:57034 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726241AbgKFGJu (ORCPT ); Fri, 6 Nov 2020 01:09:50 -0500 X-UUID: 606cfe2c69fe4fa88821e250a4207f40-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=hHePrxz5/N/IKVqvcGZCe9swAjMl2cJVBXsFNc5Mopg=; b=S6iyqS4LkHAfsHJsUr86qQs9yEzUVgp1a6//ZPoTsdokhiSzpQrmVRHlwI+idEY+dsPFjL9I8qFzw0lJy9T1zCDg5t7ItpPb40svmrtKwYk3EkC450QKmmj86OdkYjnNEpvyDIn0IGWDpGtXrnD3XkuEoZQo4IIOguIOfeJ/Oe4=; X-UUID: 606cfe2c69fe4fa88821e250a4207f40-20201106 Received: from mtkcas34.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 1252257986; Fri, 06 Nov 2020 14:09:43 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 6 Nov 2020 14:09:41 +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:09:39 +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 07/17] phy: marvell: convert to devm_platform_ioremap_resource Date: Fri, 6 Nov 2020 14:08:40 +0800 Message-ID: <1604642930-29019-7-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: 560F24EEC0310DBD1D67BC45329273076EEEA38311B89C3D5597AFE4FEAA59A02000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIGRldm1fcGxhdGZvcm1faW9yZW1hcF9yZXNvdXJjZSB0byBzaW1wbGlmeSBjb2RlDQoNClNp Z25lZC1vZmYtYnk6IENodW5mZW5nIFl1biA8Y2h1bmZlbmcueXVuQG1lZGlhdGVrLmNvbT4NCi0t LQ0KdjI6IG5vIGNoYW5nZXMNCi0tLQ0KIGRyaXZlcnMvcGh5L21hcnZlbGwvcGh5LWFybWFkYTM3 NS11c2IyLmMgfCA0ICstLS0NCiBkcml2ZXJzL3BoeS9tYXJ2ZWxsL3BoeS1iZXJsaW4tdXNiLmMg ICAgIHwgNCArLS0tDQogZHJpdmVycy9waHkvbWFydmVsbC9waHktbW1wMy11c2IuYyAgICAgICB8 IDQgKy0tLQ0KIGRyaXZlcnMvcGh5L21hcnZlbGwvcGh5LW12ZWJ1LXNhdGEuYyAgICAgfCA0ICst LS0NCiBkcml2ZXJzL3BoeS9tYXJ2ZWxsL3BoeS1weGEtMjhubS1oc2ljLmMgIHwgNCArLS0tDQog ZHJpdmVycy9waHkvbWFydmVsbC9waHktcHhhLTI4bm0tdXNiMi5jICB8IDQgKy0tLQ0KIGRyaXZl cnMvcGh5L21hcnZlbGwvcGh5LXB4YS11c2IuYyAgICAgICAgfCA0ICstLS0NCiA3IGZpbGVzIGNo YW5nZWQsIDcgaW5zZXJ0aW9ucygrKSwgMjEgZGVsZXRpb25zKC0pDQoNCmRpZmYgLS1naXQgYS9k cml2ZXJzL3BoeS9tYXJ2ZWxsL3BoeS1hcm1hZGEzNzUtdXNiMi5jIGIvZHJpdmVyc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