From patchwork Sat Feb 13 03:46:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12086535 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=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 2D53FC433DB for ; Sat, 13 Feb 2021 03:47:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ECF4964E8D for ; Sat, 13 Feb 2021 03:47:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232005AbhBMDrT (ORCPT ); Fri, 12 Feb 2021 22:47:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231470AbhBMDrQ (ORCPT ); Fri, 12 Feb 2021 22:47:16 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B260DC061574; Fri, 12 Feb 2021 19:46:36 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id gx20so732257pjb.1; Fri, 12 Feb 2021 19:46:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HHroYqFOhd153R2kmw2Y6C5M9yxYxK4rF0L1fVxmrHg=; b=SuFe4fKhf2YrTZcI4XqxCeDWEG/M4epx1nCeiZWFJDSKYzGcUCsMelP68WmLyD4pnq AOGN2aIjssmQmuVOJmTAEOPf8wfWOcBacSIm0CJTRiiOr7NyHYjQMirr2G1GTpIYpor6 qv0KwtJjcDqE1UDv253x9GvTm7q4drVDC6YjwTxkbs5HYLCAU1uGDlkj4lDnekDAgRi7 sliv9eGVpC6pOOv5M2OjhuLrlbsP+SOgnDxECxbupxTalnyKe1ZeizRpJmZlVFvEo2PI sob5hV5Lh7dwgHk1ZlNDCeQLa7SQMO1eDKnPFOOidC683cF7LBxWGFdm4N4ulGL/UFGs YEPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HHroYqFOhd153R2kmw2Y6C5M9yxYxK4rF0L1fVxmrHg=; b=H2jh5dUhRhD9ilfFGCrX9p1MdkKmHt586dvlNL68KL2+eVlqKwwanKUJxn3ctU96h1 1yYu/Vci9uTMBgVu2Tm+l9ceOhzDLLCH2+pW0MWNWQmo7vXSJMvhMmOotwm8HwloK5AP +4Hve6QKGlx8AE3Ppkz3DaDxTdRSc/CTTrXubNW/tGmTeDX71NO85zKg0OUi4lzIJuuE EFFHY/T5NQcvZB+PiLODxYXb0iZbYxX1E5d/iGIeE0DtB6kNh1n1yDGzPdiqAEs8pQTU UpADh3GHSMp2ws4cDWWgKuQoDpFFUcwyvJi6MJ1enXb8K/BlaFjlvDd4zoVGysDuKeVm +evg== X-Gm-Message-State: AOAM53058KRty5xSFcGHt1/txvbzFZgelXMlGwt+LUZo4JHXF6rJqwYo ghrHasV4ZbBi76oWiQ2mV5nOMAg+JcQ= X-Google-Smtp-Source: ABdhPJzhQw2iUNrjSDL8HptXHY7a5tF9VNixE2A8KaArVlH8duaeBHZmsez2laH+2VrB2iPqWuTFiA== X-Received: by 2002:a17:90b:1804:: with SMTP id lw4mr5628000pjb.141.1613187995705; Fri, 12 Feb 2021 19:46:35 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id y14sm10399057pfg.9.2021.02.12.19.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 19:46:35 -0800 (PST) From: Florian Fainelli To: netdev@vger.kernel.org Cc: Florian Fainelli , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Michael Chan , bcm-kernel-feedback-list@broadcom.com (open list:BROADCOM ETHERNET PHY DRIVERS), linux-kernel@vger.kernel.org (open list), olteanv@gmail.com, michael@walle.cc Subject: [PATCH net-next v2 0/3] net: phy: broadcom: Cleanups and APD Date: Fri, 12 Feb 2021 19:46:29 -0800 Message-Id: <20210213034632.2420998-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org This patch series cleans up the brcmphy.h header and its numerous unused phydev->dev_flags, fixes the RXC/TXC clock disabling bit and allows the BCM54210E PHY to utilize APD. Changes in v2: - dropped the patch that attempted to fix a possible discrepancy between the datasheet and the actual hardware - added a patch to remove a forward declaration - do additional flags cleanup Florian Fainelli (3): net: phy: broadcom: Avoid forward for bcm54xx_config_clock_delay() net: phy: broadcom: Remove unused flags net: phy: broadcom: Allow BCM54210E to configure APD drivers/net/phy/broadcom.c | 101 +++++++++++++++++++++---------------- include/linux/brcmphy.h | 23 ++++----- 2 files changed, 66 insertions(+), 58 deletions(-)