Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2565669rdb; Wed, 21 Feb 2024 11:34:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXTKSFgIrTYQMKt8CRhI0sEqecEP2k8sY19tISpyxs2nfo+ZFIoroacIlQwDREoOshFA+o0HUW+DjPG78VdnXvcXN6a1y5WCMk9qnMDFA== X-Google-Smtp-Source: AGHT+IEogtts+U8JEQcQ4y6MorqO8jchq2+AY5jgiVK5oPn57R4T+HxapFpB5jTsqFpmm5f2yzyv X-Received: by 2002:a0d:d84f:0:b0:608:3f3:42e7 with SMTP id a76-20020a0dd84f000000b0060803f342e7mr12143209ywe.3.1708544068170; Wed, 21 Feb 2024 11:34:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708544068; cv=pass; d=google.com; s=arc-20160816; b=MmOUhsloL8VqRqRsCNswbDhjsX+AFS3LA9odxsgxnZLnxRjtj8lbqV37fz+o36hR0O ft37lsAhRYTCFiqrkXd3TDNEfhdRMavD/ogxaSP68XSzAHfKWIFYPVp+Un67dPSM8CO8 QPiLZKiyQc4WROXKZh03K2xbInMALinfobN1z4f4gAhxXKI9+ZC0vacGvg9BYzEhDqS+ heWXY5kql1TX+U4OpCN08hrm2Jyq5N9Yms5HREwkZMgnLUAjyIDo9dl5WAnA7zs2k1w6 a1ALk03CGpx2y1qERgJabH8n31azScuMMWoWis7Q6lK91ZEnrT17cQmKvytqueVS3CZv 5h0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pzwIx1W//2RgK4abroaWU8yUs4+wiXPdrPLOmHKzKmA=; fh=eWVmvajngJ7a9T6Cf/m2f8pRyIGZdqWQ5appdrsNjis=; b=rJklKL0iRI1oS9ARQUmReTwxSlq+obRVImwT3ROLnT7Quc5vjTPBdqwT95JTZjdFPV ERjE32gzlE6+wo0IvcArxC3BbYSrealzZ2ruFhJrzj75eGHMekTT7JC762ibkl8+kz8u OeQQoE5L0zBCHqDjLnyOvbkC2432FLx3Cp65U7GX+vUihdy2XSIV75IvBhmmL8vsaVLU vVDgMQfaY47kaI8u1QXHF7Cj4bP2KH1CkmA2Om8Q1R99LX/CwBiUvmDwryIuVBIml1sZ WdTvlZ42LYddmtIsRYSkxe8ECs/4J+pBithCx6ahn4iesCyshiR8mALVtVroyA5bHqS7 0qng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pOHByhzS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75371-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75371-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ou5-20020a05620a620500b0078780bf3900si2891370qkn.658.2024.02.21.11.34.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 11:34:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75371-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=@kernel.org header.s=k20201202 header.b=pOHByhzS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75371-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75371-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DD91C1C22388 for ; Wed, 21 Feb 2024 19:34:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDE7686158; Wed, 21 Feb 2024 19:34:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pOHByhzS" 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 D3E2783A06; Wed, 21 Feb 2024 19:34:19 +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=1708544060; cv=none; b=S7k5iRBS7gPr6FFc3bzUGJk/eoF3i8IeTlXKrJCzorkmeEVGsCONjzf3HOM0YADUNEmUqL9eX2J85cHzEWFmzHRWVU1sikUI892iwZE6DNLZrjHF2X9GqrFhx4iRa3I5n1tLDuAm5jOgrNgt7vx2a33AmnSgGZaEWUwRMw2GBtc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708544060; c=relaxed/simple; bh=sXa5dPwz8bX/os8/Ajvudq3p1HLKGVCbEjjsuMeVa5o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CgN2jxUv2y3RGSZUFhjKr9GsFWctXdEzFahrIZjxyaWGDfWlZSFaWtSDSUMX8Wic/sfUxRzIicwD0U9CjSozM/URmtgenTW47PJuy5NeS4ZF2wYclis378iLMkf1p99InnjzgG/DxG94fhym2Kc7y4KMLLvdgg3KYMMX6aQglIM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pOHByhzS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA81FC433C7; Wed, 21 Feb 2024 19:34:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708544059; bh=sXa5dPwz8bX/os8/Ajvudq3p1HLKGVCbEjjsuMeVa5o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pOHByhzScvU/U0TCoTIQTNO5d3/UV2yM9PwLvGTv35mTJpxaGtM+G+RdDlJL53puo QYfMCCRjV8YrCpDvU+bdh8Wb24/aAvFRyea6WmIceRG17LO/LlsquvUkVKk39XtJXD YVt37gKZGq5efvojR20BnMmOS4eDcPTx/ZRYSgtVeceR+gkDoioXuDmixB0OAWf4vz t0rMDee6yY5N4h42osps466yGwZywfH9RyZiMsNpPnk7rugdSBWh9h1uqgwXVlKYOm nKXarH0nNjLI4ltp9t2LtGgcZ4xOuF1JY2DoELiDNTgtedT2t4RSVwFXnuKtw/aaZ7 4SO24rSgbzwtw== Date: Wed, 21 Feb 2024 19:34:12 +0000 From: Conor Dooley To: Saravana Kannan Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , "Rafael J. Wysocki" , Ard Biesheuvel , Frank Rowand , Len Brown , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , kernel-team@android.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-efi@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v2 3/4] dt-bindings: Add post-init-supplier property Message-ID: <20240221-emblaze-ripeness-7ad4e41343fa@spud> References: <20240212213147.489377-1-saravanak@google.com> <20240212213147.489377-4-saravanak@google.com> <20240214-stable-anytime-b51b898d87af@spud> <20240215-unstirred-rearrange-d619a2524a63@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pLmCPIAdI0+mCq/J" Content-Disposition: inline In-Reply-To: --pLmCPIAdI0+mCq/J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 20, 2024 at 08:13:31PM -0800, Saravana Kannan wrote: > I made that fix and now I'm getting this: > $ make DT_CHECKER_FLAGS=-m dt_binding_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/post-init-suppliers.yaml > DTEX Documentation/devicetree/bindings/post-init-suppliers.example.dts > LINT Documentation/devicetree/bindings > CHKDT Documentation/devicetree/bindings/processed-schema.json > /mnt/android/linus-tree/Documentation/devicetree/bindings/post-init-suppliers.yaml: > 'oneOf' conditional failed, one must be fixed: > 'unevaluatedProperties' is a required property > 'additionalProperties' is a required property > hint: Either unevaluatedProperties or additionalProperties > must be present > from schema $id: http://devicetree.org/meta-schemas/core.yaml# > SCHEMA Documentation/devicetree/bindings/processed-schema.json > /mnt/android/linus-tree/Documentation/devicetree/bindings/tpm/ibm,vtpm.yaml: > ignoring, error in schema: properties > /mnt/android/linus-tree/Documentation/devicetree/bindings/post-init-suppliers.yaml: > ignoring, error in schema: > /mnt/android/linus-tree/Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml: > ignoring, error in schema: allOf: 0: then: properties: pinmux > /mnt/android/linus-tree/Documentation/devicetree/bindings/net/lantiq,pef2256.yaml: > ignoring, error in schema: properties: lantiq,data-rate-bps > /mnt/android/linus-tree/Documentation/devicetree/bindings/post-init-supplier.yaml: > ignoring, error in schema: > /mnt/android/linus-tree/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: > ignoring, error in schema: properties: honeywell,pmax-pascal > /mnt/android/linus-tree/Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.yaml: > ignoring, error in schema: properties: honeywell,pmax-pascal > DTC_CHK Documentation/devicetree/bindings/post-init-suppliers.example.dtb > Documentation/devicetree/bindings/post-init-suppliers.example.dtb:0:0: > /example-0/clock-controller@1000: failed to match any schema with > compatible: ['vendor,soc4-gcc', 'vendor,soc1-gcc'] > Documentation/devicetree/bindings/post-init-suppliers.example.dtb:0:0: > /example-0/clock-controller@1000: failed to match any schema with > compatible: ['vendor,soc4-gcc', 'vendor,soc1-gcc'] > Documentation/devicetree/bindings/post-init-suppliers.example.dtb:0:0: > /example-0/clock-controller@2000: failed to match any schema with > compatible: ['vendor,soc4-dispcc', 'vendor,soc1-dispcc'] > Documentation/devicetree/bindings/post-init-suppliers.example.dtb:0:0: > /example-0/clock-controller@2000: failed to match any schema with > compatible: ['vendor,soc4-dispcc', 'vendor,soc1-dispcc'] FWIW, I don't see these or the other errors you see above. You really need to get yourself a newer version of dt-schema, or else avoid working on this using whatever castrated system google provides you with! > But I guess the "oneOf" error is because the yaml is being treated as > a description of a DT node and not a schema? The oneOf is due to missing "additionalProperties: true" - As far as I understand you need that regardless of whether this is going into dt-schema or the kernel. --pLmCPIAdI0+mCq/J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZdZQNAAKCRB4tDGHoIJi 0g3HAQDpIe4M9otvSpLROV6Ux41ghNaHIm5e1Qhx4Q295ZxF3QEAodiz/FUXPees zSZSMDf2CLnO5KDtqoIy8tOHjOqzMw0= =9UjH -----END PGP SIGNATURE----- --pLmCPIAdI0+mCq/J--