Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3389247rwb; Mon, 5 Sep 2022 10:45:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR7M169rjTOp2MF3AHQci10J/7FbqwAynvRmoWYAhpmqAGn9AuRSxAsNJ4XjriClB9vCVe76 X-Received: by 2002:a63:1a26:0:b0:42c:ffa:2f0b with SMTP id a38-20020a631a26000000b0042c0ffa2f0bmr33894106pga.138.1662399929660; Mon, 05 Sep 2022 10:45:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662399929; cv=none; d=google.com; s=arc-20160816; b=WDrjPJl4S1medj60nZiNdVY9cyhy3xSegFYH++cClh0UH+YmuoRAxSIhlWK/kOvltr 8akV4pNOy/Qz2c8u6kq5Aeu2NnKhnicWmpf/Vv5V/3yax5xnOjeEvS5t5qbhgN5QpkFX ylT6fGMCDiZUjD2PjqdRt4XlQENHRTKAOEFukNaDGCw1aK2m2hB71kDak/W5gRy300VE 2jpCQ/KGVB3a3mnbDT7xt5WGPuzULCSfhOv7GnbR3FQLT6Ak/B21s37xMmWW8pP1CXXh PVRO8OtLA8eHzPkYTjnN0JN3hjuoKjhSrsWuNMieV4wQFQCOVs1ZOUVFE8ZJ4htb/I3G PvnQ== 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=MRtxshIY33MrmaP4gwUku88eHsV85/eQJrthZbd/ll8=; b=nbAw6ZgXB1H5SBDHqcnRBv4d5jg0MRxqoGdkYXaXxqkvs/ASly1lcDFdre+ccwjZQP VjJkZCOjvU0+iTAhinlmKZVVgbcWtHRt/LHn0ceD7+ncPxP1cTSHqpSJ/6DMpPOR9qAB kYGyoE7bDtwM5cUFUyIhz7Z4vgSfthKQPY4RjBkt1Flp5nejGSHjvgiIuw3DgkmE+xA0 umFK/FSHVTJwL0gnDCiJzyuIHgINc5t+iWzWJOEYaIms/ikpQR8sBKWUT1recIfOlDKy Zwux8PDsceGBRm8ARJGHcmAmn2LOHJKAsmttXS2dNNPmUEknGr5J0wujS6EXaM+FxI+c DogA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q9btPcyL; 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 i190-20020a6387c7000000b0043087ac1272si6626181pge.586.2022.09.05.10.45.18; Mon, 05 Sep 2022 10:45:29 -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=Q9btPcyL; 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 S231618AbiIEQro (ORCPT + 99 others); Mon, 5 Sep 2022 12:47:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231786AbiIEQrk (ORCPT ); Mon, 5 Sep 2022 12:47:40 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0348D61D5A for ; Mon, 5 Sep 2022 09:47:39 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id j14so13857284lfu.4 for ; Mon, 05 Sep 2022 09:47:38 -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=MRtxshIY33MrmaP4gwUku88eHsV85/eQJrthZbd/ll8=; b=Q9btPcyLPZQwVyFkE8H1mnDuwqX7UfR3Wv9Xi5BIVqPqe4JYK3A9KlhV9d2kDgDxuu UxwH/XKMJ/FzTHZcM4bGrzDnyAqNVDbRJmjYWOuDrR7xuYvw6VnUrFP24F8mMDaGQ3Lk cpw3W4dgSkp6+rmqMKzPsMbjLEZ+d9GoAKccS8x8ef+T1EcjW+MqBHvRZzk4IXs6hfDo I01X/ubz9XOwqthd39IvkVBmGU6dKW4s06Wh+kFQ6A6dFu+FVIwc9NyyjlZYIEqu8dl4 jiZ30rHmvdLV8/h9q0/CDkRu5hJoKHu5tqGIobjgenGdgplwfkZ00vhrtCNbiKfHMZN0 DmGA== 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=MRtxshIY33MrmaP4gwUku88eHsV85/eQJrthZbd/ll8=; b=34xi1k0YYyVW4qAFpqFyaLv3Cts/tW3hBQD1KBjqWV0dAZnWsqsFdTbCl2BLbMZ0v3 2q9WOJ43ZK1TYhk93nuSYeK7n+jZzbILp4LGYa2VbrrFbNaiWmll7exxpom42Qj8egI+ vbGf01mx/JgKkAxTre+ItGBB3bDZd6bde8V6brrsoGjI1rX3l1R4p51SJEfc1WUvsR0W gMaFeA7PaY2AQAtZ86XqGMsrlrWQygHwRKav5klPnRit16SDj62jb+LikaefVAXBWCsY Hb0wh6qf/VU21fwnmxGcP5oVm8LaIUAP80PN7BVLPRLQXEqcif490q6P/aLFyn6xLnsx XU7g== X-Gm-Message-State: ACgBeo2UVyq48Sf1ahgcqkNF5A1GQPqPvKgS4/FY7pzP2NIcWU5tpOUg eRQVjm9R7t3qLgOPn8pfrUwvWQ== X-Received: by 2002:a05:6512:39d1:b0:494:7698:8ae2 with SMTP id k17-20020a05651239d100b0049476988ae2mr9855265lfu.407.1662396457395; Mon, 05 Sep 2022 09:47:37 -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 s19-20020a056512315300b0049465db4be5sm1243496lfi.34.2022.09.05.09.47.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Sep 2022 09:47:36 -0700 (PDT) Message-ID: Date: Mon, 5 Sep 2022 18:47:35 +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 2/3] regulator: dt-bindings: qcom,rpmh: Specify supply property 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-3-ahalaney@redhat.com> From: Krzysztof Kozlowski In-Reply-To: <20220902185148.635292-3-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: > The top level RPMh nodes have a supply property, make sure to specify it > so the patternProperties later that are keyed off of the PMIC version > are properly honored. Without this, and the dt-binding containing > additionalProperties: false, you will see the following when running > make dt_binding_check: > > DTEX Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.example.dts > DTC Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.example.dtb > CHECK Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.example.dtb > /mnt/extrassd/git/linux-next/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.example.dtb: pm8998-rpmh-regulators: 'vdd-l7-l12-l14-l15-supply' does not match any of the regexes: '^(smps|ldo|lvs)[0-9]+$', 'pinctrl-[0-9]+' > From schema: /mnt/extrassd/git/linux-next/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > > That supply pattern is intended to be considered correct for the > qcom,pm8998-rpmh-regulators compatible, and is no longer complained > about with the supply property described. Which supply pattern? > > Unfortunately this pattern is wide enough that it no longer complains > when you bork the expected supply for a compatible. I.e. for > qcom,pm8998-rpmh-regulators, if I change the example usage in the > binding to: > > vdd-l0-l12-l14-l15-supply = <&pm8998_s5>; > > I get no warning, when really it should be of the pattern: > > vdd-l7-l12-l14-l15-supply = <&pm8998_s5>; > > Signed-off-by: Andrew Halaney No, you basically reverse the change I did, without actually addressing my intentions in that commit. If you want to revert it, please make a proper revert and explain why such revert is needed. Best regards, Krzysztof