From patchwork Sat Nov 12 20:07:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 19233 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1412117wru; Sat, 12 Nov 2022 12:09:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf60wqgjF+Dnhg/Myom/IRj5tJRM4VIZLKnJJJIXhog6aXZ2lfg8bZ15z4hTUvk/oP6Fey62 X-Received: by 2002:a63:b5b:0:b0:46f:3dfb:8fb3 with SMTP id a27-20020a630b5b000000b0046f3dfb8fb3mr6235759pgl.121.1668283760999; Sat, 12 Nov 2022 12:09:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668283760; cv=none; d=google.com; s=arc-20160816; b=C/Xb0ZTIamKuA97tB6Pe4vWpyPFSEhCEjEluBkXaO9A18In6BzlNZTg1NI+TGQlsoh 4y8AGdJQWccNwfg36fwS+wvfEg1rd0FU+HLnCxJINPA7vLVv/mt2A1WInXRyaRUr/whS jZsL07QhhASLe3nR+nWpl985DyIVn9u+sFxN6xPSTwpnuUwIGR710xysyiBqe/X2+xmu JNECxyXXwjbzIk7/UlnFCJjcA5W9LwJyvO6iRuGgbBZ04v14NhqSZFOvJjwjC1DWRyLd k4XEHrtkgf2sVHpkNeJJdnQrPhyt/VO2mrLAnR1jFy9eCfCk0h5XkC0fJwS8Ml5e2nP8 ITcw== 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=bQMtM7EzKXE7g7Q8ii/1nYLdfGgJeyG5qgm6GFG0MaY=; b=HL3gdG83tQS7xPeubvQasPyeiOlVPuPFRDgGZvZdY0EkrMxP/78ARZRCWLJuOYE2ag ozhZs6MBTYTXU/cs88CkQgvNsAxXd8e4KiT9jMtqKSEERIuM+QmTBDTpX2eRzm3VaW96 2qg0wNAzC3uSBbGTDqFdsQmwwqVjaxrMiSZI1OZES3jwsao+LNRrhuW6S3+7pwnmTzhe n5ZE0VnsMwgkzMkwGSlwBcXxFmdMs/VtD3drOYu/fpRFC+ltKWbIxt0OS20xe+EV1NXt qLKmVwm9TtValSY7mWjX7AV9m1PyFgtaiGu3whxRfQVslC7DS26We9epfrvoXqzm6PQe K7lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Su3MklfM; 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 i3-20020a6551c3000000b0046fea833b07si5603457pgq.123.2022.11.12.12.09.07; Sat, 12 Nov 2022 12:09:20 -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=Su3MklfM; 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 S235116AbiKLUHr (ORCPT + 99 others); Sat, 12 Nov 2022 15:07:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234995AbiKLUH3 (ORCPT ); Sat, 12 Nov 2022 15:07:29 -0500 Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 861B614D19 for ; Sat, 12 Nov 2022 12:07:28 -0800 (PST) Received: by mail-il1-x12d.google.com with SMTP id z9so4015353ilu.10 for ; Sat, 12 Nov 2022 12:07:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bQMtM7EzKXE7g7Q8ii/1nYLdfGgJeyG5qgm6GFG0MaY=; b=Su3MklfMJY8596qFSlI2fMYVrgpgXSRkl7MDteWVnD97GFCt9qVLEfOqMen13UD9F6 3L5IXY1n9+ZbSmUwWZUSk20mvOdXvMdNkUsH+w22RUejchFD+p2Yhxi8TimgOVA9uTDV qphlkjc96DUqQwpTxOeRh5qQb+1zmiE7wusxwDojYsckuyZSfCVemRpzqMc5T3DHrvdy 6FrbtLcoYBK1D3QVSGn326jqrzllaj9i/U7hZZWlP2ShmXfSa+v3c4mHsknmpTTOc8hG NnmrR64LB48M3a4yu7Q5oNiLMFLjqv6cW3bSTFIvXrTlD7nUpjbr6VjwstJVQ/QDIZCT 2LAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bQMtM7EzKXE7g7Q8ii/1nYLdfGgJeyG5qgm6GFG0MaY=; b=vlMuVSiZvZjwG7NDTr1WgVY/sf1hXnuNaw4kxzPGWkQgU33HbQOYQNx4DVOJbxg/bR YkhUL8e/GpY19warBROpeneJngyuDUYKKza89VurU3vxnKll+VnXL0xpZqC9C/enthom SFbjxYq6LLNiYvkdItBnFRLZQKZ2hVTC06xKvX/jTttSlKlYf/ED7wpHln0ikHYhKrMg +0puswzKrYneXrsTbJYligpN3/9C2ciDWepN+QEDAxDu9IgcNu/HW4snEOW+pvetwbmb 7+H1pdmgXaQnK4CtPBsK9cYkaV8p1jLCuAf7v9hVHvU22JQQySB8ZESLj9og0r/TBlSs szOA== X-Gm-Message-State: ANoB5pmvO2n7EDCMHgtvYsrnbsOsFWE5hRXO1DbGFy8cOCxQTEbMhRQY EfNQczEtaldS7Nm+Vm24WhKoUQ== X-Received: by 2002:a92:cd0d:0:b0:300:c497:d6a0 with SMTP id z13-20020a92cd0d000000b00300c497d6a0mr3594798iln.27.1668283647907; Sat, 12 Nov 2022 12:07:27 -0800 (PST) Received: from presto.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id j28-20020a02cb1c000000b00363dee286edsm2036870jap.60.2022.11.12.12.07.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 12:07:27 -0800 (PST) From: Alex Elder To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: andersson@kernel.org, konrad.dybcio@linaro.org, agross@kernel.org, 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 4/5] dt-bindings: net: qcom,ipa: support skipping GSI firmware load Date: Sat, 12 Nov 2022 14:07:16 -0600 Message-Id: <20221112200717.1533622-5-elder@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221112200717.1533622-1-elder@linaro.org> References: <20221112200717.1533622-1-elder@linaro.org> 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?1749322312917526686?= X-GMAIL-MSGID: =?utf-8?q?1749322312917526686?= Add a new enumerated value to those defined for the qcom,gsi-loader property. If the qcom,gsi-loader is "skip", the GSI firmware will already be loaded, so neither the AP nor modem is required to load GSI firmware. Signed-off-by: Alex Elder Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/net/qcom,ipa.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml index 0dfd6c721e045..3d63505d1b802 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml @@ -128,10 +128,12 @@ properties: enum: - self - modem + - skip description: This indicates how GSI firmware should be loaded. If the AP loads and validates GSI firmware, this property has value "self". If the - modem does this, this property has value "modem". + modem does this, this property has value "modem". Otherwise, "skip" + means GSI firmware loading is not required. modem-init: deprecated: true