Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp680542pxb; Wed, 11 Nov 2020 13:31:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqb0Asv+kKDyNsaN8c4SIcBVboW3PFPGz0nTnniY5/9C6oB+5wF0lBSRFGUq0/bWks0l7R X-Received: by 2002:a17:907:9e3:: with SMTP id ce3mr27597270ejc.4.1605130263345; Wed, 11 Nov 2020 13:31:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605130263; cv=none; d=google.com; s=arc-20160816; b=z5BYPOPIpvvQ7yqy7COS/Q1ARhrZGiIzP+NXWYs1dVlmAAG6VCvd5Z/r36sEjuoG+x 19f1bfbUUaKQDTewO2kiZoiIe63PlR+gll5uIUO9hFRiWjGNy1eEzfbweMx5y/OIfCbv JHDdWrYiJxZgHv/PJESSb2VfWHcoFmg4NytQTF2sXviWtCJ8kbWi3F7dOoswb2owInDa iSlhSA1G6WNDrHnPJDX+D00aKr+XDUaZAd8IL6GkHNwjpBcYPB5r/Cc5N8XlDyWRB9+f 0G1ae+MS6h4ZdDX252lUSStwFGtXqtrgGKNB4MRtusW8YpU1JIlA4MwkPpEuQjZQQeof JlKA== 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=GTqvmPN8FeL5Camvlbygkl55K/SzqW8sO9N4V5KBE+A=; b=aodN5ZJO6qoeRkDVB5vrpGj0lQod8cbdC/9plZJmwe2CSNCdSZ7X3jwBoa4JaFYkty 0Vl1vExIofBTThKC1sltQ2NT7xk+yvaj+fyZ9yvkw1Uy1yWaR28DXp+F75z2tkpcc2Tu yX3v11tmdqGdJLK40RRATgN/ij0vw3zyeRge5BoCxtW0n8qys9wtG1V4mM+psiM4o+L3 n8QXmJeyCTivAY8yg3O55UnrveZU4YntWQXx01yUNWrRJ6yg+DM02WXZhanYkmBS7nGC mDiGzH1h1qrUqO/pm6N/c2Mtq0CnTvjK1c+i5+qXgmTOfqBRme7OxyLqO3k9Yz7lNrDc Zx+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 u15si2614175edt.425.2020.11.11.13.30.38; Wed, 11 Nov 2020 13:31:03 -0800 (PST) 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; 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 S1726112AbgKKV3B (ORCPT + 99 others); Wed, 11 Nov 2020 16:29:01 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:34192 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgKKV3A (ORCPT ); Wed, 11 Nov 2020 16:29:00 -0500 Received: by mail-ot1-f67.google.com with SMTP id j14so3577125ots.1; Wed, 11 Nov 2020 13:29:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=GTqvmPN8FeL5Camvlbygkl55K/SzqW8sO9N4V5KBE+A=; b=Qb0QJbOAQOgk8AW7SsdwVYWVV3SQ6r53/gNTHKQ+5dnurBxn7R+Ffyx5zXwUwfWQ57 IgGjPMSd/1FEvNbv6QYnFSMrn7bCwEkthi73f83Xijr9UoaYQGXbNo4X9rjf/oonZRvg 6lL8/ASnggkSsQC2pOz8TZ60OPmxP1jZDfgsdAWyI8NoVDij7FBvi6C7zJXwZUzexjoK ZyRqYVV6bWnUPDMzr6So9q7dm/iY/vBY1qmL5V2YIt1B0AHAEXUqJUGr6RzSbTrpn8kD ZgQVmX1Xiu5KROPorUX8AzOzmO1cv2dhIhncFGr+OspWBfCjZYsNXtRSXnJH3pSoNWpl iRJA== X-Gm-Message-State: AOAM530EvHCH2gSFax3zRSlNdGkLK0W+Bsx4nfw+CSpycQzS/9+p25z6 Qx8Ud52TMiugQfqWQoy57w== X-Received: by 2002:a05:6830:1dd8:: with SMTP id a24mr18387165otj.163.1605130139745; Wed, 11 Nov 2020 13:28:59 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id v144sm666366oia.21.2020.11.11.13.28.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 13:28:58 -0800 (PST) Received: (nullmailer pid 2067102 invoked by uid 1000); Wed, 11 Nov 2020 21:28:57 -0000 Date: Wed, 11 Nov 2020 15:28:57 -0600 From: Rob Herring To: Kishon Vijay Abraham I Cc: Tero Kristo , Nishanth Menon , Roger Quadros , Lee Jones , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/7] dt-bindings: mfd: ti,j721e-system-controller.yaml: Document "syscon" Message-ID: <20201111212857.GA2059063@bogus> References: <20201109170409.4498-1-kishon@ti.com> <20201109170409.4498-2-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201109170409.4498-2-kishon@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 09, 2020 at 10:34:03PM +0530, Kishon Vijay Abraham I wrote: > Add binding documentation for "syscon" which should be a subnode of > the system controller (scm-conf). > > Signed-off-by: Kishon Vijay Abraham I > --- > .../mfd/ti,j721e-system-controller.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml > index 19fcf59fd2fe..0b115b707ab2 100644 > --- a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml > +++ b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml > @@ -50,6 +50,38 @@ patternProperties: > specified in > Documentation/devicetree/bindings/mux/reg-mux.txt > > + "^syscon@[0-9a-f]+$": > + type: object > + description: | Don't need '|' if there's no formatting. > + This is the system controller configuration required to configure PCIe > + mode, lane width and speed. > + > + properties: > + compatible: > + items: > + - enum: > + - ti,j721e-system-controller > + - const: syscon > + - const: simple-mfd Humm, then what are this node's sub-nodes? And the same compatible as the parent? > + > + reg: > + maxItems: 1 > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 1 > + > + ranges: true > + > + required: > + - compatible > + - reg > + - "#address-cells" > + - "#size-cells" > + - ranges > + > required: > - compatible > - reg > @@ -72,5 +104,13 @@ examples: > compatible = "mmio-mux"; > reg = <0x00004080 0x50>; > }; > + > + pcie1_ctrl: syscon@4074 { > + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; > + reg = <0x00004074 0x4>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x4074 0x4074 0x4>; Must be packing a bunch of functions into 4 byte region! > + }; > }; > ... > -- > 2.17.1 >