All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	openbmc@lists.ozlabs.org, Andrew Jeffery <andrew@aj.id.au>,
	Joel Stanley <joel@jms.id.au>
Subject: Re: [PATCH linux-next v6 01/13] dt-bindings: Add a document of PECI subsystem
Date: Tue, 3 Jul 2018 10:47:31 -0600	[thread overview]
Message-ID: <20180703164731.GA9150@rob-hp-laptop> (raw)
In-Reply-To: <20180621193947.20645-1-jae.hyun.yoo@linux.intel.com>

On Thu, Jun 21, 2018 at 12:39:47PM -0700, Jae Hyun Yoo wrote:
> This commit adds a document of generic PECI bus, adapter and client
> driver.
> 
> Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
> Reviewed-by: Haiyue Wang <haiyue.wang@linux.intel.com>
> Reviewed-by: James Feist <james.feist@linux.intel.com>
> Reviewed-by: Vernon Mauery <vernon.mauery@linux.intel.com>
> Cc: Andrew Jeffery <andrew@aj.id.au>
> Cc: Joel Stanley <joel@jms.id.au>
> ---
>  .../devicetree/bindings/peci/peci.txt         | 60 +++++++++++++++++++
>  1 file changed, 60 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/peci/peci.txt
> 
> diff --git a/Documentation/devicetree/bindings/peci/peci.txt b/Documentation/devicetree/bindings/peci/peci.txt
> new file mode 100644
> index 000000000000..5583aa80b78a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/peci/peci.txt
> @@ -0,0 +1,60 @@
> +Generic device tree configuration for PECI buses
> +================================================
> +
> +Required properties:
> +- compatible     : Should be "simple-bus".
> +- #address-cells : Should be present if the device has sub-nodes.
> +- #size-cells    : Should be present if the device has sub-nodes.
> +- ranges         : Should contain PECI controller registers ranges.
> +
> +Example:
> +	peci: peci@10000000 {
> +		compatible = "simple-bus";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges = <0x0 0x10000000 0x1000>;
> +	};

I don't think you need this section. It's just the parent of the 
controller, right?

> +
> +Generic device tree configuration for PECI adapters
> +===================================================
> +
> +Required properties:
> +- #address-cells : Should be <1>. Read more about client addresses below.
> +- #size-cells    : Should be <0>. Read more about client addresses below.
> +
> +The cells properties above define that an address of CPU clients of a PECI bus
> +are described by a single value.
> +
> +Example:
> +	peci0: peci-bus@0 {
> +		compatible = "vendor,soc-peci";
> +		reg = <0x0 0x1000>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +	};
> +
> +Generic device tree configuration for PECI clients
> +==================================================
> +
> +Required properties:
> +- compatible : Should contain name of PECI client.
> +- reg        : Should contain address of a client CPU. Address range of CPU
> +	       clients starts from 0x30 based on PECI specification.
> +
> +Example:
> +	peci-bus@0 {
> +		compatible = "vendor,soc-peci";
> +		reg = <0x0 0x1000>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		peci-client@30 {
> +			compatible = "vendor,peci-client";
> +			reg = <0x30>;
> +		};
> +
> +		peci-client@31 {
> +			compatible = "vendor,peci-client";
> +			reg = <0x31>;
> +		};
> +	};
> -- 
> 2.17.1
> 

  reply	other threads:[~2018-07-03 16:47 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-21 19:37 [PATCH linux-next v6 00/13] PECI device driver introduction Jae Hyun Yoo
2018-06-21 19:37 ` Jae Hyun Yoo
2018-06-21 19:37 ` Jae Hyun Yoo
2018-06-21 19:37 ` Jae Hyun Yoo
2018-06-21 19:37 ` Jae Hyun Yoo
2018-06-21 19:39 ` [PATCH linux-next v6 01/13] dt-bindings: Add a document of PECI subsystem Jae Hyun Yoo
2018-07-03 16:47   ` Rob Herring [this message]
2018-07-03 16:58     ` Jae Hyun Yoo
2018-06-21 19:40 ` [PATCH linux-next v6 02/13] Documentation: ioctl: Add ioctl numbers for " Jae Hyun Yoo
2018-06-21 19:40   ` Jae Hyun Yoo
2018-06-21 19:40 ` [PATCH linux-next v6 03/13] peci: Add support for PECI bus driver core Jae Hyun Yoo
2018-07-06  7:03   ` Lee Jones
2018-07-06 17:38     ` Jae Hyun Yoo
2018-06-21 19:40 ` [PATCH linux-next v6 04/13] dt-bindings: Add a document of PECI adapter driver for ASPEED AST24xx/25xx SoCs Jae Hyun Yoo
2018-06-21 19:40   ` Jae Hyun Yoo
2018-06-21 19:40   ` Jae Hyun Yoo
2018-07-03 16:51   ` Rob Herring
2018-07-03 16:51     ` Rob Herring
2018-07-03 16:51     ` Rob Herring
2018-07-03 17:01     ` Jae Hyun Yoo
2018-07-03 17:01       ` Jae Hyun Yoo
2018-07-03 17:01       ` Jae Hyun Yoo
2018-06-21 19:40 ` [PATCH linux-next v6 05/13] ARM: dts: aspeed: peci: Add PECI node Jae Hyun Yoo
2018-06-21 19:40   ` Jae Hyun Yoo
2018-06-21 19:40   ` Jae Hyun Yoo
2018-06-21 19:40 ` [PATCH linux-next v6 06/13] peci: Add a PECI adapter driver for Aspeed AST24xx/AST25xx Jae Hyun Yoo
2018-06-21 19:40   ` Jae Hyun Yoo
2018-06-21 19:40   ` Jae Hyun Yoo
2018-06-21 19:40 ` [PATCH linux-next v6 07/13] dt-bindings: mfd: Add a document for PECI client MFD Jae Hyun Yoo
2018-07-03 16:58   ` Rob Herring
2018-07-03 17:21     ` Jae Hyun Yoo
2018-06-21 19:41 ` [PATCH linux-next v6 08/13] mfd: intel-peci-client: Add PECI client MFD driver Jae Hyun Yoo
2018-06-21 19:41 ` [PATCH linux-next v6 09/13] dt-bindings: hwmon: Add documents for PECI hwmon client drivers Jae Hyun Yoo
2018-06-21 19:41 ` [PATCH linux-next v6 10/13] Documentation: " Jae Hyun Yoo
2018-06-21 19:41   ` Jae Hyun Yoo
2018-06-21 19:41 ` [PATCH linux-next v6 11/13] hwmon: Add PECI cputemp driver Jae Hyun Yoo
2018-06-21 19:41 ` [PATCH linux-next v6 12/13] hwmon: Add PECI dimmtemp driver Jae Hyun Yoo
2018-06-21 19:41 ` [PATCH linux-next v6 13/13] Add maintainers for the PECI subsystem Jae Hyun Yoo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180703164731.GA9150@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=andrew@aj.id.au \
    --cc=devicetree@vger.kernel.org \
    --cc=jae.hyun.yoo@linux.intel.com \
    --cc=joel@jms.id.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.