Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5648626rwj; Wed, 21 Dec 2022 05:29:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXvvARtsG+ZpUSGez2YA2RnIJMqENdjQP9uFaiF7UnS3nCFwOkzRwSPTb921sj5huvwX5Je8 X-Received: by 2002:a05:6a20:a59c:b0:a2:17a6:3e86 with SMTP id bc28-20020a056a20a59c00b000a217a63e86mr2567673pzb.55.1671629354960; Wed, 21 Dec 2022 05:29:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671629354; cv=none; d=google.com; s=arc-20160816; b=dqpLG33Ff2xhY7hF3jCHpaZqj0WVvp4FimJZqX7WsKsFPf530IzGz9Zu8mIcR9NeFk tF0j1qMChwgUKMj1AIBddGbNiEPu6S61MNPi8LQxiMsb+QkeWs/rh9k6q+h/6Q7MfNvP qtwPi5JVrq3D2X7fnCLVik+JX6BchC4qAAFzXAi1sU2PO6fDD/QwgkFYzxPNm88v1jqq wvGvkX3O6SIGjv3Y5dYpBxQOZcNI+AWSk3EflgWCNDAO7YomEAnD1QGnIhnh8TmtdiwU gS1N4KTcQCgDhalFlqvVBM6NYDUd8LjBiyrsEhUClNKkgsCvniOiQn0x7Aokd3ainS5Q zglQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=/B3Amh+E7lwQ+CZwzolYVAAL7i1oilKbAbdvzr90xcs=; b=fNTmHjDM9+XZKvLCbhSIhPwnVqEqk3d4XutTTk3fqmlQsfdOwq1e0K8QFvm94BjpS9 vZQywDnm39j7nyEatDD+g22aGnewGr81AZl37EhwGjnijvAy27w0tNLT7yX/0PWvouES RRVpMG2WsAOzMlZp18+rNi4Z+NdLIXtnO8WrInS7FiDkKXCq7L0FxZPbO0N1+DxFfykh UvJUIWpRmgrxqco+9GBog3zJt26qkIPzQuh+TzWyUV/2+GzWtsrQfXlXRrlQgM0kWU8R WxuEogrFCHnrD5T7EvOEhvRMcGM5DOWF0P5dYnKR+1F8oVyoRa8Pn0UhqrNlND82i0+a kxVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p11-20020a654bcb000000b0043c0b4f2b68si17139324pgr.318.2022.12.21.05.29.06; Wed, 21 Dec 2022 05:29:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230330AbiLUNHC (ORCPT + 69 others); Wed, 21 Dec 2022 08:07:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbiLUNGz (ORCPT ); Wed, 21 Dec 2022 08:06:55 -0500 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3BE8F2339D; Wed, 21 Dec 2022 05:06:49 -0800 (PST) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1p7yo2-0008Uq-00; Wed, 21 Dec 2022 14:06:46 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id EA81FC24F7; Wed, 21 Dec 2022 14:06:26 +0100 (CET) Date: Wed, 21 Dec 2022 14:06:26 +0100 From: Thomas Bogendoerfer To: Florian Fainelli Cc: linux-mips@vger.kernel.org, Broadcom internal kernel review list , Rob Herring , Krzysztof Kozlowski , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH] MIPS: dts: bcm63268: Add missing properties to the TWD node Message-ID: <20221221130626.GA6643@alpha.franken.de> References: <20221220190947.2681192-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221220190947.2681192-1-f.fainelli@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 20, 2022 at 11:09:46AM -0800, Florian Fainelli wrote: > We currently have a DTC warning with the current DTS due to the lack of > a suitable #address-cells and #size-cells property: > > DTC arch/mips/boot/dts/brcm/bcm63268-comtrend-vr-3032u.dtb > arch/mips/boot/dts/brcm/bcm63268.dtsi:115.5-22: Warning (reg_format): /ubus/timer-mfd@10000080/timer@0:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) > arch/mips/boot/dts/brcm/bcm63268.dtsi:120.5-22: Warning (reg_format): /ubus/timer-mfd@10000080/watchdog@1c:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) > arch/mips/boot/dts/brcm/bcm63268.dtsi:111.4-35: Warning (ranges_format): /ubus/timer-mfd@10000080:ranges: "ranges" property has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1) > > Fixes: d3db4b96ab7f ("mips: dts: bcm63268: add TWD block timer") > Signed-off-by: Florian Fainelli > --- > arch/mips/boot/dts/brcm/bcm63268.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/mips/boot/dts/brcm/bcm63268.dtsi b/arch/mips/boot/dts/brcm/bcm63268.dtsi > index c663efce91cf..7b788757cb1e 100644 > --- a/arch/mips/boot/dts/brcm/bcm63268.dtsi > +++ b/arch/mips/boot/dts/brcm/bcm63268.dtsi > @@ -109,6 +109,8 @@ timer-mfd@10000080 { > compatible = "brcm,bcm7038-twd", "simple-mfd", "syscon"; > reg = <0x10000080 0x30>; > ranges = <0x0 0x10000080 0x30>; > + #address-cells = <1>; > + #size-cells = <1>; > > timer@0 { > compatible = "brcm,bcm6345-timer"; > -- > 2.34.1 applied. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]