Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1076460rda; Mon, 23 Oct 2023 01:24:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFdTfhpVz3/WHNPi9ovhQMANywF3rCFrG0J/L77NaKa06V2X/qBne6W8VpfpK10t8rQB9+d X-Received: by 2002:a05:6a20:8f29:b0:153:39d9:56fe with SMTP id b41-20020a056a208f2900b0015339d956femr7253249pzk.47.1698049443650; Mon, 23 Oct 2023 01:24:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698049443; cv=none; d=google.com; s=arc-20160816; b=w5x8UzDvh85MTUTM5aeO4XgT5Qr1gYMkmCbYSuNe43zc2jDE5mv5FPbyIT/l3KYfBH 608MfQg2Qz9D0ilZThEogeDVIIgv+JbnyC51mFi72VaZqTMvVN8Ka0utuYlIzkotS1kr pu3zk/Qy6u8cek0h6fbB/gJnSOKD1I80qg8HpuL4kULgg4s1R4IU8tkwZjiE5M6aZfCN dCgv6/GJAEanC2Vbu8PBXWj+nXkSQFvlEipDYRVj/u+ninVf2Iwo1zd8IxzZzUlUokgQ cWvPo5kSXez9/gxwVGT/z8VfzrAVlzjoF2r6ljlPIPObGHrgeetsaPoxtQR9uLbkHaPC oUsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YpnntzEb5o/Ml0Qqe0KCKq4eq7J7NuQ3k8IMCzED+Ts=; fh=C+KlFgXmv6zsFM4En0ACE8LPKT1ssSRxfNCHcxMLTak=; b=oEif+SBQLmPH2CNXVBRgugomMCV5uW/FfaaoyPAgx+WfydjHZNkL7Z8GJStJbsxEFz ZOnGvEERKx9AxJsO0s1h4lksfvck75IxZX5wCEBsi7t/JyWnxWRvof7xsxvY7Wg+aDKy kHJk+LoWPirJ3PWX9biizSSS6GFpy8jAOe4CX3eA46gbQ4wmeu/IEE0mvrLut9HxnSo4 B7tMQ9LmX2rjTX8kawrtU+chbd+6lLsMSaWGxfsbmwsf8l2OkTCJK3+2H9ToSkWT9iVh TyKjDhFPSwvz3bhrNz/mnCp1NNugaFwk0NsxXt0jCgHN9SIXyDFJI8k6+HSOW5bNFG5e 86Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TJWrolUY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id f13-20020a170902ce8d00b001c88fc3c5a1si6317768plg.461.2023.10.23.01.24.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 01:24:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TJWrolUY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 70CFD805D286; Mon, 23 Oct 2023 01:23:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229809AbjJWIXu (ORCPT + 99 others); Mon, 23 Oct 2023 04:23:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjJWIXt (ORCPT ); Mon, 23 Oct 2023 04:23:49 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 099CDDD for ; Mon, 23 Oct 2023 01:23:47 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-d9a398f411fso2781338276.3 for ; Mon, 23 Oct 2023 01:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698049426; x=1698654226; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YpnntzEb5o/Ml0Qqe0KCKq4eq7J7NuQ3k8IMCzED+Ts=; b=TJWrolUYCT5emRY6ml9XKBbUnfz5Zl1sbvwSQ9hcWNUCqssj4QzlWiwg+aO4ZhI40n MlSgozndN7cWKneUbFK/z51CtG5YcM/RrDdGzSHlEjoFQoCQDiaLeog6AA2zyCXFC03U oRRo5f/TuC1y81Goa/bChFYycNRpzEuYVoCV6PBjgotYMynlUXO8bg1bDIYFOWS6wCHw aqYWSoWzSaVT5mzUp9hPQWaf1+kcP7/jXg3U2CKMcLakQb0G0BxBSwPefDRRno9hRLjC EyDcL5t4iTDdFHdbkDmyiT9DXpx1A3LPAGongWichdtjich3C4Xbonw0XTD85MtNVr3i Lm9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698049426; x=1698654226; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YpnntzEb5o/Ml0Qqe0KCKq4eq7J7NuQ3k8IMCzED+Ts=; b=G3lIobruf6wK/21Id26i94VG+8fFqwAhZmsZQTjWazcEMm7v1hn8cwaM21hn6PgNfj lqadg0tAsv9+Ua6DrNHDQ+FfRSppJsEqthMDfdT4bLqSR1IZRHRU7wIY1BxHAX9uDoeN jDbzqGfqryz+3eHidg461JC5kDhpvP4kDOq+hCdweT7dzsOtfChzxBCoIOrBbYe77y3o VYbuPlaxh1y4cZooVJP9yXF7XU9eFhlhYdDv5jx7aDL3iX6+t71ZycBebSufx9ZSFMGN CD8dAsHzhSEm2+lT3Tf/70NjVOIK6wHEfy4pL17VyCkQysgQZP8GKCIrqWWM3tR7E6us f3bQ== X-Gm-Message-State: AOJu0YwY8BaFGxyiCyX0bwT5R2n+xLR/HUimCU4pQJuc/FOS+gGja7AS E7DWOV8FTsYXseYHNTgzBtwdiMB8sDFbc/xzMfMl/IvKiKYoFbLb X-Received: by 2002:a25:e606:0:b0:d9a:56c2:545c with SMTP id d6-20020a25e606000000b00d9a56c2545cmr7898590ybh.15.1698049426245; Mon, 23 Oct 2023 01:23:46 -0700 (PDT) MIME-Version: 1.0 References: <20231020185203.3941590-2-robh@kernel.org> In-Reply-To: <20231020185203.3941590-2-robh@kernel.org> From: Linus Walleij Date: Mon, 23 Oct 2023 10:23:35 +0200 Message-ID: Subject: Re: [PATCH v2] dt-bindings: pinctrl: brcm: Ensure all child node properties are documented To: Rob Herring Cc: Lee Jones , Krzysztof Kozlowski , Conor Dooley , =?UTF-8?Q?Fern=C3=A1ndez_Rojas?= , Jonas Gorski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 23 Oct 2023 01:23:59 -0700 (PDT) On Fri, Oct 20, 2023 at 8:59=E2=80=AFPM Rob Herring wrote= : > The Broadcom pinctrl bindings are incomplete for child nodes as they are > missing 'unevaluatedProperties: false' to prevent unknown properties. > Fixing this reveals many warnings including having grandchild nodes in so= me > cases. Many cases in the examples use 'group' property which is > undocumented and not used by the driver. As the schemas define 'pins', I > assume that is the correct name except for the one case, 6358, using > 'groups' which is documented. > > Signed-off-by: Rob Herring Patch applied! > Well, it's been a year[1] and no one else has stepped up to fix these > bindings. I'm still not certain where "pins" vs. "groups" is correct or > whether it even matters (to the driver). As there are no .dts files to > go by, I went with the schema being correct unless the example was the > complete opposite (6358). > > This is about the last thing blocking enabling checks that child node > schemas have unevaluatedProperties or additionalProperties. If no one > wants to fix this correctly, then apply this or we should remove the > bindings. > > [1] https://lore.kernel.org/all/20220816183911.2517173-1-robh@kernel.org/ AFAICT you did the right thing, thanks for your perseverance on this Rob! Yours, Linus Walleij