From patchwork Wed Oct 20 22:54:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Heidelberg X-Patchwork-Id: 1544062 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=ixit.cz header.i=@ixit.cz header.a=rsa-sha256 header.s=dkim header.b=K03wljwN; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4HZQsz6g01z9sPB for ; Thu, 21 Oct 2021 09:54:47 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230123AbhJTW5A (ORCPT ); Wed, 20 Oct 2021 18:57:00 -0400 Received: from ixit.cz ([94.230.151.217]:58276 "EHLO ixit.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229842AbhJTW5A (ORCPT ); Wed, 20 Oct 2021 18:57:00 -0400 Received: from localhost.localdomain (ip-89-176-96-70.net.upcbroadband.cz [89.176.96.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ixit.cz (Postfix) with ESMTPSA id 7DDAF20064; Thu, 21 Oct 2021 00:54:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1634770482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7UCKEgRwp1jyGq3OkKCG3fb28bI7ggnIsfkTxpnfifs=; b=K03wljwNBZh9C9uiAXB9J2e7Fou6iyQi+qnfDmhAXZoLPmnp38glhE7VujWT7arZmjOCkj aCNcM4t91CvFNOGTo/DXO2wZYKFSUCw8Bu3QyjKjpPof+SX8v8TPxlLIAo08pH+cVIr0R8 hfE7r2SmrbHopv9kQN70cqubanpxmAs= From: David Heidelberg To: Andy Gross , Bjorn Andersson , "David S. Miller" , Jakub Kicinski , Rob Herring , Alex Elder Cc: ~okias/devicetree@lists.sr.ht, David Heidelberg , linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: net: qcom,ipa: describe IPA v4.5 interconnects Date: Thu, 21 Oct 2021 00:54:34 +0200 Message-Id: <20211020225435.274628-1-david@ixit.cz> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org IPA v4.5 interconnects was missing from dt-schema, which was trigering warnings while validation. Signed-off-by: David Heidelberg --- Documentation/devicetree/bindings/net/qcom,ipa.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml index b8a0b392b24e..a2835ed52076 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml @@ -95,6 +95,11 @@ properties: - description: Path leading to system memory - description: Path leading to internal memory - description: Path between the AP and IPA config space + - items: # IPA v4.5 + - description: Path leading to system memory region A + - description: Path leading to system memory region B + - description: Path leading to internal memory + - description: Path between the AP and IPA config space interconnect-names: oneOf: @@ -105,6 +110,11 @@ properties: - const: memory - const: imem - const: config + - items: # IPA v4.5 + - const: memory-a + - const: memory-b + - const: imem + - const: config qcom,smem-states: $ref: /schemas/types.yaml#/definitions/phandle-array From patchwork Wed Oct 20 22:54:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Heidelberg X-Patchwork-Id: 1544063 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=ixit.cz header.i=@ixit.cz header.a=rsa-sha256 header.s=dkim header.b=LQONQVcp; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4HZQt31BrDz9sRR for ; Thu, 21 Oct 2021 09:54:51 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231256AbhJTW5C (ORCPT ); Wed, 20 Oct 2021 18:57:02 -0400 Received: from ixit.cz ([94.230.151.217]:58292 "EHLO ixit.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230474AbhJTW5B (ORCPT ); Wed, 20 Oct 2021 18:57:01 -0400 Received: from localhost.localdomain (ip-89-176-96-70.net.upcbroadband.cz [89.176.96.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ixit.cz (Postfix) with ESMTPSA id D6A21236BE; Thu, 21 Oct 2021 00:54:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1634770485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D3Oj4S+FXTM78QYEbN3J1EXoid+5Zw5B6Rc1Go0xRX0=; b=LQONQVcpIW3CCXS32hCuJokDz1ib8TX19BwnToLYf7KbAGgJ0HGde3lTXArvhddYNsgHWE xXdndDGqxeZ0DFyFK8Uv7PiTJYTmYIdHVRtdQvDB3Bo8B9mTYvz7HTGV5gtzD0/LwCo0Ol YCLXFBb0Tpv958zZtm24UmGPxKvXI2o= From: David Heidelberg To: Andy Gross , Bjorn Andersson , "David S. Miller" , Jakub Kicinski , Rob Herring , Alex Elder Cc: ~okias/devicetree@lists.sr.ht, David Heidelberg , linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: net: qcom,ipa: IPA does support up to two iommus Date: Thu, 21 Oct 2021 00:54:35 +0200 Message-Id: <20211020225435.274628-2-david@ixit.cz> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211020225435.274628-1-david@ixit.cz> References: <20211020225435.274628-1-david@ixit.cz> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fix warnings as: arch/arm/boot/dts/qcom-sdx55-mtp.dt.yaml: ipa@1e40000: iommus: [[21, 1504, 0], [21, 1506, 0]] is too long From schema: Documentation/devicetree/bindings/net/qcom,ipa.yaml Signed-off-by: David Heidelberg --- Documentation/devicetree/bindings/net/qcom,ipa.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml index a2835ed52076..775b0f94504a 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml @@ -64,7 +64,7 @@ properties: - const: gsi iommus: - maxItems: 1 + maxItems: 2 clocks: maxItems: 1