Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2607268rdb; Fri, 8 Dec 2023 13:14:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9XXpTNE+EOE8xhhCBbv1lj5yEUAf4zK738zC+zk9ltKAAXdP6AZ73Ov5k4fSkgaywYYkA X-Received: by 2002:a17:90b:2792:b0:285:8d5c:9114 with SMTP id pw18-20020a17090b279200b002858d5c9114mr633230pjb.19.1702070092722; Fri, 08 Dec 2023 13:14:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702070092; cv=none; d=google.com; s=arc-20160816; b=ZiupNHn6PscUzFVSFjRUEqmtYXEc4lHz6IDpHGCWExfjiPvsFmCTXSRq87HNFMRJj3 ynl+GDZJJF6U26MLaYPgU6J7kPxvrX5Q/2mCTwRvxkaJf9zcPKdkyNSOvnZPNSIqwu74 LZLYNFRRsgZin1xZqf2tmtwAH8FeT6SYz21sucfxsOzqG/HiE/xf/eQhulZLV9VGBm0g kej5nsq2af3+B7BLWvvHCCV980H6zROWeaVHeZzfkz+sEFz3zJiGsu4ojW5vbGyRnAsg fExcc3dvRHzmWnnSR8Hyo2jIk8UYN35BfiTBYWxM7Ps2ogBsIjFfZ4lKv6B2Gm4RZ2PH oYzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=R4gR2RBzl4XZ+OuFIyikjZWovbgyoPQsIk2ZHiKmq4c=; fh=SSHySwKkD3QQQ7U5wedVmxmxatCbm7KVvRvlqUDAylI=; b=aRJ1qf7iZ9YFk7wTZr2s4EeZ/MscL0IWA+uI87CFnrCWdorOrxuGnd+3SjNPnQWQM9 e4wLeA7JuyTnMpsa+BFuoa9idZ+sSXHuhSMmViQJ88GPo1NSUpGyTonxdrJyZ/j5TqO7 9qMr2fwwoIbtxzq5zLmbtVqEyw8QWGaIcOXi27DjwYhFA2OyZ3RU04Koa56YN8tV9euS UKcPu0PnNgK78CsmCkAfx6X5VH9k9JdosLLBUKjMARVquObbqtGwQlUdBRurQF4vChB/ AJOd+7pef/v9bwfyAxzDSxYm1DuooyAyg84S+7cgu/Nun8uPtAMFz5QdA5SwgUK8euJp e4tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sL4gUh4z; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=OL+OP7o1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id go12-20020a17090b03cc00b0028657eb6c12si3471387pjb.170.2023.12.08.13.14.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:14:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sL4gUh4z; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=OL+OP7o1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7C7BD8106819; Fri, 8 Dec 2023 13:14:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574785AbjLHVOj (ORCPT + 99 others); Fri, 8 Dec 2023 16:14:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbjLHVOg (ORCPT ); Fri, 8 Dec 2023 16:14:36 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB9BB1985; Fri, 8 Dec 2023 13:14:39 -0800 (PST) Date: Fri, 08 Dec 2023 21:14:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1702070078; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R4gR2RBzl4XZ+OuFIyikjZWovbgyoPQsIk2ZHiKmq4c=; b=sL4gUh4zzzybyMCXc54pjQ2iVXXLgYgPDp9VnlyeGY6Jz5wCEoogHvdEuPX7tFwdfj8vzw OrcMk+3YT4NhRfpgWANoaNzqiUGYZh8O0qHDJydDj6CQb8981WQkNa+xCg1IceN9fFyD2e 8qRcj4qDm0bv/aMZ0sHacgLgq3QxdJY99Pl15bZvr9XOpVGUX04yTOzRZ8G4mNGbk1V04u SQ/ERfkAXlGMZ9Ao9X6WCaWiF8dQrlZXkwdI7vn1HhZkSbL/w6JK2MOpD3yLKYA+nlGctY lPuco0/4WnDKIYy1mAPUbMFLtxU4PjfINscd5KpzHC8q/2UdyA7jAdWJgQKSxQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1702070078; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R4gR2RBzl4XZ+OuFIyikjZWovbgyoPQsIk2ZHiKmq4c=; b=OL+OP7o1NZ+OUvioLce9IOhG5Swf8g7BN232m+FFdmJO/Q5kpnKMS3vDMPuz3wDsOEiAQu OKBQaWUYLGsHV7Bg== From: "tip-bot2 for Konrad Dybcio" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] dt-bindings: interrupt-controller: mpm: Pass MSG RAM slice through phandle Cc: Konrad Dybcio , Thomas Gleixner , Krzysztof Kozlowski , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20230328-topic-msgram_mpm-v7-1-6ee2bfeaac2c@linaro.org> References: <20230328-topic-msgram_mpm-v7-1-6ee2bfeaac2c@linaro.org> MIME-Version: 1.0 Message-ID: <170207007784.398.672518304250442085.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 13:14:51 -0800 (PST) The following commit has been merged into the irq/core branch of tip: Commit-ID: 3ff156f0d4e71f96b15f9b16f3b6a82b617c4bb7 Gitweb: https://git.kernel.org/tip/3ff156f0d4e71f96b15f9b16f3b6a82b617c4bb7 Author: Konrad Dybcio AuthorDate: Mon, 27 Nov 2023 16:52:12 +01:00 Committer: Thomas Gleixner CommitterDate: Fri, 08 Dec 2023 22:06:36 +01:00 dt-bindings: interrupt-controller: mpm: Pass MSG RAM slice through phandle Due to the wild nature of the Qualcomm RPM Message RAM, the kernel 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' deprecated. Signed-off-by: Konrad Dybcio Signed-off-by: Thomas Gleixner Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20230328-topic-msgram_mpm-v7-1-6ee2bfeaac2c@linaro.org --- Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml | 52 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml index 509d20c..4ce7912 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/qcom,mpm.yaml @@ -29,6 +29,12 @@ properties: maxItems: 1 description: Specifies the base address and size of vMPM registers in RPM MSG RAM. + deprecated: true + + 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 @@ -64,33 +70,45 @@ properties: required: - compatible - - reg - interrupts - mboxes - interrupt-controller - '#interrupt-cells' - qcom,mpm-pin-count - qcom,mpm-pin-map + - qcom,rpm-msg-ram additionalProperties: false examples: - | #include - mpm: interrupt-controller@45f01b8 { - compatible = "qcom,mpm"; - interrupts = ; - reg = <0x45f01b8 0x1000>; - mboxes = <&apcs_glb 1>; - interrupt-controller; - #interrupt-cells = <2>; - interrupt-parent = <&intc>; - qcom,mpm-pin-count = <96>; - qcom,mpm-pin-map = <2 275>, - <5 296>, - <12 422>, - <24 79>, - <86 183>, - <90 260>, - <91 260>; + + remoteproc-rpm { + compatible = "qcom,msm8998-rpm-proc", "qcom,rpm-proc"; + + glink-edge { + compatible = "qcom,glink-rpm"; + + interrupts = ; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + mboxes = <&apcs_glb 0>; + }; + + mpm: interrupt-controller { + compatible = "qcom,mpm"; + qcom,rpm-msg-ram = <&apss_mpm>; + interrupts = ; + mboxes = <&apcs_glb 1>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&intc>; + qcom,mpm-pin-count = <96>; + qcom,mpm-pin-map = <2 275>, + <5 296>, + <12 422>, + <24 79>, + <86 183>, + <91 260>; + }; };