All of lore.kernel.org
 help / color / mirror / Atom feed
From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/2] ARM: at91/dt: sama5d2: Use new compatible for ohci node
Date: Wed, 8 Jun 2016 12:33:00 +0200	[thread overview]
Message-ID: <20160608103300.GE2466@piout.net> (raw)
In-Reply-To: <5757EE13.1080107@atmel.com>

On 08/06/2016 at 12:06:11 +0200, Nicolas Ferre wrote :
> Le 08/06/2016 06:15, Wenyou Yang a ?crit :
> > Use compatible "atmel,sama5d2-ohci" to be capable of suspending
> > ports while sleep to save the power consumption.
> > 
> > Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
> > ---
> > 
> > Changes in v3: None
> > Changes in v2:
> >  - Use the new compatible for ohci-node.
> > 
> >  arch/arm/boot/dts/sama5d2.dtsi | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> > index 78996bd..03d6724 100644
> > --- a/arch/arm/boot/dts/sama5d2.dtsi
> > +++ b/arch/arm/boot/dts/sama5d2.dtsi
> > @@ -232,7 +232,7 @@
> >  		};
> >  
> >  		usb1: ohci at 00400000 {
> > -			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
> > +			compatible = "atmel,sama5d2-ohci", "usb-ohci";
> 
> We must change this to:
> +			compatible = "atmel,sama5d2-ohci", "atmel,at91rm9200-ohci", "usb-ohci";
> 
> To make it independent from the one that may reach Mainline through the USB git tree.
> 

Well, like discussed, I'd say that a new compatible is not needed as we
already know on which chip we are running depending on the SFR that we
can lookup. My concern was only to avoid calling a function
unnecessarily on !sama5d2 platforms.
> 
> >  			reg = <0x00400000 0x100000>;
> >  			interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>;
> >  			clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
> > 
> 
> Bye,
> -- 
> Nicolas Ferre

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

WARNING: multiple messages have this Message-ID (diff)
From: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
Cc: Wenyou Yang <wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>,
	Alan Stern
	<stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>,
	Greg Kroah-Hartman
	<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v3 2/2] ARM: at91/dt: sama5d2: Use new compatible for ohci node
Date: Wed, 8 Jun 2016 12:33:00 +0200	[thread overview]
Message-ID: <20160608103300.GE2466@piout.net> (raw)
In-Reply-To: <5757EE13.1080107-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

On 08/06/2016 at 12:06:11 +0200, Nicolas Ferre wrote :
> Le 08/06/2016 06:15, Wenyou Yang a écrit :
> > Use compatible "atmel,sama5d2-ohci" to be capable of suspending
> > ports while sleep to save the power consumption.
> > 
> > Signed-off-by: Wenyou Yang <wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
> > ---
> > 
> > Changes in v3: None
> > Changes in v2:
> >  - Use the new compatible for ohci-node.
> > 
> >  arch/arm/boot/dts/sama5d2.dtsi | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> > index 78996bd..03d6724 100644
> > --- a/arch/arm/boot/dts/sama5d2.dtsi
> > +++ b/arch/arm/boot/dts/sama5d2.dtsi
> > @@ -232,7 +232,7 @@
> >  		};
> >  
> >  		usb1: ohci@00400000 {
> > -			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
> > +			compatible = "atmel,sama5d2-ohci", "usb-ohci";
> 
> We must change this to:
> +			compatible = "atmel,sama5d2-ohci", "atmel,at91rm9200-ohci", "usb-ohci";
> 
> To make it independent from the one that may reach Mainline through the USB git tree.
> 

Well, like discussed, I'd say that a new compatible is not needed as we
already know on which chip we are running depending on the SFR that we
can lookup. My concern was only to avoid calling a function
unnecessarily on !sama5d2 platforms.
> 
> >  			reg = <0x00400000 0x100000>;
> >  			interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>;
> >  			clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
> > 
> 
> Bye,
> -- 
> Nicolas Ferre

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Wenyou Yang <wenyou.yang@atmel.com>,
	Alan Stern <stern@rowland.harvard.edu>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Brown <broonie@kernel.org>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH v3 2/2] ARM: at91/dt: sama5d2: Use new compatible for ohci node
Date: Wed, 8 Jun 2016 12:33:00 +0200	[thread overview]
Message-ID: <20160608103300.GE2466@piout.net> (raw)
In-Reply-To: <5757EE13.1080107@atmel.com>

