Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp57049rwl; Tue, 28 Mar 2023 20:50:37 -0700 (PDT) X-Google-Smtp-Source: AKy350Y4FORQMq/JfsteEmEfZSuKTal9DyAVQGuVAx49FCFKtTwRKA75ZrILqYv0WunWajp3oHFb X-Received: by 2002:a17:907:6e23:b0:946:c0ac:2a7f with SMTP id sd35-20020a1709076e2300b00946c0ac2a7fmr6616353ejc.35.1680061837525; Tue, 28 Mar 2023 20:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680061837; cv=none; d=google.com; s=arc-20160816; b=Cv3Z9N/qYPbqLCKi8YFqVrjii+iYYZ5nXHvOI/bQFoqYkAcvSTV+gt/cSfIavRqHEV /kILGAWzFBMmnQ8/bk/gZcTaorlz9fdMqgfQTL4k/9omXdj9ONKbwQmY4vOw6AuT4U7S CvxM9Bc30FqQlO2BdE+5SNPWkJfgWpp8vYr3cRadowiPYURLSCBo+KnI/S6p23q3C4Sl E8czyEpqUyPjugBBwRicTSRS4R1Z5LmuQaTaWbJjHDLZH25XVm6Nx5nGKOatsp8d2Clt y6ieSUeitw4+RGzZxfpsAQcdYOZZ4Jx84RMA9K1wHowOlNFW7CTgxmtWhOqEPDhfIs43 3T+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zWa7wOxAFG7tdLlil0NzPbk6K8fs9R4JDMItxPB89Zk=; b=0Vzs76BmByk++JK5MI8pVYTr1KiMu+XMwbGaO0vzylNS6rqlxfsPIE8rkIzkjapZv8 Iir3gJeoXKGd3ngLTIroutgeFYLz6+15PRYH4KUyhv2G/lA8pzpqOahqSMf0IEGJeoP1 I/9YKkBoJAru3HMWrNqst85IKfsuvkhc7N5TV9PjiIXLp03Q9bfzpnX4k+/cDFvc7FoT o0nOqsa4wc6pQ24zBL9yMbEf4eYC0kRmDqTVHKwUb8Hfgv65JE7HfHpx9TqRv5x8reaB OnVQfd55FpcNKhUVd3tBrAM32rIrqjDUUCiighRKlRdZqNrhOLC9JgIbW0eewaWXFBDU ed8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FLF2hx/a"; 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 sa40-20020a1709076d2800b009334a4e66f0si30688662ejc.171.2023.03.28.20.50.12; Tue, 28 Mar 2023 20:50:37 -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="FLF2hx/a"; 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 S229674AbjC2Dlx (ORCPT + 99 others); Tue, 28 Mar 2023 23:41:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjC2Dlv (ORCPT ); Tue, 28 Mar 2023 23:41:51 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAAE3272A for ; Tue, 28 Mar 2023 20:41:49 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id k2so13672612pll.8 for ; Tue, 28 Mar 2023 20:41:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680061309; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zWa7wOxAFG7tdLlil0NzPbk6K8fs9R4JDMItxPB89Zk=; b=FLF2hx/aelGWFy3MQVxuI78e6bOjKUK0lDvmENJJpmng1+jiJwkepTsA6xcZ7bgyJL DmUnAcpXeCosXu57J8rd/T5bW2vQu2R18QhdAcLfCAYqBZYTe7ZOpng9pfU6q3pZLZWy bZ0xYsmqIJh9d+pDd+SvQtG1AcdGk5PjZL7mr06iuDiGUN2YyXXOWbosx+9jl89gm15+ tAhoQzr7B/nPPEHzzERhQigxMSOza9THTNsE4XgiryPRfsIjMZtlHOGDNlCN8/gDXP2k tUVI0zXENIL+47cZxozxrhKUktrd2ctQyctmqqGPMag5wvF1b81ZzC62uflLkKA237Jl jhFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680061309; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zWa7wOxAFG7tdLlil0NzPbk6K8fs9R4JDMItxPB89Zk=; b=AZ4d57s6WUCfeDAtdZeHgUUP2ll131j1Ises8xXK1VKeU98W4+7cYeyIhXw3sQT9Y1 s32nfDa2+24JGMIvv3ojLTswfyZlWkqUvqhRmtuVA9j95hyNPi2w7oc4lmG9V4mD8ips ArJYSIklPuFyEV6/QfiqpW1Ko2eK2snpSGodLuLlK0U82QSPRv5S7RhU/GYwG+2bqObf NPzJzszwYIAy+aBSjzGWUhvsBYrKfgzphbzPNR2OfvLUd79ZMYsk8FZQTXVb1WQ2wAI0 zRUXRcff6LgPI15S/Mi/BR8nBM1E3yIcQwzfWB1TOTReWVVAJXN+1roUfrlehu2HY9Pe +8FQ== X-Gm-Message-State: AAQBX9fpGQcX5yIV7KeKLEGKhef+bKhIcaX/ZE2FCnqPY20EEI7agCEF iUeh/SPV6L34COv98jNPK3g06g== X-Received: by 2002:a17:90b:4c0c:b0:233:d12f:f43a with SMTP id na12-20020a17090b4c0c00b00233d12ff43amr17346852pjb.1.1680061309170; Tue, 28 Mar 2023 20:41:49 -0700 (PDT) Received: from dragon (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id fh5-20020a17090b034500b0023b5566f744sm311482pjb.39.2023.03.28.20.41.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 20:41:48 -0700 (PDT) Date: Wed, 29 Mar 2023 11:41:41 +0800 From: Shawn Guo To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: interrupt-controller: mpm: Allow passing reg through phandle Message-ID: <20230329034141.GB3554086@dragon> References: <20230328-topic-msgram_mpm-v1-0-1b788a5f5a33@linaro.org> <20230328-topic-msgram_mpm-v1-1-1b788a5f5a33@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230328-topic-msgram_mpm-v1-1-1b788a5f5a33@linaro.org> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 Tue, Mar 28, 2023 at 12:02:52PM +0200, 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 It's not my call, but I wonder if we need to maintain the 'reg' ABI at all, as there is no DTS landed so far. In either case, I suggest we update the example to adopt the new way. Shawn > - interrupts > - mboxes > - interrupt-controller > > -- > 2.40.0 >