From patchwork Wed Jan 20 21:26:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 368105 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9292C433E9 for ; Thu, 21 Jan 2021 06:41:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8C08A2343E for ; Thu, 21 Jan 2021 06:41:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730123AbhATXnb (ORCPT ); Wed, 20 Jan 2021 18:43:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731761AbhATVaJ (ORCPT ); Wed, 20 Jan 2021 16:30:09 -0500 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B3E5C061795 for ; Wed, 20 Jan 2021 13:26:14 -0800 (PST) Received: by mail-io1-xd32.google.com with SMTP id h11so9921543ioh.11 for ; Wed, 20 Jan 2021 13:26:14 -0800 (PST) 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=+9L1TriC52sXrX4Zg+zQJfvyz2NNwykyudIg+FTCWFk=; b=BYqPKJd4KXULlM83fFhf8KfPkwVIDnob+eOlUqnk4lhCJky0T7XhoODizC2XccBIKY HBSUr9Suhd8yMn9tHYLrjPgEpmij39D9m9IFNtbOjgkmN8vSCP0X6ER0H4Z/VXKY7cPo lY7hDIgvaNqXdOh0QMpOYf5D2InqjzHY8ek2PsPOPJfKMIPeZewLdHNkJA/jpwzgqxe2 MYPSg/E6C2p198IKcUhED/c4WTF5o+unTwQRITs3kQAOw3xPu4Pwa/7CmYzItlBQiZX7 VL7lG8OdmOQhr68KLUo0VpxG/Gn44MgWLiuUpgSUIDI/nl5YCOJD0USfGu5FFCmXC7TU 0pyw== 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=+9L1TriC52sXrX4Zg+zQJfvyz2NNwykyudIg+FTCWFk=; b=RyCJgeTZGH4zbCDbXNUxwdHQE7Ph8RTGXVSRbfKXR++omXNx67YMz6MysCni58miho 0CAwEyQLrCJumG0GIVXxeGLa4tMf1TwNk8AtWPyfrF1so6g5IDoHXXqQfROqJq3UtSQg R77zijdqJr6u+mszVxVI18G43It85zAVfjKaWfR0L4yQxmVebQhxE/pt5NVr3JzaUXoX mCNdXvZSvwx2YzrkE94m4ujmvjGkNo8qavn/3w46BKW1uEMrj2QNPzK1BZ8Uaoq6Was1 Y3ehzMpinZKJy0lBAw018Gz+/53bk46o9EAd7S00uxk3qVUo45CTJZbuMiU6y61Qupcp HHgQ== X-Gm-Message-State: AOAM532JQVMctitISgoBlZCaaXPLZvP7SLuZarUbT5Ff/v/EChcBLsMu vLoNGYNdBPv/Nke+PHpQVmJcXQ== X-Google-Smtp-Source: ABdhPJzTIAUTRV7I9gy5A9nst7i3RiaUgfMrDYjnhTijXz/ml+x+l4xw0vWtQoFXXt8VY7Ab29d1/g== X-Received: by 2002:a92:9510:: with SMTP id y16mr9645687ilh.26.1611177973512; Wed, 20 Jan 2021 13:26:13 -0800 (PST) Received: from beast.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id q196sm1335687iod.27.2021.01.20.13.26.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 13:26:12 -0800 (PST) From: Alex Elder To: robh+dt@kernel.org, davem@davemloft.net, kuba@kernel.org Cc: bjorn.andersson@linaro.org, agross@kernel.org, evgreen@chromium.org, cpratapa@codeaurora.org, subashab@codeaurora.org, rdunlap@infradead.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 net-next 2/4] dt-bindings: net: remove modem-remoteproc property Date: Wed, 20 Jan 2021 15:26:04 -0600 Message-Id: <20210120212606.12556-3-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210120212606.12556-1-elder@linaro.org> References: <20210120212606.12556-1-elder@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The IPA driver uses the remoteproc SSR notifier now, rather than the temporary IPA notification system used initially. As a result it no longer needs a property identifying the modem subsystem DT node. Use GIC_SPI rather than 0 in the example interrupt definition. Signed-off-by: Alex Elder --- .../devicetree/bindings/net/qcom,ipa.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml index 8a2d12644675b..8f86084bf12e9 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml @@ -113,13 +113,6 @@ properties: performing early IPA initialization, including loading and validating firwmare used by the GSI. - modem-remoteproc: - $ref: /schemas/types.yaml#/definitions/phandle - description: - This defines the phandle to the remoteproc node representing - the modem subsystem. This is requied so the IPA driver can - receive and act on notifications of modem up/down events. - memory-region: maxItems: 1 description: @@ -135,7 +128,6 @@ required: - interrupts - interconnects - qcom,smem-states - - modem-remoteproc oneOf: - required: @@ -147,7 +139,7 @@ additionalProperties: false examples: - | - #include + #include #include #include @@ -168,7 +160,6 @@ examples: compatible = "qcom,sdm845-ipa"; modem-init; - modem-remoteproc = <&mss_pil>; iommus = <&apps_smmu 0x720 0x3>; reg = <0x1e40000 0x7000>, @@ -178,8 +169,8 @@ examples: "ipa-shared", "gsi"; - interrupts-extended = <&intc 0 311 IRQ_TYPE_EDGE_RISING>, - <&intc 0 432 IRQ_TYPE_LEVEL_HIGH>, + interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>, + <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>, <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>; interrupt-names = "ipa", From patchwork Wed Jan 20 21:26:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 368106 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86325C433DB for ; Thu, 21 Jan 2021 06:41:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4365C2395A for ; Thu, 21 Jan 2021 06:41:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730498AbhATXnu (ORCPT ); Wed, 20 Jan 2021 18:43:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732119AbhATVao (ORCPT ); Wed, 20 Jan 2021 16:30:44 -0500 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3AECC0617A1 for ; Wed, 20 Jan 2021 13:26:18 -0800 (PST) Received: by mail-io1-xd2e.google.com with SMTP id d13so46583471ioy.4 for ; Wed, 20 Jan 2021 13:26:18 -0800 (PST) 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=t+ObhEAIT9fbovEwiN4T77G8335SbFAVW9ujGpSZ6KQ=; b=zOgOxPUJ16Q/PoqXkcMSKkOIxbJOIHxqmGuxI27ohstOnqAstIRb5z1TcX8C/AhEfP +gksQpOvmlWvPZznCZgZHLJ0rtletvG/Jkc6zjcdI2c+nQxqqRB219DRgnXS+GV24cbR uOgtE81FXF+XEr+bzemBWO6EAN7z2kY6q1+CPDHnMYNNuKHdnv7aekDy8vYsTbRZcOl8 uw/Kq3ufTc1nr5WzcgNwo+3Goi3c3qAN5HomyA4l4hvw/Fq3R3NM4w0D7nIkbtcYOLBF FnLw+Tqfv2OWeDK23R1Lz0cNYRMVGtPDBBlnixDesILzfyVjiQdJWXr15sguxL9Yutn8 r0QA== 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=t+ObhEAIT9fbovEwiN4T77G8335SbFAVW9ujGpSZ6KQ=; b=YGfu8WZQ2Xtr+1zDoIaP5fSnr4x7rOwCsVzuJbl8xVz2Oerc4bDlwbR91K2vyamn1/ e6t06IId5cR04GM0Xt5xNNJ7YIav3bgkTrPo14s+RLXaiokF7jAu+RP4aBG6aOoJHiGH eTJ2BR71oxDXCZGzco3Mnf/ww85gRWM5d3A9e7jPN2YqRdvPhPkQ/73HdSlsaU9iCOnY NPPsqEGBE3/kNcYlAfZIl5RTO+VmU0xzINHsg4iCO1EeKfN7qioOTrlxBWd8OCKoU3QJ QjRuNMhm7evJDOD9DmoCz2l/uf/+xUw/NSiJGR+MRV+R+x+Qvbh49VWOgv9BOVVh9jhO Y4Pg== X-Gm-Message-State: AOAM533YgFWUSXNHN5BPF5tuyGpi7Qn6nzLnRTYoAkTohCvT9q8ZJvoo QXMSLkoZujWpMAx3OlKk7/N0tQ== X-Google-Smtp-Source: ABdhPJw20X7I18x+BHjvjcZoUNOBxfrASy8fugAAMyqdbBBgZ0myronq4agBgRekMihQO+B5HwcAaQ== X-Received: by 2002:a02:a997:: with SMTP id q23mr9412883jam.67.1611177976784; Wed, 20 Jan 2021 13:26:16 -0800 (PST) Received: from beast.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id q196sm1335687iod.27.2021.01.20.13.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 13:26:15 -0800 (PST) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org, bjorn.andersson@linaro.org, agross@kernel.org Cc: robh+dt@kernel.org, evgreen@chromium.org, cpratapa@codeaurora.org, subashab@codeaurora.org, rdunlap@infradead.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 net-next 4/4] arm64: dts: qcom: sdm845: kill IPA modem-remoteproc property Date: Wed, 20 Jan 2021 15:26:06 -0600 Message-Id: <20210120212606.12556-5-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210120212606.12556-1-elder@linaro.org> References: <20210120212606.12556-1-elder@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The "modem-remoteproc" property is no longer required for the IPA driver, so get rid of it. Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index bcf888381f144..04b2490eec9f4 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2366,8 +2366,6 @@ qcom,smem-state-names = "ipa-clock-enabled-valid", "ipa-clock-enabled"; - modem-remoteproc = <&mss_pil>; - status = "disabled"; };