From patchwork Wed Jun 30 22:22:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 469452 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=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, 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 0359CC11F68 for ; Wed, 30 Jun 2021 22:22:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D9D3661481 for ; Wed, 30 Jun 2021 22:22:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233354AbhF3WZO (ORCPT ); Wed, 30 Jun 2021 18:25:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:56274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233212AbhF3WZJ (ORCPT ); Wed, 30 Jun 2021 18:25:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2CF6261490; Wed, 30 Jun 2021 22:22:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625091760; bh=J0Ds62XsBNHYwds2+oM1nKWi5HyxozVAlqI9TYplaug=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q8c4/J8hW+hgqPIm0eYWEb1Rqa/x3KzC0OxzCtn/w9Gqk5NkYP3DMcDfzIgmXdgcK FN9dCRDagBdrsLbd2H4HWwkwgCxjDxQxsjUUklUzEE1M40aKE6B4anoIvmZaj+zpkh vLqCvLqKfnYnskarlBV4oKut2vMiG+hzzN99SXbfeCBr1fe7i18Q+mP+aclmCd0gBR 2mn7lSxOXqYuYOIc3NKG/KqNoXaEWaFPNaUnY6a3db+95tgB0UyVNoLHslOpXPjbmi P7FFcy7Wk2P32h/AXGtpPBGubddbogHPNtuwMAEQdETw6Z6hd3j80S4FG4s3ZWlZKg bO3Y+8xNAOKRw== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: netdev@vger.kernel.org, Andrew Lunn , Vivien Didelot Cc: "David S . Miller" , Jakub Kicinski , =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH net v2 3/6] net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz Date: Thu, 1 Jul 2021 00:22:28 +0200 Message-Id: <20210630222231.2297-4-kabel@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210630222231.2297-1-kabel@kernel.org> References: <20210630222231.2297-1-kabel@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Commit 9e5baf9b36367 ("net: dsa: mv88e6xxx: add RMU disable op") introduced .rmu_disable() method with implementation for several models, but forgot to add Topaz, which can use the Peridot implementation. Use the Peridot implementation of .rmu_disable() on Topaz. Signed-off-by: Marek BehĂșn Fixes: 9e5baf9b36367 ("net: dsa: mv88e6xxx: add RMU disable op") Reviewed-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx/chip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index b125d3227dbd..d4b05c10e5f2 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -3607,6 +3607,7 @@ static const struct mv88e6xxx_ops mv88e6141_ops = { .mgmt_rsvd2cpu = mv88e6390_g1_mgmt_rsvd2cpu, .pot_clear = mv88e6xxx_g2_pot_clear, .reset = mv88e6352_g1_reset, + .rmu_disable = mv88e6390_g1_rmu_disable, .vtu_getnext = mv88e6352_g1_vtu_getnext, .vtu_loadpurge = mv88e6352_g1_vtu_loadpurge, .serdes_power = mv88e6390_serdes_power, @@ -4408,6 +4409,7 @@ static const struct mv88e6xxx_ops mv88e6341_ops = { .mgmt_rsvd2cpu = mv88e6390_g1_mgmt_rsvd2cpu, .pot_clear = mv88e6xxx_g2_pot_clear, .reset = mv88e6352_g1_reset, + .rmu_disable = mv88e6390_g1_rmu_disable, .vtu_getnext = mv88e6352_g1_vtu_getnext, .vtu_loadpurge = mv88e6352_g1_vtu_loadpurge, .serdes_power = mv88e6390_serdes_power,