From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756948AbbDORZD (ORCPT ); Wed, 15 Apr 2015 13:25:03 -0400 Received: from down.free-electrons.com ([37.187.137.238]:41871 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756654AbbDORYV (ORCPT ); Wed, 15 Apr 2015 13:24:21 -0400 From: Antoine Tenart To: sebastian.hesselbarth@gmail.com, ezequiel.garcia@free-electrons.com, dwmw2@infradead.org, computersforpeace@gmail.com Cc: Antoine Tenart , boris.brezillon@free-electrons.com, zmxu@marvell.com, jszhang@marvell.com, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 02/10] Documentation: bindings: document the clocks for pxa3xx-nand Date: Wed, 15 Apr 2015 19:24:00 +0200 Message-Id: <1429118648-19416-3-git-send-email-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 2.3.5 In-Reply-To: <1429118648-19416-1-git-send-email-antoine.tenart@free-electrons.com> References: <1429118648-19416-1-git-send-email-antoine.tenart@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pxa3xx nand driver requires at least one clock to probe correctly. A second one, named 'ecc' can be specified if needed. Add the corresponding documentation. Signed-off-by: Antoine Tenart --- Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt index de8b517a5521..ecd1fc071f81 100644 --- a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt +++ b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt @@ -8,6 +8,8 @@ Required properties: - reg: The register base for the controller - interrupts: The interrupt to map - #address-cells: Set to <1> if the node includes partitions + - clocks: A phandle to the clocks + - clock-names: 'nfc' and 'ecc'. The 'nfc' clock is mandatory. Optional properties: @@ -32,6 +34,8 @@ Example: compatible = "marvell,pxa3xx-nand"; reg = <0x43100000 90>; interrupts = <45>; + clocks = <&gateclk 11>; + clock-names = "nfc"; #address-cells = <1>; marvell,nand-enable-arbiter; -- 2.3.5 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antoine Tenart To: sebastian.hesselbarth@gmail.com, ezequiel.garcia@free-electrons.com, dwmw2@infradead.org, computersforpeace@gmail.com Subject: [PATCH v4 02/10] Documentation: bindings: document the clocks for pxa3xx-nand Date: Wed, 15 Apr 2015 19:24:00 +0200 Message-Id: <1429118648-19416-3-git-send-email-antoine.tenart@free-electrons.com> In-Reply-To: <1429118648-19416-1-git-send-email-antoine.tenart@free-electrons.com> References: <1429118648-19416-1-git-send-email-antoine.tenart@free-electrons.com> Cc: zmxu@marvell.com, boris.brezillon@free-electrons.com, Antoine Tenart , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, jszhang@marvell.com, linux-arm-kernel@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , The pxa3xx nand driver requires at least one clock to probe correctly. A second one, named 'ecc' can be specified if needed. Add the corresponding documentation. Signed-off-by: Antoine Tenart --- Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt index de8b517a5521..ecd1fc071f81 100644 --- a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt +++ b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt @@ -8,6 +8,8 @@ Required properties: - reg: The register base for the controller - interrupts: The interrupt to map - #address-cells: Set to <1> if the node includes partitions + - clocks: A phandle to the clocks + - clock-names: 'nfc' and 'ecc'. The 'nfc' clock is mandatory. Optional properties: @@ -32,6 +34,8 @@ Example: compatible = "marvell,pxa3xx-nand"; reg = <0x43100000 90>; interrupts = <45>; + clocks = <&gateclk 11>; + clock-names = "nfc"; #address-cells = <1>; marvell,nand-enable-arbiter; -- 2.3.5 From mboxrd@z Thu Jan 1 00:00:00 1970 From: antoine.tenart@free-electrons.com (Antoine Tenart) Date: Wed, 15 Apr 2015 19:24:00 +0200 Subject: [PATCH v4 02/10] Documentation: bindings: document the clocks for pxa3xx-nand In-Reply-To: <1429118648-19416-1-git-send-email-antoine.tenart@free-electrons.com> References: <1429118648-19416-1-git-send-email-antoine.tenart@free-electrons.com> Message-ID: <1429118648-19416-3-git-send-email-antoine.tenart@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The pxa3xx nand driver requires at least one clock to probe correctly. A second one, named 'ecc' can be specified if needed. Add the corresponding documentation. Signed-off-by: Antoine Tenart --- Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt index de8b517a5521..ecd1fc071f81 100644 --- a/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt +++ b/Documentation/devicetree/bindings/mtd/pxa3xx-nand.txt @@ -8,6 +8,8 @@ Required properties: - reg: The register base for the controller - interrupts: The interrupt to map - #address-cells: Set to <1> if the node includes partitions + - clocks: A phandle to the clocks + - clock-names: 'nfc' and 'ecc'. The 'nfc' clock is mandatory. Optional properties: @@ -32,6 +34,8 @@ Example: compatible = "marvell,pxa3xx-nand"; reg = <0x43100000 90>; interrupts = <45>; + clocks = <&gateclk 11>; + clock-names = "nfc"; #address-cells = <1>; marvell,nand-enable-arbiter; -- 2.3.5