Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp452817rwl; Wed, 29 Mar 2023 04:26:16 -0700 (PDT) X-Google-Smtp-Source: AKy350ZfhR0YH1PXWcvkBl3dk4Gi2/pv/ie2s55jPkYe9iICgKYYFAzFEIii1gq5PFm3Pqb6M5gI X-Received: by 2002:a62:4e8f:0:b0:625:cf6d:b260 with SMTP id c137-20020a624e8f000000b00625cf6db260mr17577179pfb.6.1680089176499; Wed, 29 Mar 2023 04:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680089176; cv=none; d=google.com; s=arc-20160816; b=WOhkJq7p6D/WDGUHIHadAVz77hzaaN+UcJdKhjAGA24sm3E1J+hY2+fA9E/4wsfzPa SW1byBKUK2sN6G4ePix+WpM97Gk+dzhr/uvsv1OmvPPjAZa3SXkrl611/fF0pHI9jNC3 eHeSSySEm4yANkgidjQTiIrx4siVzpGe2iuzm2N+vzEWyFkm0JDUD/hHu2dQIyLyaQu6 /wAUMhAhnZgCPYJBLhf//D3Kwy+v7bl3vmKrqMx1Qk49eOJbB+ici+ynmHMuONjbxb66 ToQjR8iZPEubIiXI9t9rGQ1Aa+QKE7vQoI5HsggFKTBkIxxJLn4C/XmvpYtPx28FAJY0 4ZJQ== 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=aumpSLpdIfLau4SMf/sV4ChK4mZM2lEguzptioMGQ4U=; b=svPqhTrVh4nhm3+RnagHFzlfxJlwycVFGrBoWaNlXU5SGpbqK2wWPs7gZhdDo+1ueU SFu/MOYs2RfNeyyvt4zZWTAclXWxhVo85uJtLsTRBGq/W4VbmJGTJKZSZFXG2tJ4rnw1 hHnZh2VtRaADo8s/Fv5ERmYEsRH+AioD1hNSyzfEu41Av0rRtD2s0RfuFJdiJoMRf91M mRsegwWo9jkfQqIe6nU2ZkGuCMJ5n0K7usFRr/pv4zmonIOTBDXgm41ueuYxNBbtZWVR uS1D8guVmhP5MK93r7m7sFFcE8LFKnQfhH5xa4nsRJCkB5XC1l/r23SF8r+N7oNDDWHl 1XXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uFwVrsI6; 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 d5-20020a631d45000000b0050bc1502fb9si31185777pgm.704.2023.03.29.04.26.05; Wed, 29 Mar 2023 04:26:16 -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=uFwVrsI6; 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 S229767AbjC2LTH (ORCPT + 99 others); Wed, 29 Mar 2023 07:19:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229781AbjC2LTC (ORCPT ); Wed, 29 Mar 2023 07:19:02 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0EA34481 for ; Wed, 29 Mar 2023 04:18:49 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id s20so15672595ljp.1 for ; Wed, 29 Mar 2023 04:18:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680088728; 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=aumpSLpdIfLau4SMf/sV4ChK4mZM2lEguzptioMGQ4U=; b=uFwVrsI6SSC2d9PykTW4cU7uDFJl43V+qNoP5Mu9QsCHu21y6cgb5yiaCUIA8gcaE6 jjUixrJNaWA1Cj+Nmuvxm26mz/COosJGIcydHRU5IXxvq7hB8lFlte0K+AiRc89sH5vZ R7KEWf9G/LC/tLe122uw/eB1mbeS+uaBQFi1yCdDM+apYT2Z7ca2ENnNyIBDDQIAE8JV +lxiLDOGiQZqygnP33zQAp+4hlaecddzfea4juzVcxvG1X54WucAwLCDvYYRKgoa7K3N 3ZTvWzmgYW5m9I2iOHEy8Qy6GVl9d2U3LtxcOGI8AlkIeKPyeVHUmiJA2pj46nT0rvPP jrTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680088728; 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=aumpSLpdIfLau4SMf/sV4ChK4mZM2lEguzptioMGQ4U=; b=KF/RdhR3am83h/A3XOFM5xsEOdUy7n7gWAgN6ZO1v7cezmduaPA/S6BoxlVftqdOw7 T28S/SVKL7mfc/dU/2EDH2wmTypUpnS6TxGLcLu6LWWxajggso144LDzD1La44re4ZUR aH32CQQShsa41bLtGMvBAUl4J+CZSXLWnjJ2XNTEpQkXCA7PwilfOx2Nymou2OxdVv+q VrWIMnbXc1xUhrod4YLiXROsy2WrfgbunUIk8691cehXSAbUzHwZ6H3m5H29dzUKRxSI 134PhUleRdkhU1alHbmGONGU1T5BgL4c8evTkU3BP2B+KJqpBw9HJ4coqDNg+LojZUgf tv+Q== X-Gm-Message-State: AAQBX9fjjWGVGDPeL7Loac/v0XsJF34NI30JK59VlXP1ACq5mAvToRFa jTUT1AmhcGBcoHNtI92ns0O8lQ== X-Received: by 2002:a2e:3011:0:b0:298:b338:f5db with SMTP id w17-20020a2e3011000000b00298b338f5dbmr5451392ljw.52.1680088728062; Wed, 29 Mar 2023 04:18:48 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id u9-20020a2e8449000000b00293534d9760sm5490627ljh.127.2023.03.29.04.18.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Mar 2023 04:18:47 -0700 (PDT) Message-ID: <09f50ca6-3480-0c8d-9494-35893393d205@linaro.org> Date: Wed, 29 Mar 2023 13:18:46 +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: Krzysztof Kozlowski , 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> <863d5a85-3399-5a43-b755-1316e3adcfec@linaro.org> From: Konrad Dybcio In-Reply-To: <863d5a85-3399-5a43-b755-1316e3adcfec@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 29.03.2023 10:27, Krzysztof Kozlowski wrote: > 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 Right, let's go with 1. Konrad > >> - interrupts >> - mboxes >> - interrupt-controller >> > > Best regards, > Krzysztof >