Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2040388rdb; Sun, 19 Nov 2023 23:13:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFM3pPV52K4RLIs0cXiB9gkKBCU3xhGptHkZU79BoZs6cXxZH+zotTj/SPiZO/gYmKeYlPN X-Received: by 2002:a17:903:451:b0:1ce:8e4:111 with SMTP id iw17-20020a170903045100b001ce08e40111mr6472983plb.27.1700464420010; Sun, 19 Nov 2023 23:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700464419; cv=none; d=google.com; s=arc-20160816; b=XUD8iSLpcbYeYIuVUNuhRrFCDHmhJO13992euKyWFnivcUh51kQvxzvBAzWa70LDUN R1lsr9+3DdEoz/m1/vt9VRkf1SIncAQS8rpeYGKXkwBRCzFdCmh5emu3Sestoj841G3u i5LkIu+z0rVK2vPZKF/9PaThrzR4HJthiQoH+5HsLc3TFWnNNnjyENAVmsM3j1kTZT1Q xOFD3vdFMcXSU5WA8CcR5LN8Fy0MjGo/2FfLpsVZYcszUOl89ZQvJVqymCKqcbFdhdCn Of8mextX+g1RL89jCVRkb/xcsbuN07j/yUZBzftdX/MYRHE0AwOTP9taflu/jzuxYuhL meaw== 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=JUN834VVYK8twG3IjVN0msVN67LU5krCVdfvSAdrwLI=; fh=UPpqlolHnsySsgmESnuwwqqs/vpbgX1TkI1MqMAMM9I=; b=qZ1poPFvQl42ZvYOXsZYtvcpY/KPtRTm/gTTJkptk15d9tq3YWHL+0TkEubrTUsOd+ /x3NOCjdHWieC0QAB83oy3IXQt/HZUB3amF0sosQgEWct5bl6K50c1wHtyKDcKdfhRsC TVH46Ey0fZDHBvRXQGSo1OIG82L7j8vRQQFQFR4EfY4h9ZO9egHi78mW8SBe39erdG1Y hFDEjCz2umoxvciIknyBoYr1yeNtcVbNGRRKbLeNJn8DPrsUyChITW61WlfIuGLBLYPT 649KnOmG3PHP7g6vtkvaiulQqvfXGZAumE9/JyXL7iqmu3DjuO9IQnC5xhyC/a5i5oSi fi0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hg3I7frs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bc1-20020a170902930100b001cdfb3e2b19si7072391plb.611.2023.11.19.23.13.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 23:13:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hg3I7frs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7AA628069F01; Sun, 19 Nov 2023 23:09:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229562AbjKTHJV (ORCPT + 99 others); Mon, 20 Nov 2023 02:09:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjKTHJT (ORCPT ); Mon, 20 Nov 2023 02:09:19 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9CE990 for ; Sun, 19 Nov 2023 23:09:15 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a0039ea30e0so5661066b.2 for ; Sun, 19 Nov 2023 23:09:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700464154; x=1701068954; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JUN834VVYK8twG3IjVN0msVN67LU5krCVdfvSAdrwLI=; b=Hg3I7frsuLENJtX+y9x9+s7jWtb7aqcQhiXaJh4XTMCMTyq8SzWijI7ylw/rMgDh6Y TksFm7BlZaeLvXDcW6oUxEYIQ1ZRmolmUAEW4xvZkOOjW2dEmXOC/S7/UldcM34OKC1B sUgjv7z1RV/wq2P702pq9lQN9VMhCND7jafnQBUe6F1csyR2edYW8/tdg6L8RqsN88J3 L5Wz0RvjsMmTklYMZcuDvbmvlLwtlzPHK+Y+P8Td/6luybJWKIxUn6gUotWQc0Q8r79t GdA5aq5Ax5XFFfcb2N8VaW1lq5ZzXHIcHUFcYrcW6Zb0t4aKrJ0pbFtSg4/2bbJFOav0 sOHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700464154; x=1701068954; 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=JUN834VVYK8twG3IjVN0msVN67LU5krCVdfvSAdrwLI=; b=NIy3/nqq6iVIH6h865Gd03cFd9FjzugMvIwOhKvqJCaXvnTqGH3KWSY+yUH9fnM6cH lhByXBBIZp7oBZmas0TyfyIPsrxZWc/OePDsbzcODlE2CPkoUpmT9JAxf4v21BtobkgA 9+MSoDRuGXjlRciueF2oWTtdPZKB/pzTiJTvP7AcWKK+7Dyfz9KPDGCSUnTXS/KmsI9G VqKaIR7JD1wRcURLtFVt+GoSYJz/bDhzyRGjIW4Ke0xm9G9rbxtOKa1wycO6ZHNJHLOh mNNh7/VbIrKcGTweUbfLSABW8HA0Bdgw867LoOAki+3zHIMq7iDwhT8xe4BplvVtM2TZ A9nw== X-Gm-Message-State: AOJu0YwXcNOwlGD3cM5TfUSgWHroZJ2Xc9TGbm2BaxcHqNhe+FZu4Ppz bQ1wZeECezdArL4SmSHuhUOTXA== X-Received: by 2002:a17:907:3c10:b0:9fe:5d39:41c1 with SMTP id gh16-20020a1709073c1000b009fe5d3941c1mr1408033ejc.52.1700464154360; Sun, 19 Nov 2023 23:09:14 -0800 (PST) Received: from krzk-bin.. ([178.197.222.11]) by smtp.gmail.com with ESMTPSA id d2-20020a170906640200b0099bd7b26639sm3570500ejm.6.2023.11.19.23.09.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 23:09:13 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Manivannan Sadhasivam , Conor Dooley Subject: [PATCH v2 1/2] dt-bindings: PCI: qcom: adjust iommu-map for different SoC Date: Mon, 20 Nov 2023 08:09:09 +0100 Message-Id: <20231120070910.16697-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE autolearn=ham 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 19 Nov 2023 23:09:20 -0800 (PST) The PCIe controller on SDX55 has five entries in its iommu-map, MSM8998 has one and SDM845 has sixteen, so allow wider number of items to fix dtbs_check warnings like: qcom-sdx55-mtp.dtb: pcie@1c00000: iommu-map: [[0, 21, 512, 1], [256, 21, 513, 1], [512, 21, 514, 1], [768, 21, 515, 1], [1024, 21, 516, 1]] is too long Reviewed-by: Manivannan Sadhasivam Acked-by: Conor Dooley Signed-off-by: Krzysztof Kozlowski --- Changes in v2: 1. Add Acs/Rb. --- Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 8bfae8eb79a3..14d25e8a18e4 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -62,7 +62,8 @@ properties: maxItems: 8 iommu-map: - maxItems: 2 + minItems: 1 + maxItems: 16 # Common definitions for clocks, clock-names and reset. # Platform constraints are described later. -- 2.34.1