LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Marek Belisko <marek@goldelico.com>
Cc: bcousson@baylibre.com, robh+dt@kernel.org, pawel.moll@arm.com,
	mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
	galak@codeaurora.org, linux-omap@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, hns@goldelico.com, neilb@suse.de,
	NeilBrown <neil@brown.name>
Subject: Re: [PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it "disabled"
Date: Thu, 22 Jan 2015 13:40:53 -0800	[thread overview]
Message-ID: <20150122214052.GY7718@atomide.com> (raw)
In-Reply-To: <1421959099-28319-13-git-send-email-marek@goldelico.com>

* Marek Belisko <marek@goldelico.com> [150122 12:42]:
> From: NeilBrown <neil@brown.name>
> 
> Signed-off-by: NeilBrown <neil@brown.name>
> ---
>  arch/arm/boot/dts/omap3-gta04.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
> index 228e79b..8d2b0a1 100644
> --- a/arch/arm/boot/dts/omap3-gta04.dtsi
> +++ b/arch/arm/boot/dts/omap3-gta04.dtsi
> @@ -357,6 +357,10 @@
>  	pinctrl-0 = <&uart3_pins>;
>  };
>  
> +&uart4 {
> +	status = "disabled";
> +};
> +

This you probably want to avoid from PM point of view. Depending on
bootloader state of uart4, Linux may or may not be able to hit any
deeper power states.

Marking something with status = "disabled" in dts causes the device
entry not even to be created. That means hwmod won't be able to reset
and idle this device during boot.

The uart4 device is there for sure even if not muxed and in incomplete
state. You may want to also check other places where you're using
status = "disabled" for the same reasons.

Regards,

Tony

  reply	other threads:[~2015-01-22 22:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-22 20:38 [PATCH 00/13] ARM: dts: omap3-gta04: Various DT fixes Marek Belisko
2015-01-22 20:38 ` [PATCH 01/13] ARM: dts: omap3-gta04: Fix backup-battery charging in devicetree file Marek Belisko
2015-01-22 20:38 ` [PATCH 02/13] ARM: dts: omap3-gta04: Fix audio node malformatting Marek Belisko
2015-01-22 20:38 ` [PATCH 03/13] ARM: dts: omap3-gta04: Enable mcbps2 necessary for audio Marek Belisko
2015-01-22 20:38 ` [PATCH 04/13] ARM: dts: omap3-gta04: Enable twl audio vibra support Marek Belisko
2015-01-22 20:38 ` [PATCH 05/13] ARM: dts: omap3-gta04: Fix a GPIO line for bma180 node Marek Belisko
2015-01-22 20:38 ` [PATCH 06/13] ARM: dts: omap3-gta04: Enable power-off using twl4030 Marek Belisko
2015-01-22 21:37   ` Tony Lindgren
2015-01-22 20:38 ` [PATCH 07/13] ARM: dts: omap3-gta04: Add ramp value for twl4030 audio Marek Belisko
2015-01-22 20:38 ` [PATCH 08/13] ARM: dts: omap3-gta04: add comments about gpios Marek Belisko
2015-01-22 20:38 ` [PATCH 09/13] ARM: dts: omap3-gta04: enable power-off for wifi card Marek Belisko
2015-01-22 20:38 ` [PATCH 10/13] ARM: dts: omap3-gta04: add gyroscope Marek Belisko
2015-01-22 20:38 ` [PATCH 11/13] ARM: dts: omap3-gta04: only power DSS when necessary Marek Belisko
2015-01-22 20:38 ` [PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it "disabled" Marek Belisko
2015-01-22 21:40   ` Tony Lindgren [this message]
2015-01-23 22:28     ` NeilBrown
2015-01-24  1:03       ` Tony Lindgren
2015-01-22 20:38 ` [PATCH 13/13] ARM: dts: omap3-gta04: Disable keypad Marek Belisko
2015-01-26 20:51 ` [PATCH 00/13] ARM: dts: omap3-gta04: Various DT fixes Tony Lindgren

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=20150122214052.GY7718@atomide.com \
    --to=tony@atomide.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=hns@goldelico.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=marek@goldelico.com \
    --cc=mark.rutland@arm.com \
    --cc=neil@brown.name \
    --cc=neilb@suse.de \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --subject='Re: [PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it "disabled"' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).