From patchwork Wed Apr 28 09:53:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Kochetkov X-Patchwork-Id: 12228413 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B451DC43460 for ; Wed, 28 Apr 2021 09:52:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 71E9D61422 for ; Wed, 28 Apr 2021 09:52:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238329AbhD1JxF (ORCPT ); Wed, 28 Apr 2021 05:53:05 -0400 Received: from fallback20.mail.ru ([185.5.136.252]:57204 "EHLO fallback20.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbhD1JxC (ORCPT ); Wed, 28 Apr 2021 05:53:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail3; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=wdX01Xs5Liy4UjTCHaJvotd+I+dSklf4DbrntnEpbm4=; b=ngambwgATWvPR6eztzBYDNYWvBcJXwLY55OF4WuV28Sm0ZRYl0YDrhg80Dp9QfjVeM9ezkdaLDDnmJbdaWOPmJQfFhJ7xF2/B+sIhFlixS9Uc+yxZSMn3e1z6UBd+oIMta1ymKuIMbKTt/ibAei2h7IiJzfywvwWCYOxqbYJbPw=; Received: from [10.161.117.32] (port=40592 helo=smtp3.mail.ru) by fallback20.m.smailru.net with esmtp (envelope-from ) id 1lbgrg-0001OD-KJ for netdev@vger.kernel.org; Wed, 28 Apr 2021 12:52:16 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail3; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=wdX01Xs5Liy4UjTCHaJvotd+I+dSklf4DbrntnEpbm4=; b=VU4bhmYbcoeGJ/xB3PJo5q8cQcFYNAfuIfh+bz5noENeUDPXw29HJWeXj1gQQuAb61ghDPcNrVGvldzCimrTspoi/7wCKQkIxTSqrSwxjttrHoj5VLImFAgA1gMQduSsPYi5cgefVJMjX1TS1WImp1TOvBSVg3Kngv+bTVSX3Zc=; Received: by smtp3.mail.ru with esmtpa (envelope-from ) id 1lbgrb-0003Iz-18; Wed, 28 Apr 2021 12:52:11 +0300 From: Maxim Kochetkov To: netdev@vger.kernel.org Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, kuba@kernel.org, f.fainelli@gmail.com, Maxim Kochetkov Subject: [PATCH 1/1] net: phy: marvell: add downshift support for M88E1240 Date: Wed, 28 Apr 2021 12:53:56 +0300 Message-Id: <20210428095356.621536-1-fido_max@inbox.ru> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9ECFD8CE5F059401038B9CDF7FBB47393FA4BE7AD94852C87182A05F53808504094B703FB09BD5DFBD05FED6264FBE1F2B32C50E69B441CFA9B2ED67500C4F6F3 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE782A779A89F7D69B2C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE71AB87D0AB0DD9D358F08D7030A58E5ADC58D69EE07B14084F39EFFDF887939037866D6147AF826D8D83A5DCB5AF283D2B25A4F8769A549A4117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCF77088377309FF52A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F44604297287769387670735201E561CDFBCA1751FF04B652EEC242312D2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EE652FD71AFB96DC7DBA3038C0950A5D36C8A9BA7A39EFB766EC990983EF5C0329BA3038C0950A5D36D5E8D9A59859A8B6425A8B0AE447E08B76E601842F6C81A1F004C906525384307823802FF610243DF43C7A68FF6260569E8FC8737B5C2249EC8D19AE6D49635B68655334FD4449CB9ECD01F8117BC8BEAAAE862A0553A39223F8577A6DFFEA7C837C4FEFBD186071C4224003CC83647689D4C264860C145E X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A24209795067102C07E8F7B195E1C97831BF49E47F38FA80512240D5316989BD39 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C8E0B2E50BE5001AC3F12113CB9E2AADF9A1F785B5F4C6FCD9C2B6934AE262D3EE7EAB7254005DCEDFEE724B1FD2CE2B21E0A4E2319210D9B64D260DF9561598F01A9E91200F654B01098AAFFB0A1231D8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3454E98140CCACB5B30F1DED6CA0CBE08C5B9D53B0FF9FAF2A135CB2CA644468381295A0039048F1E01D7E09C32AA3244C38845EFF62FC19764ADAF06E5DC31A0B3C6EB905E3A8056BAD832FF50B3043B1 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojoCaqxM2e5sotisotFRUVkA== X-Mailru-Sender: 11C2EC085EDE56FA9C10FA2967F5AB24DDA7F1C610ED3FB638E05AD5785F52EBA8C2B93F1F5D73B9EE9242D420CFEBFD3DDE9B364B0DF2891A624F84B2C74EDA4239CF2AF0A6D4F80DA7A0AF5A3A8387 X-Mras: Ok X-7564579A: 646B95376F6C166E X-77F55803: 6242723A09DB00B45562A35114C4D62A7E062EA9D3FBA00FCA139D773ACC0096049FFFDB7839CE9E0088CAACE7D2CDB9F84A3E024D8B0D32157C340B930F23CE22B8993CE5569975 X-7FA49CB5: 0D63561A33F958A5BC93B0704155546CAB1B5170ACDF537873EDE1EDC84A00078941B15DA834481FA18204E546F3947CDAEF1DB43D7511E1117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE758C1844A7A85E7B68941B15DA834481F9449624AB7ADAF37BA3038C0950A5D3613377AFFFEAFD269176DF2183F8FC7C0E4EE7DC94180836E7B076A6E789B0E97A8DF7F3B2552694ACDED94BCBF13EF3B2DBA43225CD8A89FB26E97DCB74E625235872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C8E0B2E50BE5001AC005F420255DBEB856D682D5AF74718879C2B6934AE262D3EE7EAB7254005DCEDFEE724B1FD2CE2B2699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojoCaqxM2e5srjVZXGdZcUnw== X-Mailru-MI: 800 X-Mailru-Sender: A5480F10D64C90053DB5E8752E58C64BB1FD36C19B1948352702340FE402EA504B9E3DE306C0EA93EE9242D420CFEBFD3DDE9B364B0DF2891A624F84B2C74EDA4239CF2AF0A6D4F80DA7A0AF5A3A8387 X-Mras: Ok Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Add downshift support for 88E1240, it uses the same downshift configuration registers as 88E1011. Signed-off-by: Maxim Kochetkov --- drivers/net/phy/marvell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index a61fde7013bd..0b2cccb0d865 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -2870,6 +2870,8 @@ static struct phy_driver marvell_drivers[] = { .get_sset_count = marvell_get_sset_count, .get_strings = marvell_get_strings, .get_stats = marvell_get_stats, + .get_tunable = m88e1011_get_tunable, + .set_tunable = m88e1011_set_tunable, }, { .phy_id = MARVELL_PHY_ID_88E1116R,