Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp2145400ima; Sat, 2 Feb 2019 15:20:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN6un47Jc54H98fncsrU0bEOkLq1Vo5cjYUv6cQ6D8apHGwRvpuuEbz5xq1f4Q8/Lfnyj54a X-Received: by 2002:a62:be0c:: with SMTP id l12mr44171565pff.51.1549149629060; Sat, 02 Feb 2019 15:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549149629; cv=none; d=google.com; s=arc-20160816; b=Zdj9MQA/RJVzQiPnuyLJX4Ux1YgA/f0yP8sT2RtGCCtv3LmdGLtSl7JF8myEyFlkiE XeeGTnj85+4VmSwMQ6cJkfgccgR0kFWOTxhWiq6DFU3lMlZswEWJQc061+Mw41Aiw6XT S7a/oNeA7Mk/eFT4hf8BdDqVTdwbgNTD4rzjioLCBFdfSKkv4A+P8PTDR7+4HQQ4dIaK jVVHwS8RkxAJyQyDaZbH1nIRto6JHXF8FFCvSy8ej3Q8KCL2v824Pa7eVRT64COlJE+8 lRcpTYEde1I+QPhP40x/unclKa6GPGXwX2+ebWtc/A3leTqdoxyrDUIPPlIYIKnCJvhX 8TSg== 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; bh=2DVrF9XfoCPEIcaQJb41Hi/FfGsoayBTTGKWogn+zsI=; b=CKana1JnyYl3b0/x06f9VXZRKCOdpp54v82dYmcKe4qisJRFK77gDt57rsZFSnyY+Z zQuuboPTVh6f3HYkzUzimq/jR/V3iLp3TiCSNLzZ5FjzAsbWlVinFX+g1iEAazE4Yx61 KHlGjR0xhQ01ensXa2hH4VMZ9aZR1DEYMS352tq+FtnKonCcN41PIDm3WvFKafB+HWur Q94xsLC9LZxFpflpzsEIay3PFkDhtvOJ2hEdHJLVoe6hCLXRb7XzFlHwyBtYlFiyL/xG wBz5Pu+bhhTaiqz5s29JYym1d15lvqfwNiAdkG+CqjjUoVb2HI7N4xO6JjLZ4HidXOXM UtZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=DJtq5NIj; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si5674104pgc.335.2019.02.02.15.20.13; Sat, 02 Feb 2019 15:20:29 -0800 (PST) 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=fail header.i=@crapouillou.net header.s=mail header.b=DJtq5NIj; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727203AbfBBXT7 (ORCPT + 99 others); Sat, 2 Feb 2019 18:19:59 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:52956 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727169AbfBBXT4 (ORCPT ); Sat, 2 Feb 2019 18:19:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1549149594; h=from:from:sender: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=2DVrF9XfoCPEIcaQJb41Hi/FfGsoayBTTGKWogn+zsI=; b=DJtq5NIjQd0RjirweR7i/8cGmKsVihPu0v15JYFj+Id+9Rjh382R+71E4ET5H6oWVVfkq4 sfSF/VV/NwIv3jTWHQ0RvNRX6MpE+AOtihQxvb4V/Cc7DuMkcumfJ8HzD+dHlknbV0J8mF +P431Co2a2b9x+9X/HS1hfWjMY45280= From: Paul Cercueil To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Rob Herring , Mark Rutland , Miquel Raynal , Harvey Hunt Cc: Mathieu Malaterre , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH v2 2/9] dt-bindings: mtd: ingenic: Add compatible strings for the JZ4740 Date: Sat, 2 Feb 2019 20:19:19 -0300 Message-Id: <20190202231926.2444-3-paul@crapouillou.net> In-Reply-To: <20190202231926.2444-1-paul@crapouillou.net> References: <20190202231926.2444-1-paul@crapouillou.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add compatible strings to probe the jz4780-nand and jz4780-bch drivers from devicetree on the JZ4725B and JZ4740 SoCs from Ingenic. Signed-off-by: Paul Cercueil --- Changes: v2: - Change 'ingenic,jz4725b-nand' compatible string to 'ingenic,jz4740-nand' to reflect driver change - Add 'ingenic,jz4740-bch' compatible string - Document 'ingenic,oob-layout' property .../devicetree/bindings/mtd/ingenic,jz4780-nand.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt b/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt index 29ea5853ca91..294b56a2098a 100644 --- a/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt +++ b/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt @@ -6,7 +6,9 @@ memory-controllers/ingenic,jz4780-nemc.txt), and thus NAND device nodes must be children of the NEMC node. Required NAND controller device properties: -- compatible: Should be set to "ingenic,jz4780-nand". +- compatible: Should be one of: + * ingenic,jz4740-nand + * ingenic,jz4780-nand - reg: For each bank with a NAND chip attached, should specify a bank number, an offset of 0 and a size of 0x1000000 (i.e. the whole NEMC bank). @@ -15,6 +17,10 @@ Optional NAND controller device properties: property must contain a phandle for the BCH controller node. The required properties for this node are described below. If this is not specified, software BCH will be used instead. +- ingenic,oob-layout: Specify the OOB layout to replace the default one. + Valid values are: + * ingenic,jz4725b + * qi,lb60 Optional children nodes: - Individual NAND chips are children of the NAND controller node. @@ -72,7 +78,10 @@ NAND devices. The following is a description of the device properties for a BCH controller. Required BCH properties: -- compatible: Should be set to "ingenic,jz4780-bch". +- compatible: Should be one of: + * ingenic,jz4740-bch + * ingenic,jz4725b-bch + * ingenic,jz4780-bch - reg: Should specify the BCH controller registers location and length. - clocks: Clock for the BCH controller. -- 2.20.1