From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754623AbbJNTXm (ORCPT ); Wed, 14 Oct 2015 15:23:42 -0400 Received: from muru.com ([72.249.23.125]:58477 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753217AbbJNTXi (ORCPT ); Wed, 14 Oct 2015 15:23:38 -0400 Date: Wed, 14 Oct 2015 12:23:35 -0700 From: Tony Lindgren To: Mark Jackson Cc: "linux-omap@vger.kernel.org" , lkml , devicetree , Russell King , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] Add USB hooks into NanoBone DTS file Message-ID: <20151014192335.GG10113@atomide.com> References: <561E5908.8010004@newflow.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <561E5908.8010004@newflow.co.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Mark Jackson [151014 06:35]: > Add USB hooks into NanoBone DTS file Hmm looking at things, we really should not set status = "disabled" for any of the internal devices. Setting "disabled" makes the kernel completely ignore the device and we're better off from PM point of view to probe and idle the device. The devices are there for sure, and typically just the pins are not configured for them. How about just remove the status = "disabled" from am33xx.dtsi instead? Regards, Tony > Signed-off-by: Mark Jackson > --- > arch/arm/boot/dts/am335x-nano.dts | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts > index 5ed4ca6..b86937a 100644 > --- a/arch/arm/boot/dts/am335x-nano.dts > +++ b/arch/arm/boot/dts/am335x-nano.dts > @@ -375,6 +375,23 @@ > wp-gpios = <&gpio3 18 0>; > }; > > +&usb { > + status = "okay"; > +}; > + > +&usb_ctrl_mod { > + status = "okay"; > +}; > + > +&usb0_phy { > + status = "okay"; > +}; > + > +&usb0 { > + status = "okay"; > + dr_mode = "host"; > +}; > + > #include "tps65217.dtsi" > > &tps { > -- > 1.9.1 >