Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp812914iol; Thu, 9 Jun 2022 14:44:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLFzE6uH/izmYFIFcrJda1jeUYOnuPKxjcEd+QPTmLY1rwya6k5hNccDIO0RgE+KL0H3Hk X-Received: by 2002:a17:906:5189:b0:712:1017:8ce7 with SMTP id y9-20020a170906518900b0071210178ce7mr3481897ejk.196.1654811092400; Thu, 09 Jun 2022 14:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654811092; cv=none; d=google.com; s=arc-20160816; b=A+P9OEIOtau9sssODxrd7LE6nwSdKe4f67qre9VV4vt20UPYqJ4lGZHTnWO+OUXp2W MhXfHxrcMfNu8EWm41Dg/haHFLtIMyH2gPtFz6qCT6w+edjuaDI7YbSGAzjtqxyE8kYk 55rj0cZTUy4fKQXOjg9R/JbDVwd7t/ax/ptFYb+kTTkipuJXtUCgKXZFO5DaMSCWgFAs nx5Yl38NC91WTw2LKXruIXQhyRqivc+bQoaJErzOGpyEC4qwRDCbpMp8/Q4nHoTDSBvj G5iqcEVxbZYYuPjfmUAJs68lzBoIdO/pvvyWHoxgYAoINsBL+eq+K9xgoR1gd86t+LpL xOwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Nez22ajx5qqa59qA0FZvetZN/llMkTNvMAMBf06vCn4=; b=ZZcpXVfLkRmINHaPOzXzf5ZysMpRHICrU7wWStLbuKYw2C5OJTpZF7KH3O9ChWZ40C hyRwdRLjJfxlvepUkZtQLDh1eXTCKTi5hR0NADb3m+H5pvFZDbzeISQ+KafDBRy+66dA t/C6UPQtuHkkDyHexQ3Gp/JpIPhO5C2T9/q0rdL/hIZFd8RGlqV+/8xJ7fDjJhJ0JrnQ qfztngUE3A+HlLCuxfeVpUDlsrHSRGdaCewUKYaS07klk3hDAO2QWZ3Cv5LPla2WGqAZ iNkOFKpL9JLIxcLrISWujso/9MHYbPGnbFwvXXc+rg1wpVoY5mEb1EkRGHgtdqbrTs9e a3Qg== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m24-20020aa7c2d8000000b0042acf1c6c3asi16332227edp.119.2022.06.09.14.44.26; Thu, 09 Jun 2022 14:44:52 -0700 (PDT) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239856AbiFIVKk (ORCPT + 99 others); Thu, 9 Jun 2022 17:10:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229908AbiFIVKj (ORCPT ); Thu, 9 Jun 2022 17:10:39 -0400 Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FE71F551D; Thu, 9 Jun 2022 14:10:38 -0700 (PDT) Received: by mail-io1-f51.google.com with SMTP id e80so1973843iof.3; Thu, 09 Jun 2022 14:10:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Nez22ajx5qqa59qA0FZvetZN/llMkTNvMAMBf06vCn4=; b=TMVN4OXOXO0JpeVHDbAqSqgMCP561JqgOQfrP+xbF89uK8PHukSe28MZE6wTb0Zi8f FQsvGaO6nPo1NWXTlPAiUsuOGM8MaFDAby768KCpkUWY+Az9hzpF8nBp6MU/9BY3aF1t 9662x/fRwvW7j9D1ZTCnn/DbUNcABMSv7IFkQIfcua7i3wtLxQvyARAUggZRf+inDcRu Wf8k11aldy+bEEjW99JstPI3StCPFncUqRYnHOGnAFBJC13NO6lL5BBXpYjL1DCnfd3G v2A9WfdE7J2YBPb5NWq0y+d0l5XKcN0h6z+kJHEa+clBvikChLVyCrJeOMuRVSEEl+Yv cb6w== X-Gm-Message-State: AOAM531k4na0MXGLRexUm5e/DEyKraWyVWwemtlOaE+wgB3jydLflBVD wrwbj9EmP5pjENZyDidatzypiEhf2w== X-Received: by 2002:a02:2346:0:b0:332:130b:732e with SMTP id u67-20020a022346000000b00332130b732emr157915jau.305.1654809037336; Thu, 09 Jun 2022 14:10:37 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id j5-20020a02cb05000000b00331743a983asm8585452jap.179.2022.06.09.14.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 14:10:36 -0700 (PDT) Received: (nullmailer pid 104915 invoked by uid 1000); Thu, 09 Jun 2022 21:10:35 -0000 Date: Thu, 9 Jun 2022 15:10:35 -0600 From: Rob Herring To: Bharat Kumar Gogada Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lorenzo.pieralisi@arm.com, bhelgaas@google.com, michals@xilinx.com Subject: Re: [PATCH v4 1/2] dt-bindings: PCI: xilinx-cpm: Add Versal CPM5 Root Port Message-ID: <20220609211035.GA102003-robh@kernel.org> References: <20220608164046.3474-1-bharat.kumar.gogada@xilinx.com> <20220608164046.3474-2-bharat.kumar.gogada@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220608164046.3474-2-bharat.kumar.gogada@xilinx.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Wed, Jun 08, 2022 at 10:10:45PM +0530, Bharat Kumar Gogada wrote: > Xilinx Versal Premium series has CPM5 block which supports Root Port > functionality at Gen5 speed. > > Add support for YAML schemas documentation for Versal CPM5 Root Port driver. > > Signed-off-by: Bharat Kumar Gogada > --- > .../bindings/pci/xilinx-versal-cpm.yaml | 48 +++++++++++++++++-- > 1 file changed, 44 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml b/Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml > index cca395317a4c..80597f2974e5 100644 > --- a/Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml > +++ b/Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml > @@ -14,17 +14,27 @@ allOf: > > properties: > compatible: > - const: xlnx,versal-cpm-host-1.00 > + contains: Drop 'contains'. > + enum: > + - xlnx,versal-cpm-host-1.00 > + - xlnx,versal-cpm5-host > > reg: > items: > - description: CPM system level control and status registers. > - description: Configuration space region and bridge registers. > + - description: CPM5 control and status registers. > + minItems: 2 > > reg-names: > - items: > - - const: cpm_slcr > - - const: cfg > + oneOf: You don't need oneOf. > + - items: > + - const: cpm_slcr > + - const: cfg > + - items: > + - const: cpm_slcr > + - const: cfg > + - const: cpm_csr Just add 'minItems: 2' > > interrupts: > maxItems: 1 > @@ -95,4 +105,34 @@ examples: > interrupt-controller; > }; > }; > + > + cpm5_pcie: pcie@fcdd0000 { > + compatible = "xlnx,versal-cpm5-host"; > + device_type = "pci"; > + #address-cells = <3>; > + #interrupt-cells = <1>; > + #size-cells = <2>; > + interrupts = <0 72 4>; > + interrupt-parent = <&gic>; > + interrupt-map-mask = <0 0 0 7>; > + interrupt-map = <0 0 0 1 &pcie_intc_1 0>, > + <0 0 0 2 &pcie_intc_1 1>, > + <0 0 0 3 &pcie_intc_1 2>, > + <0 0 0 4 &pcie_intc_1 3>; > + bus-range = <0x00 0xff>; > + ranges = <0x02000000 0x0 0xe0000000 0x0 0xe0000000 0x0 0x10000000>, > + <0x43000000 0x80 0x00000000 0x80 0x00000000 0x0 0x80000000>; > + msi-map = <0x0 &its_gic 0x0 0x10000>; > + reg = <0x00 0xfcdd0000 0x00 0x1000>, > + <0x06 0x00000000 0x00 0x1000000>, > + <0x00 0xfce20000 0x00 0x1000000>; > + reg-names = "cpm_slcr", "cfg", "cpm_csr"; > + > + pcie_intc_1: interrupt-controller { > + #address-cells = <0>; > + #interrupt-cells = <1>; > + interrupt-controller; > + }; > + }; > + > }; > -- > 2.17.1 > >