Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2266538iob; Fri, 20 May 2022 05:52:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9JDvDCUWted9EndQhcF4x6/xfwfpO24J1G8IBqNkRuqu1NrNrCXfP5Z5sLBP70U4rxiYi X-Received: by 2002:a05:6a00:724:b0:4fa:a35f:8e0f with SMTP id 4-20020a056a00072400b004faa35f8e0fmr10063456pfm.25.1653051159379; Fri, 20 May 2022 05:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653051159; cv=none; d=google.com; s=arc-20160816; b=rAyiOTALjlXrqPHs+kM+Jb/A0Ex4U9Rmu/bVDxW1iGmFzy4Uf4X2unty429lSlsrxg XolhvujiOQhO1nU9z6bI+Ckl9rRlCy2VunBEl8v8xDdgz64hH8QOZo3xJ9g5MODTgxs6 yKyp9wrDbOvoWcE+NTC4X3MaYtcnJBQ8C7xVdZJ8pRrR1NSb5ByUl20pFl9v4iSgAL6I Ihfqcf1NKvDSA/ILrD2yYBbB5iaFxjaotRaPxlYY0f9TFmVUPUWlr8Sz6Qszxednipsh jPuZRAUzeNYAmZLaZdD/KwcdBXG3ydKT94x6/e9s6yGonXuW77EHfssna4vP+EbT/axX xcMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:to:from:subject:cc :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=wS/ZZ/XGdYJivGUIc7glIv8A/QnED+cfdPx1Mf0OR3o=; b=Fuc7c9/fT0HWjUINvzXL86o3GdjaYt/SkY8MnGb2ne10s9cacn2g4kEqO9TOx/tq61 mywQbgVWQhPX2N26PMXmydTwyK2YzVBJUMDRjCcBgTN9htiUD3RMAhTZqpTu76Jb5DkR Hm5XVQ48UD0/+ia2l030vEH3VM4DtJRZfPdPVlcRl5wqmmBRgpaXmuRHvmyvGKBYfp44 5hrig78KmryXRdI6rZCaJDpp/BkSUFI8B9RR5QksSzXA6BT1mB3+25E5AJCLfXN2dljV bzLJWR5i3oLCvcUTmfp9/vfGsv6tif8av0qkZl2JscKx/ssVMwHasXXkVigNiaWWCNR2 c/ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=GB72r8xY; 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=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x29-20020a63485d000000b003c5d88c709esi10162324pgk.859.2022.05.20.05.52.28; Fri, 20 May 2022 05:52:39 -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=@fairphone.com header.s=fair header.b=GB72r8xY; 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=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236511AbiETLmR (ORCPT + 99 others); Fri, 20 May 2022 07:42:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236522AbiETLmN (ORCPT ); Fri, 20 May 2022 07:42:13 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1D6FEC3CC for ; Fri, 20 May 2022 04:42:10 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id i27so15084711ejd.9 for ; Fri, 20 May 2022 04:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=mime-version:content-transfer-encoding:date:message-id:cc:subject :from:to:references:in-reply-to; bh=wS/ZZ/XGdYJivGUIc7glIv8A/QnED+cfdPx1Mf0OR3o=; b=GB72r8xYURZ6bzQkm22Tu7tonI4ZKXJGQRhTtyxiRTudpMondZELrlYY1Xhwk/RTh7 5Zeda7d68kYmu4UCNIN7fS1lTpbwBNmqbf4icxZKokgVZAw3IURsvL0hYvjRsQQt94SW 8g3F5Vr/0cKVHhCmBXZcWzC0wiq7c3V0JSaC3VnVhKiPnqLTbIVVrxOldU6Csho//iAb i+1fml2hr9pQ0FUoqm5dGGC4coiMNgTvLt6e50kn9jusRG5SCBeCbTcL00riYCnnhFaf YFkN3NQQ4g90z5x59jFrDWx4eRldBx1pjejiDJWfm3XVu8iRY29x1FFUUaukXe6wZQ0h /hHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:content-transfer-encoding:date :message-id:cc:subject:from:to:references:in-reply-to; bh=wS/ZZ/XGdYJivGUIc7glIv8A/QnED+cfdPx1Mf0OR3o=; b=4OFRE0tQbpalPXfa0uvuG5Zo+3kkEXfM5899UfXKCLQHWVqqVXj2WayIk04EzwecGs SkHv0Qjb8pWDSOWot8XYL2iESoWJs/0YdOIEm0MZitYuEwKYO6SYM05MBgHET7EcZKZr bi1+9SsuozQxE6mUxSToILJ3tq19W2RRN/eW9ow+djqJLFJKWJeamPjByARwHDnR+xke fSSYFSL1LCYKfZL5ih0u1JeYrUpU2eGwbA8EPfye0oYEfNS2ykqRGIpKks+CfjAOv8N1 d0JwQYtGA/tvjtH3XboCK7l1N91yq+a/Tsvaz5kvI05Vpfi2zMEl7hUrCMnYpx7s/Xkw HVMA== X-Gm-Message-State: AOAM532EOf35azHxL6umGlfE1EtnS13x2B+Mx/o5pFog4Kk07uuukg0i N3SM2kH+wq7mSwUZl2zsS7TngQ== X-Received: by 2002:a17:906:7b82:b0:6f3:ee8d:b959 with SMTP id s2-20020a1709067b8200b006f3ee8db959mr8591524ejo.458.1653046929316; Fri, 20 May 2022 04:42:09 -0700 (PDT) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id w6-20020a170907270600b006f3ef214dedsm3036390ejk.83.2022.05.20.04.42.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 May 2022 04:42:08 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 20 May 2022 13:42:08 +0200 Message-Id: Cc: <~postmarketos/upstreaming@lists.sr.ht>, , "Andy Gross" , "Bjorn Andersson" , "Georgi Djakov" , "Rob Herring" , "Krzysztof Kozlowski" , "Odelu Kukatla" , , , Subject: Re: [PATCH v2 3/5] dt-bindings: interconnect: qcom: Reuse new rpmh-common bindings From: "Luca Weiss" To: "Krzysztof Kozlowski" , X-Mailer: aerc 0.9.0 References: <20220520070318.48521-1-luca.weiss@fairphone.com> <20220520070318.48521-4-luca.weiss@fairphone.com> In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hi Krzysztof, On Fri May 20, 2022 at 12:33 PM CEST, Krzysztof Kozlowski wrote: > On 20/05/2022 09:03, Luca Weiss wrote: > > Stop defining the properties twice and use the ones provided in the new > > qcom,rpmh-common.yaml. > >=20 > > Signed-off-by: Luca Weiss > > --- > > Changes since v1: > > * New patch > >=20 > > .../bindings/interconnect/qcom,rpmh.yaml | 22 +++++-------------- > > 1 file changed, 5 insertions(+), 17 deletions(-) > >=20 > > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.y= aml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > > index fae3363fed02..e822dc099339 100644 > > --- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > > +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > > @@ -18,6 +18,9 @@ description: | > > least one RPMh device child node pertaining to their RSC and each p= rovider > > can map to multiple RPMh resources. > > =20 > > +allOf: > > + - $ref: qcom,rpmh-common.yaml# > > + > > properties: > > reg: > > maxItems: 1 > > @@ -131,28 +134,13 @@ properties: > > - qcom,sm8450-pcie-anoc > > - qcom,sm8450-system-noc > > =20 > > - '#interconnect-cells': > > - enum: [ 1, 2 ] > > - > > - qcom,bcm-voters: > > - $ref: /schemas/types.yaml#/definitions/phandle-array > > - items: > > - maxItems: 1 > > - description: | > > - List of phandles to qcom,bcm-voter nodes that are required by > > - this interconnect to send RPMh commands. > > - > > - qcom,bcm-voter-names: > > - description: | > > - Names for each of the qcom,bcm-voters specified. > > + '#interconnect-cells': true > > =20 > > So this explains why your previous patch had such values... The order is > messed up - first you move common parts to common file, then you add > SM6350 support. Right, that makes much more sense. Will split out qcom,rpmh-common first and use in rpmh.yaml and then afterwards introduce sm6350. Regards Luca > > > Best regards, > Krzysztof