Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751988AbdHCUYf (ORCPT ); Thu, 3 Aug 2017 16:24:35 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:38907 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751656AbdHCUYc (ORCPT ); Thu, 3 Aug 2017 16:24:32 -0400 Date: Thu, 3 Aug 2017 15:24:29 -0500 From: Rob Herring To: Eddie James Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux@roeck-us.net, jdelvare@suse.com, corbet@lwn.net, mark.rutland@arm.com, cbostic@linux.vnet.ibm.com, jk@ozlabs.org, joel@jms.id.au, andrew@aj.id.au, "Edward A. James" Subject: Re: [PATCH v2 10/10] dt-bindings: i2c: Add P8 OCC hwmon driver documentation Message-ID: <20170803202429.nicolqv6xdls26wp@rob-hp-laptop> References: <1501165829-12395-1-git-send-email-eajames@linux.vnet.ibm.com> <1501165829-12395-11-git-send-email-eajames@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1501165829-12395-11-git-send-email-eajames@linux.vnet.ibm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1479 Lines: 48 On Thu, Jul 27, 2017 at 09:30:29AM -0500, Eddie James wrote: > From: "Edward A. James" > > Document the bindings for I2C-based OCC hwmon driver. > > Signed-off-by: Edward A. James > --- > .../devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt | 25 ++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt > > diff --git a/Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt b/Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt > new file mode 100644 > index 0000000..8c765d0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt > @@ -0,0 +1,25 @@ > +Device-tree bindings for I2C-based On-Chip Controller hwmon driver > +------------------------------------------------------------------ Bindings describe hardware, not Linux subsystems or drivers. > + > +Required properties: > + - compatible = "ibm,p8-occ-hwmon"; > + - reg = ; : I2C bus address > + > +Examples: > + > + i2c-bus@100 { > + #address-cells = <1>; > + #size-cells = <0>; > + clock-frequency = <100000>; > + < more properties > > + > + occ-hwmon@1 { > + compatible = "ibm,p8-occ-hwmon"; > + reg = <0x50>; > + }; > + > + occ-hwmon@2 { > + compatible = "ibm,p8-occ-hwmon"; > + reg = <0x51>; > + }; > + }; > -- > 1.8.3.1 >