Re: [PATCH v3 04/12] dt-bindings: fsi: Add P9 OCC hwmon device documentation

From: Rob Herring
Date: Tue Nov 21 2017 - 13:36:13 EST


On Mon, Nov 20, 2017 at 05:53:33PM -0600, Eddie James wrote:
> From: "Edward A. James" <eajames@xxxxxxxxxx>
>
> Document the bindings for the FSI-based OCC hwmon device.
>
> Signed-off-by: Edward A. James <eajames@xxxxxxxxxx>
> ---
> .../devicetree/bindings/fsi/ibm,p9-occ-hwmon.txt | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ-hwmon.txt
>
> diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-occ-hwmon.txt b/Documentation/devicetree/bindings/fsi/ibm,p9-occ-hwmon.txt
> new file mode 100644
> index 0000000..086b1eb
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-occ-hwmon.txt
> @@ -0,0 +1,16 @@
> +Device-tree bindings for FSI-based On-Chip Controller hwmon device
> +------------------------------------------------------------------
> +
> +Required properties:
> + - compatible = "ibm,p9-occ-hwmon";
> +
> +Examples:
> +
> + occ@1 {
> + compatible = "ibm,p9-occ";
> + reg = <1>;
> +
> + occ-hwmon@1 {

Missing reg property or need to drop the unit-address.

> + compatible = "ibm,p9-occ-hmwon";
> + }

Missing ;

> + };
> --
> 1.8.3.1
>