[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170618140449.aek7vag22i5lnbhl@rob-hp-laptop>
Date: Sun, 18 Jun 2017 09:04:49 -0500
From: Rob Herring <robh@...nel.org>
To: Arun Parameswaran <arun.parameswaran@...adcom.com>
Cc: Richard Cochran <richardcochran@...il.com>,
Mark Rutland <mark.rutland@....com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, bcm-kernel-feedback-list@...adcom.com
Subject: Re: [PATCH v1 1/2] dt-binding: ptp: add bindings document for dte
based ptp clock
On Mon, Jun 12, 2017 at 01:26:00PM -0700, Arun Parameswaran wrote:
> Add device tree binding documentation for the Broadcom DTE
> PTP clock driver.
>
> Signed-off-by: Arun Parameswaran <arun.parameswaran@...adcom.com>
> ---
> Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt
>
> diff --git a/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt b/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt
> new file mode 100644
> index 0000000..07590bc
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt
> @@ -0,0 +1,13 @@
> +* Broadcom Digital Timing Engine(DTE) based PTP clock driver
Bindings describe h/w, not drivers.
> +
> +Required properties:
> +- compatible: should be "brcm,ptp-dte"
Looks too generic. You need SoC specific compatible strings.
> +- reg: address and length of the DTE block's NCO registers
> +
> +Example:
> +
> +ptp_dte: ptp_dte@...af650 {
Don't use '_' in node names.
> + compatible = "brcm,ptp-dte";
> + reg = <0x180af650 0x10>;
> + status = "okay";
> +};
> --
> 1.9.1
>
Powered by blists - more mailing lists