From patchwork Tue Aug 19 14:03:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 4743351 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 93942C0338 for ; Tue, 19 Aug 2014 14:14:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D804200E7 for ; Tue, 19 Aug 2014 14:14:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2DF9F200D5 for ; Tue, 19 Aug 2014 14:14:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XJk20-0001Hz-7b; Tue, 19 Aug 2014 14:05:00 +0000 Received: from [2001:41c8:1:628a::89] (helo=benson.vm.bytemark.co.uk) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XJk1x-0001DH-0a for linux-arm-kernel@lists.infradead.org; Tue, 19 Aug 2014 14:04:57 +0000 Received: from sheratonips39.s.subnet.rcn.com ([216.80.65.38] helo=hastur.hellion.org.uk) by benson.vm.bytemark.co.uk with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XJk1G-0006Tm-8X; Tue, 19 Aug 2014 15:04:31 +0100 Received: by hastur.hellion.org.uk (sSMTP sendmail emulation); Tue, 19 Aug 2014 15:03:02 +0100 From: Ian Campbell To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: sun6i: Add #address-cells & #size-cells to i2c node Date: Tue, 19 Aug 2014 15:03:02 +0100 Message-Id: <1408456982-27021-1-git-send-email-ijc@hellion.org.uk> X-Mailer: git-send-email 2.0.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140819_070457_207645_58F6775C X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.3 (+) Cc: Maxime Ripard , Chen-Yu Tsai , Ian Campbell X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This fixes: DTC arch/arm/boot/dts/sun6i-a31-hummingbird.dtb Warning (reg_format): "reg" property in /soc@01c00000/i2c@01c2b400/rtc@51 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc@01c00000/i2c@01c2b400/rtc@51 Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc@01c00000/i2c@01c2b400/rtc@51 Signed-off-by: Ian Campbell Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: linux-arm-kernel@lists.infradead.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 44b07e5..5bc769f 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -680,6 +680,8 @@ clock-frequency = <100000>; resets = <&apb2_rst 2>; status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; }; i2c3: i2c@01c2b800 {