From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753596AbbBXKiC (ORCPT ); Tue, 24 Feb 2015 05:38:02 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:54944 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752599AbbBXKh5 (ORCPT ); Tue, 24 Feb 2015 05:37:57 -0500 From: Arnd Bergmann To: Chen-Yu Tsai Cc: Wolfram Sang , Maxime Ripard , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, Hans de Goede Subject: Re: [PATCH 2/4] i2c: sunxi: Add Reduced Serial Bus (RSB) DT bindings documentation Date: Tue, 24 Feb 2015 11:37:36 +0100 Message-ID: <9851276.8ZCd3XfZle@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1424773744-15106-3-git-send-email-wens@csie.org> References: <1424773744-15106-1-git-send-email-wens@csie.org> <1424773744-15106-3-git-send-email-wens@csie.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:+ObY63O9uww/39bHaIrX5JKVlQ2hnf4FYRuBYJhJqA4qVLfEBT3 c/fGfaRqytPdF076MNtbAdtRLyS7jx3GD1Ya/RviWkMcdf68JBAMNMZKrK9Q3dqtmxdTMVf xNrN9oYUkAHS3XBTHhjpYPH+rPfuouw3znKFyjnsjcAYqFnn3Q0yc6mzjqO3hUAjOUgz0G5 p0rPugTZ5KV0jJTvLYmCw== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 24 February 2015 18:29:02 Chen-Yu Tsai wrote: > > + rsb@01f03400 { > + compatible = "allwinner,sun8i-a23-rsb"; > + reg = <0x01f03400 0x400>; > + interrupts = <0 39 4>; > + clocks = <&apb0_gates 3>; > + clock-frequency = <3000000>; > + resets = <&apb0_rst 3>; > + > + axp223: pmic@2d { > + compatible = "x-powers,axp223", "x-powers,axp221"; > + reg = <0x2d>; > + allwinner,rsb-hw-addr = <0x3e3>; > + > + /* ... */ > + }; > + }; The child node cannot have a 'reg' property if the parent does not have #address-cells/#size-cells. You should add these as mandatory properties in the list. I don't really understand the need for having two addresses (runtime and hardware). Could the runtime address be configured at runtime? Alternatively, could you use #address-cells=<2> and put both into 'reg'? Arnd