From patchwork Mon Jun 22 22:27:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11619283 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E5219138C for ; Mon, 22 Jun 2020 22:29:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BD01D2075A for ; Mon, 22 Jun 2020 22:29:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dXdBlu/N"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YyC9ZJIf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD01D2075A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NljKpSWsstUTLa3n24EZpPHuGoR6VGQXfde24gZpRWM=; b=dXdBlu/NWK9RcFZn+YDliy3Zr zKVSLfiIugKLP+Rmv/S6zs1AEGN7c/vkw0ke1tHwzdmTfiduCE2kFeBuRWTazPM5PI4UzsEu2+0pZ L8uQqX6sMJQBqdCV+lK9lgHOPVqOTExPT3t/RHOLekyYygjjXxbsW619Nfd3gWW3HU2IVVrxy+zEs y8AKNWckpZncSl2uRviNPm2j6rMefApDu7u7TNdZb4f29QPgy8isR3PQA5NgAF26lwJwWg6cHqnZ/ htvpcJovQSLuUuAUSglq9UI7RuHM/izLZswlL40aQxrpPdZO85EXAqSSTJg0EOcOIg+jkshG99fLR S+Ma5Xmqg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUus-00033V-6j; Mon, 22 Jun 2020 22:27:50 +0000 Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUui-0002zk-FJ for linux-arm-kernel@lists.infradead.org; Mon, 22 Jun 2020 22:27:41 +0000 Received: by mail-oi1-x242.google.com with SMTP id p82so6378235oif.1 for ; Mon, 22 Jun 2020 15:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sl9uIyo+81Kkn9LPrLZQmLI21MHmbpgl+yYUpQGnN0M=; b=YyC9ZJIf7yEFPHVB9ErBo2jQ2wjzoF5MCWGI1Ho73ZhuZ4iyw5QXxwELQGSZsPDNyx C/wrPYw9NhxpkOjteWE0ZT8hTmoLfTU+a0+uVTB6Dgci0w/D+A71nBjr0yFtrFzMOIrf xnz+1T4TACfydiayKTHan1ynoE8Nn+1VFZeRPYKzpwrofX8GiCV2UOSxvy94hMCCCsR1 fSv2P3l9cQJbyEto9/PXdORiXmjDTCbeU64oZCjPJHaXg0Vz56RkaqOykS4/k5c/U/kQ z5tgzTahnS37p2LtZmvIiZ6c+bTOoWKs+7B2U5+2RI9OVTxlO2doiTPVM9RFAFesoXNY B7Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sl9uIyo+81Kkn9LPrLZQmLI21MHmbpgl+yYUpQGnN0M=; b=QRu6V2IrUfdR8tTk51Iw3fyyKkMvSIfkTBM2NdgYQM0V10dOCIiLA0J5csla9sSq0Z H7JhgI8CPIu1P7s0Z/RKvMVbWwQgDU0T/GEMSvOwRv3sDwIkNr+LVIbZpzJDCZdpalby /uH6Wo6CPA2Y3ggW6kOob15NrASZnWgbkygZgXxjuVs/so3GYNzgRy4u8Tqe3jqK7N9l nJtsTdG54dklO+KQ03OGUH/Qh0s2Sd1XCwCi1k2UcAm1yJqn5QDxSlg2+R8klAvCv36q OXimF5Dp/T2ueNzzXzCUSG81Mx37aGsHJoe9FKZq78517ZwEX4PHujB2usTx4uQCNGMc hIkA== X-Gm-Message-State: AOAM532zSLoLhghXoyYTGSwk7lwjmHB0ft+KUoxggTQ6FXLUD+BpW1/K w3mFcGb2hQatHCu5jgMag4VUWg== X-Google-Smtp-Source: ABdhPJyn/9Xqo0aTMQp64EFk5vVQwwz3C0Eg/qigMPVi8Ezp+p1m4QTNrp2FUyu4T5Va0pjV/BAr5w== X-Received: by 2002:aca:d883:: with SMTP id p125mr464423oig.100.1592864858557; Mon, 22 Jun 2020 15:27:38 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id h36sm3589304oth.37.2020.06.22.15.27.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 15:27:37 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Dmitry Baryshkov , Manivannan Sadhasivam Subject: [PATCH 1/6] arm64: dts: qcom: sm8250-mtp: Drop PM8150 ldo11 Date: Mon, 22 Jun 2020 15:27:42 -0700 Message-Id: <20200622222747.717306-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200622222747.717306-1-bjorn.andersson@linaro.org> References: <20200622222747.717306-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:242 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org PM8150 ldo11 on the MTP is wired to VDD_SSC_CX and controlled in levels, rather than as a regulator. As such it's available from the rpmhpd as the SM8250_LCX power domain. Fixes: ec13d5c23a33 ("arm64: dts: qcom: sm8250-mtp: Add pm8150, pm8150l and pm8009") Signed-off-by: Bjorn Andersson Reviewed-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts index 2fc9e7ff0060..63d259931c4d 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts @@ -140,13 +140,6 @@ vreg_l10a_1p8: ldo10 { regulator-initial-mode = ; }; - vreg_l11a_0p75: ldo11 { - regulator-name = "vreg_l11a_0p75"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <800000>; - regulator-initial-mode = ; - }; - vreg_l12a_1p8: ldo12 { regulator-name = "vreg_l12a_1p8"; regulator-min-microvolt = <1800000>; From patchwork Mon Jun 22 22:27:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11619287 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D3D90138C for ; Mon, 22 Jun 2020 22:29:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AAD132075A for ; Mon, 22 Jun 2020 22:29:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cEBK3Ciy"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lenyekES" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AAD132075A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uGk8ImUuzcUFEj2uiELp4H/+5u8nX/RECUUs1DPegZs=; b=cEBK3CiyT+PXinMhcayW2FCGq rJFgjCVK082YYQPPpEQrHsFK9jE0EE3LwgX78e501hIZ49x+8hi7TRK6LkN2mxD3nOWm7TX0Ngh7b c3qxLdLco69SspWmK3zrOUDg6z8/b3XpYqtKTHfLSP9urgKjdZK47aoSC5SmNQecsKBJk9j1Z7Wlc N/zeWTvBcXrUtzcnGdqLMiMEllhwg7TTqfVfkmstqR/PbVEhrcHUnAzgNEDuEisISdaUgW3NsRkmZ vpP4JZMw2eEu3KrQjITigyXGB0rPKIgCGKnlvmrhE65QKTULMZszqkmg4wI2zzGI9u4UzOwyNFwux EMnXCMzog==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUuv-00034g-TO; Mon, 22 Jun 2020 22:27:54 +0000 Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUuj-000305-IX for linux-arm-kernel@lists.infradead.org; Mon, 22 Jun 2020 22:27:43 +0000 Received: by mail-ot1-x343.google.com with SMTP id d4so14597532otk.2 for ; Mon, 22 Jun 2020 15:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i3ZFx1cfGWfklPrTeX40d9zi2JN5zxamR5nNhJdd1zY=; b=lenyekESd+AuK62A5GNcrVp+7OjlGZmtfudQp34AKbhG8XSyh8/muGNxC0Ltki6FxD /HDcSkmd4dEEBZa+TVdBJ3HzhcddDAiXVcLdYcJL+haUWvuY/All2cguRXZD04TjUb0r kYaNn+hMEr/CGTycCjTQNMfR6sRKwuzllKA7aCoOcX3b3fe+t/2PdAakDXy2qcKylUAF E1Vq5HTTED9bbRug6VX4C6GQS4HnIvZrAJ3EkhciFXqeiHfDSs0p2Qg3BP9f5fa40vFd cHID1Q5qLataqK9Jv5I3Fmidasvfhevjh5RIRaG7lRPUELD03tp0uo3Q14YerGJ0k2ZG 1s4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i3ZFx1cfGWfklPrTeX40d9zi2JN5zxamR5nNhJdd1zY=; b=oKX8sA89R4Kz6wvWHCCbFNMjt1t3ueBu4TJjN73EhFqj1E88PQPZ67F3KKjz1Yujix 179lzb6x+P0kmiKCGBUAsHxGH65LvsO/Ou5Zu3E4gjqjiDOxAAfAfRDExcqj+UN/KapV da6vDHuoHo/VRwrIFLuT/SVpbHX4JI/IwPWhmNZMcC2udf52NDzS7Adx5NAoO8r2+DvO gveE/ZfxG6wFVgfQcnx/amssX++Ct9Ej5OgFDtpNE7TOjvScZmltbmOusKyXkpowEm0a 4ReT3EU2jVibYnNpKXIChCGfneoLzIfBnbE3aHbDuMJRz2fARyV2nzW4hXffyIl4UiBT XVCA== X-Gm-Message-State: AOAM532/RbY2SC7Xf4+ATm3k3E8JkUPE3AF+jbiuqx5/wP0fVWNsLjxs VGlBZQE4ZbZvcWVN/QX8SV0Aow== X-Google-Smtp-Source: ABdhPJwkU2JG/VrosT1dEkPudQ2bGBO7dvIDqhuNzL5d1V1W+B916h0xOJP0969Km4tIoz1LB/Z4Mw== X-Received: by 2002:a05:6830:2089:: with SMTP id y9mr16718014otq.308.1592864859777; Mon, 22 Jun 2020 15:27:39 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id h36sm3589304oth.37.2020.06.22.15.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 15:27:39 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Dmitry Baryshkov , Manivannan Sadhasivam Subject: [PATCH 2/6] arm64: dts: qcom: sm8250: Add IPCC Date: Mon, 22 Jun 2020 15:27:43 -0700 Message-Id: <20200622222747.717306-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200622222747.717306-1-bjorn.andersson@linaro.org> References: <20200622222747.717306-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:343 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add the IPCC node, used to send and receive IPC signals with remoteprocs. Signed-off-by: Bjorn Andersson Reviewed-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index e583a01cbcf1..74a7ca96177e 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -329,6 +330,15 @@ gcc: clock-controller@100000 { clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>; }; + ipcc: interrupt-controller@408000 { + compatible = "qcom,sm8250-ipcc", "qcom,ipcc"; + reg = <0 0x00408000 0 0x1000>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <3>; + #mbox-cells = <2>; + }; + qupv3_id_2: geniqup@8c0000 { compatible = "qcom,geni-se-qup"; reg = <0x0 0x008c0000 0x0 0x6000>; From patchwork Mon Jun 22 22:27:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11619289 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 39CEF138C for ; Mon, 22 Jun 2020 22:29:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 114C22075A for ; Mon, 22 Jun 2020 22:29:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gmzMon5T"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="r0rg84zI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 114C22075A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=p+FivgfufWNOUHqrHELdVIHq8PvT7X0ca1MZ9oYYlB8=; b=gmzMon5TgHS6n7BQFS5nxLWGz Q2e85K+MLqFcCZa5Dct7mglZ8s46sSLd0wrNC5PqMRLsGVm722E5+WZ7V8rPlIQzLgZBuKlNwHO58 Zano5OYDrmnbuO9qdG7MuY3p1CHEk/O7+UvdFAZ5N0phU3eogtWDn/vpIwnxbFSSpMeT5l5/bmGTs HiZQ8NFWcWAZCrev/NIbTX4n2Nbiy0O/HvHkWndkzgznfA0tI1qMaZCcys24ej/kdfvZBiIM4wfCd XeUNLgXvYhO3mjdCV64cpwGJmkJdoFqtqLXgW2E0zonK7WtehPgYBaaQsN9kf8fdlJPKrtecLf1bl kXkmP7Yng==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUv0-00035z-Im; Mon, 22 Jun 2020 22:27:58 +0000 Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUul-00030N-0K for linux-arm-kernel@lists.infradead.org; Mon, 22 Jun 2020 22:27:43 +0000 Received: by mail-ot1-x344.google.com with SMTP id v13so14584884otp.4 for ; Mon, 22 Jun 2020 15:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=np06MBoJ0AuPrMypeIwHblD2LOFOM+rqs7EtZrEx3Pw=; b=r0rg84zIbL8kV63uOUn5+t2IYIe5xGcfcJIXWWbnqpMFBmhHPYvLmbvKLz3bI49DpB 9GCapPYUnEg2FOGhkvUKxsoUfr7PZ43oOihybXzLwMCVY5h2qfjTnQwjxeSfWIgQ26pF amaqn8BNJzRVInEJvpxSJI9ZPQpULYN+d1wZV0Z26Hk6moQY2PvJpfCRqKu7rSqFqwmI Z0Hec+pOHqbc+XQ3rSA9P7T3cyRbn7BCfoO8Ptf2Q9IiMBGv0o/t4dv9VrbqJ0WUxpdK AmTHI+baqgMXQcoVK3D9/RbbH7ALZISQb87ZFDRlTuZ67MZJTOd72f8KCBKtTVsECcag 1UMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=np06MBoJ0AuPrMypeIwHblD2LOFOM+rqs7EtZrEx3Pw=; b=Up6HuuXI3rgSsGM9q6lx5RLfy5CxHAVdORc5T0mUswKFlA5l4aHU0ToszOHtqLVaY6 6+Af5KXUw9e+a1lughFull7GvYGLYis8n0ukQjT+MRB/e/NOZgkwJTTdsHU3pdwePC+3 K1ceNbyr//fsZV/c/QeSFc9KtTc3UIctpc8IdYKnM/AdMWtxmulSRGVvXzMmV4u2zHTC lTfPNoNLv7xLXVDTIojG70NwXoqPz/60LfE1rai0u3EHHThjTbj4D4GBd/31ba1XzzF+ TGNfm7rbhf9BjD5o9uLSk79UXqN1m+usN5nD6ILek9WPhy6hrQyribOmm+M/n8sEToaR 3nwQ== X-Gm-Message-State: AOAM533sC6q2gkbhIs3XeCzEjsLajZZ9XqYyjJsLnycozJ8WmWHyQeyd UUoPIdwKbpmTifxg4wQznB9c+A== X-Google-Smtp-Source: ABdhPJyFaBDzpgqSiNBG+6lr3jq8HwxV1odT6pvGc+rG78De/yGfdOA1I/wF9744YHOjfDcVOHmURg== X-Received: by 2002:a9d:aaa:: with SMTP id 39mr15107908otq.269.1592864861102; Mon, 22 Jun 2020 15:27:41 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id h36sm3589304oth.37.2020.06.22.15.27.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 15:27:40 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Dmitry Baryshkov , Manivannan Sadhasivam Subject: [PATCH 3/6] arm64: dts: qcom: sm8250: Add QMP AOSS node Date: Mon, 22 Jun 2020 15:27:44 -0700 Message-Id: <20200622222747.717306-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200622222747.717306-1-bjorn.andersson@linaro.org> References: <20200622222747.717306-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add a node for the QMP AOSS. Signed-off-by: Bjorn Andersson Reviewed-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 74a7ca96177e..246e6f279aa8 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -989,6 +990,19 @@ pdc: interrupt-controller@b220000 { interrupt-controller; }; + aoss_qmp: qmp@c300000 { + compatible = "qcom,sm8250-aoss-qmp"; + reg = <0 0x0c300000 0 0x100000>; + interrupts-extended = <&ipcc IPCC_CLIENT_AOP + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_AOP + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + #clock-cells = <0>; + #power-domain-cells = <1>; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0 0x0c440000 0x0 0x0001100>, From patchwork Mon Jun 22 22:27:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11619291 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 404C013A0 for ; Mon, 22 Jun 2020 22:29:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 19CEC20767 for ; Mon, 22 Jun 2020 22:29:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Cy/HpQsQ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="e6L6AkxQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19CEC20767 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ILfc7zk3x4Y8/5M/L0Kj+NKcKr7XaEp8jkJ/sFEQbos=; b=Cy/HpQsQLx76pjUjpqfRNXShG CaWN1vLm+/FT/DDscV1fyBVe+mvk7wmt9xaDw0jdTCuWntIFSDtqt9T5cnABGg06Xbov705r2UTmR ZJy91moU2PgZV5boj2vx5fVNDZ35QFSVGg97gCOf9F5u0XFq9m9I01VJwFZbFXJ7cefv6imK2YLo1 Zq/gOMyWm3FlzVYxoKma9I8LdCaK8bRe9S8UPOjf+DN2otY/viAAtxKwlJlI3JxfHZ5B6Hs8ZNuJh c4dap56K6D0wESTvPNMC6TvyWjFchHHplaeGyUMXb/KF58zLGmu2w9wW39bbBE2YpzjjIAYR6vc70 PYgGAA+eg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUv4-00037z-Op; Mon, 22 Jun 2020 22:28:02 +0000 Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUum-00030x-37 for linux-arm-kernel@lists.infradead.org; Mon, 22 Jun 2020 22:27:45 +0000 Received: by mail-ot1-x344.google.com with SMTP id u23so14574031otq.10 for ; Mon, 22 Jun 2020 15:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2twIzfs0XUdlpwpGhkxofa+OvC6guPhGkJO/5SWD0ok=; b=e6L6AkxQfK4zgaD6G+i1IMw0VPcYhPuMTtZlm1gGZZdFYmjp35ERwxWGbJenH39fq9 LGdDj0QBZReaSMTlQZ/0auUblx3nWv3eRvJv9T4lueEM8d1aASv00T6NvZJ1Ig97fyUZ T8RaWgqyCtH0kuHRANJ6Fv2y8aBUOhYdvfCYWDp1IL5+6SC4f5OOhtP+0HE7rBIA3ZoS lyv1qDiYND52PczwcL4pUMj8fW3cmbpZvY1Yjg7IdupTgorfwu4PkRfjzBApTPDA0R2G oG3f7qt1gGQq4bYG9HeoqxIqvnppq8Til9queMyxZkkEWMod7EFPTQrC+DgEPl9bSNXW Pm6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2twIzfs0XUdlpwpGhkxofa+OvC6guPhGkJO/5SWD0ok=; b=kw7WfL5inT2VJglKUiKMM0d+YuytCLafTriXqH8LGDHKSNUzLWJuCRfLhkOFM0cvf6 vHIloCnddUOmaeFde2DyTNZP5a/cXNjlogsB2QHlg0AMW1zzTV3LTfcmc/XJvfBUfw9m Q+B1xBfxqyfj27q34OTaygngM8E9+5VeTGA1a4Ibb5HpQFJQQB1n9GMLDZ4FzH1wo8dK 8tuofltKh4tFDj1xUJI0zgTsBm4lGoNiWn42CMfszUuQvGevGd71SoIX9sjFih8G/p43 cGFMcvlouHv6jEnyJz+ZUgnHQRmmb2cQQCAfXKAVHNML9+SDEJ4eWYBA/G+COUK6yUeJ fzEg== X-Gm-Message-State: AOAM532o+QLmedl2O2gKIae0Ut7FG5LPmhOTu3JzfPP6sRPFNeJSRRLO OSQWLvxOZXupoA9oIDG1V40RjH20eL8= X-Google-Smtp-Source: ABdhPJwgey5b7ZI7MvePviVABAMsCQydjl7xm6I27E+P6GcQYA+M+SczI1BLtaOa6STro09MTrS6dA== X-Received: by 2002:a05:6830:1d8c:: with SMTP id y12mr16164734oti.162.1592864862368; Mon, 22 Jun 2020 15:27:42 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id h36sm3589304oth.37.2020.06.22.15.27.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 15:27:41 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Dmitry Baryshkov , Manivannan Sadhasivam Subject: [PATCH 4/6] arm64: dts: qcom: sm8250: Add SMP2P nodes Date: Mon, 22 Jun 2020 15:27:45 -0700 Message-Id: <20200622222747.717306-5-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200622222747.717306-1-bjorn.andersson@linaro.org> References: <20200622222747.717306-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org SMP2P is used for interrupting and being interrupted about remoteproc state changes related to the audio, compute and sensor subsystems. Signed-off-by: Bjorn Andersson Reviewed-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 72 ++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 246e6f279aa8..364d9a798673 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -314,6 +314,78 @@ smem: qcom,smem { hwlocks = <&tcsr_mutex 3>; }; + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + interrupts-extended = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + smp2p_adsp_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_adsp_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + interrupts-extended = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + smp2p_cdsp_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_cdsp_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-slpi { + compatible = "qcom,smp2p"; + qcom,smem = <481>, <430>; + interrupts-extended = <&ipcc IPCC_CLIENT_SLPI + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_SLPI + IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <3>; + + smp2p_slpi_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_slpi_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + soc: soc@0 { #address-cells = <2>; #size-cells = <2>; From patchwork Mon Jun 22 22:27:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11619293 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 77AC4138C for ; Mon, 22 Jun 2020 22:29:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4FF972075A for ; Mon, 22 Jun 2020 22:29:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pfLPLzXX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Eu7GWeez" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4FF972075A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=q9zE7jHG5exoQSFwBzXKW0ZvOpzf67EXHGqGOugXCCk=; b=pfLPLzXXO+7OBYHy4nJD7YvDY 6S/E/Xpt/wOq7m3pnrgXqsd1n82yjcMs/Ymcz+Pbsv1BSA5/ECbSu65O5oLP0IrjXnTyiTv3xkuoR j37m79Nq6kq4Frfq20uL4F83O4JH1Aqmml+YzUAfsa0oOYAU64RvVQ/OC4bnsDmZWDiIOJKObT40u dMFcI6ziYOor/g44qmDkVvVO484jt9Jo6gWNAI0QYP7uAeDcKcdIdSfTNTzajiITiYseQ6k6Sqe9B lpQ0WgdKmHD17wFC2sIj4L9D59MVtYAuiXuyLs6i6j1uwy4jqse/r2o5vhxh2QKY8NC1d7q1Z2hrk cN8/DTJXA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUvA-0003AF-1U; Mon, 22 Jun 2020 22:28:08 +0000 Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUun-00031e-9Y for linux-arm-kernel@lists.infradead.org; Mon, 22 Jun 2020 22:27:47 +0000 Received: by mail-ot1-x343.google.com with SMTP id v13so14584980otp.4 for ; Mon, 22 Jun 2020 15:27:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wYNMROVmkPoqnFNJEIZnim/Bm5IaS8jlBoM1iy2mvU4=; b=Eu7GWeezIsY98Lhv5zUe1w1NHm20dZSTrxwPs+915PiCZMMXYl1YNoahivWGO3OSzp 2205LUnuTVeeAhvmJqyo69nUaBB5XsQmH/jKUToqMvrUToZplPOa0pxu3esjemtHnFYG sUwhDh7Y22P/W7s8X5cSBGrmYGfZExAq2Iu1t7+LMJiw1ncptKDsOhGhurEjs+g4sAvs 4bGwCTUztSOfdokyhtFdm3vibXW/0nuLcgIBkY6rToK6enSaWpOAOesF9KfJ7FQLWy+j sAAW5oE2r4IhZM4OVBI8X3fLQnp/w73ow0vxKztz/vlw3kqu3vx8m7w0AmeX+4McLIsH 7HBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wYNMROVmkPoqnFNJEIZnim/Bm5IaS8jlBoM1iy2mvU4=; b=k37CYVW8e04cSgCvYBK6swy85hihMM/trzs3e8N5w5UK6lr3phhbIYUZn74Jm69Vxo +KRefciObe2xqDd4EvWgQ5FvYoLT4nmNv2wiIczDi0wE7JMfQCOa9eG0qNe4bThZsNJG B+Urxn/8/KF+w2rWoWztTLFYdiOXaavLC/PRQ2AYy50q4+94iJE2w7vSiqmq+rSNirx7 9j5qUdzOV31i9i+VowdY7PZpWJMsafWIwMxf1pxkzA0CWGmqznUuP78SAmlD5+aRtLrZ KIGOiv4LDup0RMfAB7WcnsUcs3pD9PUDb857qmGi8cAhy9oQf3o8Solt6jLF5Km7IDBW iqfQ== X-Gm-Message-State: AOAM530EEXoaYmbXA5k8eMTdJvXmIPfWtor6Acs1gkb7/kv5VaGI0h3/ lWcDPT+uO44SnnG5kCdQQ2doog== X-Google-Smtp-Source: ABdhPJxDYpR6ozG7NXjG90R1W8Yle7TD/t1iZgbOx+Pv/Buvf9vD3n0B2NKOlb+A3aeWuy5WiGsleA== X-Received: by 2002:a05:6830:134d:: with SMTP id r13mr15726946otq.264.1592864863665; Mon, 22 Jun 2020 15:27:43 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id h36sm3589304oth.37.2020.06.22.15.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 15:27:43 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Dmitry Baryshkov , Manivannan Sadhasivam Subject: [PATCH 5/6] arm64: dts: qcom: sm8250: Add remoteprocs Date: Mon, 22 Jun 2020 15:27:46 -0700 Message-Id: <20200622222747.717306-6-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200622222747.717306-1-bjorn.andersson@linaro.org> References: <20200622222747.717306-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:343 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add remoteproc nodes for the audio, compute and sensor cores, define glink for each one and enable them on the MTP with appropriate firmware defined. Signed-off-by: Bjorn Andersson Reviewed-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 15 +++ arch/arm64/boot/dts/qcom/sm8250.dtsi | 116 ++++++++++++++++++++++++ 2 files changed, 131 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts index 63d259931c4d..6894f8490dae 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts @@ -55,6 +55,11 @@ vreg_s6c_0p88: smpc6-regulator { }; }; +&adsp { + status = "okay"; + firmware-name = "qcom/sm8250/adsp.mbn"; +}; + &apps_rsc { pm8150-rpmh-regulators { compatible = "qcom,pm8150-rpmh-regulators"; @@ -348,10 +353,20 @@ vreg_l7f_1p8: ldo7 { }; }; +&cdsp { + status = "okay"; + firmware-name = "qcom/sm8250/cdsp.mbn"; +}; + &qupv3_id_1 { status = "okay"; }; +&slpi { + status = "okay"; + firmware-name = "qcom/sm8250/slpi.mbn"; +}; + &tlmm { gpio-reserved-ranges = <28 4>, <40 4>; }; diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 364d9a798673..a21299b9c62f 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -1052,6 +1052,83 @@ tcsr_mutex_regs: syscon@1f40000 { reg = <0x0 0x01f40000 0x0 0x40000>; }; + slpi: remoteproc@5c00000 { + compatible = "qcom,sm8250-slpi-pas"; + reg = <0 0x05c00000 0 0x4000>; + + interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>, + <&smp2p_slpi_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_slpi_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_slpi_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_slpi_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&aoss_qmp AOSS_QMP_LS_SLPI>, + <&rpmhpd SM8250_LCX>, + <&rpmhpd SM8250_LMX>; + power-domain-names = "load_state", "lcx", "lmx"; + + memory-region = <&slpi_mem>; + + qcom,smem-states = <&smp2p_slpi_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_SLPI + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_SLPI + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "lpass"; + qcom,remote-pid = <3>; + }; + }; + + cdsp: remoteproc@8300000 { + compatible = "qcom,sm8250-cdsp-pas"; + reg = <0 0x08300000 0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>, + <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&aoss_qmp AOSS_QMP_LS_CDSP>, + <&rpmhpd SM8250_CX>; + power-domain-names = "load_state", "cx"; + + memory-region = <&cdsp_mem>; + + qcom,smem-states = <&smp2p_cdsp_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "lpass"; + qcom,remote-pid = <5>; + }; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sm8250-pdc", "qcom,pdc"; reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x60>; @@ -1668,6 +1745,45 @@ config { }; }; + adsp: remoteproc@17300000 { + compatible = "qcom,sm8250-adsp-pas"; + reg = <0 0x17300000 0 0x100>; + + interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>, + <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&aoss_qmp AOSS_QMP_LS_LPASS>, + <&rpmhpd SM8250_LCX>, + <&rpmhpd SM8250_LMX>; + power-domain-names = "load_state", "lcx", "lmx"; + + memory-region = <&adsp_mem>; + + qcom,smem-states = <&smp2p_adsp_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "lpass"; + qcom,remote-pid = <2>; + }; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; #interrupt-cells = <3>; From patchwork Mon Jun 22 22:27:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11619295 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A1CB013A0 for ; Mon, 22 Jun 2020 22:29:56 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7B3422075A for ; Mon, 22 Jun 2020 22:29:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MeCZTunQ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="y41so2TC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B3422075A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tGUTM355LI2OvSR7Pe/nuHr1e0ZWs+d9szvxOArum+I=; b=MeCZTunQfr5wGnl79HoACLoEY l15ia4018XudKAE3hynRywjx4CsinSpHlSIyfuhfAE77Vw1fEPyqWEbBjqW99jVTEubogl4K5XtQz jsWIwwztZYD27UF5AwlLpjCV9LJ9B6PVBv5WrJ28rkbs3/OlwaugsNBWPFSD07OXXIJGn+XtWeppk ivLv9vALR9j7stGKO/CbzhlLUUGNwTAATfwQfaHkFGXnD0qij1BoPk1BWMlxOzCoFyQfgJPr3mSbk njn6FkrS5wmU+ey3WWNv+r+pYktzU5D/mgxgwdtYqsXOCqGCV00J7cgqti4uzTDozkkLbtgqVDIIV H7ZVtJbqw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUvD-0003C8-Ox; Mon, 22 Jun 2020 22:28:11 +0000 Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnUuo-000325-Js for linux-arm-kernel@lists.infradead.org; Mon, 22 Jun 2020 22:27:48 +0000 Received: by mail-ot1-x343.google.com with SMTP id u23so14574099otq.10 for ; Mon, 22 Jun 2020 15:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+juBxJkHGKzzKKvIVu7gHfkhqodYtvY6iJYcZHkOhCc=; b=y41so2TCCnlvbDE+KJrDyfB6UPI6hcbuYXAEZjoDONYl/f7tF2Y3Tc0KHevx/97i+/ XnVL449Msiltwz4Mcp9I6pdCo6O7w4RyxH54lz1DoZzm9SREMfG1x4ub1BinKJ4kGJa1 ijQFzPzDF77aN+rfnft5wLoDXEiZ15dVBt/NBcn6CzQoC77yPsQHXdm5l5ALG1hr27SX UUQd25MVCtOnc1HawsKpPIA9ntV6xWoIS+/gbFOuKC55dJA8DJ+xZQEylm7jq3jfJFXx fjk3/bq9z91ALoqLA7HYwYCIicA60bw+WsK2rqTEHuptB87nrJFiWqUFvo4SieH66Ux0 bgNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+juBxJkHGKzzKKvIVu7gHfkhqodYtvY6iJYcZHkOhCc=; b=DbTyk6+0SCvwRq2JrFx3N7ybUxlkbasQ47gl7PI2V064gD+4QYRPp2VlmJ5LOh0DSm J8rgdVu8KHxjwG/WHCJq57HKOaRmBLQEjQ+IbuLMZBp+lomX66bXA2fhEIrDdvNjGTJ3 nV2AgIJchkILrH84ZsgIdRoZq6yi/UJWal3VdjXmIjyMQg582yzpnRfW3+QA4+UiQhZ0 yQu+EaeSEVp9blw8Rk0uOAoD9F6taR9XpX8QiftEY6sR+NQE/K3RW0SVL/t6t2OsNK1a wpVqPjxvelO3wLsSxornnLXlivnIPuw1PcouaWL55KWPfXKSocJkpk5wja5sykDYngKz fV2Q== X-Gm-Message-State: AOAM5320KpfpIL2Ft0YwsmKZIgTkfksykOLtqtwmkvYGHqiLuGR2tD1v 3ZE43EB9wIEjS/Qo8AgirEf2wQ== X-Google-Smtp-Source: ABdhPJzGgP62muNTyA44IB7D3xkRwJUqX16W9zjWiUZgOSB7gVom5EmeKYmkBce9IQOufHUmRXJ9xg== X-Received: by 2002:a9d:664e:: with SMTP id q14mr16811881otm.49.1592864865002; Mon, 22 Jun 2020 15:27:45 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id h36sm3589304oth.37.2020.06.22.15.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 15:27:44 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Dmitry Baryshkov , Manivannan Sadhasivam Subject: [PATCH 6/6] arm64: defconfig: Enable Qualcomm IPCC driver Date: Mon, 22 Jun 2020 15:27:47 -0700 Message-Id: <20200622222747.717306-7-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200622222747.717306-1-bjorn.andersson@linaro.org> References: <20200622222747.717306-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:343 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The IPCC hardware block provides a mechanism for triggering interrupts between co-processors in recent Qualcomm SoCs. This is used as basis for most form of communication between co-processors, so enable this support. Signed-off-by: Bjorn Andersson Reviewed-by: Manivannan Sadhasivam --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 5848799dcad0..b3d13e1a052a 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -834,6 +834,7 @@ CONFIG_IMX_MBOX=y CONFIG_PLATFORM_MHU=y CONFIG_BCM2835_MBOX=y CONFIG_QCOM_APCS_IPC=y +CONFIG_QCOM_IPCC=y CONFIG_ROCKCHIP_IOMMU=y CONFIG_TEGRA_IOMMU_SMMU=y CONFIG_ARM_SMMU=y