Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1085545rwd; Thu, 8 Jun 2023 11:53:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rYoqX+3oQPI+7Q6kT6ab/fllSfoj2z/NT8gLgavSCP5zpngCOiVNzED5S5OQ3WxQIsCb8 X-Received: by 2002:a17:902:ead5:b0:1a2:6257:36b9 with SMTP id p21-20020a170902ead500b001a2625736b9mr9075862pld.31.1686250401197; Thu, 08 Jun 2023 11:53:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686250401; cv=none; d=google.com; s=arc-20160816; b=gS1uwQ5pCatAODE/n08wekp7qWKhX3gMxwk7DnSqJnpilLElMSmBjZy1NnTwATTHMx xXzbKlRKItXsRVGWmllZPXL6vmJH/2UVb4CipAYxEOIQIpn8dv8W8JParwOVaB8YMILO LWCCTDaQVlSenZ9bIl1LNM3y5G23NgSV/rO7XRMPmrMTaxoISKDBlKVgOh58IiOEmMeU T85JfZSs0MNWxDhOUrmpvSMkbLMWKH8FgZOpSt/TTzce/WboFi2nW4Q9tz0Lc10Q+iWj 6xBJmRMIk5Sn+qZCmI2CTVxffjkXqeme9Bot8/+P1hcelyX7betgGXaOf/ysOHHzpuI8 2Nmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4TNOpUIlzm/ylnWFmYIYomA9i38mrcF4up4C0DkrnTc=; b=vLFtxGNqszRSC18aLW/qxpO9+BQ4UFyEt0N75PFxByUOsDisX14ud58wR01QDNEoSf 9z7JIEcchKtFe7s/R3gNLOe1PsWqMy/jfhOHGRYOfElJdgFS3dSYco/Lx1cWfT7HBdbx iwHjeU1ofCu1sJvCELXtmPGA8SnuJrAOWmwvM2DJhmqXLQX2ns8Li7P4Uer9L0RQU1W9 LpAhz7j3akwlFkZI7kLEJfgf65VOT0/JyKXkErw2kHzlYxJ8PopFWUWTSH+dWEMd84aK +uwNPmtAJ+61DusVUsBAYtIcpfuEU4nPe1NcNkoXW94feAkJtSNKSt3H7QSrYw7NqtMa XGLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bN4mvX+p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k1-20020a170902ba8100b001ae5eb838easi1376359pls.292.2023.06.08.11.53.05; Thu, 08 Jun 2023 11:53:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bN4mvX+p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236051AbjFHSGC (ORCPT + 99 others); Thu, 8 Jun 2023 14:06:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232256AbjFHSGB (ORCPT ); Thu, 8 Jun 2023 14:06:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE31E19B; Thu, 8 Jun 2023 11:05:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 449B665038; Thu, 8 Jun 2023 18:05:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3D11C433D2; Thu, 8 Jun 2023 18:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686247558; bh=V7u42f2naBOqDowPjpRoAY5sWdX646Mwb4Elfsu16zs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bN4mvX+pIWEBE0jiHvTzGzCqSYj0xamnFlHcCq26lbRNO0jlsXx4ozmK2CCbIZ3Tq t9YD0j21cFPvUWQ4nAln0igiH0Q69gaW3pVo6ISPbv6aKnX3L/IKcS6r0ldqlVSy1P P2v0wi5URP+bEKZoXxbezTw7/AZTH7uWADINlLivU306OcNjmJ8Q9LTRVQHeTszTTq F/wJ9qf67h0yDWXk3rw300lUinTEOzQ+y/L18eDQNXz4IuK4czNYH6srgum7JeUwvY A6SdOGKD7svJzIKfZ5llVHKsaaaRo+vA5TMNjRvgw/quMriQgFvZty1RTuNgu4Ut72 Lo3XFhDmBwtxQ== Date: Thu, 8 Jun 2023 19:05:52 +0100 From: Conor Dooley To: Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , Oleksii , Rob Herring , Anup Patel , qemu-riscv@nongnu.org, u-boot@lists.denx.de, Andrew Jones , palmer@dabbelt.com, Atish Patra , Jessica Clarke , Paul Walmsley , Alistair Francis , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Rick Chen , linux-kernel@vger.kernel.org, Leo Subject: Re: [PATCH v2] dt-bindings: riscv: deprecate riscv,isa Message-ID: <20230608-unlucky-carpenter-b3a95f269712@spud> References: <20230608-sitting-bath-31eddc03c5a5@spud> <168624654839.3085745.9088493205796442132.robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+RuwJ2DDVfOcEYrF" Content-Disposition: inline In-Reply-To: <168624654839.3085745.9088493205796442132.robh@kernel.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+RuwJ2DDVfOcEYrF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 08, 2023 at 11:49:08AM -0600, Rob Herring wrote: > On Thu, 08 Jun 2023 17:54:05 +0100, Conor Dooley wrote: > > As a result of implementing Sean's suggestion, I believe I need to add > > riscv,isa-extensions as an exception to the rules preventing vendor > > properties being of object type, otherwise dt_binding_check is less than > > happy with me. > dtschema/dtc warnings/errors: > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/riscv/extensions.yaml: properties:riscv,isa-extensions: 'oneOf' conditional failed, one must be fixed: > Additional properties are not allowed ('additionalProperties', 'properties' were unexpected) > hint: A vendor boolean property can use "type: boolean" > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/riscv/extensions.yaml: properties:riscv,isa-extensions: 'oneOf' conditional failed, one must be fixed: > 'enum' is a required property > 'const' is a required property > hint: A vendor string property with exact values has an implicit type > from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# > Additional properties are not allowed ('additionalProperties', 'properties', 'type' were unexpected) > hint: A vendor string property with exact values has an implicit type > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/riscv/extensions.yaml: properties:riscv,isa-extensions: 'oneOf' conditional failed, one must be fixed: > '$ref' is a required property > 'allOf' is a required property > hint: A vendor property needs a $ref to types.yaml > from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# > 'boolean' was expected > hint: A vendor boolean property can use "type: boolean" > hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. > from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# Yeah, expected. I think I need an exception in vendor-props for this to pass the checks. --+RuwJ2DDVfOcEYrF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZIIYgAAKCRB4tDGHoIJi 0l8IAQCHNhFWGWR69Rcpmeno9mCNvE7EiV05GSVbbHObbpVtJQEAmK/PJZ+JTtyj f1qtwj+vdUYA/q/Am73pR9cOA/e51w4= =3iEw -----END PGP SIGNATURE----- --+RuwJ2DDVfOcEYrF--