Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1039460pxb; Thu, 5 Nov 2020 22:11:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzvQDNmosSwz+CP9aEy+wY0ukzmCM9Ing/HUQ9hF770xa2oD9+OY3s8UaAZ7ecNxbE7JIO X-Received: by 2002:a50:bb25:: with SMTP id y34mr424474ede.249.1604643088491; Thu, 05 Nov 2020 22:11:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604643088; cv=none; d=google.com; s=arc-20160816; b=XYmI34KpIst572HjBiIfiQhRkf2HlaNydAjquJlnbKRpzz7Uxtwf+EuU3/Z4F1mLYZ a9R/JLoQjXscZZHlf6126LrVlhI1qekNUPbR2Vz3fUC6DbfJh/zpfj/bYNlFs+BbM8sJ fZ56r9dLFclhIOAP0VPYdMr8oYPG+fvZO7eXe0WM5Ib0ORqVO8KmIQ5sFEC9GjEG0l1u rY7ZXMR4w5O/B2ySdAiDRs1y11/sZS5IrJxyhdlcDBwmsOUB0pMy70YoyadG+1bYak4i OxliU1/b7Owz6x9C+O1ZrB2lu3RU33OTmHQqS1a4VAI2XNLSd9wFrRNw6kjmLGxYBmJS zS/A== 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=OkC91RHrEAwuDR5aenktw8038eTDIl+yp/i+2CQUCF0=; b=Ziw8RQ1xD/7o4PhFgwo3uvcPUPKY1bJt21D/4/PQHh6JuojSHPLdpViwttsIztVQI+ Mwdej3Zu9yKm1QMxIDvSV62Mh+VW9Dw6xSEHSvo8tuzyRi4Q9rxFK6cCDVdbY/wKfraU pxv/mjjRqiO3tj6J2ngmb2WS36LtFNTm4ZgtO84xw/adoSyLX6+444VWWUJuDPaRsW7G zE/L6etNLnS6kJ/C8jo4EyE83n2sHxFKniX2l4yWKMk8HuQ+THNCaelf9dXK6pAuTr42 mWHMGrYf65TYlObwCeUhTmMEMuqP+hKB3lDmXES0e4z4swJIjG3RldaUF4qxNCvxE+wj IAbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=n2nyQJ20; 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 w20si130472ejc.387.2020.11.05.22.11.04; Thu, 05 Nov 2020 22:11:28 -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=n2nyQJ20; 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 S1726198AbgKFGJn (ORCPT + 99 others); Fri, 6 Nov 2020 01:09:43 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:37947 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725830AbgKFGJm (ORCPT ); Fri, 6 Nov 2020 01:09:42 -0500 X-UUID: 793a92215b4f4329bd22f39392bf806f-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=OkC91RHrEAwuDR5aenktw8038eTDIl+yp/i+2CQUCF0=; b=n2nyQJ20OJ+v1WjBlrb5qXhnaMF81neTtoImZGe3+YVjj4ym0g8E+97zIPU8p579aj/beIDara6+vs1nFWSbYLznrqUTI1DWNJ26nfYZ735v0z3fHRcPOyeEJRrXxQ4biCHmODv8gXpuq5bPYGDMoLHmfR9SKvJx7DCp2tiSeVg=; X-UUID: 793a92215b4f4329bd22f39392bf806f-20201106 Received: from mtkcas32.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 904508893; Fri, 06 Nov 2020 14:09:32 +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:30 +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:29 +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 , , , , , Al Cooper Subject: [PATCH v2 03/17] phy: broadcom: convert to devm_platform_ioremap_resource(_byname) Date: Fri, 6 Nov 2020 14:08:36 +0800 Message-ID: <1604642930-29019-3-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: EF44BC35A6FFD95A55DA63F7573A72845022EA6542E0EC12B5C8F67B5F2B36882000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIGRldm1fcGxhdGZvcm1faW9yZW1hcF9yZXNvdXJjZShfYnluYW1lKSB0byBzaW1wbGlmeSBj b2RlDQoNCkNjOiBBbCBDb29wZXIgPGFsY29vcGVyeEBnbWFpbC5jb20+DQpTaWduZWQtb2ZmLWJ5 OiBDaHVuZmVuZyBZdW4gPGNodW5mZW5nLnl1bkBtZWRpYXRlay5jb20+DQpSZXZpZXdlZC1ieTog RmxvcmlhbiBGYWluZWxsaSA8Zi5mYWluZWxsaUBnbWFpbC5jb20+DQotLS0NCnYyOiBhZGQgUmV2 aWV3ZWQtYnkgRmxvcmlhbg0KLS0tDQogZHJpdmVycy9waHkvYnJvYWRjb20vcGh5LWJjbS1jeWdu dXMtcGNpZS5jIHwgIDQgKy0tLQ0KIGRyaXZlcnMvcGh5L2Jyb2FkY29tL3BoeS1iY20ta29uYS11 c2IyLmMgICB8ICA0ICstLS0NCiBkcml2ZXJzL3BoeS9icm9hZGNvbS9waHktYmNtLW5zLXVzYjIu YyAgICAgfCAgNCArLS0tDQogZHJpdmVycy9waHkvYnJvYWRjb20vcGh5LWJjbS1ucy11c2IzLmMg ICAgIHwgIDcgKystLS0tLQ0KIGRyaXZlcnMvcGh5L2Jyb2FkY29tL3BoeS1iY20tbnMyLXVzYmRy ZC5jICB8IDEzICsrKystLS0tLS0tLS0NCiBkcml2ZXJzL3BoeS9icm9hZGNvbS9waHktYmNtLXNy LXBjaWUuYyAgICAgfCAgNSArLS0tLQ0KIGRyaXZlcnMvcGh5L2Jyb2FkY29tL3BoeS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