From patchwork Wed Feb 22 15:32:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 60579 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp643573wrd; Wed, 22 Feb 2023 07:34:56 -0800 (PST) X-Google-Smtp-Source: AK7set8F6pol8xc0x/3cwp5LVJl7nvutNPXZ5CR1iGJI+ZgH6qVg7PZGo4X7fUkMeSmrYZOCdHxc X-Received: by 2002:a17:907:75cf:b0:884:930:b017 with SMTP id jl15-20020a17090775cf00b008840930b017mr18246092ejc.60.1677080096184; Wed, 22 Feb 2023 07:34:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677080096; cv=none; d=google.com; s=arc-20160816; b=tMLbMZFEiVMQezPK4sXxQJV1WbdaPe148g0A98bBCDDflQYg+hi9doI1a8u476kO5a T6Drl0MqdeQkEKBGlBd4EOnPAaHhXRuZq6czwNeyn9uWmBVRA7HMZJOLLW8s9iEr9Q/v 3ytz6MFdWEIzQ7nCoWnsfxEIwQ/zKW/vmIqrpprCppe7kh9zYBy+Es/HepkPqn22Ef9R IS2gP1Ox+0IGZu8Bca1r0ZIz6+fLU2sZk6hqo4HEFdal7v73xo6HT/PDM+5jmZkAiczK FQvcQ9YtBbf6jMWT5LhpI/ic8AzgZvJuTeCUCoECIr89cYpLISGx28fA4BPDKFX8wIRG u39w== 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=uGDet0K+1/m01Mue6GMZv5iNZBwdpYi4DRLEmHhKT40=; b=MJNW3J8vXP4ssEsGI1XwIRlu0IpaiUslru4WG7nTFIdqrLd0TkTOdPwjBeZo95PtpN xpQfazeBxGMaOJKd1y/f/Ze9yiixxtR0w3esScDnkyBT2UTjtfo2Q8yI73Bijxwo3xfc SqEytyWgMZ4k807ISyZyUNEshSphg9WCqhoVl3yRH/NM8o3tiIZ3DCWjTMJIUqQGHsvw p3rwAVOZiPy0wxtBcUo2uFlPJinmTOqw9nQUykUiS0cor4MtpbVaNve8hqgjStFT8a8L 5owHBLu51o3WqYftDFrU9tK5flZUcNgwM+KI8W2Ti/4xzorXCYrTCvVVGKkvotf1y41A YQew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e8OzNJHB; 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 mf23-20020a1709071a5700b008b17ed96947si16677859ejc.922.2023.02.22.07.34.33; Wed, 22 Feb 2023 07:34:56 -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=e8OzNJHB; 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 S232560AbjBVPdZ (ORCPT + 99 others); Wed, 22 Feb 2023 10:33:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232527AbjBVPdV (ORCPT ); Wed, 22 Feb 2023 10:33:21 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5324538B6F for ; Wed, 22 Feb 2023 07:33:16 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id ky4so10334992plb.3 for ; Wed, 22 Feb 2023 07:33:16 -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=uGDet0K+1/m01Mue6GMZv5iNZBwdpYi4DRLEmHhKT40=; b=e8OzNJHBrUsax0QZ5vhaNQNApDvVLjnLbFaw8uXDvLGnHcdn9gchb+57K1RNfkr+XD 3qtDxULa5bde2YfYUzyND9T6izfeYbws9/drjyvPyb2xZYkCmvr2MLAsZPkPJwVOLjP3 inJqdZUf1SbRVuiPucZ3F7ErIHzRCPusMF0sGLJ/bWZCl+hcmR9rHcvOg8+idRRCeli5 z5rHI/74PQ5bdXQWYUhgueYan02m4X74cJSKh52YobomLJggUEQDq/KwH5L2nCiaQH+J PaBLY0iR8sDOh0Iudx7GjVWdWixLfkmk9y3xx5IKK5uuhrN/ETsEniCNrzuQbQBFgxy/ 8HVA== 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=uGDet0K+1/m01Mue6GMZv5iNZBwdpYi4DRLEmHhKT40=; b=M+Z2MDxoLmV0dD6g9YviaC6UcT/EngcTGfjQ1OYMrBBEbbhevZusfnJg1G+kRXOOxe WkkOlJiyhQqPXeI/aniHDPKOb6app5rgxgk4Q/a1+6a3kW+7T/XLTxdsweFQNRw6cy3J GwzckqdKn1KSivCJWQAx4vx6/H9K1DFHD8dml0USkCf5szto60gweYmJDspRNjj9RImk 8xrC4CT+OnTDihL1AYjdh/KQZap2Td1azd1FULQMxwDpd24nb9Htj7d3ugja5HN3UySq HKsZ1vt2spBSm4F61LYgDoB+xl/OH5r9nZX4KiTdma2ukwJc7L8RpUTi7ayfkySwqkvb bpqA== X-Gm-Message-State: AO0yUKV0oTC2sg/EKgkYpzxx5o59VeanSyel+3H82bT1Jk4hwvFIRp+I /ydmhdm/5B0ysHDt7+E5RqPO X-Received: by 2002:a05:6a20:8e0c:b0:cb:c276:588d with SMTP id y12-20020a056a208e0c00b000cbc276588dmr2906445pzj.22.1677079995590; Wed, 22 Feb 2023 07:33:15 -0800 (PST) Received: from localhost.localdomain ([117.216.123.15]) by smtp.gmail.com with ESMTPSA id f15-20020aa78b0f000000b005ac419804d3sm5222482pfd.186.2023.02.22.07.33.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 07:33:15 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, vkoul@kernel.org Cc: konrad.dybcio@linaro.org, bhelgaas@google.com, kishon@kernel.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 02/11] dt-bindings: PCI: qcom: Add iommu properties Date: Wed, 22 Feb 2023 21:02:42 +0530 Message-Id: <20230222153251.254492-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230222153251.254492-1-manivannan.sadhasivam@linaro.org> References: <20230222153251.254492-1-manivannan.sadhasivam@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?1758545938905500556?= X-GMAIL-MSGID: =?utf-8?q?1758545938905500556?= Most of the PCIe controllers require iommu support to function properly. So let's add them to the binding. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index a3639920fcbb..f48d0792aa57 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -64,6 +64,11 @@ properties: dma-coherent: true + iommus: + maxItems: 1 + + iommu-map: true + interconnects: maxItems: 2