All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: <t-kristo@ti.com>, <bcousson@baylibre.com>, <tony@atomide.com>,
	<linux-omap@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Cc: <linux@arm.linux.org.uk>, <nsekhar@ti.com>, <kishon@ti.com>
Subject: [PATCH 4/4] ARM: dts: dra7: fix address translation for pbias
Date: Thu, 3 Sep 2015 16:57:53 +0530	[thread overview]
Message-ID: <1441279673-28105-5-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1441279673-28105-1-git-send-email-kishon@ti.com>

commit <d919501feffa> ("ARM: dts: dra7: add minimal l4 bus
layout with control module support") moved pbias_regulator dt node
from being a child node of ocp to be the child node of
scm_conf. Since scm_conf doesn't have the 'ranges'
property, address translation fails while trying to convert the
address to resource. Fix it here.

Fixes: d919501feffa ("ARM: dts: dra7: add minimal l4 bus
layout with control module support")

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index d6bc6db..5896896 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -120,6 +120,7 @@
 					reg = <0x0 0x1400>;
 					#address-cells = <1>;
 					#size-cells = <1>;
+					ranges = <0 0x0 0x1400>;
 
 					pbias_regulator: pbias_regulator {
 						compatible = "ti,pbias-dra7", "ti,pbias-omap";
-- 
1.7.9.5


WARNING: multiple messages have this Message-ID (diff)
From: Kishon Vijay Abraham I <kishon@ti.com>
To: t-kristo@ti.com, bcousson@baylibre.com, tony@atomide.com,
	linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Cc: nsekhar@ti.com, linux@arm.linux.org.uk, kishon@ti.com
Subject: [PATCH 4/4] ARM: dts: dra7: fix address translation for pbias
Date: Thu, 3 Sep 2015 16:57:53 +0530	[thread overview]
Message-ID: <1441279673-28105-5-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1441279673-28105-1-git-send-email-kishon@ti.com>

commit <d919501feffa> ("ARM: dts: dra7: add minimal l4 bus
layout with control module support") moved pbias_regulator dt node
from being a child node of ocp to be the child node of
scm_conf. Since scm_conf doesn't have the 'ranges'
property, address translation fails while trying to convert the
address to resource. Fix it here.

Fixes: d919501feffa ("ARM: dts: dra7: add minimal l4 bus
layout with control module support")

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index d6bc6db..5896896 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -120,6 +120,7 @@
 					reg = <0x0 0x1400>;
 					#address-cells = <1>;
 					#size-cells = <1>;
+					ranges = <0 0x0 0x1400>;
 
 					pbias_regulator: pbias_regulator {
 						compatible = "ti,pbias-dra7", "ti,pbias-omap";
-- 
1.7.9.5

WARNING: multiple messages have this Message-ID (diff)
From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] ARM: dts: dra7: fix address translation for pbias
Date: Thu, 3 Sep 2015 16:57:53 +0530	[thread overview]
Message-ID: <1441279673-28105-5-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1441279673-28105-1-git-send-email-kishon@ti.com>

commit <d919501feffa> ("ARM: dts: dra7: add minimal l4 bus
layout with control module support") moved pbias_regulator dt node
from being a child node of ocp to be the child node of
scm_conf. Since scm_conf doesn't have the 'ranges'
property, address translation fails while trying to convert the
address to resource. Fix it here.

Fixes: d919501feffa ("ARM: dts: dra7: add minimal l4 bus
layout with control module support")

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index d6bc6db..5896896 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -120,6 +120,7 @@
 					reg = <0x0 0x1400>;
 					#address-cells = <1>;
 					#size-cells = <1>;
+					ranges = <0 0x0 0x1400>;
 
 					pbias_regulator: pbias_regulator {
 						compatible = "ti,pbias-dra7", "ti,pbias-omap";
-- 
1.7.9.5

  parent reply	other threads:[~2015-09-03 11:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-03 11:27 [PATCH 0/4] omap: Fix broken address translation for pbias Kishon Vijay Abraham I
2015-09-03 11:27 ` Kishon Vijay Abraham I
2015-09-03 11:27 ` Kishon Vijay Abraham I
2015-09-03 11:27 ` [PATCH 1/4] ARM: dts: omap24xx: fix " Kishon Vijay Abraham I
2015-09-03 11:27   ` Kishon Vijay Abraham I
2015-09-03 11:27   ` Kishon Vijay Abraham I
2015-09-03 11:27 ` [PATCH 2/4] ARM: dts: omap4: " Kishon Vijay Abraham I
2015-09-03 11:27   ` Kishon Vijay Abraham I
2015-09-03 11:27   ` Kishon Vijay Abraham I
2015-09-03 11:27 ` [PATCH 3/4] ARM: dts: omap5: " Kishon Vijay Abraham I
2015-09-03 11:27   ` Kishon Vijay Abraham I
2015-09-03 11:27   ` Kishon Vijay Abraham I
2015-09-03 11:27 ` Kishon Vijay Abraham I [this message]
2015-09-03 11:27   ` [PATCH 4/4] ARM: dts: dra7: " Kishon Vijay Abraham I
2015-09-03 11:27   ` Kishon Vijay Abraham I
2015-09-03 15:10 ` [PATCH 0/4] omap: Fix broken " Tony Lindgren
2015-09-03 15:10   ` Tony Lindgren
2015-09-03 15:10   ` Tony Lindgren
2015-09-04 11:03   ` Kishon Vijay Abraham I
2015-09-04 11:03     ` Kishon Vijay Abraham I
2015-09-04 11:03     ` Kishon Vijay Abraham I

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=1441279673-28105-5-git-send-email-kishon@ti.com \
    --to=kishon@ti.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nsekhar@ti.com \
    --cc=t-kristo@ti.com \
    --cc=tony@atomide.com \
    /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.