From patchwork Fri Sep 4 12:08:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 53085 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id D912522E23 for ; Fri, 4 Sep 2015 12:09:09 +0000 (UTC) Received: by lbcjc2 with SMTP id jc2sf6098199lbc.0 for ; Fri, 04 Sep 2015 05:09:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:content-type:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=aSLjyd+Kz331lS25REhV/T0HquWgORqut+/9ghKCnmk=; b=bSamOihl1haZ1zpLbF0vH8WgdDJrx0Gsdk6nlPz4aFmKCxRel0PqLUYlAjsuwf3Wnd +rIDXrwVCpzpzN7Zazmbu4nTKWiBaLrHgdKV6v61lx4ZkL88/eJUSPZUmDCEqiyhlmzq yNXO8EF3Bobvkt07eAxoliScig1I0S3/4T2xN2ZuHsevlzgCQRCjfkYCpLio75tkWNdy 5xGXlcbyaqH/ilEegB9p23EYDG6tm91lIU4pHln5whjOivVQHRhhyzS1mTYiJezsj1hM R57O1LBfiAZd+KHEsS/fuU6Um1MVcoG+Fv8JTol1Tr+Fx5wYzdCUwoa0rSJMjux0LVe8 /txw== X-Gm-Message-State: ALoCoQnA0fnzBBs5Df25Mtss+IDCykDA75SBKjvuTOTFUP0kjvlhOjsTlfxrrKC1Pq3oq0VWsE/o X-Received: by 10.180.12.203 with SMTP id a11mr1023298wic.3.1441368548747; Fri, 04 Sep 2015 05:09:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.197 with SMTP id ks5ls312079lac.64.gmail; Fri, 04 Sep 2015 05:09:08 -0700 (PDT) X-Received: by 10.152.5.228 with SMTP id v4mr3385926lav.36.1441368548582; Fri, 04 Sep 2015 05:09:08 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id r8si2154679lbh.6.2015.09.04.05.09.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2015 05:09:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by lanb10 with SMTP id b10so11892858lan.3 for ; Fri, 04 Sep 2015 05:09:08 -0700 (PDT) X-Received: by 10.152.21.196 with SMTP id x4mr3314339lae.117.1441368548027; Fri, 04 Sep 2015 05:09:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.164.42 with SMTP id yn10csp1922146lbb; Fri, 4 Sep 2015 05:09:06 -0700 (PDT) X-Received: by 10.182.227.199 with SMTP id sc7mr2866390obc.12.1441368546522; Fri, 04 Sep 2015 05:09:06 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ml3si3991849pab.134.2015.09.04.05.09.05; Fri, 04 Sep 2015 05:09:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752702AbbIDMJE (ORCPT + 8 others); Fri, 4 Sep 2015 08:09:04 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:60386 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750961AbbIDMJD (ORCPT ); Fri, 4 Sep 2015 08:09:03 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t84C8TAZ027422; Fri, 4 Sep 2015 07:08:29 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t84C8TJq029299; Fri, 4 Sep 2015 07:08:29 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.224.2; Fri, 4 Sep 2015 07:08:28 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t84C8Ocp009529; Fri, 4 Sep 2015 07:08:25 -0500 From: Kishon Vijay Abraham I To: , , , , , , CC: , , Subject: [PATCH v2] ARM: dts: >: fix address translation for pbias Date: Fri, 4 Sep 2015 17:38:24 +0530 Message-ID: <1441368504-21304-1-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kishon@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , "ARM: dts: : 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 'syscon'. Since 'syscon' doesn't have the 'ranges' property, address translation fails while trying to convert the address to resource. Fix it here by populating 'ranges' property in syscon dt node. Fixes: 72b10ac00eb1 ("ARM: dts: omap24xx: add minimal l4 bus layout with control module support") Fixes: 7415b0b4c645 ("ARM: dts: omap4: add minimal l4 bus layout with control module support") Fixes: ed8509edddeb ("ARM: dts: omap5: add minimal l4 bus layout with control module support") Fixes: d919501feffa ("ARM: dts: dra7: add minimal l4 bus layout with control module support") Signed-off-by: Kishon Vijay Abraham I --- Changes from v1: *) squashed [1] to a single patch [1] -> https://lkml.org/lkml/2015/9/3/166 arch/arm/boot/dts/dra7.dtsi | 1 + arch/arm/boot/dts/omap2430.dtsi | 1 + arch/arm/boot/dts/omap4.dtsi | 1 + arch/arm/boot/dts/omap5.dtsi | 1 + 4 files changed, 4 insertions(+) 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"; diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi index 3961a6f..798dda0 100644 --- a/arch/arm/boot/dts/omap2430.dtsi +++ b/arch/arm/boot/dts/omap2430.dtsi @@ -56,6 +56,7 @@ reg = <0x270 0x240>; #address-cells = <1>; #size-cells = <1>; + ranges = <0 0x270 0x240>; scm_clocks: clocks { #address-cells = <1>; diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 5aad7f3..5a206c1 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -196,6 +196,7 @@ reg = <0x5a0 0x170>; #address-cells = <1>; #size-cells = <1>; + ranges = <0 0x5a0 0x170>; pbias_regulator: pbias_regulator { compatible = "ti,pbias-omap4", "ti,pbias-omap"; diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 76ef595..dd7a0e8 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -185,6 +185,7 @@ reg = <0x5a0 0xec>; #address-cells = <1>; #size-cells = <1>; + ranges = <0 0x5a0 0xec>; pbias_regulator: pbias_regulator { compatible = "ti,pbias-omap5", "ti,pbias-omap";