Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755206AbbDNVsg (ORCPT ); Tue, 14 Apr 2015 17:48:36 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:62096 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753893AbbDNVsV (ORCPT ); Tue, 14 Apr 2015 17:48:21 -0400 From: Arnd Bergmann To: Arun Ramamurthy Cc: Kishon Vijay Abraham I , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, Srinivas Kandagatla , Laurent Pinchart , bcm-kernel-feedback-list@broadcom.com, Thomas Pugliese , Peter Griffin , Jonathan Richardson , Anatol Pomazau , Ray Jui , Alan Stern , Dmitry Torokhov , David Mosberger , Gregory CLEMENT , Kevin Hao , Paul Bolle , Mathias Nyman , Scott Branden , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Felipe Balbi , Tony Prisk Subject: Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index Date: Tue, 14 Apr 2015 23:47:35 +0200 Message-ID: <4138287.C3OjQp3FFm@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <552D56EF.2020409@broadcom.com> References: <1428963047-23666-1-git-send-email-arun.ramamurthy@broadcom.com> <552D2255.1050704@ti.com> <552D56EF.2020409@broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:arSksnGNd0qOcPakLJbEHwkq5WSOqjOTx4ioE/1AnCl0kHaeK4I GMg0di2pP34csZsXd5l9vM81JMewmcvk7DooOpi4xmMYDAZUoh3XodylTbUMcdY5p/Rc21Z fOT6RaeSWfhdoL0iAyrP6ArVFatc4+u6bwCYJN3hwB9NClDUZiAeMtamMhle39RwEF4jXa6 4Sg/MBDVZjeXIsI/JJcZg== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1131 Lines: 26 On Tuesday 14 April 2015 11:05:35 Arun Ramamurthy wrote: > > > > [1] -> > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/kbuild/kconfig-language.txt#n111 > > > Kishon,removing select GENERIC_PHY also breaks the builds for certain > architectures (i386 and x84_64). Is the consensus to leave the select > but make GENERIC_PHY a invisible option? Thanks I think the best solution is - make GENERIC_PHY a silent option - change PHY_RCAR_GEN2 to use 'select' instead of 'depends on', so it will still work when all other phy drivers are disabled - change the non-phy drivers that select GENERIC_PHY to either use 'depends on' or no explicit dependency in case they are still functional without the API. Note that drivers/pinctrl/pinctrl-tegra-xusb.c is a phy provider as well, not a consumer, despite being outside of drivers/phy. Arnd -- 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/