From patchwork Thu Jul 26 18:36:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Parameswaran X-Patchwork-Id: 10546297 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1D47C112B for ; Thu, 26 Jul 2018 18:36:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06EC4286F2 for ; Thu, 26 Jul 2018 18:36:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE7C029A42; Thu, 26 Jul 2018 18:36:41 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 9BD75286F2 for ; Thu, 26 Jul 2018 18:36:41 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=qz+tQWVRi0ZQabsUD08a/aPKmjYKzPDAixc3k1ca3qk=; b=aGy Nzvd0z2vHWg6Vd/4nlB7pKw8i3MHQr41PHCOuHA88tsNJe4yp6CL4RptGhTqjagGgGG+Yr0ih1Lyp V/bIF69Gl0XmQwmKmMDszzAY9dpFO9i3gUA51XczoeoP41cGqyZAnmaVUoiuktrKatZ6gFV6JNCTM IGETJJDkbXQqJ/rK0+RETkZAmEQ764T+JFIMilMAiNMFMdqWP4yXUVq6lgaGoTMvbvmMBU8iodCBG J/HXku9LTj0pjqbFZRcocGagC0I5871fh4k/UTsNWBXAc/t7QDHKgZl9eMNPC/xwrk0PpLsBtjs9T ZdrmKA+rjXR8vdBRVavF5wLiNmr5R6A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fil7u-0000qF-2b; Thu, 26 Jul 2018 18:36:38 +0000 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fil7q-0000oG-Ak for linux-arm-kernel@lists.infradead.org; Thu, 26 Jul 2018 18:36:35 +0000 Received: by mail-qk0-x241.google.com with SMTP id b66-v6so1670879qkj.1 for ; Thu, 26 Jul 2018 11:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=uIrgOYN3f03gfRFUysQcJ/JKGCsJKZ+YmEcwECocEAA=; b=bj/eADDb308I/Rcv8etLoxfdWXZLaCUpnyc9MJACjB5gun5Y3cjSL/YyFXkp6t21co 6NEJ7lj1kC5V9QgQLCRw4RyZtXxlCdd9J2ttl9gk9ELAF41ZVWsciGNT4AmttX/Pg7Ql qKaPfACBStLg3KieZDo6FNSgZYlyfTgUl6yiQ= 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; bh=uIrgOYN3f03gfRFUysQcJ/JKGCsJKZ+YmEcwECocEAA=; b=uSBl9Wk5E3N7UeU1xJf5G5nYiCc+YuBgQmdCVg5j6sInIWq81qdqS81gd5nK/EzZ/f sP9LGpzIdFElixt7GI/K/iM/NgIn9CD1ZzcX5LYeb4foaEc8TV8cssG6HwTRBHhDBCl2 TWtItBOYUz8vIL37VBOasoY7qGChp2xFMgnTGWyDNBznJf/aGXHXrA5/2Rf1MEHUoP93 AUxeY+8CJ12jf4+3Zvjx/ajB9SdqopFBCy3SccZ5ARIkM1UdH2QO8HgsPFAfMTFVsNPd u2IGmuKM1w3oItrLndx0G/QYreqTAmfWDdX9BlyMWZ9yAAYoBeDX34Jtb5i9LsHPkH0/ 11xA== X-Gm-Message-State: AOUpUlHaDQUpwYaYjwzTV9txuqVjQlWLQ0dT7XoCKTnpLvbtjwOa0fO5 qef7odqYQAWBoPo3E+E+X+/25g== X-Google-Smtp-Source: AAOMgpfNRlAzDgS4XzvcB+GHm0Beqg4RyGtxQzA9RIZ5X7svOT5t3DUK8xQnCV1MxqlWSaaxuVijXA== X-Received: by 2002:a37:9404:: with SMTP id w4-v6mr2802323qkd.50.1532630182727; Thu, 26 Jul 2018 11:36:22 -0700 (PDT) Received: from lbrmn-lnxub86.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id a187-v6sm1383359qkd.47.2018.07.26.11.36.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Jul 2018 11:36:22 -0700 (PDT) From: Arun Parameswaran To: "David S. Miller" , Florian Fainelli , Andrew Lunn , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , Catalin Marinas , Will Deacon Subject: [PATCH 0/7] Add clock config and pm support to bcm iProc mdio mux Date: Thu, 26 Jul 2018 11:36:17 -0700 Message-Id: <1532630184-29450-1-git-send-email-arun.parameswaran@broadcom.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180726_113634_376552_B8B3B176 X-CRM114-Status: GOOD ( 13.76 ) 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: devicetree@vger.kernel.org, netdev@vger.kernel.org, Arun Parameswaran , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 Hi, The patchset is based on David Miller's "net" repo. The patchset extends the Broadcom iProc mdio mux to add support for suspend/resume and the ability to configure the internal clock divider. The base address of the mdio-mux-bcm-iproc is modified to point to the start of the mdio block's address space, to be able to access all the mdio's registers. The missing registers are required to configure the internal clock divider registers in some of the Broadcom SoC's. Thanks Arun Arun Parameswaran (7): dt-bindings: net: Fix Broadcom iProc mdio mux driver base address net: phy: Fix the register offsets in Broadcom iProc mdio mux driver arm64: dts: Fix the base address of the Broadcom iProc mdio mux dt-bindings: net: Add clock handle to Broadcom iProc mdio mux net: phy: Add support to configure clock in Broadcom iProc mdio mux net: phy: Add pm support to Broadcom iProc mdio mux driver net: phy: Add pm support for scan ctrl register to bcm mdio mux .../bindings/net/brcm,mdio-mux-iproc.txt | 7 +- arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi | 4 +- .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 4 +- drivers/net/phy/mdio-mux-bcm-iproc.c | 89 ++++++++++++++++++++-- 4 files changed, 92 insertions(+), 12 deletions(-)