Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1497282

[PATCH 2/7] mfd: dt-bindings: Add bindings for the Juniper PTX1K Boot FPGA

From Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Newsgroups linux.kernel
Subject [PATCH 2/7] mfd: dt-bindings: Add bindings for the Juniper PTX1K Boot FPGA
Date 2016-10-07 17:40 +0200
Message-ID <spFpE-2pN-53@gated-at.bofh.it> (permalink)
References <spFpD-2pN-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Georgi Vlaev <gvlaev@juniper.net>

Add device tree bindings for the Juniper PTX1K Boot FPGA MFD driver.

Signed-off-by: Georgi Vlaev <gvlaev@juniper.net>
[Ported from Juniper kernel]
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
---
 .../devicetree/bindings/mfd/jnx-ptx1k-bootfpga.txt | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/jnx-ptx1k-bootfpga.txt

diff --git a/Documentation/devicetree/bindings/mfd/jnx-ptx1k-bootfpga.txt b/Documentation/devicetree/bindings/mfd/jnx-ptx1k-bootfpga.txt
new file mode 100644
index 0000000..596dec7
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/jnx-ptx1k-bootfpga.txt
@@ -0,0 +1,34 @@
+* Device tree bindings for Juniper's PTX1K boot FPGA MFD driver
+
+The device supports a hardware watchdog, a flash MTD device and
+a hwmon sensor device. The bindings of those drivers are described
+in the jnx-ptx1kbf-wdt, jnx-ptx1kbf-mtd and jnx-ptx1kbf-hwmon documents.
+
+Required properties:
+
+- compatible:		"ptx1k-bootfpga"
+
+- reg:			contains offset/length value for device state control
+			registers space.
+
+Example:
+
+bootfpga@10000 {
+	compatible = "jnx,ptx1k-bootfpga";
+	reg = <0x10000 0x100>;
+
+	wdt {
+		compatible = "jnx,ptx1kbf-wdt";
+		/* no properties required */
+	};
+
+	mtd {
+		compatible = "jnx,ptx1kbf-mtd";
+		/* use the full device */
+	};
+
+	hwmon {
+		compatible = "jnx,ptx1kbf-hwmon";
+		/* no properties required */
+	};
+};
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] Introduce PTX1K Boot FPGA driver Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-10-07 17:40 +0200
  [PATCH 4/7] watchdog: ptx1kbf-wdt: Add ptx1kbf device tree bindings Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-10-07 17:40 +0200
  [PATCH 7/7] hwmon: ptx1kbf: Add PTX1K I2CS BootFPGA sensor driver Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-10-07 17:40 +0200
  [PATCH 6/7] mtd: ptx1kbf: Bindings for Juniper's PTX1K Boot FPGA Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-10-07 17:40 +0200
  [PATCH 1/7] mfd: Add PTX1K I2CS BootFPGA MFD driver Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-10-07 17:40 +0200
  [PATCH 5/7] mtd: ptx1kbf: Add PTX1K BootFPGA MTD driver Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-10-07 17:40 +0200
  [PATCH 3/7] watchdog: Add PTX1K I2CS BootFPGA watchdog driver. Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-10-07 17:40 +0200
  [PATCH 2/7] mfd: dt-bindings: Add bindings for the Juniper PTX1K Boot FPGA Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-10-07 17:40 +0200
  Re: [PATCH 0/7] Introduce PTX1K Boot FPGA driver Rob Herring <robh@kernel.org> - 2016-10-10 22:40 +0200

csiph-web