Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757800AbbDVXD2 (ORCPT ); Wed, 22 Apr 2015 19:03:28 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:52102 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757390AbbDVXDX (ORCPT ); Wed, 22 Apr 2015 19:03:23 -0400 X-IronPort-AV: E=Sophos;i="5.11,626,1422950400"; d="scan'208";a="63022870" From: Arun Ramamurthy To: Jonathan Corbet , Tejun Heo , Kyungmin Park , Sylwester Nawrocki , Mauro Carvalho Chehab , Kukjin Kim , Kishon Vijay Abraham I , "Greg Kroah-Hartman" , Alan Stern , Tony Prisk , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Arnd Bergmann , Felipe Balbi , Mathias Nyman , Paul Bolle , Thomas Pugliese , "Srinivas Kandagatla" , Masanari Iida , David Mosberger , Peter Griffin , Gregory CLEMENT , Laurent Pinchart , Kevin Hao , "Jean Delvare" CC: , , , , , , , , Dmitry Torokhov , Anatol Pomazau , Jonathan Richardson , Scott Branden , Ray Jui , , Arun Ramamurthy Subject: [PATCHv3 0/4] add devm_of_phy_get_by_index and update platform drivers Date: Wed, 22 Apr 2015 16:04:09 -0700 Message-ID: <1429743853-10254-1-git-send-email-arun.ramamurthy@broadcom.com> X-Mailer: git-send-email 2.3.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1704 Lines: 44 This patch set adds a new API to get phy by index when multiple phys are present. This patch is based on discussion with Arnd Bergmann about dt bindings for multiple phys. History: v1: - Removed null pointers on Dmitry's suggestion - Improved documentation in commit messages - Exported new phy api v2: - EHCI and OHCI platform Kconfigs select Generic Phy to fix build errors in certain configs. v3: - Made GENERIC_PHY an invisible option so that other configs can select it - Added stubs for devm_of_phy_get_by_index - Reformated code Arun Ramamurthy (4): phy: phy-core: Make GENERIC_PHY an invisible option phy: core: Add devm_of_phy_get_by_index to phy-core usb: ehci-platform: Use devm_of_phy_get_by_index usb: ohci-platform: Use devm_of_phy_get_by_index Documentation/phy.txt | 7 +++- drivers/ata/Kconfig | 1 - drivers/media/platform/exynos4-is/Kconfig | 2 +- drivers/phy/Kconfig | 4 +- drivers/phy/phy-core.c | 32 ++++++++++++++ drivers/usb/host/Kconfig | 4 +- drivers/usb/host/ehci-platform.c | 69 +++++++++++-------------------- drivers/usb/host/ohci-platform.c | 69 +++++++++++-------------------- drivers/video/fbdev/exynos/Kconfig | 2 +- include/linux/phy/phy.h | 8 ++++ 10 files changed, 100 insertions(+), 98 deletions(-) -- 2.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/