From patchwork Tue Jan 12 19:28:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 361247 Delivered-To: patch@linaro.org Received: by 2002:a17:906:fb05:0:0:0:0 with SMTP id lz5csp492010ejb; Tue, 12 Jan 2021 11:30:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKJl4SPJxeCrQd6nKcdlDGSQ3pr+wThU0Anc1Xc7Yg/FZHVymjjDSMjWbRcBC0I0HGGUku X-Received: by 2002:a05:6402:1c04:: with SMTP id ck4mr546420edb.320.1610479843414; Tue, 12 Jan 2021 11:30:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610479843; cv=none; d=google.com; s=arc-20160816; b=p3GW23qdNcEZQcnoRnO9eDdaUgmPPcDxrWeAf04YOVqLvDCQBS4hst+YLMHkOB4Pa2 4FxYtP95+zjGEqzM89pboVnFhjcscbMctmNbTmhNQR1tENS5yKCva2xhYF2cnh+f7k2e M7QNau+7B1hdj7x2Kzd3sDFVG9FNDN2SZzU8K0tFItjvHCvT83VrtSvdDegFdH27JgS7 EVUjU+5mRGQuVFLd7Xwt1doEuPKcy1eKu9jB4A3AiM1ruXiwBIQcHG8l36BJ8H55N3uG dwtxSnzb7v5rLpqruyvBFybv8cS4eTr4z9Ioe+ztPmc6u7qXQnzXJKt3Iq6xdkyzWk3I MLbA== 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=WS2t2dYkOxQeqH2FrrwhMC8cEELSmhw2cThFD9NQP7k/a4q7nRlJ5AHvrTzWsxim+E C4m9BbNeU5rJVuI826Gc1tM3bqZV7LeAvL3ehMSLQ83Ynnr7PittGQAYsuKILGvYIHHY dQ1Qhvn+rv/h34JDs3xzVvx+zPFICf+Ic++uTLhpnKFe7DcbugTmztgaumxMUMl9y6WG PY0xib91jCPbVnY2LbHvOB2Oov64kzA3AZ6uhh1nSKFy3DAq9gH/mTtT2NrIeTu4f/eP xc018/EdvLDPwdDPrquMi5iHhGYRm3C3eO36IzkJEBlzE2dD1UppfC3mfC98QGX/wtm0 Q8OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BHlRAH/f"; 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 m26si1913752edp.592.2021.01.12.11.30.43; Tue, 12 Jan 2021 11:30:43 -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="BHlRAH/f"; 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 S2436607AbhALT3l (ORCPT + 6 others); Tue, 12 Jan 2021 14:29:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436882AbhALT3S (ORCPT ); Tue, 12 Jan 2021 14:29:18 -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 A63BEC06179F for ; Tue, 12 Jan 2021 11:28:37 -0800 (PST) Received: by mail-io1-xd2d.google.com with SMTP id y19so6528127iov.2 for ; Tue, 12 Jan 2021 11:28:37 -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=BHlRAH/fd21fCgfBtnXm4/QcW8KWv4Hq9Mb5J2PTWLlw4GTe7WIltI1m/QvSX3NRjf uxy2m71TuKmd3prmc0+7ZsOampjzv3R6VQe/TSAPabYUag5vAZ9Si5dE/ruPpOzRY6aH YHIy1ylp83pzvy7pAvoOLKwldL3h5I3dwK0YLd1KRbUWRW3BgN6eoOI/jrG1vHP9jbTf 7JtbzkHCYtv3E4723QvdlEONmv3AQ9Yo6cAele4Kocr3a1vD/SbKS2HEZn7gNjxqpTSE amPsHZHp1hI76P18oE7luladlwCWRfJ4wmhKRaho78oeYRNxVeZOE4LKCNm/FAWVcHqt hXNg== 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=d8SqzTTIzIN6hxocVGtdYjKK7ka3GBfH4mbEIF+FitzYmVLLKSGwZmTbC+uFMRc4ex cwcmPDARNRcvUOJJHEjcebn6tOYFc3efoH0waHxtTpiZuoyPopntBqOhw8ykhnhA4+bG UbL0mpSWm6wBRBAlfEvr9At0uFOzyxZY8hsHxJqZRVUTXzUvQCPXrDWCoMnciQ1dndN0 qkTuFaztCbyuniEPjycGywWKo26sh7Q1QtCDL79rj4zAuLfvUEvC5/ykf4MycofHIk70 CY7tB83PxHdoO8VO6icwAOw8yMXfxFruXKZDa2NdsDFOK4GDydzfIidLvl2pbyYkXFtA vkPA== X-Gm-Message-State: AOAM530VNJyfaHSbvQyinQv1KQfZ6tKw7dT2EjxA/+3yWvwFhOGziJsX iWjo9GOqtbqqLktYIIwAbsV98o6gwrtVMg== X-Received: by 2002:a05:6e02:1c05:: with SMTP id l5mr635272ilh.6.1610479717107; Tue, 12 Jan 2021 11:28:37 -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 q5sm3191892ilg.62.2021.01.12.11.28.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 11:28:36 -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 net-next 1/4] net: ipa: remove a remoteproc dependency Date: Tue, 12 Jan 2021 13:28:28 -0600 Message-Id: <20210112192831.686-2-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210112192831.686-1-elder@linaro.org> References: <20210112192831.686-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 Tue Jan 12 19:28:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 361246 Delivered-To: patch@linaro.org Received: by 2002:a17:906:fb05:0:0:0:0 with SMTP id lz5csp491992ejb; Tue, 12 Jan 2021 11:30:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5bIi64c5CfPQxd4SChgPgvhF1IZ36qSwhfYC/Slxy6oTPas/WBJVdoYw+Okb6I05nkXXo X-Received: by 2002:a05:6402:30ac:: with SMTP id df12mr562500edb.175.1610479842041; Tue, 12 Jan 2021 11:30:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610479842; cv=none; d=google.com; s=arc-20160816; b=LTs06cXj5csQJ4k+2d9xsZV8cEQQsuV9CBeVuMOoTtGtI32nUm8DjmRG5s4Nd/6gHC rV80Cbcp60vDhBXArFREyFlKZxICojoeZfUeFH5l/kjabCs8NLEhoROdODNBoMADD0la wNiG66gsoPEU6TLiXiruX56yMlkpUlO72tZpipkJL1Hi4m22t41u52FVI2p8K+ZgpzMf 1ttIo1BsRN8MgyN6so9RQESHP30RsVGrr0GAoOm7wptBJ3Yz7PUxumDhNYSgW6ugIBeG 4EKtw3nHDjStquUP+NobNqgdRXFLtcc0X0QWqoA33PDE4oLTF8RSVKq6tWgTAx0q5z9z dtkA== 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=lDUOxqEMBpU3sxt2xm5/+EtNoZZXuRmex+msJQtfVTk=; b=cykf2ec3AUUHqKJijL/IduBOhxfZ05Hcx9f6TVEemStSoJRTBTOgv2/SwoVFTOp5/z EoMN6FCV8IcEv1UapQTuTrIMk6+cGWnd3ET+irNHaNEGCvMsgFAvLMaeAtyzQ6wLTMwm 58nCscopZghJKRq2mVhwoZulqx8qB8gpFPHtJcSnawk1PyQV0oHDPxAETobV1G03lU9N 7Xz+tf6YY9+2bz61gwJlus3JymCjIwEyoDkj2iCGmeUhzIH4/GuTCghqAQb1z2hvR3IQ /+6Uk/wbJ90Oa8SQt5ZgVNKI/t5tjefW+u1ByqZmf5zV7owlJqF4ty1IPIPy5s6nWAQr zaew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DdOGsJiq; 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 m26si1913752edp.592.2021.01.12.11.30.41; Tue, 12 Jan 2021 11:30:42 -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=DdOGsJiq; 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 S2436624AbhALT3T (ORCPT + 6 others); Tue, 12 Jan 2021 14:29:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436980AbhALT3T (ORCPT ); Tue, 12 Jan 2021 14:29: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 0F0B5C0617A4 for ; Tue, 12 Jan 2021 11:28:39 -0800 (PST) Received: by mail-io1-xd33.google.com with SMTP id o6so6443964iob.10 for ; Tue, 12 Jan 2021 11:28:39 -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=lDUOxqEMBpU3sxt2xm5/+EtNoZZXuRmex+msJQtfVTk=; b=DdOGsJiq/GNjsLUoQrt7cXvifJjuBJZhTDX64eJTpFULeuNr601/wpxaUL7MPYpTXH EXQJcQqTVE0z7DvCCZE3T6lxeZ5wOHKu3mtQIGggW5/uT0TmSjuHl5xZkpyKwVKzQ4kM o0YwL+vHI+gMFsmsXP9h2ScnOGncJdAHyN0S5ilV9GejZb1cNiMYATefvdof/zS9JRC/ ehrky/wkTE+UmC9MZkfag2+/U7YhHHNm6zUmDvPQOxxrvZyjrsv/l1BggOamg6VIBsQ3 94J5IiDcpi+NNXQB+pD8OYkhJmPG9PrtXq022Pi0pNnuRK8g8PMf0kHFbf74l5gujzR2 6a2g== 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=lDUOxqEMBpU3sxt2xm5/+EtNoZZXuRmex+msJQtfVTk=; b=Bw1IOQlX8xSSX05oCu/vR01dfRH8xJ2aUAoHBs1lb1Bvfx+iOqPuc2y9kIs9If9xDY fcy1efPgq8rAtzOTa5zkHI6lAUV2Y+i4QrkC/BvNUMv49TgvCp68avHgBo7/VybfSWNc bzvBKYI/Pgy1x9iKu6U0+8jhfF2GpA/7OBEoG9phW27ycSPJzk9ZXy5EwnBwtDn5r0O7 tnciBX7ZxOwG9f/9l9QM5sjb7VcYaEWAbVl6vtwDz3le5uVeKuHlDsYhNG7Fatw1H6fc ZJi2wpliIcIduS+OvOqFV1loyzb6rNwrXA2FaAE2mX4SYJtsgv+UdtREBpDXBHeg/DIn hxsw== X-Gm-Message-State: AOAM533z75E/4nv0gPC+ZW1DvgPaMcNwjG5UPGIDac//TVjZDnoHVCwC yD6v08+Ld/fkTKY5ni7soVzg2A== X-Received: by 2002:a5d:8405:: with SMTP id i5mr443652ion.164.1610479718456; Tue, 12 Jan 2021 11:28:38 -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 q5sm3191892ilg.62.2021.01.12.11.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 11:28:37 -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 net-next 2/4] dt-bindings: net: remove modem-remoteproc property Date: Tue, 12 Jan 2021 13:28:29 -0600 Message-Id: <20210112192831.686-3-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210112192831.686-1-elder@linaro.org> References: <20210112192831.686-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 --- Documentation/devicetree/bindings/net/qcom,ipa.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml index 8a2d12644675b..a8cff214ee11f 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: @@ -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 Tue Jan 12 19:28:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 362357 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 313C0C4332B for ; Tue, 12 Jan 2021 19:30:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F1E3521534 for ; Tue, 12 Jan 2021 19:30:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437000AbhALT3W (ORCPT ); Tue, 12 Jan 2021 14:29:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406845AbhALT3V (ORCPT ); Tue, 12 Jan 2021 14:29:21 -0500 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DFCEC0617A7 for ; Tue, 12 Jan 2021 11:28:41 -0800 (PST) Received: by mail-io1-xd2f.google.com with SMTP id e22so6497020iom.5 for ; Tue, 12 Jan 2021 11:28:41 -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=x+zr29usZZQIbS2asOmKyiSxbO7mFhmTFZ2dthGh2JMlxCYoFiM3ePy1GTpJmWrAZB PBB+vrKfko/Icku/ULr4vAt5wPH83XNS6kXIFnz5pWlBBeI1DeiXqMw6idzdWTXfAApU dHbAhFV0RGikv9uADhBu7C2CCBaXm3ysriC3MQ/gfxjrJ42C0VWrUJEm5JJWs7YUI0Au AdqH8wMtIQyTqh8O2poHpSO4eiBr2184s5SzvMTs7rx4m8Z9aPPKWpPkYE5+yBwHrkEQ HIXe/nh6E7yjCEMOMtFfcedK7Tfqw1lW2sjh4q0yV5eFH2Y9g7NfTOwFjIWgDe744YNX cjlA== 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=b2Naoj6CE1AHsjO/X8oL2471+rtagHFwPPoSA/nmBYYDzBO6k3a5+cfZp6vE5SFIle 1roAz+OqIdcEfzqjXFyPcZBEQlWLLsNvu3KGbYXySdOYFo4iViEbzJeYkVrh35qs5tA5 54kPoWpH+NdnH6UsVxxmftLWWhkHw0U4jGxviTeE8kihz7gNkAW1cqYv3YeASaJBDoM/ ifTBi8AYV0jAfXyiEv6qDIAha1Bgt7qVWb+SBclPvfUoJZSMWGGd4fonAF9QJ05SpRe1 zwEGXvJ5P1XWpdhdtpkvwg2cjJVFOBwC2cnOZI57zCli99z7pfwEO+LZGjpJ2dlAOcIA 5Lmg== X-Gm-Message-State: AOAM532b55Q8108bTFrvuCxzOsO/v1dKJk3EjUwCZ0sdix/2/ijK2uaO YyLt1t0d32WTOxZC7Ux5Z1FyNA== X-Google-Smtp-Source: ABdhPJyyBSq3daVP41fcs1eGhpefB7YcnOnG8hbumFF8S2m1UNbJk49d27EQXxWb+Foa+W6C0FbctA== X-Received: by 2002:a92:dc4a:: with SMTP id x10mr574601ilq.153.1610479720967; Tue, 12 Jan 2021 11:28:40 -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 q5sm3191892ilg.62.2021.01.12.11.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 11:28:40 -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 net-next 3/4] arm64: dts: qcom: sc7180: kill IPA modem-remoteproc property Date: Tue, 12 Jan 2021 13:28:30 -0600 Message-Id: <20210112192831.686-4-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210112192831.686-1-elder@linaro.org> References: <20210112192831.686-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(-) 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 Tue Jan 12 19:28:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 361342 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, 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 BA7FDC43332 for ; Tue, 12 Jan 2021 19:30:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8F04221534 for ; Tue, 12 Jan 2021 19:30:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436941AbhALT3b (ORCPT ); Tue, 12 Jan 2021 14:29:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436922AbhALT33 (ORCPT ); Tue, 12 Jan 2021 14:29:29 -0500 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20D00C0617B1 for ; Tue, 12 Jan 2021 11:28:43 -0800 (PST) Received: by mail-io1-xd2a.google.com with SMTP id r9so6472086ioo.7 for ; Tue, 12 Jan 2021 11:28:43 -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=YiY4GITUfqV0Ju6NrKP6tTelKbu55g5WcVocCIkh9J97hvylvbHfXfxRbs9t7arvYu 7TBzprW/7l8bGlNR2k93a6Ih63jJpYoW03nCeksVwmbf0NY/uHNR3SS11Y5Vh7pp+YZi ODcxXWbtO7a8H2GieGW2oZASSZyG+EGnWN2iCM72OEd4vpveMzmG4GZ7cinY8wr69Kp/ /KR/CwAqcWKmSfpe7mkM5pAQ6fWYWA1sujYc6g1qNr6bJOn7Jz2PfJ8Ae8dXYqyl47fQ vIxpgmrfmtykQs5pY8858VxFdVtajirNFY4XPADwW/EXEgLRVBH3UbSWSdtCxPfqZ6oR payg== 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=AUhPeigmIFEwM/lvJKhAc6UolwSlaMlD9T5lv5nYczwzsP09p13hJrgmwzWhqi5E1u Y8mdZmEDCrTiTfFiVb1NrFKcBkeC6oOsDCA3XkATmrLpnMdLau9Ks3XkU3gBI/YjdtMd f8tSwxjOun5YXJaC2EGHoA8lqAQi4mX6r35PVvvegnOmjO9UhAki5OEEqx3Q95lpEEr6 Q2iup3/XFpVMMJGlaVQj3CqkKlYwh7lcjwbCZpXBswRNqUKHd+fNdyoxNmSTMmOufloo YebDRiOoabU5/jh/1XhpqwrHoNC00jpt3gRacD1eMn34o6SeznNqzjMbVf1wXORjDQ8m rAAQ== X-Gm-Message-State: AOAM533OGXHyCwBt5a8O8LmiToHnraw5/jVvemaVb5ymnJemY1f4mOZK 3YocEQRaJnOCsaJG+KFiDXrEVQ== X-Google-Smtp-Source: ABdhPJxdpjK4MHK7eEwmiaY8MoJxnbpHnHBq4GeZDh2NLXnoJg4TdUYv0qq8BS5VhvrneSNyKFJQBg== X-Received: by 2002:a92:8e0f:: with SMTP id c15mr590204ild.224.1610479722521; Tue, 12 Jan 2021 11:28:42 -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 q5sm3191892ilg.62.2021.01.12.11.28.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 11:28:42 -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 net-next 4/4] arm64: dts: qcom: sdm845: kill IPA modem-remoteproc property Date: Tue, 12 Jan 2021 13:28:31 -0600 Message-Id: <20210112192831.686-5-elder@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210112192831.686-1-elder@linaro.org> References: <20210112192831.686-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"; };