From patchwork Fri Jan 15 12:28:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 363571 Delivered-To: patch@linaro.org Received: by 2002:a17:906:fb05:0:0:0:0 with SMTP id lz5csp467045ejb; Fri, 15 Jan 2021 04:30:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJy3GY5BGcP3kfbu1oHHwsBgIBuE0esvbRf9gFlQpPmNWB+BQT1AVbzQ48/5dlkWpwCq8gos X-Received: by 2002:a17:906:578e:: with SMTP id k14mr8782095ejq.90.1610713810874; Fri, 15 Jan 2021 04:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610713810; cv=none; d=google.com; s=arc-20160816; b=jsXiPDo9x87iCjqcgTxuhf5dVX0Z5RyIXT8dXXhwZDYXgx/2gAYP8PMt4waZCaM8n2 5HRXBl9wMg4cgeKw7hdkogCAAVIUkSUr5PZyEg2zPVBcTvn+gVOrOR1bZQ8Vp2L/Xv1j OIRFm34jWUIJF++Jya51wbw6fBbSjzsyNAQektnGNz+++Vd17uNEOQfPUVYWYuqreqhm 5i2bSZsSM5ehF3gLg4+hTj/MRVKHHJ/d/kaPnl1JLJZBIOUnqjUzhso+2m5myExQSgRE 1fZ3XqOqecG2OUCR0uULyMK8DLw93WoRr4SieIno/UgZtDIq5fSX1Frkq6GJ7jrEvq4K /2UQ== 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=jwWDVbn6E+W4cppTUQVOsz/FlYXh0zmRkUkc7xXhirw=; b=miGSJ3nWVNiHAUMuXlAk2lKO6eEPyT4NbQeu0Y3VTd5fF0O57U8QYDiGxt4dBc3bgD bKdeSd86iCYiAgxDJNuOWIfOL05xF1DrZcn6to/975FQVKm3cQnlO9mU9bnk9/ivnTKE FOKf957epTszao+Oct6TOVRw8plFWFwhrvorDYc4SqzR6mUPdjMAY9uLCzTdKovDE1IK OsRVo0161cNChPcP9HajZTFOndyDMvla2K1MxtXpLo138jbwHwC1W4jFfMq3FLrvJEaG i2ittaZCfYBeVyuJ9CKKFc1VwkNRaZxA8BiCvfKjrushFoZSnvUnfpTvSeF58zrD/XhY poyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uUa50cxx; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 t14si3984345edw.119.2021.01.15.04.30.10; Fri, 15 Jan 2021 04:30:10 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=uUa50cxx; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1729310AbhAOM3n (ORCPT + 6 others); Fri, 15 Jan 2021 07:29:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728439AbhAOM3m (ORCPT ); Fri, 15 Jan 2021 07:29:42 -0500 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE9A9C061795 for ; Fri, 15 Jan 2021 04:29:01 -0800 (PST) Received: by mail-io1-xd31.google.com with SMTP id q1so17702293ion.8 for ; Fri, 15 Jan 2021 04:29:01 -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=jwWDVbn6E+W4cppTUQVOsz/FlYXh0zmRkUkc7xXhirw=; b=uUa50cxxdkAT4+YajHkWcJZs4ZB09eqs7lIWjWlrYCSUWZltlvFwsgiDafDMYTlAEZ 5SifFOqkEOUWvOEKbjhjpMoAkaKio6lC0br+owkdI4eVIZHGIrhWZBPTVdBWxU4Kz846 f99caiqQorZL7I2QmHeLDLZ6n5iisdcb+7iVlaOpjcNkUto4zb4cOV1OlPnCEZKnBKzV c8zu2/kD3K9KAdFChp3x87oPLe25Uxu3fM2TKMJxaZqEeWWZXuvrcY3xstvERo+EEIbi JVtHXguistiKTcyAHxM5VTx93ucDYU+2sDAHz4KSexIPcjLTOizmluymRd362ZKFUwm9 sGQA== 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=jwWDVbn6E+W4cppTUQVOsz/FlYXh0zmRkUkc7xXhirw=; b=Qzl3s++nr40+vOW6YZPnqCidG5b9hGyRdnfY2oT7AS+W2d62ctOTXFPybCNnBDLOEC r0BgwteH6o1D8zwM6Ptf7OaNhRxEWmOUpquArHTEwS7zz/CttgFBalIQqcncpJVODMDc YCq8uEk6ddqKJiXG0rj/2HbYgri0fXabcUbP7b3gRnO+4SlLIfc6wJt33oKOKNVMo+VW taKjbMg6QyNJQ5mkvV1k/MRD1J43zYpVgSvscpoG0vXn3HOPSF975QIGkj/8gc7Vcd2O U2y1sPnf9p3p9ZYWwKtdR9ayNPzgORKdDg+QCSs5819Fc24N2sOQp/7YfPWDllSRnLwn z6zQ== X-Gm-Message-State: AOAM531QawxaWlZ8vEh9Z49A00FflscHWYfkwn5803pbW/AOp4jox1nh ezAXPipivwj7mBUlaFcL1dF2sw== X-Received: by 2002:a05:6638:14d5:: with SMTP id l21mr10076836jak.54.1610713741247; Fri, 15 Jan 2021 04:29:01 -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 a9sm3828509ion.53.2021.01.15.04.29.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 04:29:00 -0800 (PST) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: evgreen@chromium.org, bjorn.andersson@linaro.org, cpratapa@codeaurora.org, subashab@codeaurora.org, robh+dt@kernel.org, rdunlap@infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 net-next 1/4] net: ipa: remove a remoteproc dependency Date: Fri, 15 Jan 2021 06:28:52 -0600 Message-Id: <20210115122855.19928-2-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210115122855.19928-1-elder@linaro.org> References: <20210115122855.19928-1-elder@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 Fixes: 30eb3fbee3da7 ("net: ipa: new notification infrastructure") 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 Fri Jan 15 12:28:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 363573 Delivered-To: patch@linaro.org Received: by 2002:a17:906:fb05:0:0:0:0 with SMTP id lz5csp468328ejb; Fri, 15 Jan 2021 04:31:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKdKC/lNYOF9OjDeX3653S4wHPMktKutMvU2VFHM9BQzKhvoMy6MY4IRkzyY894I6CvkrA X-Received: by 2002:a17:906:7d88:: with SMTP id v8mr4374763ejo.416.1610713912141; Fri, 15 Jan 2021 04:31:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610713912; cv=none; d=google.com; s=arc-20160816; b=JM3kg7VYl9fNNdmi+dbkMYGtgLzdzeV+4lazxryq8bNxdkgF3BDzWEZYUBLGhwxTsC kxPPw84V4KUgxll54auWc6O/T49CB+x+Q+fw0YgzHNtGuK+Qmjox6LBJIqYzG6WoZpRV 4OIskOTMtnzEWtnXu+SZw74G7y2aEG46lRuiOwE/uRbl9TpVH9utR760vShSYecfA3LB aWK3JTQYDeDqnnhUL2JSaUbPCxENH+JUdcOwg+XLqj17HuNFpUJ/WkasCnDeEnXh8lU2 3luJjxdCx4QYXfWi/+1veCaDZ4OLWz6JbvXGp8iIIE6kSN01ADK+Rqi3PIerK2HAQM8Y Cdgw== 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=TlMXZe9vbR6LJlfX0Afcu1jiqjYyCt8OtEseGfcdfxI=; b=tebUsnUiZ9S3J7UrmL2L5KN75MC3cLGAH9gw1rLkdK2GYtzx4bxdBn9qVRxfVUUlli HfvqNfc1/6YAVZT3t6A+FjsHiOfO+qFtuIm5ZlLrsBHcrAN7RrJWSwBv5H02PZGIjbc/ ZYaLWrV7W0RfCa6XJAEXMRCznYQOhnz750tXFGX7bfsbSUvf/jm4beonv9ie9beTRt87 cbxInaMTedc1+ILG9GrXK0QVWPadoNiOZie6SscSjGRdNRFSWG9hYEYjI96UK0FabjKT gG6uLhUqPQ7KPmu/hy4gi4ZNAigHTBzBfjuCRbiN76L14ls6lQYQUcbC/z3O7QLq/ikz lFcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JRSFpz/o"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 l8si3616151ejp.707.2021.01.15.04.31.51; Fri, 15 Jan 2021 04:31:52 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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="JRSFpz/o"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1728879AbhAOMaV (ORCPT + 6 others); Fri, 15 Jan 2021 07:30:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732001AbhAOMaV (ORCPT ); Fri, 15 Jan 2021 07:30:21 -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 E6BD3C06179B for ; Fri, 15 Jan 2021 04:29:02 -0800 (PST) Received: by mail-io1-xd36.google.com with SMTP id q1so17702428ion.8 for ; Fri, 15 Jan 2021 04:29:02 -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=TlMXZe9vbR6LJlfX0Afcu1jiqjYyCt8OtEseGfcdfxI=; b=JRSFpz/o2h699by61WGjBL6YeNPRKRI8m5GuG7GlTRrJrIYzpTEzbmALPn+fggHkWM urLsoIAKcdLa0eK498YbNvM/1Oa4vpb3kgJuSWcEvd0r/JHarQbFHs2uVguZRCt7JuVr Lnu/yHHc9udxtFmBXCXZO++HsWlv4zvy1D42TlsR+TIoDMwO8fX85OFU2/kFtRQXOGPB jyPVoydNZ5MYKRgf+Eu1iVVIcha/NHsxxEPkKrHDXHSzQwL0+QIGZ40hneqK5Mdj+i19 wrJ4OrMTd1p++5NPJ62PjYriuxkrtGINcIpRTXYUyj2OG5blziYq1cCRJmqg9Ze8aols 9JHw== 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=TlMXZe9vbR6LJlfX0Afcu1jiqjYyCt8OtEseGfcdfxI=; b=djwVAnbV4EnjpE8jj7fdWzJa32BGHmYnWeqoYHei86c8WJWBlLEbiLWqnBUCyqKNhD Z/kYXduUrkQEgqfxKKD3uVPT8T2MhZZMNqMFJCAzLXE9lWEkoQ/IjbGotVWyGOX0IP9B x5E7LgjvbOUMN3X6ETTSzaNToR2IpDpCqi2+4BQ0fwKm6iw5slt6TdYHz9OovJYF0Hv1 ay5VjCuMuURFMy84Qkf6gIwRJ2BKt9o4YdAHLNaFellJQbst7bZdwEnhAGk3elaa3Fma k16FIuMPAHapD6XyOn68ePJncuei2bA4U2OXP82REAP5usSLKxnc4ULdayVFe5cskhK8 1QCw== X-Gm-Message-State: AOAM531nFmyy40eSKSU+UJ+v8N42f3IHZfNGl1SaKMMH8dCHBOtfu9Ct O9aNVlVANEC7tf9haWLfEsDlew== X-Received: by 2002:a92:d484:: with SMTP id p4mr6738423ilg.63.1610713742338; Fri, 15 Jan 2021 04:29:02 -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 a9sm3828509ion.53.2021.01.15.04.29.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 04:29:01 -0800 (PST) From: Alex Elder To: robh+dt@kernel.org, davem@davemloft.net, kuba@kernel.org Cc: evgreen@chromium.org, bjorn.andersson@linaro.org, cpratapa@codeaurora.org, subashab@codeaurora.org, rdunlap@infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 net-next 2/4] dt-bindings: net: remove modem-remoteproc property Date: Fri, 15 Jan 2021 06:28:53 -0600 Message-Id: <20210115122855.19928-3-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210115122855.19928-1-elder@linaro.org> References: <20210115122855.19928-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 --- v2: Now include <.../arm-gic.h> instead of <.../irq.h> in example. .../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 Fri Jan 15 12:28:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 363572 Delivered-To: patch@linaro.org Received: by 2002:a17:906:fb05:0:0:0:0 with SMTP id lz5csp468332ejb; Fri, 15 Jan 2021 04:31:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0/8Ry9p9pgXdE4frHZ5qa/rFHNQ/m/4nrrjmyOzJyMa+J0XnI6IKLcxGjlfD7UoAM9W8/ X-Received: by 2002:a17:906:a48:: with SMTP id x8mr8538411ejf.444.1610713912557; Fri, 15 Jan 2021 04:31:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610713912; cv=none; d=google.com; s=arc-20160816; b=AHK7mj9I7hE38bCn202b5vUHTJIwxnCzvMLdDGr/TG7KqnJTj4dE4NUENKPWtcueHb +g4J5Iu/TePs2c/sPpovZJvoNUddINafhMLxNAkxZNY8NIyfUJrA7Q2ba/RL8eZCcXXs /7asZSA/31O80m063TvXd88u+aNAKPnegtkF9kIzMnc4k1aUWlF7b8Vts294U6zbDhD8 UxA3RT+l+UgKzcTTXUdIjdIo2QGLM+/6qaAjFMPpob9GqcLWwABkDpsoxVGKP9hujlSD Z2J7ztF+Qi4/EIoQBO3Pz1CWCJ3dw6+HmjDDTZtxOlkgs2DvDQsZrpmWQPNB02BHmsLg 9gkQ== 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=PG/nL1bCVMevof6qVEG25D/fAi92aRkek10y/frWMkQTuulSd2og1HKOSmkeyYkSHm h7bnTov0XL0O6IpQ9xFE5Vm2kRKIPsXvsXY10haYiu01fGaXdvP8r5kxikL0HUjiApMi YtHUpg/k1kuJW2EbcdBTWlxZF9WZdkOPfODzYciwvtlip/mn/jZTBjaBkhrjmMlhglB0 hS7uUBLxkVry/7Nm9Rm/2BMs9pdvqD9gl6qTWblgiPEpZp5pzoIk8jtRNhyB07HhYzMT bWy1YTSBWVgm6WukP3Py0gAUeOR3FJo5IeOZC5xF1QEfHFqow1AtyPpngkFG6/AAhCsL E7FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KlBHmLnq; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 l8si3616151ejp.707.2021.01.15.04.31.52; Fri, 15 Jan 2021 04:31:52 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=KlBHmLnq; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1732023AbhAOMaW (ORCPT + 6 others); Fri, 15 Jan 2021 07:30:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732004AbhAOMaV (ORCPT ); Fri, 15 Jan 2021 07:30:21 -0500 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ACBAC06179E for ; Fri, 15 Jan 2021 04:29:04 -0800 (PST) Received: by mail-io1-xd2d.google.com with SMTP id d81so2588328iof.3 for ; Fri, 15 Jan 2021 04:29:04 -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=KlBHmLnqBTnK5J4DO27zadgPE02VDPajn5Xg/cG0Avp0kSMoBuas/f4gBKy6oYikjv eHMZ+mouCClKU0+QunG7Zrjbi/sGQ1MjvHhG2GHCJWNkRVYW/GTjc3FRXlCXRKAl5AlD MrGSX9n0S4lZFaCeasXFtcC/Vr+efZCJqGH9hSQKtv7gB2MwsF9ZsfeUF7k6tYce9ttE sROYyXbJf8wI7YD628/UzChvd6ivXvTPFcDM5BiPpBMg2FFg/vVqGsxfhsgYBBXicnw5 aJnjob7RO7vZLcSrSO9IPRkzuyAP5GVEIrcPPDLQKEBr1BTzE3w/1Ei51hzx0eoGlT6s 5F0A== 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=OrUH1dpedfWw0uJC8McwdZ5IZpVtlXa2aITHJhnubF8mI6wUXS2wfaj9lsu8MMwtKp pQuKULf12820py6yztPH+ov9B9h9L61tb5i5j6S4akBNQw+HRodU2KeZKEnQSWe6l8NW AfpTxBwcwsTmS7rjTMCiWGw/lcZvVoLaG622XfdOn0sB6UZZmrCLXVTHEn3URkFDCLJG e1e0FSx/FZRwYdkkkNuOOI21t8+Wsa4cnETX8QB+MXxM6GUdYrK66qfw1Y9KZwp4K0vh fL8AYidHjFD7dFZXN7dlftxv7JUnwSO9/4NPvtRwW5+L3rwrdHgsY+AYBsmtJGnr0f1K X6kA== X-Gm-Message-State: AOAM530QUmtXG+wt6lvYx4UdjItQmfRZ6mwPxHbNXE74WAZHkAAodHuF 5U1+iPdvdmxaYYFAPvex89tR/g== X-Received: by 2002:a5d:9418:: with SMTP id v24mr8176550ion.61.1610713743450; Fri, 15 Jan 2021 04:29:03 -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 a9sm3828509ion.53.2021.01.15.04.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 04:29:02 -0800 (PST) From: Alex Elder To: robh+dt@kernel.org, davem@davemloft.net, kuba@kernel.org Cc: evgreen@chromium.org, bjorn.andersson@linaro.org, cpratapa@codeaurora.org, subashab@codeaurora.org, rdunlap@infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 net-next 3/4] arm64: dts: qcom: sc7180: kill IPA modem-remoteproc property Date: Fri, 15 Jan 2021 06:28:54 -0600 Message-Id: <20210115122855.19928-4-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210115122855.19928-1-elder@linaro.org> References: <20210115122855.19928-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/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 Fri Jan 15 12:28:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 364000 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 EF424C43603 for ; Fri, 15 Jan 2021 12:30:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D2ADD238E7 for ; Fri, 15 Jan 2021 12:30:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732046AbhAOMaX (ORCPT ); Fri, 15 Jan 2021 07:30:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732011AbhAOMaV (ORCPT ); Fri, 15 Jan 2021 07:30:21 -0500 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34B9DC0617A0 for ; Fri, 15 Jan 2021 04:29:05 -0800 (PST) Received: by mail-io1-xd31.google.com with SMTP id d9so17731246iob.6 for ; Fri, 15 Jan 2021 04:29:05 -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=j6zz31UDqKS8+mz/uvFOZxGx09lqzxksGJlSucJEC306pIAr/tS++aEARxTyTaH+Hd XUuUs0eJMu9h+6nbhO3R3g7q8WXN6e9/LR/5RoOQc+IdiFEtT1tTAUlpnxrwo4z6kQ42 M/j0WVGT//n0hPipDvnW9ADeABfPakasVTbrTtTroRkxku/HjEnk8cIBJ8BHicMgAYHF lW4soIHt3COX5JOAO+cKhe3KwPtpCdSbMF+06RITNiOGbHuseTyRc89ZYVaPTIfaCDjZ QzyhByhQrQB1NphzUS2MIUfJsy67NAAqja7dEBKS0NQRhiHWFgV8UOKKffnA5Fm0jZbD Nv9w== 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=ApTZee1JhHHCrN1fP2L5Y/LG8kApFL5mzmQclQ/Vs8fwl94xJxT/ZfoubffaoQN/qg T/ai/phEDbVZxtwOd0sjg84OJhSlTV5CpO1ZI6liTkjHOHqkEeSBuGlSwsCe3hE0HhE3 67ovijvcjEHl/WpqbgHpcFZHQtqQC5NKwgBRNqFIr2mgVwtzDEJsuc6dNoqEjz8QowGC XVHy7clE7tqpWVcgQHUUZi1Ye+Dlupc2zbaWzjooCzICg8L/wfBKlhEBLnS6ScHnPhVn RhqHcC9iqlLL52Ufqb2th8Gc7W5rDBT26Hhjkjs3JzX1/FL45Dl0ySDPnTgpRoRauAe8 JevQ== X-Gm-Message-State: AOAM5311izEpk25/ZGhB26zoSgLtjMWDbQI00BrST0gFMCNrR4f2EVyf /RZK0sX9OMqVfacvMYGt1Lt4FTExKexCmA== X-Google-Smtp-Source: ABdhPJz4k+H5EbE4BC6jKWyuKS4/qK9DyW17Y1VbtDQjIjztsxWWY3DD8dcCwWM8nxwAyr+batzR3w== X-Received: by 2002:a6b:6f17:: with SMTP id k23mr8495949ioc.147.1610713744655; Fri, 15 Jan 2021 04:29:04 -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 a9sm3828509ion.53.2021.01.15.04.29.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 04:29:04 -0800 (PST) From: Alex Elder To: robh+dt@kernel.org, davem@davemloft.net, kuba@kernel.org Cc: evgreen@chromium.org, bjorn.andersson@linaro.org, cpratapa@codeaurora.org, subashab@codeaurora.org, rdunlap@infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 net-next 4/4] arm64: dts: qcom: sdm845: kill IPA modem-remoteproc property Date: Fri, 15 Jan 2021 06:28:55 -0600 Message-Id: <20210115122855.19928-5-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210115122855.19928-1-elder@linaro.org> References: <20210115122855.19928-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"; };