From patchwork Tue May 30 17:34:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 9754935 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D9845601D2 for ; Tue, 30 May 2017 17:34:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C15A926E74 for ; Tue, 30 May 2017 17:34:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B548827FE4; Tue, 30 May 2017 17:34:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 781E827F8F for ; Tue, 30 May 2017 17:34:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5j6ZH6A7e4JqbUYeuaXT44v7TQWdZ8VgV6V7ujJVo/Q=; b=AS4CVGje6zNdIb kuauH95uq/IBoZd0pQFLQQs2eygpQF+ngyCSgraqRxO1FFDVj00XhQ1jC39/+C5AaMTBhD3WM+fbe sPt59Pan9wnTDnM8GsMu2WJOSKaeVVtUkVnshMENNxmmuvzI9WD6cqicgq2s7KIbp3B8/cNtmIA2A meOA8V727HV/SAt/I/HnZgl1XjObuk4kJs65oVagpHpBBzk57G2FKeH/TLU+oS+ZO+mibP/46cBol NfQl2KRKMeF1q3b55jHsGo4SCigABRp5rYwGpvixMI+Zc1Wmt5d8jHc98l3YKipac1abCu9km9RBf fi/cQClt4sHPgJDCOyDw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dFl2g-0007So-Ig; Tue, 30 May 2017 17:34:50 +0000 Received: from mail-dm3nam03on0074.outbound.protection.outlook.com ([104.47.41.74] helo=NAM03-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dFl2c-0007R9-Uq for linux-arm-kernel@lists.infradead.org; Tue, 30 May 2017 17:34:48 +0000 Received: from DM2PR03CA0028.namprd03.prod.outlook.com (10.141.96.27) by MWHPR03MB2574.namprd03.prod.outlook.com (10.168.206.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Tue, 30 May 2017 17:34:22 +0000 Received: from BY2FFO11FD009.protection.gbl (2a01:111:f400:7c0c::107) by DM2PR03CA0028.outlook.office365.com (2a01:111:e400:2428::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Tue, 30 May 2017 17:34:23 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD009.mail.protection.outlook.com (10.1.14.73) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1075.5 via Frontend Transport; Tue, 30 May 2017 17:34:21 +0000 Received: from fsr-ub1664-115.ea.freescale.net (fsr-ub1664-115.ea.freescale.net [10.171.73.164]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v4UHYFtu029045; Tue, 30 May 2017 10:34:19 -0700 From: Leonard Crestez To: Shawn Guo , Florian Fainelli , Andrew Lunn , Andy Duan Subject: [PATCH 1/2] ARM: dts: imx6ul-14x14-evk: Add ksz8081 phy properties Date: Tue, 30 May 2017 20:34:03 +0300 Message-ID: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: X-EOPAttributedMessage: 0 X-Matching-Connectors: 131406392623313207; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39400400002)(39410400002)(39380400002)(39840400002)(39850400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(4326008)(50986999)(104016004)(5660300001)(86362001)(39060400002)(38730400002)(48376002)(50466002)(2906002)(498600001)(230783001)(105606002)(8676002)(6636002)(36756003)(356003)(6666003)(5003940100001)(53936002)(305945005)(2950100002)(106466001)(85426001)(33646002)(7416002)(50226002)(8936002)(81166006)(76176999)(189998001)(118296001)(77096006)(47776003)(54906002)(8656002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2574; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD009; 1:KQASNi/NBKQxbPZmRklmL/9Xpt6Eqx7zUGr/3ztJP0vUAxiHAEADVow91nduZ8c9jMI9MqT46bm59FzedbB3r6GiJ8nEEG2m99dHbIuTirZbFz9tOAzk5A13Ach07yjSagMLrvdXsToa89zN+H5wLu1X4Oimz1X0wVBn8KjS4qPkE5n6BWHixcgCA4JwE+dmurGWJ3qLh4lUL1L2A4lBC6rVsEPUjS5BIWlzzvPcocH9pb8ZzTSOojfWSTXcs8Eorx/fq6mb7igaWJ4HkqgdfHaXRlJ4nnSh8/aUk2WTHcT++z4LRkPtIyNzH9C0sC4CyQgH00FUpGUQRdJWtS1QGsyX8Myos73FJwcTcmZNa746l86ioEsx1G3XcF3p0wjaGrfq4hdz4mNSucVq/NwQaqm0hXui0AO8oe+s1Sd7u8A1N+xFoGZmO970WswRaroPjCsjWEaILbxIu79SHwGtAgtapnzcVT4JHCi1G6vNT5DuH3hAB6LZCrfZMphZsJdvgjHCP0Ec57v1ndziqCbHv+OAX1q8O7yxslmKeE1pF2K4FKoh2ooHxAysnRcutRwL MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR03MB2574: X-MS-Office365-Filtering-Correlation-Id: 8d7fdd64-e829-4011-3137-08d4a7821bfe X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:MWHPR03MB2574; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2574; 3:nbK7r/bX6URSeDZXoqf6m4dRR+C449avs8dUaDN9bq9cGPT0YGuwzlo6ZAjast+9Jar/EFt0EFHjF6DFXAL58gt8otEaXdigiXI4r8fI9pL5xs4C5nXyoPZYV8MAug+hJsTHRnjFVh+5gib4/ssqZKpto0bsuy3k6KaMRSx3bl78RazqnifkPLpMhpF5iweN3WK5yHxt7j307UE55Gb/f5jwWceA66r307TjojCkN/oBEXhlNWOBdE3Ie7CqSlaJ6eVpfvcBTu/YQ0xq8oRLMFn7HY7zRMD+YnlvhJrq37Ooo4WKb9BRfVXl1cV0wp6G3SizrrXgdc7v3zJ3ICbiZPp9fClr6V8t1hQlTatQYLNDLpv4MRARc/NOqgDICkc2Hxtgt2jBn9QJeiqvPKod4Iu/MRv27VcvURS+6LQTo82VhYPWGKUuSney+bhZHNIy; 25:X6bKst7G3h4iZ90UpWM3DyeKSQe5zq3tkRyATTXeDWB5nBJ5kUKdCScRA5sAtFQP74n3qCyGJZx8W7k9svuF1flq6gjJenRlo2GP/qj9O1ioeTitlFwk902ysvW0VHNEA4wfcN9ehWRq/eJbpxn0PebB+/667g9EpZ0418qQccd2QYy3yhjARXftFEoOjj0rzR361Bw350DMMSXFNifaOiGg/o5oJqDu/G1K5hariezUzWsUA+SIRrKB1FET+BjKWP6STOE68+Mhnsl3fwJjqIGQGO4xBeg/RaPsqh+GxkyUk9bfOuyQozqa2686glM/yvvOz8Lq9kSoRCVVPQEarjh94+f9kz46Yusg4zXWtGC2mbMdAPQ4TuXESdBzwKmkODYXL0csVhDesStcx+FgEeCSWHKEBzSMhV9N4uyouj6Ph+cB5RLqwUylv6Hfa1MCA5Le8hn1Kn6uwt9RBm04ZOys+3XAu03fZrEeqbNWpHo= X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2574; 31:ImXsUdIXaGaupQD6M8djXJ5ukBf4fj4FQNF62Wvdd06HP7uhVNlVcLC6YL2xAuZwqnDT1mkfMYYgeUYGyfdypMzmnC83fBL4uwIcwUfLHXZQydO9idaHDbthXKuFIrH2EN14RTlYe/OGagTrNLMhatcyA6uukAsR52AfXuNl3xrbfNAS2WI3PicgVmGAFifxKsk6bhenmrFhCFYKGqa7vtYqo5jnOOXLAirwl4nfB7QS68QDHggnQ8pjN4pLrREimdPI61TtS/+3hsYtzyRMpA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123556025)(20161123565025)(20161123561025)(20161123563025); SRVR:MWHPR03MB2574; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB2574; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2574; 4:3WZd0AOspJfOB3FNm2I3DlRmwYQQOc+Y9gIRI9sL5p2dw8ohcGrlX85S+pIXp7X8rfVp0E2/eyUHPGFnZqvi4nJBN0JNpEDKYHMAw4QvVV0NEyGHtcmhUDHjhO5rDuTMlcQODTajBXogIu4H2r2Z6XfjeYG1duwnuSIlTy9kWJ1l7nqttjXFxhHV7en/4uymcN2mLXLPSKM2GkkW5HLdQ75U3I82ENIZXWPFuNAgDsPtBNTKCjQejzbOyPT3M9Bo68VBipmPegN6VnXocgLkauMsseEtFb6i31L3JaQFYHWq+JmjkM2Da4iwwYEIGCaVn1k/rCadudl3ro++KYN5hYQh7rnOWa1nSkOKmKOdzPgNBgOpuCHG4UuV3YHkjlQFSA+c5GjOdzRFJ8N1pENfh3gLdHLmNBoEog3gWq+pFQ4NtNufjYkItRDl5v5LrhVkkM8FPgpUV0eOepeKShUTpkVopVWvflPMxTOTynvoYEAcGvMQcnA+OkhfNDEIeYsObDKe55N3Ztf+91flZanTPW9hrutdaWmTDwZExC9CgbbXMZkADPinlYw4B4e0kMDbzvLfcsYNRFbxVyGGXnThU9XK6ZCHRI8FT3TDNo34YvzYlVMdvbiO3Ya1UaAe5IJBW+Lv8fIR3Jlt4HPquU5FbY4Jl4HgIkvCup+6HfIoWSlNF9SOJhWNBKrg5t/OrHgvogSjMN7dSeuj+ilD6AEbc9mCYoEFNvVhbEl4r4nPt6JDpjkHrlBVhzdU2qJTOsuG5FlD/tiron+Yh6SXSs02L3VTxZnJQ2KkUgBS0o1X363zNQtKrECLqgNIf/J6N+ZvqkqcPFOE+IitrHcz1Fd2FuW3xnhmgMt8shfa9FPAHA8aMBwLBGDa9zi4q+UQ4AywiSw1z1gaPn8Xv7qeDTVSwQ== X-Forefront-PRVS: 032334F434 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2574; 23:S/hxo4M6HEkw6UG5o/AR4+rZs0n2egqr74vDVZFmm?= =?us-ascii?Q?ScigLvGCNWJpVuemxU9jr+ukJXiFb4akyBdyc5jqVbrfY3PdKAq7uImaWb3U?= =?us-ascii?Q?cl1DPAiw6OviHdEXw/6kToNR5VrbtPa5EEzzcL9zg+DlBzR/YntcdDXSvfZ5?= =?us-ascii?Q?1EUbPp3yvnO4KJzb9JnOzE+iV+Pw6BBikOO+GhS1YVXXeuQV9HlYGjiC5W0B?= =?us-ascii?Q?yD4V6AI33H26UJ/okNWatH6u72iS+1x1DUD++sCP+ogZ6SmZP89xtCILb8U7?= =?us-ascii?Q?5FC3mM8GsnyOepHJr0IjNfFBxQHqLtbsaqlOmf3Ly81UGq5QbQaqaaDD70NG?= =?us-ascii?Q?bK84QJnTcSoAfHI3aDlKNIxisKWPgD/AxX5PNXTszXW9L5H+UBrENrJdh3Su?= =?us-ascii?Q?i+BGWQvFXd8wFHNZ/S+30k8Va9t+3dYaeCN5wFre3rreJ7HnMukH3fjA4zVG?= =?us-ascii?Q?9WjZnU75QaihVDaHabNp3YdWvdM6Koh2FgEiLjphDSMmpegv26NPU26OU/XC?= =?us-ascii?Q?Zit4MR+LrIsA9E7OD2EDf8jmdd5KMurrkD54T7fhi+fWMi6sFLQqIa9x4hzC?= =?us-ascii?Q?8ONYowheoqnMYAOwKfUVDNDXp/hN01qYszLq98tcWBDRhcA6SOpgeH8VuIcD?= =?us-ascii?Q?0yIHBNwCZyFOAey6e8yq9Zgfl3WoN1GSrMM/YHfvA5qjmk8IdNa155eidSKw?= =?us-ascii?Q?5mQqY0Vb1m4J17pFodtQJaQuvz0TGCZSzgGiYLYPRcF3w93FYi8w4H52mHCM?= =?us-ascii?Q?xcW1i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N0QTESTBj8Wj/LrO71/iRspcr5V8PBLiDxzNONR73FrwNuOG1l1CIBWD2rVPZtlWuZaj2zv/dHaBub8jnCKy+KtBXKqhsOuD3fRc5UrJ7tfvpemttgjrK/hFevL2lV4MTuhGtiogquAtUhF3jqPytVC+YhfGmVNWJyFZk2rDoLa7bGK2pUOuZNEwInXu5Kf2UhRRA==; 5:qqzApxW0LyJbi3KGGp6scytoApRlVm1ZVWjos9WPSXT6e3Pl+7kqwDJaHieiht3F6GLsC3IolVpE6HJ1IDP42vbVxYOhvUvkHqUEt8xcmsr41yexAxyVUbD7nwKyaI6k/3k1NVhA9WL77W7qrMcWLhUruvIR7GVZn90m44V6ybLVGfXh5fZigMXfsghVZ8KY; 24:Ts5HCbK3tZVpvOwTWmwmPQ5qM27pjwNoMiRj2xEDfqHD1MTNROLnY+o+U+x3T5D3sJA+2EL8wfpRSgGohpNntYACw4lNtDN56NMLY6Zc+zM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2574; 7:465NqyPSzMotX6EM2vRRbUHiYJqNQfZz5QV7zqbpMcwPnGQ44Ty1jNLnRrm2Z8xG6YRtyraruztgQHoVBVqSSqwYYH+HwU//9rRlIf1nTMqaXR3MoVrVXHFd8wzuT05+RyJKopDrDEjreAwSIsjH5+Bl8Mi3us1QNyHklWV8ec317E0E/nkJmsZSB1BPynN2VKv+z9L4RzcoJ4k1sKDcinBNF7F9L30AKVgiAPrPRATmnse8OPaCPxJLrblVCMwSY6ncLrsGJCQWRRkzeCMc19keomuD8TcranPrWs0kUcX9Ra7xkYllNWlSoAMcT0Lms9nGYsofphQ42too3sMdqA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2017 17:34:21.8945 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2574 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170530_103447_129683_A11D3AD1 X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, Johan Hovold , linux-kernel@vger.kernel.org, Alexandre Belloni , Philipp Zabel , Fabio Estevam , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Right now mach-imx6ul registers a fixup for the ksz8081 phy. The same register values can be set through the micrel phy driver by using dts properties. This seems preferable and allows cleanly fixing suspend/resume. Signed-off-by: Leonard Crestez Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6ul-14x14-evk.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-evk.dts index f18e1f1..d2be8aa 100644 --- a/arch/arm/boot/dts/imx6ul-14x14-evk.dts +++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dts @@ -120,10 +120,16 @@ ethphy0: ethernet-phy@2 { reg = <2>; + micrel,led-mode = <1>; + clocks = <&clks IMX6UL_CLK_ENET_REF>; + clock-names = "rmii-ref"; }; ethphy1: ethernet-phy@1 { reg = <1>; + micrel,led-mode = <1>; + clocks = <&clks IMX6UL_CLK_ENET2_REF>; + clock-names = "rmii-ref"; }; }; };