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=-6.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 E7D38C4321A for ; Thu, 27 Jun 2019 21:58:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B42672075E for ; Thu, 27 Jun 2019 21:58:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726524AbfF0V6W (ORCPT ); Thu, 27 Jun 2019 17:58:22 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:49797 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfF0V6V (ORCPT ); Thu, 27 Jun 2019 17:58:21 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45ZYgH2PtPz1s28f; Thu, 27 Jun 2019 23:58:19 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45ZYgH1sqLz1qqkH; Thu, 27 Jun 2019 23:58:19 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id RQlIl7F6OoRl; Thu, 27 Jun 2019 23:58:17 +0200 (CEST) X-Auth-Info: YW6Vl+vNwvajhw6ZyAL8rfz8g6uZhJtmjs/vVtTyLz8= Received: from kurokawa.lan (ip-86-49-110-70.net.upcbroadband.cz [86.49.110.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 27 Jun 2019 23:58:16 +0200 (CEST) From: Marek Vasut To: netdev@vger.kernel.org Cc: Marek Vasut , Andrew Lunn , Florian Fainelli , Tristram Ha , Woojung Huh Subject: [PATCH 0/5] net: dsa: microchip: Further regmap cleanups Date: Thu, 27 Jun 2019 23:55:51 +0200 Message-Id: <20190627215556.23768-1-marex@denx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patchset cleans up KSZ9477 switch driver by replacing various ad-hoc polling implementations and register RMW with regmap functions. Each polling function is replaced separately to make it easier to review and possibly bisect, but maybe the patches can be squashed. Signed-off-by: Marek Vasut Cc: Andrew Lunn Cc: Florian Fainelli Cc: Tristram Ha Cc: Woojung Huh Marek Vasut (5): net: dsa: microchip: Replace ad-hoc polling with regmap net: dsa: microchip: Replace ksz9477_wait_vlan_ctrl_ready polling with regmap net: dsa: microchip: Replace ksz9477_wait_alu_ready polling with regmap net: dsa: microchip: Replace ksz9477_wait_alu_sta_ready polling with regmap net: dsa: microchip: Replace bit RMW with regmap drivers/net/dsa/microchip/ksz9477.c | 128 +++++++++---------------- drivers/net/dsa/microchip/ksz_common.h | 14 --- 2 files changed, 47 insertions(+), 95 deletions(-) -- 2.20.1