From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D905EC433F5 for ; Mon, 11 Apr 2022 11:34:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344019AbiDKLge (ORCPT ); Mon, 11 Apr 2022 07:36:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239683AbiDKLgd (ORCPT ); Mon, 11 Apr 2022 07:36:33 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3C4C15FC3 for ; Mon, 11 Apr 2022 04:34:18 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id b15so17997310edn.4 for ; Mon, 11 Apr 2022 04:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=PriMJtte/5hgjriSNEToIdFfrLkuSVpCW0l+e7C3lOg=; b=YW/bjohkH5YlnoINwYy8ZTkU/kPoS6OSYhi2Nmyw7qdSMmHEjs6NR3ndPlfr4QwKhB 3Da1O5Tfe5om2Fo0lnNVVIocYfoarmWleA9BaF0Fw/5Y0uZ1OrEzmRUS4VMyFkNRGcnS MaDeUeLNE7oiI86kaZTbibpAbvxLWXC6SYJKuWCDtAgdV79dKBBwn6ZfLwElfbesdWbj pA3EzTQ55zndlfF9NH+onk5bNc8VAUfNp4XWPRpBdEj/Nne63MNOv/B8RfvSbjsOnKVb 5Hvl47nRTYDjy35vU4upXpJ5E795ux/CuVBX7DA3iEPxFNGUEyMCB250FS9PYrQVqoM4 i8mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=PriMJtte/5hgjriSNEToIdFfrLkuSVpCW0l+e7C3lOg=; b=LbTm4BAbmPD4DfZONRvDhKLObNNBgqfp+zwvdc/HoCIn5HJDbuFpQ6Z46XFaFvAs7z yxBzmQWUmeNEaOoqSBH/CVpV5OiWV44OJk1dbqOYeNIUBIzlKWjbVm6tM3z5+z73mAMd zW44zMkVusHj9MkfCQaNpsvXD80CyykvLwT7SoC8ACrUksFe5meQwoctRBQzQwjEEBiJ P/hqztpsbkgtI3DR34OaMx6kYPFPw2qfTn0trYvVjo0RxlyF3QVOL+dOC7e538GWd6jK jYAMNKLhwbjxu2fzNU8QGiJq342sBIwGa7Kh+SathioYCTQNEGVYfjW4QZO1cQnO+4r9 jrXA== X-Gm-Message-State: AOAM530EZ2F0faYexxyCTaK+hsE0Oojo7oUVbO6c3XdEFpE2Sj+xCJrS r55Hm9TP33wiQfBLuoIKy6li2oJQ4rTTi39j X-Google-Smtp-Source: ABdhPJwWKcguqGqBLwNOxShWwcd7Yc3YcqboI8pqcx86iqrVVgwAv1TKmUt48U31rdiVBxs5t/VMew== X-Received: by 2002:a05:6402:5210:b0:419:d802:626e with SMTP id s16-20020a056402521000b00419d802626emr33267210edd.11.1649676857289; Mon, 11 Apr 2022 04:34:17 -0700 (PDT) Received: from [192.168.0.191] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id s11-20020a170906284b00b006e108693850sm11793292ejc.28.2022.04.11.04.34.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Apr 2022 04:34:16 -0700 (PDT) Message-ID: Date: Mon, 11 Apr 2022 13:34:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [RFC PATCH 1/2] regulator: dt-bindings: qcom,rpmh: document supplies per variant Content-Language: en-US To: Andy Gross , Bjorn Andersson , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20220411110344.231903-1-krzysztof.kozlowski@linaro.org> <20220411110344.231903-2-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20220411110344.231903-2-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 11/04/2022 13:03, Krzysztof Kozlowski wrote: > The RPMH regulator binding covers several devices with different > regulator supplies, so it uses patterns matching broad range of these > supplies. This works fine but is not specific and might miss actual > mistakes when a wrong supply property is used for given variant. > > Add separate child schema which describes the supplies depending on the > compatible. (...) > -additionalProperties: false > - > required: > - compatible > - qcom,pmic-id > > +allOf: > + - $ref: qcom,rpmh-regulator-supplies.yaml# > + > +additionalProperties: false This should be unevaluatedProperties:false, although this makes schema matching any property. :( Best regards, Krzysztof