Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp180043lqm; Tue, 30 Apr 2024 17:40:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQvBHrlvSDTQnXZoCo17v7jUTpEfpu05SDTsAqEnYxoTNKARzzaYDjVa7PetnuNuTmjz+FJCWI/eNc7NudVYHR6nL3lc5teEqBWisk5g== X-Google-Smtp-Source: AGHT+IFMpgGPUqO51prUZGnhpIk9yKFtvu7xfwVEt1QmnCzOdVtCwRgNTjkzv2blXBcrjnlBuEC1 X-Received: by 2002:a05:620a:5346:b0:790:fb23:415 with SMTP id op6-20020a05620a534600b00790fb230415mr806893qkn.21.1714524039978; Tue, 30 Apr 2024 17:40:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714524039; cv=pass; d=google.com; s=arc-20160816; b=SllMuoJDIYLbXaIEmJV6N5PymLWYOicy4MxiJ5S6hulCpMkztdnbqvCiLqyqMASc3S 3e/HR20AbBMW7uJ087bfkvj10expb4acsZa8ObdHSq610S4B/z5D6EGdA3NVnIEmi58Z 3xHXxz990WzybWk4NnPU9bgR+T6G92UkzchbpYBiDwxLR6CUmnHrqSf8n/8+i9kEwvXp l6uDD3eNxBkpdrbJ+i60iNvA/ggkyNzjiSboyksrDRzLevM/T8td80a2veTvDp03PnCS 651WSdR7vzWhQflmuzP1NySnHjFAsYXfNJ/XtxmRszN94ZraFNiWtdBpjrYy28pO/i1d 0BVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=zJQzXU9x1sjXKAGpnk6eIjFw7BY17yTk/9bUubCsTik=; fh=aXi5h1tOE/edU67sUD6qPe8SGuL25T2PO9ooqRYIoz8=; b=eUbI/RmrFHvK2wEHAr5vZAkS4wzwnyKxYUbCTMbs9O3sdNInYvF2y32Va7kyI+hc8F fSVFv+RjsZeLlWHFQe8ocu4qlrUBRiw8QAkXjszQfYIihBLsKRoqt5TMPorKEyMK7h/1 YSxT8//DcxVPlmBvIjwprp9LOdui1ydb6JZEl1nWTwIsLbFam7yYv9qJHqDxJXaZDu7M DABwP+kMsco/vs/zGEgawgZYICj7rUfutaAfQWbQ+mYT+y57M0Q0Y/6jPTG30FApbZ/2 LVqYyKrW8ASwBLal3wM1qO2V+mha9DzHVJYxEdUnguRT1pJ88A8k6A2qHttilg+si5U5 otcw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=HyrK8Lv0; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-164836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164836-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bq41-20020a05620a46a900b00790fb683e3bsi5814272qkb.603.2024.04.30.17.40.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 17:40:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=HyrK8Lv0; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-164836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164836-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id ABE211C21F53 for ; Wed, 1 May 2024 00:40:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F27C04437; Wed, 1 May 2024 00:40:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="HyrK8Lv0" Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D92B42F56; Wed, 1 May 2024 00:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714524032; cv=none; b=BI/i8jqyL4Cy9G0r1+Mjd3u+pXiroftoX50K7XWVSmNduf1DdwB2Q7CqEhaDrdjk6ANc5hHG3uO5FNQXJja0AFNkxRD4eSv5KnErwWZtA9YlgDVG56qQMzhpsb2EbfPeGJRAyo4tcZ5jn4mKN5kszQpz9Biz3L3HRUXpe9U2e7U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714524032; c=relaxed/simple; bh=zJQzXU9x1sjXKAGpnk6eIjFw7BY17yTk/9bUubCsTik=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=IldyqrwExevhH0PWZCxqbebXsOwy0/Slk/8tB3fKzsxnfNkEGdP/W6ybsfSo7a+VIROTvP4zW2ftlLlmWyho9FTzQJ3v82gc/tVnKWe6AMGwi3whI4LDse+xJjpcCy3A00uYc2HnjyjizYW9bUTfk02uFwKmRZy/d4nxgjP9CzM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=HyrK8Lv0; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Received: from [192.168.68.112] (ppp14-2-127-66.adl-apt-pir-bras32.tpg.internode.on.net [14.2.127.66]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id ED9612019F; Wed, 1 May 2024 08:40:19 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1714524021; bh=zJQzXU9x1sjXKAGpnk6eIjFw7BY17yTk/9bUubCsTik=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=HyrK8Lv0ghgtTtEIOZHMO/90+vGKuDV9vztOw6uCkQ/eDojtTkPWP4lAr+IFS2TvG +T6Hyj5GQSkxkLejts2s3gOJKWNJP/j0E7qOqW70G7HdwhTCfb7IvQO4csBAgLDCsm k9hjiEz3sENbg8Z8GzkTxdmGlyRCafEcqWce5jzUKzn0ptzWMBQk2DqT2FGHtSc/k3 Mt3jMgi4OZi5R4pFWOt+IjCkuGYCg01gDJmNB4bgDKkITtG61ZvJniPBuaNkGvFoFs 6IdLF2aR1hH9k2pF2XNOlb24VVhmzoCEubuMLXygYEM83HGHqdkJvB1rNtXOAyt4nh hO+BFeDAquOxQ== Message-ID: <4f3ce3439e3d996471085e906902e508528308d3.camel@codeconstruct.com.au> Subject: Re: [PATCH] dt-bindings: mfd: aspeed: Drop 'oneOf' for pinctrl node From: Andrew Jeffery To: "Rob Herring (Arm)" , Lee Jones , Krzysztof Kozlowski , Conor Dooley , Joel Stanley Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Wed, 01 May 2024 10:10:18 +0930 In-Reply-To: <20240430172520.535179-1-robh@kernel.org> References: <20240430172520.535179-1-robh@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Tue, 2024-04-30 at 12:25 -0500, Rob Herring (Arm) wrote: > The use of 'oneOf' to include 1 of 3 possible child node schemas results > in error messages containing the actual error message(s) for the correct > SoC buried in the tons of error messages from the 2 schemas that don't > apply. It also causes the pinctrl schema to be applied twice as it will > be applied when the compatible matches. >=20 > All that's really needed in the parent schema is to ensure one of the > possible compatible strings is present in the pinctrl node so that its > schema will be applied separately. Thanks, I think it improves the readability of intent in the binding as well. To understand the impact better I grabbed the patch and diffed the output of `make CHECK_DTBS=3Dy aspeed/aspeed-ast2600-evb.dtb` before and after applying it, but there was no significant difference in output. Should that not demonstrate the errors being cleaned up? If not, what should? Andrew