From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756963AbcJGPcT (ORCPT ); Fri, 7 Oct 2016 11:32:19 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:37500 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756921AbcJGPYT (ORCPT ); Fri, 7 Oct 2016 11:24:19 -0400 From: Pantelis Antoniou To: Lee Jones Cc: Rob Herring , Mark Rutland , Frank Rowand , David Woodhouse , Brian Norris , Wim Van Sebroeck , Jean Delvare , Georgi Vlaev , Guenter Roeck , JawaharBalaji Thirumalaisamy , Pantelis Antoniou , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-watchdog@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: [PATCH 2/7] mfd: dt-bindings: Add bindings for the Juniper PTX1K Boot FPGA Date: Fri, 7 Oct 2016 18:21:59 +0300 Message-Id: <1475853724-22557-3-git-send-email-pantelis.antoniou@konsulko.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475853724-22557-1-git-send-email-pantelis.antoniou@konsulko.com> References: <1475853724-22557-1-git-send-email-pantelis.antoniou@konsulko.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Georgi Vlaev Add device tree bindings for the Juniper PTX1K Boot FPGA MFD driver. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- .../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