From patchwork Wed Jan 20 21:26:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 367773 Delivered-To: patch@linaro.org Received: by 2002:a17:906:24d5:0:0:0:0 with SMTP id f21csp53415ejb; Wed, 20 Jan 2021 16:30:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwN2XIuPtaQ2Nhufeb3vMEiOjHPRa5Kyf5SToDEY5BKU8zG4s8HTDj3uQOnKpC3vbhMZ6C3 X-Received: by 2002:a17:906:1c42:: with SMTP id l2mr7769706ejg.390.1611189041415; Wed, 20 Jan 2021 16:30:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611189041; cv=none; d=google.com; s=arc-20160816; b=JtKa6Hk02LE9u6/ik61ZRCSIL33h7q/c6ko125C2Ree8QVbytdYbvnE87K78MXdMI1 i1j73d/D2bani0vB4MSnwre4hqlzDdIDStoN4V44KxSCOqZPV1dUbYET3INdDAaNn/3Y 0bpfY2LH2aVWFYnC6hC1uL5HLDL9NWz+6Y/UrTHmIttisY+eOTioOjjSCi2uogUQh9oO HGF+OepD82FIjnSPiXPTkwW7jcz7IhYYwyt+ug6858IP1xPI2ooFIG6DtNVga0xuJmKh kvDsQLfcMnW+K4B3+TDfLA2cigH3Sd3H7DZfyovOYCOoVWMLOzL6u6iR2w0pqjIMgzYr UdBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xd2GUZj3T4zjFRODOdjWCJrpvC64HI9cvgOt1hRzcXo=; b=pK5WmTD98Cjhz1c8OjeWDnLSEsnnqghRudDf2mEA2wGGysFGqgwvsRPG9oc7sABSgh ft+ThGHd/l1GehLpZKR3HBnhU1ywfyD398bU3qEr7SbRaF6WqRZEzKJg9dT71d1FDJao vn0Ix/SkMIWeji0UIvHgY7fsjcmOorL5DcjvoffBGl/jsq+aPC2z6iKmhC14U5D5KeiU L+VZSyb8TrbsE6dSf94EusJ1pXx63GMK8k+nWbB54Z0+aT4qEDPOq0G824PCcFdFNvXA n53juFjYuQj+uKBb4Z+7hWYAZ2M2dGLG2PxWRnKyXeRUHgfLF/GlSM6TJZh1GtDvsY9C QHKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NcHa2lk+; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si1466780edq.181.2021.01.20.16.30.41; Wed, 20 Jan 2021 16:30:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NcHa2lk+; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727141AbhAUA3i (ORCPT + 15 others); Wed, 20 Jan 2021 19:29:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727915AbhATV1g (ORCPT ); Wed, 20 Jan 2021 16:27:36 -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 B9797C061793 for ; Wed, 20 Jan 2021 13:26:12 -0800 (PST) Received: by mail-io1-xd32.google.com with SMTP id e22so49803029iom.5 for ; Wed, 20 Jan 2021 13:26:12 -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=xd2GUZj3T4zjFRODOdjWCJrpvC64HI9cvgOt1hRzcXo=; b=NcHa2lk+46K6MbdGohVqiHQXnmqpJ8siABBlaLV/rmA57a7Y3j6f77UeYkSpqwdB7R yrzNT3XPcVXuHpyoTumAbklQnFqGPOWAYKDKEHbSzBHFAJjUekNsG0x8lgKROoiuzbF6 g5O7hBMEOGW6gkh8Pzrdd4EeOxK2/AHqOL0n+orJv2I8l1PCNOx4eh0IKi4W89Ga+RXm pZ3jN2ympQfC8zF14KfWE4otV3zrTZkEoVlcTEhg4Vm3O6E0xhmbqS9JIuLKn9llsBXn T69goAPjS26xVfX3oxp5PhrgPOevbiaSwa14TJicIJumolftO5NccU1thxr85ELS0Cpq thPA== 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=xd2GUZj3T4zjFRODOdjWCJrpvC64HI9cvgOt1hRzcXo=; b=jkQBqi4/OqA/5mrIesKZyIjhPsqlHfMD3FYl6yV1mxQ0bUZLv5Yu2JOvhE85Dmdboq 6KegDzpOYVbgUmpcUmNEHkZH2FHy3uDI07Uo3MTEr3Tlklc0s4wrUdUbjOvAwpu8zp9L UZcj8Y2PMIZJuiPpwMBG97Ta7oYNFTfQcm9pHRSuAzOHfeEALMzNXMj/fjmfS7vYTf+O qzfOnqUy0qEzhd57ygw3HtN1Cx8rqHjrHlKDzOWT7KeScibt79vSholqeC5SwBKVtf3X rNJ+PB2Y8TKNwxFzCw/6WTMwliwmceURkyJ/EnT3dyaf0XILnT8CYHHffLgsSiKBARDV BzBw== X-Gm-Message-State: AOAM532yqYhqbANGPwuotDfX+ugoxPABbbP4dA68L/vmXkQTSWR9O9ar Yt4GPBJyGdlZvFTTZnO+KYA/jQ== X-Received: by 2002:a92:40c4:: with SMTP id d65mr9811584ill.197.1611177972089; Wed, 20 Jan 2021 13:26:12 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 13:26:11 -0800 (PST) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: elder@kernel.org, bjorn.andersson@linaro.org, agross@kernel.org, evgreen@chromium.org, cpratapa@codeaurora.org, subashab@codeaurora.org, robh+dt@kernel.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 1/4] net: ipa: remove a remoteproc dependency Date: Wed, 20 Jan 2021 15:26:03 -0600 Message-Id: <20210120212606.12556-2-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: linux-arm-msm@vger.kernel.org The IPA driver currently requires a DT property to be defined whose value is the phandle for the modem subsystem. This was needed to look up a remoteproc structure pointer used when registering for notifications in the original IPA notification mechanism. Remoteproc provides a more generic SSR notifier system, and the IPA driver switched over to it last summer, but this remoteproc phandle dependency was not removed at that time. Get rid of the IPA remoteproc pointer and stop requiring the phandle be specified. This avoids a link error (rproc_put() not defined) for certain configurations. Reported-by: Randy Dunlap Signed-off-by: Alex Elder --- drivers/net/ipa/ipa.h | 2 -- drivers/net/ipa/ipa_main.c | 38 ++------------------------------------ 2 files changed, 2 insertions(+), 38 deletions(-) -- 2.20.1 diff --git a/drivers/net/ipa/ipa.h b/drivers/net/ipa/ipa.h index 6c2371084c55a..c6c6a7f6909c1 100644 --- a/drivers/net/ipa/ipa.h +++ b/drivers/net/ipa/ipa.h @@ -43,7 +43,6 @@ enum ipa_flag { * @flags: Boolean state flags * @version: IPA hardware version * @pdev: Platform device - * @modem_rproc: Remoteproc handle for modem subsystem * @smp2p: SMP2P information * @clock: IPA clocking information * @table_addr: DMA address of filter/route table content @@ -83,7 +82,6 @@ struct ipa { DECLARE_BITMAP(flags, IPA_FLAG_COUNT); enum ipa_version version; struct platform_device *pdev; - struct rproc *modem_rproc; struct notifier_block nb; void *notifier; struct ipa_smp2p *smp2p; diff --git a/drivers/net/ipa/ipa_main.c b/drivers/net/ipa/ipa_main.c index 84bb8ae927252..ab0fd5cb49277 100644 --- a/drivers/net/ipa/ipa_main.c +++ b/drivers/net/ipa/ipa_main.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include @@ -729,19 +728,6 @@ static const struct of_device_id ipa_match[] = { }; MODULE_DEVICE_TABLE(of, ipa_match); -static phandle of_property_read_phandle(const struct device_node *np, - const char *name) -{ - struct property *prop; - int len = 0; - - prop = of_find_property(np, name, &len); - if (!prop || len != sizeof(__be32)) - return 0; - - return be32_to_cpup(prop->value); -} - /* Check things that can be validated at build time. This just * groups these things BUILD_BUG_ON() calls don't clutter the rest * of the code. @@ -807,10 +793,8 @@ static int ipa_probe(struct platform_device *pdev) struct device *dev = &pdev->dev; const struct ipa_data *data; struct ipa_clock *clock; - struct rproc *rproc; bool modem_init; struct ipa *ipa; - phandle ph; int ret; ipa_validate_build(); @@ -829,25 +813,12 @@ static int ipa_probe(struct platform_device *pdev) if (!qcom_scm_is_available()) return -EPROBE_DEFER; - /* We rely on remoteproc to tell us about modem state changes */ - ph = of_property_read_phandle(dev->of_node, "modem-remoteproc"); - if (!ph) { - dev_err(dev, "DT missing \"modem-remoteproc\" property\n"); - return -EINVAL; - } - - rproc = rproc_get_by_phandle(ph); - if (!rproc) - return -EPROBE_DEFER; - /* The clock and interconnects might not be ready when we're * probed, so might return -EPROBE_DEFER. */ clock = ipa_clock_init(dev, data->clock_data); - if (IS_ERR(clock)) { - ret = PTR_ERR(clock); - goto err_rproc_put; - } + if (IS_ERR(clock)) + return PTR_ERR(clock); /* No more EPROBE_DEFER. Allocate and initialize the IPA structure */ ipa = kzalloc(sizeof(*ipa), GFP_KERNEL); @@ -858,7 +829,6 @@ static int ipa_probe(struct platform_device *pdev) ipa->pdev = pdev; dev_set_drvdata(dev, ipa); - ipa->modem_rproc = rproc; ipa->clock = clock; ipa->version = data->version; @@ -935,8 +905,6 @@ static int ipa_probe(struct platform_device *pdev) kfree(ipa); err_clock_exit: ipa_clock_exit(clock); -err_rproc_put: - rproc_put(rproc); return ret; } @@ -944,7 +912,6 @@ static int ipa_probe(struct platform_device *pdev) static int ipa_remove(struct platform_device *pdev) { struct ipa *ipa = dev_get_drvdata(&pdev->dev); - struct rproc *rproc = ipa->modem_rproc; struct ipa_clock *clock = ipa->clock; int ret; @@ -970,7 +937,6 @@ static int ipa_remove(struct platform_device *pdev) ipa_reg_exit(ipa); kfree(ipa); ipa_clock_exit(clock); - rproc_put(rproc); return 0; } 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: 367774 Delivered-To: patch@linaro.org Received: by 2002:a17:906:24d5:0:0:0:0 with SMTP id f21csp53768ejb; Wed, 20 Jan 2021 16:31:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKhUI5XjAwxptpovxCkN9nY/xMErQ2r2xRUfBF4NvO2dEeIo3X0g80PuaEossODUasstut X-Received: by 2002:a17:906:32d9:: with SMTP id k25mr7442260ejk.151.1611189082206; Wed, 20 Jan 2021 16:31:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611189082; cv=none; d=google.com; s=arc-20160816; b=WkH54YDqG4W8M5ZPf3kDOHibmvDxiUtMJpZdtuI7rIXQxAcOJCnHVew3gHWs3f97d0 269hrjhxc+w4fAIxB9VPGAzBnr8GRN4/VCUFgxZ49dV8Qj2xitn9LSwDnuWOQ+5nBOrj YtzE0uPeLfCzz+c8K3rjfmJwAME3nDtgfvPInTEv3pSF6uteyj58Kg4q3tyu1hgcsMdF LE1azJkDMoNq+aXSaaKOMrbbdykuByn8W4R4g9LyQZIUsbz21gM2yPNqko3LUw/fDb5G o5PBJYZbaw6CkSM6ZoRjApRYMMtc6T5EEyBZkhH/wH525hfueI44U/evgvRAVaUOec7x WhPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+9L1TriC52sXrX4Zg+zQJfvyz2NNwykyudIg+FTCWFk=; b=QLQdk4eKf3yONl2JwR+d92RLIBH8790Agd1eKJzyqHMDhpgsCm58t7V2lBaFVDSmfa M4yzY2MxbuNg+v5ArnEPMcy4kNc4yu9FRBrYT+nMhvjutpel+lOwqUcs1kDhlnxXEXNA p6lCaYCVBpJK2xBicOoqf94CYHB5Np0I3BQ1kTHfiuqNlCviMGL1k8fH8buYeflQE45d MMDIr1vjGPR/J9qTpugvBdH+K1DTV0PNPkhCt88J7fSXYU7QIfvG9/QZY+79An8RRxFF VwyA/ZVZkC/1+KwImOhiCsqXG6s3gfNMHgHS3s6ZAXcsJSYkDc6N89BcAH/7pi6h5NLr 0edA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BYqPKJd4; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si1466780edq.181.2021.01.20.16.31.22; Wed, 20 Jan 2021 16:31:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BYqPKJd4; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S2393205AbhAUAaX (ORCPT + 15 others); Wed, 20 Jan 2021 19:30:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731951AbhATVac (ORCPT ); Wed, 20 Jan 2021 16:30:32 -0500 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BCE8C061798 for ; Wed, 20 Jan 2021 13:26:14 -0800 (PST) Received: by mail-io1-xd36.google.com with SMTP id q129so4945503iod.0 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=HDDkEWOWfrhw99h5mYlVO7v6x6yriXsCvm6dOMHn9m6eX+JEW14fRJoZHtCsOgfpr5 LzwaaLtGvuN4HvjWHeZYDSpFhpsIMj7qZxUVPAMe+v9TshmwJeYZb7ZqaW1QwAHtuYbb tcurokLMjreNL1y6njadIAH8XeOK0knDd6ci9Fb3OI6i7U2ScEv/uZ5jijNqYgSoH4H8 IB8l2XnR3SemKHZtlnMuNSXdrSqkFZhzDBMONwfh0qlZLwDk7+7cbsEvyslsPnpbf1QZ +npB2kr/wA5qkJazkelDav5JcCQL/58pkqJIhIUjTojL4vqLD4mvdkpFKgSqyTTR0/ST sSEg== X-Gm-Message-State: AOAM532pP+y/POdDsZ91j0my5axmkLdmgw9PkbLF19MaKilc+JauqgnC T3gO9z75ccndUXtQIDfN6NGsBg== 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: linux-arm-msm@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(-) -- 2.20.1 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:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 367776 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp83830jam; Wed, 20 Jan 2021 16:49:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxg/xi/0nE9oVsUSUOCnnvL7UQWfo5E0vodGXqn+5yiKoLA6Xr/69HZJheHqQ7UOyZ87/pD X-Received: by 2002:a05:6402:17f3:: with SMTP id t19mr9219835edy.93.1611190191317; Wed, 20 Jan 2021 16:49:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611190191; cv=none; d=google.com; s=arc-20160816; b=rdOoeZuPsWGVT0QKbxVtQPLuw1VhhYVtLSv4m4KbASlXU+vaOLENqBGCVedaZzT/xj vis1DDa7NLtjPquu09BWhlKNAGknW9AnfjqiWLJfqgwLe1O9clKLd1Tr7+JMSVskqV73 DhY8G17AKWKGOCEln4FV28YA7jZyhZTMvGBIQ+jL6m9fF57cn+N6xpVeuA+GJMR71z2m TSKTcs88BPeATpDFTJ9ZbjE8n69ZNsvGQY74c2fNgq98hEDSpkwKfnWJbgCOGw/suGWA KhX88BLFvlmwHSgWdYUm51/y2DQ9uxlFzL6PCth82D3Pcg0WTIGJnoVrZbRqlQn6Dzcj kn6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZgcJCeO5IRSICza2r6GEj0/QJ8rNtZfDDcOXMnAT21Y=; b=ji0nMCBoG0g6/DTUwb4RlN8MT+GOR4Sil9CLH0HzR9+SFK7IVZvE8MC0tXTm42TrVN aCAt51Xvg3CUNYW3ro4nMwqxJsRcbi8Q/843zcrnTPuJUMwXkq3DXnFGJFb62WnTbzdT 5/Dcx9vLuNS7PLZ4v7jil70RU+EJCbHwCYzt2Ve2sxXvbCbUfTCwaaqRRmzd9XBlEv+3 fq872n+NrGViqwgD7xDsxtRW7n9TgsO4l1qD6ZrAU6IxyD8i+cOmtx5y72ijs4YYHI6z Z/O9RgUd3QJi/hAlJV1Ralctbl4rlXrRa8jxvMB6LSBPJ1Hfkv9uDwSeu6nQjqjySdEs XaRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=laOq+sY8; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si1466780edq.181.2021.01.20.16.49.51; Wed, 20 Jan 2021 16:49:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=laOq+sY8; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S2393194AbhAUAaQ (ORCPT + 15 others); Wed, 20 Jan 2021 19:30:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731822AbhATVaT (ORCPT ); Wed, 20 Jan 2021 16:30:19 -0500 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BB33C06179A for ; Wed, 20 Jan 2021 13:26:16 -0800 (PST) Received: by mail-io1-xd33.google.com with SMTP id u17so49902877iow.1 for ; Wed, 20 Jan 2021 13:26:16 -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=ZgcJCeO5IRSICza2r6GEj0/QJ8rNtZfDDcOXMnAT21Y=; b=laOq+sY8LdhQ82MV1OE2k34/xvmxGGN8PYlZcP/QlnQd36aPaJL0QwY6yrkwtxZsCG AxO8a7SKnSFX6L3IDCUyZSeU29af28mcRdXZeBaDanpsvywcLg6uhJuFs1SCEmm7pDq/ PmlZuq+fvsBCSSMfV0Lqzk+P6TDZrGHWm6/rHAVtxwicLhPHz1ts5+Ln3upe9F/eTJoR l8xNILxBwBTJYQH7gLYUCNlu4ENvip5fBJGVt34ijeCSf7IhrSynpli/uhfWVZ3FrqVE 7wMylBzj2Yg3sliX8JK0g3RSsBklNNot5FgTptKsiKbcZWWmp09TgTYsohXaHQgUJj6V LvYg== 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=ZgcJCeO5IRSICza2r6GEj0/QJ8rNtZfDDcOXMnAT21Y=; b=Mbq50IPBylg/wIrOkcZbnDjIHVsEOHyEw+yZD6REk7jRoBOkKzmMQ/U0hReSONZWQA 3UZ1HYdMnP8RmZXdZ3hFXpxxhzaUS52sFseMDSmoS5uNTCuZF5h8bGR0DR+m8aZJXlW4 mrWLuCRuNogfArh8DxtjuIqfG8CCkppaM2AsBHpECiJr/Pk7BYVgT3eUmGL1T+9yXizH 5Kk+o6aoUH4JHanTQ5fBvG1GfoQAfMrfBtZ3oeMnyi/nV23uDEpIEoHcll/gxsesGnU0 OYxYCXiBBWxbw9RqkE1S4ZzvzSAL+WOhJ5lolV8sZRS1Z+VNMALmOKs1NWzBrtE8ON8j 44CQ== X-Gm-Message-State: AOAM533G/AoONJ6nwJ6kquklDGl2ZFIYfJYkq/HtGHse7QjcN5jIkiQG 0kOr7VwK7ZkZxN+IPcTNDcthzg== X-Received: by 2002:a92:5e11:: with SMTP id s17mr9482916ilb.23.1611177975159; Wed, 20 Jan 2021 13:26:15 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 13:26:14 -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 3/4] arm64: dts: qcom: sc7180: kill IPA modem-remoteproc property Date: Wed, 20 Jan 2021 15:26:05 -0600 Message-Id: <20210120212606.12556-4-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: linux-arm-msm@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/sc7180.dtsi | 2 -- 1 file changed, 2 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 22b832fc62e3d..003309f0d3e18 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1434,8 +1434,6 @@ qcom,smem-state-names = "ipa-clock-enabled-valid", "ipa-clock-enabled"; - modem-remoteproc = <&remoteproc_mpss>; - status = "disabled"; }; 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: 367775 Delivered-To: patch@linaro.org Received: by 2002:a17:906:24d5:0:0:0:0 with SMTP id f21csp53775ejb; Wed, 20 Jan 2021 16:31:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOhZ+jAV5g4hwqs3AETFj4S95I9129UrRwF9WCKJI0+ZgDrL860oSdVRZtwV7bLelBWbwc X-Received: by 2002:a17:906:99c5:: with SMTP id s5mr7620668ejn.236.1611189083204; Wed, 20 Jan 2021 16:31:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611189083; cv=none; d=google.com; s=arc-20160816; b=Gkp6okJNvHbatgYj9tT1QJSBEEkAI3Qvt6mN+B42SM28VmLbHbC4L8Lqenprmyocxi jg2TCvQYEhpEyVeXx3iXh2hD0zty99Yx3xvKstcUZPlFaBQqlKoF9pCQfrmhc579NKX5 tbqblEm+9tBYQ+KyAH5rrxtWk9tOWR2+N6z/M/5PzaUXzSa+VkrqxR1QSMfYeYpJyw/g 3lB9zAEoFrA/BNalVN+rrA22ogL0bfAFmnbwO0uDkW14qWDJOPe/GPvfo9/d2RTXK+6P b21YRCkS3/AJz0XUvXN21wX8tOEfTmeSGdiUfuwyMOSnUtSoC6ogc3yAZPOAGxlz+wr0 hcTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=t+ObhEAIT9fbovEwiN4T77G8335SbFAVW9ujGpSZ6KQ=; b=U5qV6EZu5EX4g31MIwV1wpt5eLDz2G4B+j/gKrFfY56aWkUmBW96pyo4CblUZ0cl9+ Ixzf9E3PDEzT4f/Ff0K00Uml2z3NTFm/VGkK9PtPY8CbnAf9fvywql3i/OUEBidwsoLv 8BSdJJDgsDE1JXr7v6lEbh5xAcD9udImCKuXTpTlhuIMhE+zGo5OswEQw/q8w1BsW14O S1JcX7d7cMtPgp15Z/NHwZ8CT/AzKgQmHUX6wz9AqsigoFZ12v/p81w7YYhpdFoxzWxr E87ycsd97I6rlbCSpQtHeWXXc7el9uoZKAj8q2ktJ+2czlGQPSjfNZSJVPdD8HagVDwR Nqlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zOgOxPUJ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si1466780edq.181.2021.01.20.16.31.22; Wed, 20 Jan 2021 16:31:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zOgOxPUJ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1731822AbhAUAai (ORCPT + 15 others); Wed, 20 Jan 2021 19:30:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732066AbhATVao (ORCPT ); Wed, 20 Jan 2021 16:30:44 -0500 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0807C06179F for ; Wed, 20 Jan 2021 13:26:18 -0800 (PST) Received: by mail-io1-xd35.google.com with SMTP id x21so31642412iog.10 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=WVuH7QURVdTvK3M7Zxsomct9Le/MIp7bxJ9U1uR7QvKdw8n1y2sS0F5fBZ/CnwVCks jty+eBQvIZEAwviZfHoBTm+2hEsS1DBFM+a4I1BEYxb1qTGI38w6Zl4eVMbgHR6aVs06 UcH+HWX41ARdEcv6abatLLPc+unaKQGWngBVE5jlDb/FkIMuK23NS6+ANS+jlHanvy+s wiQBz34p3n3/Z8Ukj5gyTlC7pNjvogEDVw1Wdb4wMtWMkFNPXNC3q2joTznKp9jYFcNs AhWuB3hpgJIuISFMauOUBLqPCvkQ9IUb3lnLdUt8BALoVHpvkxAQYiFIi5rTQ9q9C3Lk 2wSQ== X-Gm-Message-State: AOAM530dCO7gt9JWFe/W0faqgrWQ0VWk61cNVLbApzEL8lX1vsxrmcx8 cmzSuVLznh6b3TSzSWdOkb4ZJA== 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: linux-arm-msm@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(-) -- 2.20.1 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"; };