Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751766AbdFHUEm (ORCPT ); Thu, 8 Jun 2017 16:04:42 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:35339 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728AbdFHUEk (ORCPT ); Thu, 8 Jun 2017 16:04:40 -0400 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Kishon Vijay Abraham I Cc: Yendapally Reddy Dhananjaya Reddy , Jon Mason , Florian Fainelli , linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH V2 0/5] phy: bcm-ns-usb3: add MDIO driver Date: Thu, 8 Jun 2017 22:04:23 +0200 Message-Id: <20170608200428.9187-1-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170511132925.14564-1-zajec5@gmail.com> References: <20170511132925.14564-1-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 25 From: Rafał Miłecki As explained in the commit 9200c6f177638 ("Revert "phy: Add USB3 PHY support for Broadcom NSP SoC"") this module should be modified to use MDIO bus as this is how PHY is really attached. This should allow reusing this driver on NSP and any other platform with MDIO bus and this particular PHY. V2: Rebase and update 4/5 and 5/5. Rafał Miłecki (5): phy: bcm-ns-usb3: always wait for idle after writing to the PHY reg phy: bcm-ns-usb3: use pointer for PHY writing function phy: bcm-ns-usb3: enable MDIO in the platform specific code dt-bindings: phy: Modify Broadcom NS USB 3.0 PHY binding to use MDIO phy: bcm-ns-usb3: add MDIO driver using proper bus layer .../devicetree/bindings/phy/bcm-ns-usb3-phy.txt | 27 ++- drivers/phy/broadcom/Kconfig | 1 + drivers/phy/broadcom/phy-bcm-ns-usb3.c | 230 +++++++++++++++------ 3 files changed, 186 insertions(+), 72 deletions(-) -- 2.11.0