Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp833539lqm; Wed, 1 May 2024 18:16:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULg5bNDEjbivm3wAnbD/F79/2zJ8GXmz1c1LNcU8qNT6DUHCIr1pzKeYr8imvV4pHLybaYODSsUDzasIwbhZKKhLnN41n8mhx/wuLAMg== X-Google-Smtp-Source: AGHT+IED2P3cjoIs3KoKvt5Q1owHXJcZWl+3bNQN2wvZn9LwFwdvwYDjuu0GG36YT+A91gj0SUac X-Received: by 2002:a17:902:f70f:b0:1ec:c6bd:4157 with SMTP id h15-20020a170902f70f00b001ecc6bd4157mr2669447plo.59.1714612595190; Wed, 01 May 2024 18:16:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714612595; cv=pass; d=google.com; s=arc-20160816; b=YIeDnK8sVn53G42Hq6G5feoiv8NdIPcd2PkQSiZw6mjw/H+4RIhiePp/mPTFHyOM+v 0WqCymicWm/8Z6M5wvsVdnUebswqDw6mE4qjzdOPrn57J/dy82gfSnNKKn7QhVuhvqOZ o2KxknnWIbWvxUuf1McnXSLfX2aOcHrYyBMrvsHSgkTaQY7xSqcbRanGzvXvb7Cse2Sb BbQ4/f9j7jLMhs4q8koubsNqmPGJqCnAhbX0iqVFI9VeiMcmdAjHWqeBKT6ka7Ucg4Cu O9XUF2maG7Fn+C9LDDBXzsrRmCNEL3kvgpta5r61nyrhgnIt7+cdvMi5HSL0/zd6Rt/j TPkA== 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=I1H2b5dmLu+h090Wf3JV8wPJG4mgtbGH1NdOaoBnM7U=; fh=dfbwRK6b/+PEirILCTXLLXWU11xDvjkgYNq14m6EMEo=; b=vdv9QVlL3+lvffbXw62tdDaiaa1uxuV6Eq91VTF8UFffNZ90RWNSD9milyCDkIeTe2 OZULZSbqZHCT+teZHtB0x9hwEozIdXEmS3hZsoOJFI16z437EU0WIxJKqG5eXk6ZpKIx CNNYHkECrwEN6Yy2ZhFERUTKIovORfFvD77WVLjf/Ek8v5DgGYFWBNASYujGFRl4mIPS MGWhxIeC7AqYK6gHjKMZVd4Kld0ZNlu+JXsV3iYYc7dYKpxkRMkAnkD7Bjx/S8MqazRY m7q2kNXIznLAhPiV8g7MkXVg81TMrjjLegqvYrgL78GT/8YkE5EDoK9INUkBkyBzCPc5 oBPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=jRQ9UR1Z; 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-165895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165895-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 sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i18-20020a170902c95200b001eb5b59facbsi9678619pla.255.2024.05.01.18.16.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 18:16:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=jRQ9UR1Z; 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-165895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165895-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CD5DA282A5C for ; Thu, 2 May 2024 01:16:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 330D512E5B; Thu, 2 May 2024 01:16:29 +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="jRQ9UR1Z" 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 F093C12E6D; Thu, 2 May 2024 01:16:26 +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=1714612588; cv=none; b=gQlUXLrAIofff6eKzTbVLKQijmDS+8uNxveQvueHejj5cFxmRLRMOIUlM8SKfTDTukf442/5uY7QhA3x7gumg0q6n5YrF3Qeq9/brSgRFaBGy96KhbrxQTJ+XbBoX8pfduj5rab/Nm+cyi7Oed2d+TYKVqcM+h86OjFY5G4wSEM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714612588; c=relaxed/simple; bh=I1H2b5dmLu+h090Wf3JV8wPJG4mgtbGH1NdOaoBnM7U=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Mly47vhfEiPoBH3RYY2j5FZ/XZuflwx/Eq9E7rtpJEfUJdZ75GCdGBNkatarrJGOK07HjgoF5zVeeBjx+Pr65N467tIfca+Rv33G4rHrNih3l/zP0KieTwxPKbt8rzFYy/ZWKtjU+d1KS+7mfO5way4VLzF+tHL1B6SB0OR0wgE= 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=jRQ9UR1Z; 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.148.88] (unknown [120.20.105.107]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id AF26D20009; Thu, 2 May 2024 09:16:23 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1714612584; bh=I1H2b5dmLu+h090Wf3JV8wPJG4mgtbGH1NdOaoBnM7U=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=jRQ9UR1ZZ2FVs0XozVicmEwg1CRNhSKmKccCABEs31nGicFn/2prKvEeQ2rbh+rWa WAaWf/S4eh7Lp/yTx0jVmqReJh/6AlvwZAFcK/6YQ0uAo/NfkeUqNEAxQQ76DSIHdS HUzavRDOacprdfMmSg0DbVM7TTH/3qWIL2E69NZwhYRo6bexYncEA03PzojNt2gCaQ kchPJIOrTNKRxid89ZHpzHIVThucjhfR7q/y5kkaxLOja2otHPXBjoFCoevzrcNSUF 9rf2y4Dkp1mgEwkaDZp44VxNdZrn+ev3hdWMwvdOt8ytjK/6LOLPUhbUJV1FlTMzS4 aHu5HfKEy+b4A== Message-ID: <73284390fda1971eb6727102eba75324a1886a2a.camel@codeconstruct.com.au> Subject: Re: [PATCH] dt-bindings: mfd: aspeed: Drop 'oneOf' for pinctrl node From: Andrew Jeffery To: Rob Herring Cc: Lee Jones , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Thu, 02 May 2024 10:46:23 +0930 In-Reply-To: References: <20240430172520.535179-1-robh@kernel.org> <4f3ce3439e3d996471085e906902e508528308d3.camel@codeconstruct.com.au> 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 Wed, 2024-05-01 at 07:39 -0500, Rob Herring wrote: > On Tue, Apr 30, 2024 at 7:40=E2=80=AFPM Andrew Jeffery > wrote: > >=20 > > 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 resu= lts > > > in error messages containing the actual error message(s) for the corr= ect > > > 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 wi= ll > > > 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 it= s > > > schema will be applied separately. > >=20 > > Thanks, I think it improves the readability of intent in the binding as > > well. > >=20 > > To understand the impact better I grabbed the patch and diffed the > > output of `make CHECK_DTBS=3Dy aspeed/aspeed-ast2600-evb.dtb` before an= d > > after applying it, but there was no significant difference in output. > > Should that not demonstrate the errors being cleaned up? If not, what > > should? >=20 > Try it on one of the new boards posted in the last 1-2 days. It showed > up on my testing dtbs_check on patches. I didn't send a report because > there was so much noise in it. I tried with aspeed/aspeed-bmc-ibm-blueridge.dtb and yeah, it does clean up a lot of barf. Nice. Thanks. Reviewed-by: Andrew Jeffery [1]: https://lore.kernel.org/lkml/20240429210131.373487-14-eajames@linux.ib= m.com/