Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4685146rdb; Tue, 12 Dec 2023 06:44:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsKkewGEDktWXnvWdZVICzis61xARAgKIJkb9xiy5DOnrpXCt0iKVFRWIfiEZNyMdY2bEV X-Received: by 2002:a05:6a00:4781:b0:6ce:3260:c480 with SMTP id dh1-20020a056a00478100b006ce3260c480mr2250227pfb.69.1702392272961; Tue, 12 Dec 2023 06:44:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702392272; cv=none; d=google.com; s=arc-20160816; b=Gs6ZNUXiMt0hom41FSz3cndS/biUF4gIfomtQt82kuMZuGfdIFjdziY6YW2keC9TzV iE7fs82gWVNdHaxdrWlbnkb3rzwkqcAxbPZ060JttCewifq3OOhQSuf1UcRyQZZcmedJ lQh8M/lnDd0tMfnH8yZOcyBcef3OijYx/wNgpfQfGpRT0mZZ0pYxBtLjwOKROkVD2/BW OjK2PcvsO+OzCPRPX380g7QmJ4YTVv9CnDbuqmhv+IobKUsL0AJY6HUHg9q0T30UH1iV 2bRMvuxjc0i/pwLi/fBSs00LUTh66QLnoR8j8dxTrXjYDqnrIUgjLuMkAelG7yoHqGKk ziZQ== 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=nHP9VbGdP6LKXsJOH3dUHotvDSItCgzJc06/GBceHUk=; fh=SSHySwKkD3QQQ7U5wedVmxmxatCbm7KVvRvlqUDAylI=; b=DD5h6icfndExztbkVMfmALKU1W0pThQF/yP862DTrOOocVuRPi3Ar5Jh+qC0AzUa9R 4sEjaVn5I4yR8d7T+uDA+PaDDqn9DpZt+LngzrNDFAcA7IH8ul820RjWef1JcrHFxopo UgvuxFfD+H6RyFJV0YAs4qt0GSvkRsMA0CMaeQ6YPPskuPbQuUsqYOUFw1ZOl/Ct+dtA Fgs7qhIROMDuDj7PxCL46PEgopVZSY0aTk8zvTMpvdZX27bSuypDrOEdX2GLVuG9l1JX onhnbqMcF3biuLPv+AaVq8ze+sjftMTfv30NHYDZBKhUu0XMYL57r+EwAyQZ8Y3pB634 3JRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="M/h+ullw"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u6-20020a631406000000b005c66350f55asi7877533pgl.343.2023.12.12.06.44.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 06:44:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="M/h+ullw"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 8455480ACB44; Tue, 12 Dec 2023 06:44:31 -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 S1376907AbjLLOoU (ORCPT + 99 others); Tue, 12 Dec 2023 09:44:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376894AbjLLOoQ (ORCPT ); Tue, 12 Dec 2023 09:44:16 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D8B4F4; Tue, 12 Dec 2023 06:44:22 -0800 (PST) Date: Tue, 12 Dec 2023 14:44:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1702392261; 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=nHP9VbGdP6LKXsJOH3dUHotvDSItCgzJc06/GBceHUk=; b=M/h+ullwRQDdGh5TjuYdSOSFv8cWaZsmqczYCwbTeTWMUNVp7MKneRHS9KWfsz3YIc8ob+ 3C+zcF/Zh5hjnmtBikpIh9Mqc/YFnFsyg2pVJ/VFag8HmGmVhJ6U/+skKLWMzyQud1MZe1 QHldpOG1+FSeZSyemjzMOltDpT7Q1boX7C8VbFzY3+iwvZxc+En82b5ruuyhJm0jk1rj6P sCG1aa10GGF+9Nzo9zGjixOTxO7dzqdsDvp2ydP4AuHAD9t4qMVX9h8HM0tUnDPiu9QO6h ebc2KFrPAWkrtzkOADSF0aXdErLe5HP/Naj6nAAyEMYhoVlJ0M1JeppDM/7jxA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1702392261; 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=nHP9VbGdP6LKXsJOH3dUHotvDSItCgzJc06/GBceHUk=; b=tzD9whmq6qgy7caNp71gHR84rK6x6vEdwwFayRD6wtEFA0250QOf0XLmw87QE7W3v2t1+1 WSiKelcWEureDuCQ== 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: <170239226058.398.9150462803015255114.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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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]); Tue, 12 Dec 2023 06:44:31 -0800 (PST) The following commit has been merged into the irq/core branch of tip: Commit-ID: ca596295f4c9ec803d3379635ad175897993f121 Gitweb: https://git.kernel.org/tip/ca596295f4c9ec803d3379635ad175897993f121 Author: Konrad Dybcio AuthorDate: Mon, 27 Nov 2023 16:52:12 +01:00 Committer: Thomas Gleixner CommitterDate: Tue, 12 Dec 2023 15:40:42 +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>; + }; };