Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3245333iob; Fri, 6 May 2022 23:48:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnTecgGMt10aa6k/4sIE1vIKGQYRpsqoysjKStVjEM1fiFN0WauL52/uUfH7M36YYnK1a7 X-Received: by 2002:a05:6870:a1a0:b0:e2:9331:cc30 with SMTP id a32-20020a056870a1a000b000e29331cc30mr2826098oaf.155.1651906109851; Fri, 06 May 2022 23:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651906109; cv=none; d=google.com; s=arc-20160816; b=ehqXFn+Y71Lu68LsEIfLVFaYa41KzzV9zaxeZ5gPODKQwu7/ky/OoBan1z8pFEcjON UU9srsX2Qoxi0x8/OFmnJBnt8L0U2x9DMCEYVdsrpVGbMYJsaqlANI0hp/fAsES/mkaQ wUT+yANEu0kO83DJQFViWkCqZtRS7W3DRpeSUzJ75VIKgglfnWv3V/w3DY6vK68wnBZp +NP/2ZHY2XfA8/jxvFRjWket8nnyWEX04AjGepi4yG1OVYlHdQeeCFshRBF/sa/jssU2 HS/AMXhyQMdVtM+OV+wizkr+TqEpFgcaeK2raIUJRER2L+vvHphvbiw7wBLSM1otrU/7 kV9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=H2Bk3mQ20dGxFwnkKyvshpUua/wpum6W/dZbHZ7rm1Y=; b=Ctt/iwiKrWnAFrD5sX89+qoJRy8NJSep53iWPOR2/6QwraIsgbDuN/vUXltWoFQFC1 00GYTlUXw2WaR+k5w96x32z7F9Bpyh/fsHleNSZZEZS/t8R3STWyTmdp5//9OrUwHR5H cYya0gK2sA65QuqDHFjjfCow5GOWgqlrj7H99LPZ7w2Dfm2oQhZrD+NkkmrXq0esTeva tgzGFvKRvavRYErGxgeGgBCzI+F3cGD6NKKsaVIqs6QbM60kK9RfMyBPhTBwzxmerkNk ZbmYnd7Tf40Jcyqk2jF1pOnJWDTDrpp7+IpuzvwnzxWvhUvYJeObOogJBRuqfKYaDILq 5DNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=g9gnkmhI; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a056830004700b00606327a04e0si4260857otp.181.2022.05.06.23.48.14; Fri, 06 May 2022 23:48:29 -0700 (PDT) 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; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=g9gnkmhI; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1392027AbiEFMje (ORCPT + 99 others); Fri, 6 May 2022 08:39:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1392080AbiEFMjL (ORCPT ); Fri, 6 May 2022 08:39:11 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C48011C1E; Fri, 6 May 2022 05:35:24 -0700 (PDT) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 574461C000E; Fri, 6 May 2022 12:35:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1651840523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=H2Bk3mQ20dGxFwnkKyvshpUua/wpum6W/dZbHZ7rm1Y=; b=g9gnkmhIb6svEygm5WDSRv6YcrjnfsEQPpH8RsytHfDx0bynTua6C23Cnk+Qa3teGWjU8b vc4shpPdG5xxiUh8mTSQNueJ3Iqi6V2/TfITKAk5ligg0xv2CAFTjFx659sM/X5RhVE/Ml 5122xb2Ph32OvMZNpRTT3rXOm0IqUUbwKqy0IuB+rvWgg/+4bJA3DGAkdnWhVj7rlJkhgx XeoEfu/kz4i0FCSAtkLEkcIFgw9X+zXEQO9fnhpeZr/D1YU/sBLwKOFmNxmQKx9lAwwxX+ F5K5Qd0bi/nWcT10WT97TqyRu958m79YPralpcevRha3m+IYMMkygwUBDzfQpQ== Date: Fri, 6 May 2022 14:35:18 +0200 From: Herve Codina To: Geert Uytterhoeven Cc: Krzysztof Kozlowski , Rob Herring , Marek Vasut , Yoshihiro Shimoda , Bjorn Helgaas , Krzysztof Kozlowski , Magnus Damm , Lorenzo Pieralisi , Krzysztof =?UTF-8?B?V2lsY3p5xYRza2k=?= , linux-pci , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Sergey Shtylyov , Thomas Petazzoni , Clement Leger , Miquel Raynal Subject: Re: [PATCH v5 2/6] dt-bindings: PCI: renesas,pci-rcar-gen2: Add device tree support for r9a06g032 Message-ID: <20220506143518.3ed9765b@bootlin.com> In-Reply-To: References: <20220429134143.628428-1-herve.codina@bootlin.com> <20220429134143.628428-4-herve.codina@bootlin.com> <29ba3db6-e5c7-06d3-29d9-918ee5b34555@linaro.org> <5a89e9bf-1004-500a-75e1-995732629937@linaro.org> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi All, On Tue, 3 May 2022 11:37:31 +0200 Geert Uytterhoeven wrote: > Hi Krzysztof, >=20 > On Tue, May 3, 2022 at 11:29 AM Krzysztof Kozlowski > wrote: > > On 03/05/2022 08:51, Geert Uytterhoeven wrote: =20 > > >>>> This should not be a reason why a property is or is not required. = Either > > >>>> this is required for device operation or not. If it is required, s= hould > > >>>> be in the bindings. Otherwise what are you going to do in the futu= re? > > >>>> Add a required property breaking the ABI? =20 > > >>> > > >>> The problem is that there are no bindings for the reset controller > > >>> (actually the reset controller feature of the system-controller) ye= t. > > >>> Yeah, we can just add #reset-cells =3D <1> to the system-controller > > >>> device node, but we cannot add the actual resets properties to the > > >>> consumers, until the actual cell values are defined. =20 > > >> > > >> Sounds like you should implement providers first. Or just live with = the > > >> warning as a reminder to implement the reset provider? =20 > > > > > > I'd go for the latter. The upstream r9a06g032.dtsi is still under act= ive > > > development. Until very recently, the only device supported was the > > > serial console. =20 > > > > For clocks we use in such cases fixed-clock placeholders or empty > > phandles. Maybe something like that would work here as well? =20 >=20 > I don't think that works for resets. > Besides, the driver doesn't need or use the reset anyway. >=20 Finally, related to the "resets" property, what should I do ? (a) Keep the property as not required an change the commit log (b) Set the property as required and live with a warning (Rob's suggestion) Regards, Herv=C3=A9 --=20 Herv=C3=A9 Codina, Bootlin Embedded Linux and Kernel engineering https://bootlin.com