Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp439670lqm; Wed, 1 May 2024 05:40:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUx995d9079Dkdux0d9NZYpyPjkJPRETKTss+PU6wHfdfre8D6DuYFRpZa/RuSdgIpv/djLm+bHUHY/cpMLzivWSnmNTDs7/vWX2Csi1A== X-Google-Smtp-Source: AGHT+IGSZ3+2tynoPOUr0dL7zbFeAGKVzy/fNpNxcgGGYXfIi641gSnCGgqwk+1xdTjAwH/HJiPn X-Received: by 2002:a05:6a00:1251:b0:6ea:9252:435 with SMTP id u17-20020a056a00125100b006ea92520435mr2929921pfi.30.1714567216325; Wed, 01 May 2024 05:40:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714567216; cv=pass; d=google.com; s=arc-20160816; b=RP7Zs3Q45WseBeEYkAVx9csB5Zua6R1Z18viKgorbUr63ewg9yukAHtWNGfpuKR7Eq kyXfRwGUVoo1YEL/oddqdIh/ZhcVmAuiLPGY29kjawdQPXPDl1vCpkOPUfWAjudhiDX2 kJUvIjwRC9nEo6eO/J4QFG+3Ss7S3OLmvWotN3an7gcxm44MEGD1Vln2XoaoOdChuOVh K50sGTIM9YAFuGH8vV2SR8htw3FkhnR9VdHjgbhf2Sxl6ffLwjlrto5p/IfFkECBX6vQ ib5qi4vNreyWcaNiQH1nAqi2Um6CvwctHwcnLkbKPvnHlB/0VYKfBWZMIla6ixMMBDQt s9KQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=cl0dB5wGo+5uj0Y4IQNMQknyPfpkK+3SgXwRRuMM5EM=; fh=ZtS0ux34Lee72Q5ib8h02xb7C25pcPXfSH2JDkOUemc=; b=pDII9Om4eL45cT3+Vj/wS1UN0x3cBs1ZtZrZGKUluSIlweq9qWjA3gw3IvY5mGFA5g +g4mLSACuGPejI2uBYJHWZth73/ZTFsosJw/IFjbRrE9CnstC2awB+woRuDGOdBUnihb LKtUEYwT8rn3MLEtz/POhFzusnrosAdqtaA88UI5d/FwMK74IW+t1YXGLKUyHouC8UlC 8CmZITEEzUoD6yz1vGkU0MqUb69S6DhSEodOu8tThBR1HJtBj2mRaTPC7ULtA5hUb9EV WNatKOg5Z6N9qHiZQNeWozyaaBIKT1zQ+eh3FK9IwWKCkUNQJ57066lmV916ThfTbo8o K5tw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BU2zS/pz"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165258-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d25-20020a637359000000b006001399aeb2si18160002pgn.549.2024.05.01.05.40.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 05:40:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165258-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BU2zS/pz"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165258-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 54A93B20D02 for ; Wed, 1 May 2024 12:40:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F2924CE1F; Wed, 1 May 2024 12:40:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BU2zS/pz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4393CF9D6; Wed, 1 May 2024 12:40:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714567203; cv=none; b=qY6yaS9WjqHWPa+EoL+Hgc1y3T52H+K6S8xThQ8vsUDJjSkAcsUYvLBCQYjSI2GifC8Efi77sdaLdlyQ2tiHx8erbWB1RsnhrZIhhsk1Sk48Q2KUvicAuqSL/jfyA0/fodd9nc9XQtpkPKmsH65XPsDnJZiaEmhCpQTYO+KEt1c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714567203; c=relaxed/simple; bh=cl0dB5wGo+5uj0Y4IQNMQknyPfpkK+3SgXwRRuMM5EM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=VH4DnpQ8XzS1hAyX5TuSntcjiQMCBOHFz5ZYJA3kpms/41VrhuRe9MFdoYPUvJiJ8u8dj4FbnHYQ5qIgNST+FQo3gWc6Mwm3Ci0nLbMoLLpkzFNhPIYN8IPslqKq8spXlSgs6KFXNGo/A6zXdh4jnox+W1J5/QLnfUMBllLbbGU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BU2zS/pz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C03D6C4AF14; Wed, 1 May 2024 12:40:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714567202; bh=cl0dB5wGo+5uj0Y4IQNMQknyPfpkK+3SgXwRRuMM5EM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BU2zS/pz6catu1evdEGNz+5JPjugv/TZDFsNqElqDT3eLgxQl+AsZk7j6Z0xQ9j/w l7QxAWnwHalymxPBytEy0dobttdhXqel1zgQFKWN+/OFmBgLcp+MXJejeT07AKZi2O Lh9x4qsaZcz0wadMswTjmrWZMGJUmWt6mEj6ADUUg2+O1tjtDoxd/Cp5IB4+TyF1gF vG7sUo0cqt43SLkUt/tZ0V6fjvR59/TJjgEEyacouyj7vSU9mYjoXaxTy0fjkozTQs mMngeWklfzhGcCKnEVl9pqO87GwnouiHOBLGTLizxjMXxmLQiz302iLFBtu5DRuGSN 0I+iP5hWJJysQ== Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-516d264d0e4so713117e87.0; Wed, 01 May 2024 05:40:02 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXeSu0iEiNRKgYTFsdg5sKX39pNV9HCrHV/IWv0MvwowC0+1Vw6kFJyY+qvMziTFq+9leHOF9HK6lUR83Im+SBFrkYcLnXnWMiWJBqzcwB/wM3+Aih3sz4TGKmiCWjsipIyo8r7134zRg== X-Gm-Message-State: AOJu0YzLnr0RUWvkQet8wsQ58i/rn050EZWHXMw67zxeZowck9IOtT+Y df1WrhnpDsgtKE8ri0CaPFv0Ac/NwEwJ8+yk26wWLO15Lz19HffIs2am9I6ovPMI+gb9Y1V4NvL Hd+llaaeLLViCRfqE2GYzgrUhbg== X-Received: by 2002:ac2:42cf:0:b0:51c:4e0f:ba33 with SMTP id n15-20020ac242cf000000b0051c4e0fba33mr758683lfl.18.1714567201151; Wed, 01 May 2024 05:40:01 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240430172520.535179-1-robh@kernel.org> <4f3ce3439e3d996471085e906902e508528308d3.camel@codeconstruct.com.au> In-Reply-To: <4f3ce3439e3d996471085e906902e508528308d3.camel@codeconstruct.com.au> From: Rob Herring Date: Wed, 1 May 2024 07:39:48 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: mfd: aspeed: Drop 'oneOf' for pinctrl node To: Andrew Jeffery 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 30, 2024 at 7:40=E2=80=AFPM Andrew Jeffery wrote: > > 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 result= s > > in error messages containing the actual error message(s) for the correc= t > > 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. > > > > 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? 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. Rob