Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3361758rwb; Mon, 5 Sep 2022 10:15:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR5aJCviqFB1oOUP4CygMRwrQAb344egrGNnZkCLuuBLDOildYZYIpHDrxIMtv/a9IZxdKx8 X-Received: by 2002:a17:906:8475:b0:740:2574:1f04 with SMTP id hx21-20020a170906847500b0074025741f04mr14352104ejc.394.1662398129120; Mon, 05 Sep 2022 10:15:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662398129; cv=none; d=google.com; s=arc-20160816; b=a8OSdnsNE3i9aLH9QJumnmAcSGPggpSZjrqi6gTWQQBT/hpyCOBzxF+kvN7HuqyXC6 8fzmuzXLI97smC2T8EMUaTwvfxpljp62dH9mszkxiY78krAeU0az38ojHzt3Ydf1DF4v u4e/PJHj6+24fY1qHjww86/dKHV65pe9ukG2R2LAsZtc70HtaQSDAp9T/bipcSimf6CP +FPHAxESfBG60exA1ZaMb0FK+M2gdK05QP27yjQQAfGb6qFiKjCI37vCXRD7aQda0V+F 5U3y7aFB5abXOSbyImaTN/8TudlZ7tKcLhdQys23H4F/U/PqqWJ+ndMzFLOxTxgiHgFH RKxw== 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=3bUqV7Ap8pc3cvN67C76OCJi9h7UXtxXc6Wux4dbkDg=; b=Zd0iUm5y+gOFmLrOvwKbLvnu46yjEJocBzeSPvEfAQlDmk/KPHpxnRbhOrdterVpFA Xu5Wp87Yb4UIEOdEmbfcwI7bwbqu9PLuypwcekIZv55W1NFJ4xha/YwgbsYuYvMHQjhI FGfoIq4COg2zdpg3Ag2dTOILXB+BBtC51wVnuFY3/BqkgQIxwwY5TxFu95aI50m05xJ2 WqWWj+m7v1xkOnVpNiaFNEbcKLPA1vV60Nt/QIQbtNZYEveNLGwWJsd/qb2eMtgXlXnS YnYvXpb79FK8ORscH4DcrzlDcHFb4OjfO5/6wcxOyVxvYsN/hDiqd4+IKFmo6wZ8k0sk RSIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VqBlBZEM; 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 sc20-20020a1709078a1400b0073156b6fe1csi7907028ejc.799.2022.09.05.10.15.03; Mon, 05 Sep 2022 10:15: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=VqBlBZEM; 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 S230498AbiIEQuJ (ORCPT + 99 others); Mon, 5 Sep 2022 12:50:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbiIEQuH (ORCPT ); Mon, 5 Sep 2022 12:50:07 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9951428729 for ; Mon, 5 Sep 2022 09:50:05 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id w8so13795032lft.12 for ; Mon, 05 Sep 2022 09:50:05 -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=3bUqV7Ap8pc3cvN67C76OCJi9h7UXtxXc6Wux4dbkDg=; b=VqBlBZEMftS2eZTNXgOSvlr3SaUv8X3x/DDp8RXIK1/k2gq3JmiyaiqfJYl+V1K/Xh CDLBT0bmeY17KMD/vul3jDB1sCrTdeuUW74c0h7L+u3SqQi/pvZJ7y8ikbkqv2Oi3IFS QWC4Z5YuhRdu0hkS1rZeqmMr1AQNTua7YywHuk6WRBTJ8c7QJmLalI97uZbTWIt9Rrzk x4BDdm8PS6glJNRe5IqqCODQSvnxntbcyqiajB8ZldIrl14MYK5LC212RlaX2mXxTzkd 2ok9WCIk6Q9Vn+b55ZdsHZyTUTmXWX8O0LYLNMP3Y/cjDSMflkTyQJdh3klYYWELk7lV Ja4A== 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=3bUqV7Ap8pc3cvN67C76OCJi9h7UXtxXc6Wux4dbkDg=; b=AwDE80wQ0jWusHpZ+QUibAgfyWxvxmwtdQmIUVXVB4DF9vWqVu9eZMDvrENv9oqDlp awMRB2Fe8PZWhROn8l1X620yR5K+nfn8KQYebEbRW5RQC/GX6pji7WwMLRA66RWbLU3J rD1IUWRxln9r3C1JHIrLXi79FUl5zFwOQcJj7e88NE0dRdEw+H3oN3MyncNM2aWJ9bj8 1VOfa9dYiR97CZTYcZqrZ0EmtMLJjQSl4zfVwuBHC99g1h+cglkc/NCGjBJY2TT82tUh y/67qjRQWFTKf09+hdIXc32+pRKSAU8b2k2ELDZUtnMTfqYroZxds8yAjMVSyrHNmHrs Fucw== X-Gm-Message-State: ACgBeo28tBR1oadSIzHSchgT3xxryUcbUtIh6kmrtaEladMpK+vY8xYY B/725MhUykUwnhRX4/6H76HzQw== X-Received: by 2002:a05:6512:220d:b0:494:70c1:45dd with SMTP id h13-20020a056512220d00b0049470c145ddmr12321616lfu.325.1662396604014; Mon, 05 Sep 2022 09:50:04 -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 b19-20020a056512071300b00494781160f5sm1232616lfs.292.2022.09.05.09.50.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Sep 2022 09:50:03 -0700 (PDT) Message-ID: Date: Mon, 5 Sep 2022 18:50:02 +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 3/3] regulator: dt-bindings: qcom,rpmh: Indicate regulator-allow-set-load dependencies 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-4-ahalaney@redhat.com> From: Krzysztof Kozlowski In-Reply-To: <20220902185148.635292-4-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: > For RPMH regulators it doesn't make sense to indicate > regulator-allow-set-load without saying what modes you can switch to, > so be sure to indicate a dependency on regulator-allowed-modes. Hmmmm.... What about other regulators? > > With this in place devicetree validation can catch issues like this: > > /mnt/extrassd/git/linux-next/arch/arm64/boot/dts/qcom/sm8350-hdk.dtb: pm8350-rpmh-regulators: ldo5: 'regulator-allowed-modes' is a dependency of 'regulator-allow-set-load' > From schema: /mnt/extrassd/git/linux-next/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml > > Suggested-by: Johan Hovold > Signed-off-by: Andrew Halaney Best regards, Krzysztof