On 08/06/2016 at 12:06:11 +0200, Nicolas Ferre wrote :
> Le 08/06/2016 06:15, Wenyou Yang a écrit :
> > Use compatible "atmel,sama5d2-ohci" to be capable of suspending
> > ports while sleep to save the power consumption.
> > 
> > Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
> > ---
> > 
> > Changes in v3: None
> > Changes in v2:
> >  - Use the new compatible for ohci-node.
> > 
> >  arch/arm/boot/dts/sama5d2.dtsi | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> > index 78996bd..03d6724 100644
> > --- a/arch/arm/boot/dts/sama5d2.dtsi
> > +++ b/arch/arm/boot/dts/sama5d2.dtsi
> > @@ -232,7 +232,7 @@
> >  		};
> >  
> >  		usb1: ohci@00400000 {
> > -			compatible = "atmel,at91rm9200-ohci", "usb-ohci";
> > +			compatible = "atmel,sama5d2-ohci", "usb-ohci";
> 
> We must change this to:
> +			compatible = "atmel,sama5d2-ohci", "atmel,at91rm9200-ohci", "usb-ohci";
> 
> To make it independent from the one that may reach Mainline through the USB git tree.
> 

Well, like discussed, I'd say that a new compatible is not needed as we
already know on which chip we are running depending on the SFR that we
can lookup. My concern was only to avoid calling a function
unnecessarily on !sama5d2 platforms.
> 
> >  			reg = <0x00400000 0x100000>;
> >  			interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>;
> >  			clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
> > 
> 
> Bye,
> -- 
> Nicolas Ferre

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2016-06-08 10:33 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08  4:15 [PATCH v3 0/2] ARM: ohci-at91: Add support to forcibly suspend ports while sleep Wenyou Yang
2016-06-08  4:15 ` Wenyou Yang
2016-06-08  4:15 ` Wenyou Yang
2016-06-08  4:15 ` [PATCH v3 1/2] usb: ohci-at91: Forcibly suspend ports while USB suspend Wenyou Yang
2016-06-08  4:15   ` Wenyou Yang
2016-06-08  4:15   ` Wenyou Yang
2016-06-08 10:04   ` Nicolas Ferre
2016-06-08 10:04     ` Nicolas Ferre
2016-06-08 10:04     ` Nicolas Ferre
2016-06-08 10:45     ` Nicolas Ferre
2016-06-08 10:45       ` Nicolas Ferre
2016-06-08 10:45       ` Nicolas Ferre
2016-06-20  7:49       ` Yang, Wenyou
2016-06-20  7:49         ` Yang, Wenyou
2016-06-20  7:49         ` Yang, Wenyou
2016-06-08 19:13   ` Alan Stern
2016-06-08 19:13     ` Alan Stern
2016-06-08 19:13     ` Alan Stern
2016-06-10  8:58     ` Yang, Wenyou
2016-06-10  8:58       ` Yang, Wenyou
2016-06-08 20:26   ` Rob Herring
2016-06-08 20:26     ` Rob Herring
2016-06-08 20:26     ` Rob Herring
2016-06-08 20:38     ` Alexandre Belloni
2016-06-08 20:38       ` Alexandre Belloni
2016-06-08 20:38       ` Alexandre Belloni
2016-06-17 13:44       ` Yang, Wenyou
2016-06-17 13:44         ` Yang, Wenyou
2016-06-17 13:54         ` Alexandre Belloni
2016-06-17 13:54           ` Alexandre Belloni
2016-06-20  3:16           ` Yang, Wenyou
2016-06-20  3:16             ` Yang, Wenyou
2016-06-20  3:16             ` Yang, Wenyou
2016-06-20  8:03             ` Alexandre Belloni
2016-06-20  8:03               ` Alexandre Belloni
2016-06-20  8:03               ` Alexandre Belloni
2016-06-20  8:46               ` Yang, Wenyou
2016-06-20  8:46                 ` Yang, Wenyou
2016-06-20  8:46                 ` Yang, Wenyou
2016-06-20  8:52                 ` Alexandre Belloni
2016-06-20  8:52                   ` Alexandre Belloni
2016-06-20  8:52                   ` Alexandre Belloni
2016-06-20  9:21                   ` Nicolas Ferre
2016-06-20  9:21                     ` Nicolas Ferre
2016-06-20  9:21                     ` Nicolas Ferre
2016-06-20  7:42     ` Yang, Wenyou
2016-06-20  7:42       ` Yang, Wenyou
2016-06-20  7:42       ` Yang, Wenyou
2016-06-08  4:15 ` [PATCH v3 2/2] ARM: at91/dt: sama5d2: Use new compatible for ohci node Wenyou Yang
2016-06-08  4:15   ` Wenyou Yang
2016-06-08  4:15   ` Wenyou Yang
2016-06-08 10:06   ` Nicolas Ferre
2016-06-08 10:06     ` Nicolas Ferre
2016-06-08 10:06     ` Nicolas Ferre
2016-06-08 10:33     ` Alexandre Belloni [this message]
2016-06-08 10:33       ` Alexandre Belloni
2016-06-08 10:33       ` Alexandre Belloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160608103300.GE2466@piout.net \
    --to=alexandre.belloni@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.