From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v1 3/3] ARM64 LPC: update binding doc Date: Tue, 12 Jan 2016 23:54:59 +0100 Message-ID: <4052627.BRvFkUij6q@wuerfel> References: <1451396032-23708-1-git-send-email-zourongrong@gmail.com> <5694C6A4.8060308@huawei.com> <20160112101418.GO13633@e106497-lin.cambridge.arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <20160112101418.GO13633@e106497-lin.cambridge.arm.com> Sender: linux-kernel-owner@vger.kernel.org To: liviu.dudau@arm.com Cc: Rongrong Zou , Rongrong Zou , devicetree@vger.kernel.org, Catalin Marinas , Corey Minyard , gregkh@linuxfoundation.org, Will Deacon , linux-kernel@vger.kernel.org, linuxarm@huawei.com, benh@kernel.crashing.org, linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org On Tuesday 12 January 2016 10:14:18 liviu.dudau@arm.com wrote: > > OK, looking at of_translate_one() comments it looks like a missing "ranges" property is > only accepted on PowerPC. I suggest you have an empty "ranges" property in your isa > parent node, that will signal to the OF parsing code that the mapping is 1:1. Then have > the IPMI node use the reg = <0x0 0xe4 4>; property values instead of reg = <0x1 0xe4 4>; > > A missing ranges property means that there is no translation, while an empty ranges means a 1:1 translation to the parent bus. We really want the former here, as I/O port addresses are not mapped into the MMIO space of the parent bus. Arnd