Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1496106imm; Tue, 22 May 2018 05:08:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqDUTwvsCr4hEAux/oxIAy4OUmaLPv1dgc2b0AVGgGL4EN3rp+SNvQ0uBbzVIiMn+jLEwiC X-Received: by 2002:a17:902:1025:: with SMTP id b34-v6mr24103684pla.207.1526990897113; Tue, 22 May 2018 05:08:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526990897; cv=none; d=google.com; s=arc-20160816; b=QPC897glltbk1GtDaLIPGzO84sNEN19atEhCLysREUDC+XAF/pbu82ojEwPpO7/c+H p58fSXmrIgL0c7CyDFLB3H3c3+bPcAo+eF0Suhv4VYGmPm/pkp76Si5HmGCh04rT+IyT AFrOdfQyyK75sX3Dap0r8nVPdN+XQmL02r5j3ptnhsqm+QxGkv6bCObZERXViBWPdtIf 0egAigfUfh0Txb91vUk61JEYXCqABmuv+DTjvZwPNbiBXqzI3fs8EFu4Vx/ti8pYcJde pvAeDagS5/3TlxMtW5msScxaniqVbbI0Vtq2B07dFiq3GAU1VQLITyZsvUm0sVdnl80x 2PLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=2LvOK8ARFit+xddrELIKXV5behIB1K/ull0gh49HnEE=; b=LFg2n6zxwzuNMHYM6CGQnsSLdNdW7DKW3sc7v99/BT8uKUvTj9Ts/zSwQBa0flCAmb DirRxDKmStMqF2smjOQo5YoUKFNppdrSDnWKIrQgiHIHcItXMtoCyPbGR8CSBGCnNf/+ pob7tNpHwgy9BEQYhg2QNeBRsDZ5ER+jo8oZHfAf/L5R/mairUUkQQZjXGHpi4bjWfWc ZcKXoJQdpes/AiYd5IngPUAl+pYX51bZmbhwrBJ4JGemA5fV19E9DxrYTN26/TKDvC+5 OuT0j0xgdCAlLQpI6kvESYaIRn+tyAsSJihmj82y/LpjZq6TqtkktntGCFNXOvc0IGbU 3FRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=c4ZHuk1h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d7-v6si16595273pfe.214.2018.05.22.05.08.02; Tue, 22 May 2018 05:08:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=c4ZHuk1h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752940AbeEVMHt (ORCPT + 99 others); Tue, 22 May 2018 08:07:49 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:40346 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751599AbeEVMHX (ORCPT ); Tue, 22 May 2018 08:07:23 -0400 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 605D65C1AFB; Tue, 22 May 2018 14:07:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1526990841; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2LvOK8ARFit+xddrELIKXV5behIB1K/ull0gh49HnEE=; b=c4ZHuk1hXLvapCPjx54U8hJm63CPzYnCNRjPJ9iuS5R83xlGa8XkXWluh32Hxmx3qimFpq i5lnRzieOrumn/ch8JpbXLJiEbEplOA9hwu+SpETJrAQwJR6LMTkDuwkdQVieDji49OCIq yr3tS1oVbDlvgvliy/VJP5vaidEMx9I= From: Stefan Agner To: boris.brezillon@bootlin.com, dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, thierry.reding@gmail.com, mturquette@baylibre.com, sboyd@kernel.org Cc: dev@lynxeye.de, miquel.raynal@bootlin.com, richard@nod.at, marcel@ziswiler.com, krzk@kernel.org, digetx@gmail.com, benjamin.lindqvist@endian.se, jonathanh@nvidia.com, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, mirza.krak@gmail.com, linux-mtd@lists.infradead.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Stefan Agner Subject: [RESEND PATCH 1/5] mtd: rawnand: tegra: add devicetree binding Date: Tue, 22 May 2018 14:07:05 +0200 Message-Id: <8bd0f80a9db9abc7af192d1c7d449887b1392ff7.1526990589.git.stefan@agner.ch> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: X-Spamd-Result: default: False [-2.10 / 15.00]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWELVE(0.00)[26]; BAYES_HAM(-3.00)[100.00%]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; MID_CONTAINS_FROM(1.00)[]; ASN(0.00)[asn:6830, ipnet:46.140.0.0/17, country:AT]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lucas Stach This adds the devicetree binding for the Tegra 2 NAND flash controller. Signed-off-by: Lucas Stach Signed-off-by: Stefan Agner --- .../bindings/mtd/nvidia,tegra20-nand.txt | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/nvidia,tegra20-nand.txt diff --git a/Documentation/devicetree/bindings/mtd/nvidia,tegra20-nand.txt b/Documentation/devicetree/bindings/mtd/nvidia,tegra20-nand.txt new file mode 100644 index 000000000000..522d442937a9 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/nvidia,tegra20-nand.txt @@ -0,0 +1,29 @@ +NVIDIA Tegra NAND Flash controller + +Required properties: +- compatible: Must be one of: + - "nvidia,tegra20-nand" +- reg: MMIO address range +- interrupts: interrupt output of the NFC controller +- clocks: Must contain an entry for each entry in clock-names. + See ../clocks/clock-bindings.txt for details. +- clock-names: Must include the following entries: + - nand +- resets: Must contain an entry for each entry in reset-names. + See ../reset/reset.txt for details. +- reset-names: Must include the following entries: + - nand + +Optional properties: +- nvidia,wp-gpios: GPIO used to disable write protection of the flash + + Example: + nand@70008000 { + compatible = "nvidia,tegra20-nand"; + reg = <0x70008000 0x100>; + interrupts = ; + clocks = <&tegra_car TEGRA20_CLK_NDFLASH>; + clock-names = "nand"; + resets = <&tegra_car 13>; + reset-names = "nand"; + }; -- 2.17.0