From patchwork Thu Dec 8 21:15:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 2793 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp428650wrr; Thu, 8 Dec 2022 13:22:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf6dBm3qYewiO5Y+objf5KsDgsz9QQpUxfPDB5rgY+X3SIQlgqMbcyvWp9RBqWLiwtvkpYCb X-Received: by 2002:a17:906:658:b0:7ae:df97:9ff4 with SMTP id t24-20020a170906065800b007aedf979ff4mr31038784ejb.762.1670534566507; Thu, 08 Dec 2022 13:22:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670534566; cv=none; d=google.com; s=arc-20160816; b=VUmWeEOf8MLjlSu03phfY54N0W8hW9kMISublok4Ay0nbEaC0+Vy/IceuuIuyd5CqB KRsReuh3aMmodL8DHL8cgkkSPvKFT80InvbCVtQExIXsS/uq/jRWUs/unfjmICk+qN11 sruW26Ya6YQhP5UcJVViSnBJ2q7DgjvsUO7/E6mPpeg+AlclMAcv1UHoYcMRpptQhtic GGc6psnOobVWlf7XAoiqlFleUAtksaU9Zd0ZT3xnPvVqUfcV/qfkl/FDJ1/JESXop4WZ Iqy8HTL2dFWSGlgPIkMuYg0LnnGRBZgl4GI9ivowjeQQmhJGETIYzRSxffDHqfiYDXMz 7BvA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=vo2LhIprix4nPFm79ZLoEPHJE8Gv//Kv1Whgajliur4=; b=PQhIqYEta9XTZEmVL44azbwFGO/5nq4UKK6sQVwKieCeoeq9JAnaIwN5XRSct58F5N 3mY4w05mcdILmASWObOMbRq3e7t2Ya+X2grq1a4vm7CXH2ef4+Y3gUbio2tJ6AH4vAZi x13cbqaXsTasS6Y0Ti7dtFOL0X1h+0MCZd1XDY6vSE0Qhz6mQQrmwOvdD8Ih0GEAt+xp Yu+mfCmO208CqZAr7lAqTk6ikNLkybliofNYGmjnvzexuHFS1/283v/18RruZczx/JYL ag0Buq2ax8oAwt9aF9bAD/1xCeHfAxq1n+rmvmPOfpJZWVktY+2boaRXPoIySTovLJUv MvFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="b/XQkPvE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ss2-20020a170907c00200b007ad9adaf33dsi16136007ejc.372.2022.12.08.13.22.20; Thu, 08 Dec 2022 13:22:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="b/XQkPvE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229888AbiLHVPm (ORCPT + 99 others); Thu, 8 Dec 2022 16:15:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbiLHVPh (ORCPT ); Thu, 8 Dec 2022 16:15:37 -0500 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0865299535 for ; Thu, 8 Dec 2022 13:15:34 -0800 (PST) Received: by mail-il1-x12f.google.com with SMTP id z18so1751624ils.3 for ; Thu, 08 Dec 2022 13:15:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vo2LhIprix4nPFm79ZLoEPHJE8Gv//Kv1Whgajliur4=; b=b/XQkPvENTzTKnE5/SKF2lu+ZJ1+EzwW1IMkxcKiND23ZnFh83vvA/7QLeTzAybTKt 4Jfn5m2ltBh/RHLbXOKfRwg2RhPH2dAqzGIxfcolDrgXEoPN7748a5lMLb+NRLvl7XOI pAMiunTX1qlDhEEecj9h/RqWOySd+bmJTzkhdEqT25h+jVROcx9RXgWIlHTYVqUCuIyT 1YCGVuO+Kd5HDYPLHGKzBxk+LE4NpTCwin7TcvkYdxdfEF5fUbs39Hj6K1ZfP65RGaQ8 Bx+QwPzrScqFGf+tiTShjDfoiYK8gyb95okqqENosGqBAYX7jAFDuq5/qfd5O/orIEGw 5JHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vo2LhIprix4nPFm79ZLoEPHJE8Gv//Kv1Whgajliur4=; b=4DvjbgO64efwn027JKl9i95YZlj2bFU/VniP/tg0Ox4yrat/v6ZDDlYj0EcVZBrsc6 6AhNGSNMP0L+jF/r1SnDgxSu4BwEIod5pBT1O1wV51+KJUmFJ59bgxQp+XpeQWZQOE2K jyKLfYeVs4NWHZMKNdOiiBR7MoC/Pv+7Z0zGz0hfUcNuAyINQC80RIPVVZgMaXgOLekz qzPnDjt/pVnJYE5OrPs/nlnuTPTqgBvm8NdXry82kkqMVVVGBvnoyxpX7KwqxKOvxSst kzEMEcbSnreKkcNa4+nEK5GZ+6u/CzsXfE2WrpuvWTI9Mc/i7EY6RlzqBP4Ee7muGnXO 4zHQ== X-Gm-Message-State: ANoB5pkeYhKf9A2n77MClQEcRgidk/eSO3VFWh0bkstbXU8DfdKV5flh e0H5yiOXLJkskZgIDurw/AgD1Q== X-Received: by 2002:a92:1307:0:b0:303:248d:9ca with SMTP id 7-20020a921307000000b00303248d09camr1992752ilt.6.1670534133215; Thu, 08 Dec 2022 13:15:33 -0800 (PST) Received: from localhost.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id k5-20020a92c245000000b002e85e8b8d1dsm1099821ilo.5.2022.12.08.13.15.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 13:15:32 -0800 (PST) From: Alex Elder To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, andersson@kernel.org, konrad.dybcio@linaro.org, agross@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: elder@kernel.org, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/2] net: ipa: enable IPA v4.7 support Date: Thu, 8 Dec 2022 15:15:27 -0600 Message-Id: <20221208211529.757669-1-elder@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751682453965585917?= X-GMAIL-MSGID: =?utf-8?q?1751682453965585917?= The first patch in this series adds "qcom,sm6350-ipa" as a possible IPA compatible string, for the Qualcomm SM6350 SoC. That SoC uses IPA v4.7 The second patch in this series adds code that enables support for IPA v4.7. DTS updates that make use of these will be merged later. -Alex Alex Elder (1): net: ipa: add IPA v4.7 support Luca Weiss (1): dt-bindings: net: qcom,ipa: Add SM6350 compatible .../devicetree/bindings/net/qcom,ipa.yaml | 1 + drivers/net/ipa/Makefile | 2 +- drivers/net/ipa/data/ipa_data-v4.7.c | 405 ++++++++++++++ drivers/net/ipa/ipa_data.h | 1 + drivers/net/ipa/ipa_main.c | 4 + drivers/net/ipa/ipa_reg.c | 2 + drivers/net/ipa/ipa_reg.h | 1 + drivers/net/ipa/ipa_version.h | 1 + drivers/net/ipa/reg/ipa_reg-v4.7.c | 507 ++++++++++++++++++ 9 files changed, 923 insertions(+), 1 deletion(-) create mode 100644 drivers/net/ipa/data/ipa_data-v4.7.c create mode 100644 drivers/net/ipa/reg/ipa_reg-v4.7.c