Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp292350rwl; Wed, 29 Mar 2023 01:42:36 -0700 (PDT) X-Google-Smtp-Source: AKy350bJWdsh4i79O2wObR2mh7TalvBGZ5psi/h+1B9XjHwwlnD94Y6CdAMEARp1YvY7MmtHs0e2 X-Received: by 2002:a17:906:3896:b0:933:3a22:8513 with SMTP id q22-20020a170906389600b009333a228513mr20708068ejd.53.1680079355823; Wed, 29 Mar 2023 01:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680079355; cv=none; d=google.com; s=arc-20160816; b=AwJTZi0lZrmlaG+uDX5ig7qGsQQRVUHLTgq5Jzfo4LgRVRKnnoHqsTrZ85UZEAs2Y5 p+c/mRdQn1Ui/Hpf/EEBPWtbj7EDT9Qt+pWzXRvUBN+Usinv6F6jNzmLQkEmBFHLRWJU VRGco1O/HyJxCQU1QtE7g4BVn4RTv3Kc8yVTLVP+/Tr5SaeAhu6zdnUEeI/NbIsQLHcF rGr18lS6fwoL4243HjaGy4rSU9rGgYbM+RirpP1Gy7A1BbAvrO4P59L2Y9LeQA5fgzyx AEqUaVsgT/42uF37nhTmOg+jyfghoxpgQkY+9/rr40LtwQhSdt5PPs78r1GmMX04ltrH TPbQ== 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=Wbhe9hg1I6LvxpxedrR12rYja/vRqqHKoCKBslpfp1I=; b=eShi8Pxu807AKhusSTzhuxBPMXedeyR3rlIxQs+eqSfhn9DZM10a+YdnHqA4DgWnF/ XKRSimlv0EMnvbgLlTiqyzxeVngMMjF1JrIwonz73nfP8EncC+dxsP1lsSBy5EcSmXuP jJcx3VgNgyjsfYjYuHckhzxBrPsl0JiwyGMrVGkYhlIZ9NNFlZNkVGo2gEcdHPAzFbxl BJdKJBjCXosR5iseAwnRHOoACvYVMBdtsErUtxy4bbk6CcTrFjjpn4v8UxYEQ+slmIAr pFUnJtATlhiUKLcpfjBG3GHjeaTxQ4mGWykmcKhw3yn8PXwGJirME3TUkAuDYVKeGrVs vCvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FWR3HQIO; 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 cw20-20020a170906c79400b0092cf025c703si31927360ejb.928.2023.03.29.01.42.10; Wed, 29 Mar 2023 01:42:35 -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=FWR3HQIO; 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 S230193AbjC2I1r (ORCPT + 99 others); Wed, 29 Mar 2023 04:27:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbjC2I1q (ORCPT ); Wed, 29 Mar 2023 04:27:46 -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 01D38C0 for ; Wed, 29 Mar 2023 01:27:44 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id h11so12142806lfu.8 for ; Wed, 29 Mar 2023 01:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680078462; 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=Wbhe9hg1I6LvxpxedrR12rYja/vRqqHKoCKBslpfp1I=; b=FWR3HQIOrf/IQsG4evaTwNexMPVEA5BU/WcbyN4YYLGt/tyOnnRpl9O3xWbq8QKlDN xXif2VfhN4Qbg+HKfohY8nGZ9/Rhe4/uHFQo+WAo2bS0fDqKkPLnrLYZu3dZBsbsO57B 1d1cbmG3SUZ3pFkObae4yzZPMgjWPnfWjmaVXLl/i0Tmfidx/SX7qXg/ZsN5o5/cc7U9 icyny4yBjvBpa8DILyBBv3Q7QDJxrI9I6nalMlHnVFOCnwBG96GARhv9trGyyzFgsIHm zTIpINrI0wRz4k+WCwFcUZPCIqBN+ZO1dztBHHpb6sVd3b4zU9cj0Peeiu9Iz5bY+VAp pO0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680078462; 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=Wbhe9hg1I6LvxpxedrR12rYja/vRqqHKoCKBslpfp1I=; b=o2BD4qOy3uyNwVdZoPBrClKdPGzdbzqSvA/0V10zDyz0dn5QrZdm/MuWrZRYeZPP0w 2usGWjKzAkOBv1Fq1itvdweg0eEBUlX+I5mjuaL2Ns+ZoGvB2Je7dvAnQBYvDX3z+rGm sjlyOWynt5APHvCNXXWJkWOV6eMpK6HDhc9/63xFq49YQNdE+kptLtPtkz6zuGPJ0qZ7 MCrnaWr+ebXVUPx7G9UN3+OgP7bxhYIslH8HjQITiMOyB+MNTks2gR5ErhU9p3DPBqQ+ 3HLcdm9hLybdeAlqXnuedNIdilgc/873gOgG0uU7Ee9rq9E89x+MtJck6lwzVLBBn2HW LKJA== X-Gm-Message-State: AAQBX9cDjsHRHphFsObNeyuqOTjC1EJHXMLka6/NFQPmfUgVE5M2jVMp 5npNin+C5o++uW5tBJULDwR+Tw== X-Received: by 2002:ac2:5a0a:0:b0:4d9:8773:7d76 with SMTP id q10-20020ac25a0a000000b004d987737d76mr5116478lfn.11.1680078462268; Wed, 29 Mar 2023 01:27:42 -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 f24-20020ac25338000000b004e8448de1c0sm5430462lfh.10.2023.03.29.01.27.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Mar 2023 01:27:41 -0700 (PDT) Message-ID: <863d5a85-3399-5a43-b755-1316e3adcfec@linaro.org> Date: Wed, 29 Mar 2023 10:27:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 1/2] dt-bindings: interrupt-controller: mpm: Allow passing reg through phandle Content-Language: en-US To: Konrad Dybcio , Andy Gross , Bjorn Andersson , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Shawn Guo Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230328-topic-msgram_mpm-v1-0-1b788a5f5a33@linaro.org> <20230328-topic-msgram_mpm-v1-1-1b788a5f5a33@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20230328-topic-msgram_mpm-v1-1-1b788a5f5a33@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 28/03/2023 12:02, Konrad Dybcio wrote: > Due to the wild nature of the Qualcomm RPM Message RAM, we can't really > use 'reg' to point to the MPM's slice of Message RAM without cutting into > an already-defined RPM MSG RAM node used for GLINK and SMEM. > > Document passing the register space as a slice of SRAM through the > qcom,rpm-msg-ram property. This also makes 'reg' no longer required. > > Signed-off-by: Konrad Dybcio > --- > .../devicetree/bindings/interrupt-controller/qcom,mpm.yaml | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml > index 509d20c091af..77fe5e0b378f 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml > +++ b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml > @@ -30,6 +30,11 @@ properties: > description: > Specifies the base address and size of vMPM registers in RPM MSG RAM. > > + qcom,rpm-msg-ram: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + Phandle to the APSS MPM slice of the RPM Message RAM > + > interrupts: > maxItems: 1 > description: > @@ -64,7 +69,6 @@ properties: > > required: > - compatible > - - reg Either: 1. make reg deprecated and require qcom,rpm-msg-ram or 2. you need oneOf:required for reg and qcom,rpm-msg-ram > - interrupts > - mboxes > - interrupt-controller > Best regards, Krzysztof