Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1041388pxb; Thu, 5 Nov 2020 22:15:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0xLMU8TnOZTzaW7GvG+H8tEjWVBj3lqA3bdvxKeLiglkhng5rVCHwZ6ATShHIU4w2r+64 X-Received: by 2002:a17:906:68d8:: with SMTP id y24mr571743ejr.438.1604643321497; Thu, 05 Nov 2020 22:15:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604643321; cv=none; d=google.com; s=arc-20160816; b=UHHBS4H18/NVhNP5f12k07T6CMO3ju9XrBWuXEMtwlyodV2Kt6veJQzFcLStCad7D0 tnvoX4BX9ZnWXx0NCe8CVYItB9gSie6rvKvo/eVYF+/bPl+QHqfIlTjPCmOmNgBjl46O 0mU0ZjqF0GkMj1v566sRtl7rG6PLb9X4nvgJzeip2SsUJBpsIjmuqnIO7kNhZf/DFQH+ ULUQU91YVk8t8IfvnSWDFZrxWNQQILECEfvI3yCQlc7Vvzoc1w7WBadPG7qoxZXPnibZ MtX6VjNaG87bOS0e/As7iG8L+H1Q/9RKddZwP4zTLTnBHoEpHT8KKkWO/bb8kAMbvFQQ VFDQ== 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=+jQTv6Qdqq2eI24/km4wG6QU5N33+5xqcoowHO6chiA=; b=gk1YhifjvKfmY77Iw60RW/uaBnwDiCkrrunWWCc67+d05CzjNH5GaUXy0z4cdJ5rSF y4jOxjXPoJk5y+oQ3YotIZ1cpG7zWryYoUymAZCk8054kW/1/qEOIJKHzrtDwr5TdQOI hfP72st9cHutj5ZqUpiKrzUw10HYPpi6oEyFABJH83EO8mqK0tW4Lpvcz7TrtniBYzwC EtNt3lovP7od/r6uG4sxIQ0RYuBqN+7jRacBsKihpDP8+6vDZaBSIvvfXimS5jlRsnu/ 7eAGNJIgO7t8ktqOnepojSHoXT0o+Ik5v1DCHuAqt6oHowHVYNQ0xfX8pJO/XD3YKyvP SYig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=RDWP4ish; 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 k7si134083ejp.590.2020.11.05.22.14.58; Thu, 05 Nov 2020 22:15:21 -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=RDWP4ish; 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 S1726397AbgKFGKl (ORCPT + 99 others); Fri, 6 Nov 2020 01:10:41 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:41074 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726427AbgKFGKk (ORCPT ); Fri, 6 Nov 2020 01:10:40 -0500 X-UUID: 90920305bdd44e38b8425b7b6b02ee91-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=+jQTv6Qdqq2eI24/km4wG6QU5N33+5xqcoowHO6chiA=; b=RDWP4ishM7KYGKitAvZze0d0T1Zsp9xTKH7MXnfW2rQa85ZHKYRLwqN8Df6wbAjXyqgdYPLsYdy+cjtoJ3gD87joWnhnxV+wrKo/HaB0TzsNjOTwI7HBm3uza2ylAVAEMwVIUodA/ub0Giz7v7ilf4TJf5TURHb795sDzjnDB7A=; X-UUID: 90920305bdd44e38b8425b7b6b02ee91-20201106 Received: from mtkcas34.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 1204966392; Fri, 06 Nov 2020 14:10:24 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 6 Nov 2020 14:10:22 +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:20 +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 , , , , , JC Kuo Subject: [PATCH v2 16/17] phy: tegra: convert to devm_platform_ioremap_resource(_byname) Date: Fri, 6 Nov 2020 14:08:49 +0800 Message-ID: <1604642930-29019-16-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: 52AC62223D6A58C1141D2B11B17D5F423BD0D094CBA3439EF0BF2F6F9F23FAA42000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlIGRldm1fcGxhdGZvcm1faW9yZW1hcF9yZXNvdXJjZShfYnluYW1lKSB0byBzaW1wbGlmeSBj b2RlDQoNCkNjOiBKQyBLdW8gPGpja3VvQG52aWRpYS5jb20+DQpTaWduZWQtb2ZmLWJ5OiBDaHVu ZmVuZyBZdW4gPGNodW5mZW5nLnl1bkBtZWRpYXRlay5jb20+DQotLS0NCnYyOiBubyBjaGFuZ2Vz DQotLS0NCiBkcml2ZXJzL3BoeS90ZWdyYS9waHktdGVncmExOTQtcDJ1LmMgfCA0ICstLS0NCiBk cml2ZXJzL3BoeS90ZWdyYS94dXNiLmMgICAgICAgICAgICAgfCA0ICstLS0NCiAyIGZpbGVzIGNo YW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgNiBkZWxldGlvbnMoLSkNCg0KZGlmZiAtLWdpdCBhL2Ry aXZlcnMvcGh5L3RlZ3JhL3BoeS10ZWdyYTE5NC1wMnUuYyBiL2RyaXZlcnMvcGh5L3RlZ3JhL3Bo eS10ZWdyYTE5NC1wMnUuYw0KaW5kZXggNzA0MmJlZDlmZWFhLi4zZWUwMmI5ZWIwNGYgMTAwNjQ0 DQotLS0gYS9kcml2ZXJzL3BoeS90ZWdyYS9waHktdGVncmExOTQtcDJ1LmMNCisrKyBiL2RyaXZl cnMvcGh5L3RlZ3JhL3BoeS10ZWdyYTE5NC1wMnUuYw0KQEAgLTcyLDE0ICs3MiwxMiBAQCBzdGF0 aWMgaW50IHRlZ3JhX3AydV9wcm9iZShzdHJ1Y3QgcG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