From patchwork Fri Oct 7 15:22:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pantelis Antoniou X-Patchwork-Id: 9366359 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 E72A96075E for ; Fri, 7 Oct 2016 15:31:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9300296E2 for ; Fri, 7 Oct 2016 15:31:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CCD53296F8; Fri, 7 Oct 2016 15:31:04 +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 52A74296E2 for ; Fri, 7 Oct 2016 15:31:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756747AbcJGPaS (ORCPT ); Fri, 7 Oct 2016 11:30:18 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:35816 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757097AbcJGPYa (ORCPT ); Fri, 7 Oct 2016 11:24:30 -0400 Received: by mail-wm0-f41.google.com with SMTP id f193so39150184wmg.0 for ; Fri, 07 Oct 2016 08:24:29 -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=9IULJVc2thdv3fDHkha37fRccV8gYuUmWoUnwwIwO/4=; b=a3cwAlX9FXRcupHx528qITKSYY6CrgYN+smbW++LYItRYS9CN6MEYtKdrRPT+uvc0M s/kOjCChMOCrBL4XRtCqa/7jsn7Dd8xZovLCKvt768/jcAPUjKizF+wjTPD0UTOKsIsJ gV9LdgDrunyS6u3AoBF3pCN5E9LTBqVetSa5w= 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=9IULJVc2thdv3fDHkha37fRccV8gYuUmWoUnwwIwO/4=; b=gFe3V4aVqbicP9qyHkkX0HER2FQOHP6UJZDgr9Os1QYHj+tLYnvTPX+4YvQ00Mq2yN ZNsPfa6Pv2QeLwgAr/eeGR5aOCOZiVtTy2skc4UPOPa+2mERCq/ig8hxZXVj602N+4yF gLtDzBrip4mcdmytk5TuVqpzHG/U9+CkrlIMVNZHZlJ48sxhR8YfN18Kr/NzLdMI82IQ AON1M1hwE7tMjARFfLrdINskhlv7fn0Zh1Qp3ZTGGcL3AzJdDGBeZyAF3oD1l3V0RzE+ ncnvS/8PWliMlAyIswG0dYDKreVK4Z1/pnUNNpRuAcVa1koUoNWZ0FgUCuubu6LEokLd pLNQ== X-Gm-Message-State: AA6/9Rkd4ELSXAjq+9q4tFilfeOhHxvhlmlPlLgY0/I+i5HrGZoA3HbA7TbppGeKeUH2Rw== X-Received: by 10.194.253.163 with SMTP id ab3mr17328369wjd.204.1475853868758; Fri, 07 Oct 2016 08:24:28 -0700 (PDT) Received: from localhost.localdomain ([195.97.110.117]) by smtp.gmail.com with ESMTPSA id f2sm3491056wjr.2.2016.10.07.08.24.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Oct 2016 08:24:28 -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 6/7] mtd: ptx1kbf: Bindings for Juniper's PTX1K Boot FPGA Date: Fri, 7 Oct 2016 18:22:03 +0300 Message-Id: <1475853724-22557-7-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 binding document for Junipers Flash IP block present in the PTX1K Boot FPGA on PTX series of routers. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- .../devicetree/bindings/mtd/ptx1kbf-mtd.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/ptx1kbf-mtd.txt diff --git a/Documentation/devicetree/bindings/mtd/ptx1kbf-mtd.txt b/Documentation/devicetree/bindings/mtd/ptx1kbf-mtd.txt new file mode 100644 index 0000000..4e25060 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/ptx1kbf-mtd.txt @@ -0,0 +1,23 @@ +Flash device on a PTX1K Boot FPGA + +These flash chips are found in the PTX series of Juniper routers. + +Required properties: +- compatible : must be "jnx,flash-sam" + +Optional properties: +- reg : memory address for the flash chip, note that this is not +required since usually the device is a subdevice of the SAM MFD +driver which fills in the register fields. + +For the rest of the properties, see mtd-physmap.txt. + +The device tree may optionally contain sub-nodes describing partitions of the +address space. See partition.txt for more detail. + +Example: + +ptx1kbf_mtd { + compatible = "jnx,ptx1kbf-mtd"; + /* usually the whole flash is used */ +};