From patchwork Fri Dec 8 10:51:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 175772 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5371800vqy; Fri, 8 Dec 2023 02:52:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfbz6vnHLj2YUBsFb0pjqu+LWIQqjzWwszg7obCBWNtz1JwL9jYtqhQhKGn0YP7VN22iYN X-Received: by 2002:a05:6871:72c:b0:1fa:1ca4:b917 with SMTP id f44-20020a056871072c00b001fa1ca4b917mr4212866oap.41.1702032735390; Fri, 08 Dec 2023 02:52:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702032735; cv=none; d=google.com; s=arc-20160816; b=uox90xybnZjcN7W5OROt3Q/98bFW+kH0V4YhdCelmrVSeR5YgYQZUw/ctS0kFsd15D LPubmmg89YLQcGFS5NF1Zrtnd2LvSYaca76sBZ+cSCt46Qqo/6vn9gKwGseUeR/ihcqQ DFC4exF4DI5kEGLM0ob2ff91LI8mkQjjyoVKbQyjQ3NuEdJyqmKJaFQBQoBZwc2pXGOP YESdtbtkduTZQo4gZh0Ev1kdlI53fnpIfaj539+4E0/j0ud51+f/Eq5DoF9f7OvTBjIn nEoVgwKjcNWG0Yx9qAU3/JIg0M9OE6EVyVpRSUrLF+Or0YqcMeYeVntJYojgj2lybrJ/ +5oQ== 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 Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l8-20020a6542c8000000b005ab776a4d4csi1301066pgp.610.2023.12.08.02.52.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 02:52:15 -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 C4CED83393AE; Fri, 8 Dec 2023 02:52:10 -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_Wilczy=C5=84?= =?utf-8?q?ski?= , 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 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:11 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784710677590667845 X-GMAIL-MSGID: 1784710677590667845 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.