Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751739AbdL0EOP (ORCPT ); Tue, 26 Dec 2017 23:14:15 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:44431 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751225AbdL0EON (ORCPT ); Tue, 26 Dec 2017 23:14:13 -0500 X-Google-Smtp-Source: ACJfBouesBJZrNjdm8ji+LsRmbULXQ9oklCEGkfW9kVUgobRJ/sYkpzv46fijBEklb+/yaWnX1UbGg== Date: Wed, 27 Dec 2017 12:14:07 +0800 From: Shawn Guo To: Arnd Bergmann Cc: Jingchang Lu , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: ls1021a: fix incorrect clock references Message-ID: <20171227041405.GA5286@X250> References: <20171221214432.3658852-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171221214432.3658852-1-arnd@arndb.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 23 On Thu, Dec 21, 2017 at 10:44:20PM +0100, Arnd Bergmann wrote: > dtc warns about two 'clocks' properties that have an extraneous '1' > at the end: > > arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a > arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a:clocks[1]) > Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2190000/sgtl5000@a > arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2190000/sgtl5000@a:clocks[1]) > > The clocks that get referenced here are fixed-rate, so they do not > take any argument, and dtc interprets the next cell as a phandle, which > is invalid. > > Signed-off-by: Arnd Bergmann Hi Arnd, Thanks for the patch. But I have queued up a couple of patches from Fabio [1] for that. Shawn [1] https://www.spinics.net/lists/arm-kernel/msg624303.html