Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2251445rdb; Fri, 8 Dec 2023 02:52:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGuBqS1Sffg26n82XcUqKeF3OkGEe/OiZhsVlcD86qJx/9dH2uvR/+y+UDhKt3O/mrcHHdR X-Received: by 2002:a05:6a20:e117:b0:18f:d6fd:760f with SMTP id kr23-20020a056a20e11700b0018fd6fd760fmr5222852pzb.83.1702032739406; Fri, 08 Dec 2023 02:52:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702032739; cv=none; d=google.com; s=arc-20160816; b=Qfy8si31hb9bV6+OJ7ltJ0u0/q+nWx7sPwwYTR5JathadF2Zsxa4ZVp31oEdQemrvM NVe8RQR7FEQzn7Ty+zqRlP02dg1iocOv0k9uY410F1sICS+gUdjxW2s46fvp1BuNj0bd JaFj3s2xR+F3AjOjwqflxRnu/WDp96tpH5AG1NzsjLkQ4K47iPeR6vE+FCZAmtwX/YV6 35M/o4874ajxfkPMp7JSfgxttJME4n6hXPPw0bMOQx02KjTvHeiCuzd/vcBE+O8Z0Xdf yR0Gu5I6fxnuMb9U5IyLi+ehzKQehl+j5dMDgjRO/vJBQpDhUbnng9g4Y0x8CNK3uBCZ kYeg== 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=11veHRxQhePRmTa5CrJ3aUmZgsLlL/GI3AnVt9qonDk=; fh=KwLvIovibAwAqMpll3ESGvTJyMuF2Q0LbuXBFEsphfA=; b=Buclhij71lsu3ifTQTGIXwxUsW8KjSJWZV6qtduKrJIa6d6E7uhOgtBqnXn+eGX0QX iwLp3rfHlQTxTRg+MgWvZQ+enkmA1vQuuJg7EpDqeKtbGZi1TBEZ0CNKppKAohV6kcA0 PIiebNcXaiTAgrXoYlxfojA/KkmcHtEuVLBV2wd2z1CUtNGp+XoViAjW6mOuURo2CVJV BaAU6aGTF20l0IA7rKLPoOlmQWRL7OnsFTyDcW59EuV7G5u+z2cbiBDHh8tKVCx9t3HP 4OaapPUaPS70SMyC3lg7JKJs+kCA2qUFpnOfw9Q53XUvbfM0Dho5e6VhRJAh0WbY8RnE YB+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NbuRrBrT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v3-20020a655683000000b005bdf5961d93si1362064pgs.387.2023.12.08.02.52.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 02:52:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NbuRrBrT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id ACD59833E1DA; Fri, 8 Dec 2023 02:52:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235881AbjLHKwB (ORCPT + 99 others); Fri, 8 Dec 2023 05:52:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233315AbjLHKv7 (ORCPT ); Fri, 8 Dec 2023 05:51:59 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8F531734 for ; Fri, 8 Dec 2023 02:52:03 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-54dcfca54e0so2239574a12.1 for ; Fri, 08 Dec 2023 02:52:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702032722; x=1702637522; 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=11veHRxQhePRmTa5CrJ3aUmZgsLlL/GI3AnVt9qonDk=; b=NbuRrBrTa3g7wYBGRmnyliJ0l2qBse6XpnP/d4+rlSS3MzgMC85XNu9b+wCu6TWgXT imtUQObgZw9O8jkWCioJ0DJf6tn9lRZ1i3XpcmnehOtl+nqmIzAJ8QHH8n/OGDZ6T32i z5qHrxaq5ddfRyzJJiC3EcIl/acbrL1dLjhZiX9G98xXh2ywznkmj2cDxJMOvOi+5yPR UYuNS9mYoX0MFALjnKiVL3KedAUzGmaItX4/0M7iKXLaEmdQTY4eqBma07Zgp/OkO8wO OW0rx5sIyzOAP02MSo0uJJlC7AYEWu+HGYC7Mf2G7OONEtFN9BYoKyH2RGRgCDuFElUO ZDQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702032722; x=1702637522; 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=11veHRxQhePRmTa5CrJ3aUmZgsLlL/GI3AnVt9qonDk=; b=TVgMb9c8whWZT5JHVgy1s+o4yOGFs+DzJpAaZ43L1P5P7/3wlDo++bHaMBB4MI/Qpt bM+N6CdVOo3mWgr2DuT1nZd51fOO+DkJ0YGr2sFa/lBAQ0O41kRa1kHBWeqtvtmCnuRM 7sFfhTMkwVnxdFlF7xydIipYegUIbDbMZ6iWeKuLFWrUi2uAXlaT6EmDJAmuTny3TL6m hkb2rLj5B0jpU6RaZVjUmfxUx3UCE5yMFuvGeOtGb+KUp75guP2bb90aqwbM6HN7Nlwj yvKJHe1nTTHFuHMSaf2zKAGF7uRrZNhL33DCd8KZKwxPab2W1BaM/4r2q0vh7mB2WQpm /MgA== X-Gm-Message-State: AOJu0YxFtKtHJgbTXYlNLrJtCkWSQ7685jrs3lDaZQAhY4Cdzx8Iu6CD uqq5y9GD9/rUXexBOMzGtf71pA== X-Received: by 2002:a17:907:9518:b0:a1c:cd3b:4c2a with SMTP id ew24-20020a170907951800b00a1ccd3b4c2amr2129103ejc.72.1702032722112; Fri, 08 Dec 2023 02:52:02 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id tx17-20020a1709078e9100b00a1b75e0e061sm849976ejc.130.2023.12.08.02.52.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 02:52:01 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , 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 v3 1/4] dt-bindings: PCI: qcom: adjust iommu-map for different SoC Date: Fri, 8 Dec 2023 11:51:52 +0100 Message-Id: <20231208105155.36097-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=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Fri, 08 Dec 2023 02:52:16 -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 --- Please take the patch via PCI tree. Changes in v3: 1. None 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 9dbc07dfd48f..5056da499f04 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -66,7 +66,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