Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp913528rwi; Thu, 20 Oct 2022 06:44:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Rz8j8pmYbnRGnSK3vVaLxF/6TT65ptiUiJubwup0pqacG2sCRKFZubdGr7dGXzKqc2hlW X-Received: by 2002:a17:907:d02:b0:78d:b3cd:a277 with SMTP id gn2-20020a1709070d0200b0078db3cda277mr10976925ejc.622.1666273431361; Thu, 20 Oct 2022 06:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666273431; cv=none; d=google.com; s=arc-20160816; b=jHgso2xYoeWeQFYq68mfJ57CDmxOTbo8gxm99gUB3X+qbh7c4XthA+Wb6VZjAEiz/T l1TEMeXNMFnY0OoHL7ZRG0IGaQ2ruC40NkJ7UlG3Qxwm3QSjCqs0VEyL9gCMtOiVdul2 ouOZY+qCr/jv8KQ8msQZZAZMotk2+9xIYuiGcGJagQjZEjC/4aL6d7deJiyPLKV0rH+2 sta+/sANpuJN+eznyvILU0Uc6NpsEJTgjsHJroV5b54sYEGjb8HvutCoqkLZL316ZLEY rN5SNSwH5ioYVP1eEhTwH92U9rrOU/jCGWBaHfdoQYe4fYtZ68oz9EALTj88sXiQpzIS BSKA== 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=8/UkpWDlCb1VBoDddnSGcWzFXaR1SMPz8bBVjiSyJik=; b=I8yajgUENAYaUnySavTjdJVBgAXyIv0pCQMtJiu7ktjyjOXwk2FK1koTsnvroE1arg UQ1x9PIZ9khvwbaE4jyr5EAs7IuXcBhYsjO4ZwBEonsmxPBv0STwdML+JQ8GIOxFJK1r tszSViRSVE1cQeMPbf6xE7Bo4XS2kJ2EQfDYVs+WtVPmLjUkKNm4jk3EKmgQBY92egf1 f4lAtECF+dkYhiwg/yFFCqUu9um67av/3pn6I7I1d1tHO+vl3eNiBBay68dfBpLD77S/ xbgCBi7jVVJ5PPjyh6jxHofH3SR4anDovG5qW7fL2Zqws89yyxW6JvbxsknGtPrxUZwv t48w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oOCjXD8m; 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 g10-20020a056402090a00b0045c97ee2b01si19095789edz.616.2022.10.20.06.43.25; Thu, 20 Oct 2022 06:43:51 -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=oOCjXD8m; 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 S230125AbiJTMgH (ORCPT + 99 others); Thu, 20 Oct 2022 08:36:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbiJTMgF (ORCPT ); Thu, 20 Oct 2022 08:36:05 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FAEF1D4DFD for ; Thu, 20 Oct 2022 05:35:46 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id x15so614959qvp.1 for ; Thu, 20 Oct 2022 05:35:45 -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:message-id:reply-to; bh=8/UkpWDlCb1VBoDddnSGcWzFXaR1SMPz8bBVjiSyJik=; b=oOCjXD8mJP66/QfUDSL1e5Czts0R7eKIud3RFfBeioP3j0qau02qJsUyCTKhuCB+BQ K8rF0xnzRmihdhl/nYgYbfUUpjYdBbikSbAzKsv4Ug72zwuOAj+ptRJl/KV4efWoSdt6 HVyMD4V+823kzmdW60hr28NqJry4G75GlzxujfSkr9E+ptlObetd5eFiqCa01RhVe34F gP93tnTi/PKWL/NJrRmnFHqG64nwFlZSG9KjITgjD4d4Vp7dsWmXoWJA73UNhE0iMtfe 7PdhQroPCOhLQ51mlDnHohPC2i10amEQi49BkEiQrCoNk6e21duz6/hSvYnZmdQOs+HU AT+w== 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:message-id:reply-to; bh=8/UkpWDlCb1VBoDddnSGcWzFXaR1SMPz8bBVjiSyJik=; b=oFIgm28Ig/XZocXsd5sZnqFICAp04dHeg2HqPRNgFsLZsOG5dZ7CZnx4eaw1Aj6ghQ i2IaLyBF581Cw0DDrTLjaYwgNMG0JfzuyvB/lj3Qoh0OgE7+fNbofzpIor1g4feDkKHR 3tGWx3YEat4VQsmVkhE1iVFlUal8B4pf1ukhQ23ENzHYY6RAxAuqHCse91fQaf6PfgT8 Afunrb85X/mpJ4NzotWNGDiXSByPbIeyB+XuGT/XZm5XfYKdVvwOhqTLdPhvZoZRTtRz qCvsJINLeA0wLRxnKKeNHwTbR8ir4H6q6c6B3l9fw67AKXvMcjPIj2ZHkOz7CIrlVZvt FkEw== X-Gm-Message-State: ACrzQf2TXpb4V7gzXj0racE4q3l/xMHL1HeeScvxObX8kOfTzrBHQpL7 h922mdMNhVUv0s/FFZIap0d5yw== X-Received: by 2002:a0c:dd11:0:b0:4b1:97db:abe with SMTP id u17-20020a0cdd11000000b004b197db0abemr10576971qvk.95.1666269344392; Thu, 20 Oct 2022 05:35:44 -0700 (PDT) Received: from [192.168.10.124] (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id dt5-20020a05620a478500b006ee94c5bf26sm7458715qkb.91.2022.10.20.05.35.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Oct 2022 05:35:43 -0700 (PDT) Message-ID: Date: Thu, 20 Oct 2022 08:35:42 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v2 1/4] dt-bindings: firmware: scm: Add QDU1000/QRU1000 compatibles Content-Language: en-US To: Melody Olvera , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: Robert Marko , Guru Das Srinagesh , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221014221121.7497-1-quic_molvera@quicinc.com> <20221014221121.7497-2-quic_molvera@quicinc.com> <55d026c0-9c54-f5d6-bf5e-da71856f0698@linaro.org> <4d680e5a-16eb-f68b-ac6a-e11580104c23@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <4d680e5a-16eb-f68b-ac6a-e11580104c23@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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,URIBL_BLOCKED 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 On 19/10/2022 14:08, Melody Olvera wrote: > > > On 10/15/2022 6:34 AM, Krzysztof Kozlowski wrote: >> On 14/10/2022 18:11, Melody Olvera wrote: >>> Add compatibles for scm driver for QDU1000 and QRU1000 platforms. >>> >>> Signed-off-by: Melody Olvera >>> --- >>> .../devicetree/bindings/firmware/qcom,scm.yaml | 16 ++++++++++++++++ >>> 1 file changed, 16 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml >>> index c5b76c9f7ad0..47083f47f109 100644 >>> --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml >>> +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml >>> @@ -38,6 +38,8 @@ properties: >>> - qcom,scm-msm8994 >>> - qcom,scm-msm8996 >>> - qcom,scm-msm8998 >>> + - qcom,scm-qdu1000 >>> + - qcom,scm-qru1000 >> Why exactly we are no using qdu1000 as fallback? That was the >> recommendation in previous discussion. > Will use only qdu; I think I misunderstood the outcome of that discussion. Actually, I think I commented about this in wrong patch. I think the outcome was to use two compatibles for most of the cases, but as a fallback, so: QDU: "qcom,qdu1000-rpmhpd" QRU: "qcom,qru1000-rpmhpd", "qcom,qdu1000-rpmhpd" (or skip entirely second if you do not customize QRU in DTSI) However here we already have a fallback, so these are fine: "qcom,scm-qdu1000", "qcom,scm" "qcom,scm-qru1000", "qcom,scm" Still assuming you customize them in DTSI... which does not seem the case, right? >> >> Patch is still incomplete - you still do no have proper changes in allOf >> for the clocks. If you want to say that this SoC does not take any >> clocks as input, then they should not be allowed. > That is what I'm trying to say; it seems most of our most recent SoCs (sm8*) don't have any > clocks associated with the scm. Does it make sense to remove the minItems earlier > in the binding, or is there something else that would communicate this in allOf better? > Then disallow clocks for your variant: - if: .... then: ... clocks: false clock-names: false Best regards, Krzysztof