From patchwork Fri Oct 7 15:21:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pantelis Antoniou X-Patchwork-Id: 9366381 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 443EF6075E for ; Fri, 7 Oct 2016 15:33:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3742A296FD for ; Fri, 7 Oct 2016 15:33:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BF8129703; Fri, 7 Oct 2016 15:33:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1111296FD for ; Fri, 7 Oct 2016 15:33:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935281AbcJGPbv (ORCPT ); Fri, 7 Oct 2016 11:31:51 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:37500 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756938AbcJGPYT (ORCPT ); Fri, 7 Oct 2016 11:24:19 -0400 Received: by mail-wm0-f53.google.com with SMTP id b201so46147203wmb.0 for ; Fri, 07 Oct 2016 08:24:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LFst1fVpmrOTCkEAuOHPNn+o0fjeKlCjmbEqDEBMHfU=; b=JVOIpgqjxoA6ixVF50phoEjptjTn9XI+XYu+/KRtEfwBAOJy8BFEwNSZuNmo2zxBSx KnHB2HoWmCYQ55exLfbiCPXrBiHFdJS+BtDP6my2Fjj/WmX+MSeQ6OLlT+8vuJf+aCSc EbLpYItS4oZb1OtCPwDxHDrMsrhmOgiocD934= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LFst1fVpmrOTCkEAuOHPNn+o0fjeKlCjmbEqDEBMHfU=; b=Mz4t2BMkIlQbGeM8XFCtWm1/Z8bgv0LbK3w4jg/Qi4kfmlmMcPKtbiIaLA5fhmsrd2 kbhfJDxRsn25mkCR2Q1p/t/0P83LAvNrwlUea6wC8iCq8rTuZzbVT26uucaJ8oyln56V RCdq8sqJhAIbENaQz1pKzpe4STZhA3yNXabGvt+MlpE3KmVR+SnRHMgSDVH8f03JOQDc 3nH4W8ewd3YEOf077qa9a5hqnuZr4e7GH4RLhuIj6FHqgEV8N58AtQ6IO+TpI2skVss/ iFfWY1oKMr2U7X07XEzm+f7jcwC49VTWp7IErBdkkq8ypiphkYLK/JK+7wL4fJJTSrx3 o1Uw== X-Gm-Message-State: AA6/9RkfMvi2zyVWH2PS/yNnlCxozhjtG/FvurikO4UBQRYUEi/z9JiI/OeTob96kxx8lA== X-Received: by 10.194.106.169 with SMTP id gv9mr7672324wjb.129.1475853858076; Fri, 07 Oct 2016 08:24:18 -0700 (PDT) Received: from localhost.localdomain ([195.97.110.117]) by smtp.gmail.com with ESMTPSA id f2sm3491056wjr.2.2016.10.07.08.24.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Oct 2016 08:24:17 -0700 (PDT) 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-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 */ + }; +};