Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1040099pxb; Thu, 5 Nov 2020 22:12:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxoKhFQ3vPew+2izKQERsjaHWy0jGg/uEY82BRcIWdTT21xKOfmc0r1EH2ZzvivNNQuREt9 X-Received: by 2002:aa7:dd42:: with SMTP id o2mr452675edw.53.1604643168943; Thu, 05 Nov 2020 22:12:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604643168; cv=none; d=google.com; s=arc-20160816; b=IdFC3aeLf1VTS9BlAat1KTSf0h45uOYPkxghDJEzAbG8oWBJFoyYzHLiaizvHzrrPD wklVNLGry6aeIDNLB9Lnnl4j2qItnqxOJSMN8VzhT69a+HdYwlJYcHiw8FpeFkyJQrIW /5xwWfJNEscdFVYycDyEBeb0Dkhae6DtWB7M5AK49UkuhGSHx+z2zJuGcprqTTQR/vaD xitpLYPb1Bc+PLLTACSoui/8knrDukcK9XA4c+QXaG7jirSIvqkqy8kUPfuDLRZaRfsw L+hHCo0mv1FxPhWvjqoMfTs2+vDHnk/PUmsQmiRQHIH6lJuvKXRxgr1DGExFzwneQPKJ EqSw== 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=QnknwOw5l77wPruk4vzgXllX2A4RYHq3J6NsfS/iU7w=; b=QvKnLUzBD5f1LllkakqwcGDpDgNaqDZng2mm08DIwQH60vybcZi831xk/NDBumwYnn Dj+fJ05NQ9kgRwaSgqnDw0NdxAdNx3mNp+RPec9U5mOzUw5pnbyXwRLApswPGqZxTO0X cnDjE2bSJeXUe4m8oTU3qRidNF2IRixPHieR5pP8d3j7W5mT2+Us8Aoa4PVA2Za3B2rX loTN9LyHkB5Kwib+H45y7o8binS6xwCyCcbyFzwGJXspXyfKgp2FFb4UbTh9Bp0DIB7Q 92xuYO/7LZgAfRXMwih1RaDrF3u/jFjZ3VVq02WN0Mr4Yz86gBUg99n31849FL+p9AoE HGXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=aabFUYgM; 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 p13si148852ejx.702.2020.11.05.22.12.26; Thu, 05 Nov 2020 22:12:48 -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=aabFUYgM; 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 S1726367AbgKFGKU (ORCPT + 99 others); Fri, 6 Nov 2020 01:10:20 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:20362 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725835AbgKFGKT (ORCPT ); Fri, 6 Nov 2020 01:10:19 -0500 X-UUID: fca9b31b148b4c6b92468852ff29197e-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=QnknwOw5l77wPruk4vzgXllX2A4RYHq3J6NsfS/iU7w=; b=aabFUYgMjX6XH3SERBm7LVMniGgoepVlHgByXhqJoNA6zpvGk+b/Dv69fx/us+gt61X0Pxhw0XseXVCxmXqPiMPG+FX8lOZZTAC+z0AIGTPFrCsjEypab3/WMAdy16ODcA9546TMvnYS0u9+POXbXggv+/MbwReK6Ar+3oZ2Btg=; X-UUID: fca9b31b148b4c6b92468852ff29197e-20201106 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1174908276; Fri, 06 Nov 2020 14:09:30 +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:28 +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:26 +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 02/17] phy: amlogic: convert to devm_platform_ioremap_resource Date: Fri, 6 Nov 2020 14:08:35 +0800 Message-ID: <1604642930-29019-2-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: E509EC81D2244ACD2C759A93FBE90B601C3C1BC8A1029C86FB7DC98D396B82152000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIGRldm1fcGxhdGZvcm1faW9yZW1hcF9yZXNvdXJjZSB0byBzaW1wbGlmeSBjb2RlDQoNClNp Z25lZC1vZmYtYnk6IENodW5mZW5nIFl1biA8Y2h1bmZlbmcueXVuQG1lZGlhdGVrLmNvbT4NClJl dmlld2VkLWJ5OiBSZW1pIFBvbW1hcmVsIDxyZXBrQHRyaXBsZWZhdS5sdD4NCi0tLQ0KdjI6IA0K IDEuIGFiYW5kb24gbW9kaWZpY2F0aW9uIG9mIHBoeS1tZXNvbi1heGctbWlwaS1wY2llLWFuYWxv Zy5jIHN1Z2dlc3RlZCBieSBSZW1pDQogMi4gYWRkIFJldmlld2VkLWJ5IFJlbWkNCi0tLQ0KIGRy aXZlcnMvcGh5L2FtbG9naWMvcGh5LW1lc29uLWF4Zy1wY2llLmMgICAgICAgfCA0ICstLS0NCiBk cml2ZXJzL3BoeS9hbWxvZ2ljL3BoeS1tZXNvbi1nMTJhLXVzYjIuYyAgICAgIHwgNCArLS0tDQog ZHJpdmVycy9waHkvYW1sb2dpYy9waHktbWVzb24tZzEyYS11c2IzLXBjaWUuYyB8IDQgKy0tLQ0K IGRyaXZlcnMvcGh5L2FtbG9naWMvcGh5LW1lc29uLWd4bC11c2IyLmMgICAgICAgfCA0ICstLS0N CiA0IGZpbGVzIGNoYW5nZWQsIDQgaW5zZXJ0aW9ucygrKSwgMTIgZGVsZXRpb25zKC0pDQoNCmRp ZmYgLS1naXQgYS9kcml2ZXJzL3BoeS9hbWxvZ2ljL3BoeS1tZXNvbi1heGctcGNpZS5jIGIvZHJp dmVycy9waHkvYW1sb2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