Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp388308ybg; Tue, 28 Jul 2020 08:28:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYEg7cyxiJE5OdQMregRzSiJoB5Uruv5Rk+UHwAAqEs0yqXYGcJn//LuenSKLR2Jk8R4cC X-Received: by 2002:aa7:d5da:: with SMTP id d26mr26449519eds.248.1595950133978; Tue, 28 Jul 2020 08:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595950133; cv=none; d=google.com; s=arc-20160816; b=rkqPEi51HRe+9sm7C7pp+WmXtZ0ATm64uaBl1oLn8Vbuo4yr0R5NLPEJLJgC8m+O3G SL2N4tGIJfiBneP+R/Ll1rEp4h6y3DEIrkNfQeSIkaeHqs1U1zVQ7cEDi/eZGL6eZylA da8verNQ2Oj8HZg9/wYjSYF9Tk83FYmo2nFLtYWwKOyHzPdQIaoUsdTkkg1BgjUlX9y/ AiIOYGZEuipDd6yFILfYJdMHztejo/YhXKVSfTgd7b1bNvCEkHFLyyezXVOZGEuirtAD CWRXQ9flP31SVzEndoXamJQO2fcpdtHrep7TQNKuUHP3DbZ50pnizlT8pweo0HV1TJRg iQtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=69EJ5eY7hA5/giaoU5PiIOwuDcA0NyWKNZAM+fJ9TEk=; b=vB+TelIXo7cnEqgaAwb7DjQVyX4NRPwUqy7Ec22AOUp1+po1/O4xLOiwWzS81uV3s5 ZVkiN9UXeGu7H7gk9BnTQkN6TZLooHyh6iy/CFGjKfVk4W51F4XfXqC6XwMG38t0EQx4 mxPXAFZvbsAHPVvjt2LJQp8yxh3KksqhCwm8Cql67FwJZrC6Pvnn22VtJ++ShOVC5zK4 zKx2BcbAYy9NBksQejRBOU3teC+ZfUZeKyuHP09YIr0M6UgMDncweJW9J4XWYK59SbXj ywyxlFiMXkmQXXt6PN277cfwYvQCgTxz3OS0eith8ryT+Io8ZqrYu/UQTg6LxN6PE+hB AmQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="B/lYja2B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dh1si7886018edb.54.2020.07.28.08.28.31; Tue, 28 Jul 2020 08:28:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="B/lYja2B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730869AbgG1P1P (ORCPT + 99 others); Tue, 28 Jul 2020 11:27:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:43102 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730637AbgG1P1P (ORCPT ); Tue, 28 Jul 2020 11:27:15 -0400 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 75C80206D8; Tue, 28 Jul 2020 15:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595950034; bh=FSygYseQrDpyWFyRVEBREvmwpWPpOqKjBJL2fZMrrZk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=B/lYja2Btw1plI2Vz8W7r9HzBv+a8iKi/jMRUREQmZ1NCPExTXPa4fofF9dR/2vO2 TVaDTYf+sMg9fvP7MDBHA+ZKecef+axRwkrq96xn02V5oIxToxGIz0vP1pbFT8agiX s/qBnOMNa8VE7uCuSS3A6yNe9SOE7elYw1hjNLQc= Received: by mail-ot1-f53.google.com with SMTP id w17so15171269otl.4; Tue, 28 Jul 2020 08:27:14 -0700 (PDT) X-Gm-Message-State: AOAM531g5xfL5dzHLgI7bQYUa1SJHw9IdjScqVeOyiJaKYNeXhSjTLHe bl1FGkze6DKxUyqdLTomDxd4ZY1rxIEpeGbnWw== X-Received: by 2002:a9d:46c:: with SMTP id 99mr25034284otc.192.1595950033837; Tue, 28 Jul 2020 08:27:13 -0700 (PDT) MIME-Version: 1.0 References: <1595776013-12877-1-git-send-email-sivaprak@qti.qualcomm.com> In-Reply-To: <1595776013-12877-1-git-send-email-sivaprak@qti.qualcomm.com> From: Rob Herring Date: Tue, 28 Jul 2020 09:27:01 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V2] dt-bindings: pci: convert QCOM pci bindings to YAML To: Sivaprakash Murugesan Cc: Andy Gross , Bjorn Andersson , Bjorn Helgaas , Sivaprakash Murugesan , linux-arm-msm , PCI , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 26, 2020 at 9:07 AM Sivaprakash Murugesan wrote: > > From: Sivaprakash Murugesan > > Convert QCOM pci bindings to YAML schema > > Signed-off-by: Sivaprakash Murugesan > --- > [v2] > - Referenced pci-bus.yaml > - removed duplicate properties already referenced by pci-bus.yaml > - Addressed comments from Rob > .../devicetree/bindings/pci/qcom,pcie.txt | 330 --------------- > .../devicetree/bindings/pci/qcom,pcie.yaml | 447 +++++++++++++++++++++ > 2 files changed, 447 insertions(+), 330 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/pci/qcom,pcie.txt > create mode 100644 Documentation/devicetree/bindings/pci/qcom,pcie.yaml > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > new file mode 100644 > index 000000000000..ddb84f49ac1c > --- /dev/null > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > @@ -0,0 +1,447 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > + > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/pci/qcom,pcie.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Qualcomm PCI express root complex > + > +maintainers: > + - Sivaprakash Murugesan > + > +description: > + QCOM PCIe controller uses Designware IP with Qualcomm specific hardware > + wrappers. > + > +properties: > + compatible: > + enum: > + - qcom,pcie-apq8064 > + - qcom,pcie-apq8084 > + - qcom,pcie-ipq4019 > + - qcom,pcie-ipq8064 > + - qcom,pcie-ipq8074 > + - qcom,pcie-msm8996 > + - qcom,pcie-qcs404 > + - qcom,pcie-sdm845 > + > + reg: > + description: Register ranges as listed in the reg-names property Can drop this. > + maxItems: 4 > + > + reg-names: > + items: > + - const: dbi > + - const: elbi > + - const: parf > + - const: config > + > + ranges: > + maxItems: 2 > + > + interrupts: > + items: > + - description: MSI interrupts > + > + interrupt-names: > + const: msi > + > + "#interrupt-cells": In pci-bus.yaml, so you can drop. > + const: 1 > + > + interrupt-map-mask: In pci-bus.yaml, so you can drop. > + items: > + - description: standard PCI properties to define mapping of PCIe > + interface to interrupt numbers. > + > + interrupt-map: > + maxItems: 4 > + > + clocks: > + minItems: 1 > + maxItems: 7 > + > + clock-names: > + minItems: 1 > + maxItems: 7 > + > + resets: > + minItems: 1 > + maxItems: 12 > + > + reset-names: > + minItems: 1 > + maxItems: 12 > + > + power-domains: > + maxItems: 1 > + > + vdda-supply: > + description: phandle to power supply > + > + vdda_phy-supply: > + description: phandle to the power supply to PHY > + > + vdda_refclk-supply: > + description: phandle to power supply for ref clock generator > + > + vddpe-3v3-supply: > + description: PCIe endpoint power supply > + > + phys: > + maxItems: 1 > + items: > + - description: phandle to the PHY block Can drop 'items'. With those fixed, Reviewed-by: Rob Herring