linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 2/2] dt-bindings: hwmon: Add adm127x documentation
@ 2018-10-17 22:27 Kun Yi
  2018-10-18 19:47 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Kun Yi @ 2018-10-17 22:27 UTC (permalink / raw)
  Cc: openbmc, kunyi, Jean Delvare, Guenter Roeck, Rob Herring,
	Mark Rutland, linux-hwmon, devicetree, linux-kernel

adm127x are hot-swap controllers that allow a circuit board to be removed from
or inserted into a live backplane. This patch adds the device tree
bindings documentation.

Signed-off-by: Kun Yi <kunyi@google.com>
---
 .../devicetree/bindings/hwmon/adm1275.txt     | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adm1275.txt

diff --git a/Documentation/devicetree/bindings/hwmon/adm1275.txt b/Documentation/devicetree/bindings/hwmon/adm1275.txt
new file mode 100644
index 000000000000..1ecd03f3da4d
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/adm1275.txt
@@ -0,0 +1,25 @@
+adm1275 properties
+
+Required properties:
+- compatible: Must be one of the supported compatible strings:
+	- "adi,adm1075" for adm1075
+	- "adi,adm1272" for adm1272
+	- "adi,adm1275" for adm1275
+	- "adi,adm1276" for adm1276
+	- "adi,adm1278" for adm1278
+	- "adi,adm1293" for adm1293
+	- "adi,adm1294" for adm1294
+- reg: I2C address
+
+Optional properties:
+
+- shunt-resistor-micro-ohms
+	Shunt resistor value in micro-Ohm
+
+Example:
+
+adm1272@10 {
+	compatible = "adi,adm1272";
+	reg = <0x10>;
+	shunt-resistor-micro-ohms = <500>;
+};
-- 
2.19.1.331.ge82ca0e54c-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 2/2] dt-bindings: hwmon: Add adm127x documentation
  2018-10-17 22:27 [PATCH v3 2/2] dt-bindings: hwmon: Add adm127x documentation Kun Yi
@ 2018-10-18 19:47 ` Rob Herring
  2018-10-18 20:39   ` Kun Yi
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2018-10-18 19:47 UTC (permalink / raw)
  To: Kun Yi
  Cc: openbmc, kunyi, Jean Delvare, Guenter Roeck, Mark Rutland,
	linux-hwmon, devicetree, linux-kernel

On Wed, 17 Oct 2018 15:27:09 -0700, Kun Yi wrote:
> adm127x are hot-swap controllers that allow a circuit board to be removed from
> or inserted into a live backplane. This patch adds the device tree
> bindings documentation.
> 
> Signed-off-by: Kun Yi <kunyi@google.com>
> ---
>  .../devicetree/bindings/hwmon/adm1275.txt     | 25 +++++++++++++++++++
>  1 file changed, 25 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/hwmon/adm1275.txt
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 2/2] dt-bindings: hwmon: Add adm127x documentation
  2018-10-18 19:47 ` Rob Herring
@ 2018-10-18 20:39   ` Kun Yi
  0 siblings, 0 replies; 3+ messages in thread
From: Kun Yi @ 2018-10-18 20:39 UTC (permalink / raw)
  To: robh
  Cc: OpenBMC Maillist, jdelvare, Guenter Roeck, mark.rutland,
	linux-hwmon, devicetree, linux-kernel

On Thu, Oct 18, 2018 at 12:48 PM Rob Herring <robh@kernel.org> wrote:
>
> On Wed, 17 Oct 2018 15:27:09 -0700, Kun Yi wrote:
> > adm127x are hot-swap controllers that allow a circuit board to be removed from
> > or inserted into a live backplane. This patch adds the device tree
> > bindings documentation.
> >
> > Signed-off-by: Kun Yi <kunyi@google.com>
> > ---
> >  .../devicetree/bindings/hwmon/adm1275.txt     | 25 +++++++++++++++++++
> >  1 file changed, 25 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/hwmon/adm1275.txt
> >
>
> Reviewed-by: Rob Herring <robh@kernel.org>

Thanks a lot for the Review!


-- 
Regards,
Kun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-18 20:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 22:27 [PATCH v3 2/2] dt-bindings: hwmon: Add adm127x documentation Kun Yi
2018-10-18 19:47 ` Rob Herring
2018-10-18 20:39   ` Kun Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).