Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3348158rwb; Mon, 5 Sep 2022 10:03:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR512MJ/wRYcAEYxkjwdRSebP+ekV8jP8yC2ncaFoPAWR2Bo8xI8KW+F58Vj6geRNkByudYS X-Received: by 2002:a17:90b:2496:b0:1ef:a94:7048 with SMTP id nt22-20020a17090b249600b001ef0a947048mr20432321pjb.244.1662397418206; Mon, 05 Sep 2022 10:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662397418; cv=none; d=google.com; s=arc-20160816; b=vjvm15NaCxPuPJWR5uZsHlUbSEwvdjPYz/o9SamowGUZ3EgYvk5IhzOW5mMUeELy9p 3nvAY6Y1PnXpXiOuxhwRt/kSDHxJFEJ1TmEww3hUQj0wSy648grnPblnpmObVb/Hy3Q6 QL8SK8Jib95bvZpATzdgR7e3oT1IhSHmxt4IHZZsEvi98vhrcfzXmTZ+t9dMB3YJbp5m p/hU43bsb5aTTMDGlNCHbcmm3vh3f8brvAeMs/4oZR+CmM/nhKrzZYCHMtajgh/wjRZi GVpUo2TbN5yYKViTgMbSNyDy9igHX08U6ZnLhoB/y1O1FWpfqvxChU7SBek2RaCRSbcw gP7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=OlUT4VdL+//Vhfi8q6/DNyDdCq5azFht1vrO2HgtYLE=; b=fd3G6T9ml8LxSZoPtvIe/6ey1Q3u3+nMTjnRhe3TCwu6fmtuCQDPiX8mfN4c8Lx+QH yrGdTXAgb/CKTuYQdcMeT22KM50n7VE5AQFzpshblokD0AWHbb7dY3i8RPlqfdrsZcsV x0Ct+dFZW+lI8KL2uPlpe2eEWqZwHRrXjH+WryAQ5xhrvPY4JUPL6Uo9ciHbx+iw1St2 hmOXfc93WBDOVi3uR0tF1jgaiZ3PTCzODVkFc/wtgBovXg3xEWxuBz4ola7A9RNmulem A53xsLvc8F9YcMx2vfvNyZ47xbs66byXMCSgmQ2f+LLXzkkmVqmhq0UlSzGTKMYDac2k wsjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CQBnZEjL; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n25-20020a6563d9000000b0041c86b0e7a0si8313784pgv.741.2022.09.05.10.02.50; Mon, 05 Sep 2022 10:03:38 -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=@linaro.org header.s=google header.b=CQBnZEjL; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236977AbiIEQqK (ORCPT + 99 others); Mon, 5 Sep 2022 12:46:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237386AbiIEQpw (ORCPT ); Mon, 5 Sep 2022 12:45:52 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEAB2580A2 for ; Mon, 5 Sep 2022 09:45:40 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id z25so13872001lfr.2 for ; Mon, 05 Sep 2022 09:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=OlUT4VdL+//Vhfi8q6/DNyDdCq5azFht1vrO2HgtYLE=; b=CQBnZEjL7WB8lSHzHSoMLBLX1voBnKHff+0cjJz47KCq6VWU4bnBJU+M75So2ExRuJ NqQIWdxrqOddIBiioPPV9pRU8iX+7uaJKIyyzPHG54SWRbIsF3nQyo0Gf5PYWhjTUW9h tQstS7iyOT9jCL8qi+O3atgA5Lr407JlTYKFK70GXbe+slSvtMVWnHHWQgYWwnH12NCz 9UFNHewZTmYPF8T9wkGjAtJc5HQiPVSrr1EJ47ZbysUP0vicqmnjkgBTt7Jch9sOCXjl 4tu7D5G0tLhaMk8ya24YfGQ8UhAf7cYWFLw/4b6NXw+OThKvWHYttdMUYKBH/myQrUVo 1EKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=OlUT4VdL+//Vhfi8q6/DNyDdCq5azFht1vrO2HgtYLE=; b=LMVi+XLhqiRRUBy5RPHiy0w831ye5fRqkAregrw2LaiBL5Lvq10XHe5p4WaRwKmfQQ PNqq9pFh3YphAXaENfR8N0ST32+6y/2ajGpbv7U+fM8TTj0SLx/XFKBzdhQN6USH/jK4 9/YEDmvBwNVJ1enasCZizuyWNFyJtqBzHTCMAzkvnldsGnzqjcp4N/FXp2Hib7iYwjpx NO0lTdNglIaUdRelkFRkWJVGEvJYiJZLTzK17lgScrqrjP8sXun7l+RNn4ObeAS8hk0L zM2mIElffJQyDPjgvwGBO8O9vL14aWLZbljSnE4yphy6vwKjHjaVPt2nqsxYzPIs8FEi uzmg== X-Gm-Message-State: ACgBeo2PySdXmZFqvttd/12ABd51EhwzVXidYDL8inTBWc2ej2OChdzh t2Tv+iW7IIPPaZXrEoZ5cJ7FSQ== X-Received: by 2002:a05:6512:3281:b0:496:f9b5:eb55 with SMTP id p1-20020a056512328100b00496f9b5eb55mr5833lfe.279.1662396339100; Mon, 05 Sep 2022 09:45:39 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id z4-20020ac24f84000000b0048cc076a03dsm1237973lfs.237.2022.09.05.09.45.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Sep 2022 09:45:38 -0700 (PDT) Message-ID: <33c19838-2e44-2164-11c7-b14be5908809@linaro.org> Date: Mon, 5 Sep 2022 18:45:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH 1/3] regulator: dt-bindings: qcom,rpmh: Use additionalProperties Content-Language: en-US To: Andrew Halaney , agross@kernel.org, andersson@kernel.org, konrad.dybcio@somainline.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dianders@chromium.org, johan@kernel.org References: <20220902185148.635292-1-ahalaney@redhat.com> <20220902185148.635292-2-ahalaney@redhat.com> From: Krzysztof Kozlowski In-Reply-To: <20220902185148.635292-2-ahalaney@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 02/09/2022 20:51, Andrew Halaney wrote: > Right now, running make dt_binding_check results in this snippet: > > /mnt/extrassd/git/linux-next/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml: 'additionalProperties' is a required property > hint: A schema without a "$ref" to another schema must define all properties and use "additionalProperties" > from schema $id: http://devicetree.org/meta-schemas/base.yaml# > SCHEMA Documentation/devicetree/bindings/processed-schema.json > > /mnt/extrassd/git/linux-next/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml: ignoring, error in schema: > > Which results in the schema not being properly evaluated. Swap out > unevaluatedProperties which doesn't seem to be doing anything for > additionalProperties. unevaluatedProperties were required due to usage of defs-allOf (ba5d99609a5e ("regulator: dt-bindings: qcom,rpmh: document supplies per variant") ). Are you sure that it works correctly with additionalProperties? Judging by errors it doesn't.... > > Signed-off-by: Andrew Halaney > --- > .../devicetree/bindings/regulator/qcom,rpmh-regulator.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > index 9a36bee750af..b3fd60b21610 100644 > --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > @@ -106,6 +106,8 @@ patternProperties: > $ref: "regulator.yaml#" > description: smps/ldo regulator nodes(s). > > +additionalProperties: false > + Don't move the location. The proper one is above examples. Best regards, Krzysztof