Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp478712imm; Fri, 28 Sep 2018 01:33:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV60zSnSCY7o2g7vpzqcDuhN/DZrzS34pAPN7v1M+YkhhWr7r7G2HNeq65FG1uPn/htHN8J5X X-Received: by 2002:a17:902:28a8:: with SMTP id f37-v6mr15001156plb.264.1538123595255; Fri, 28 Sep 2018 01:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538123595; cv=none; d=google.com; s=arc-20160816; b=Zb3aLwiIWAMzTm+PxbWG6W2lrCMDpqOJ6GXVz+/LjvY5i5oYLuEAKww3/D5Dh2jdCz NDtfexZsW8WsTZdDaAmhxNRftIZuuFZr+y3CARCgCzruQicFxgX/XiiBODXejESdTetY ii0EEgI2hM5ehXXCKRJRlT3/KxBcWXeoKseBYaX3JjoNDUw/Mvoi7pBhtewA4Nce2l1I oSz8ZJ7ge7RRtqOb7fxKxsxwuJ+eB/Z08s+ExtyrKGS8Uns9SBfgRlwGv04Q0A4qzCDj 4268FHyCasynJRCtKcnr3b3ll5BYG2KwFswth1GkWt2Yhe5EBQahyIuoBb7KOsfcvbwg GlJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=2AO6FK4lOSmS5cUlpEcy4W5gVH+af8Er+8OonduGr1A=; b=ti8FOmWJw3/zBUQPHWyex48aaI6pI62Vx7mVyl/rsS68w0g1kWM8NWa5ynppaZDAyf K2X91DRAVT2k1gNycoGyfzkc8zQ31MeT/M0djUvVZmExsXo/vl7K+234trLbXhln1E69 jxullxTSTy8PYLzAsPVK1fy0+V0X7ik8MkFsmzfyBDsHymVXcGc9NKwGZQz6ZdrsTAa1 Scp8TKOkKAraFNxZI//yB7I8FaMvTbP+Cc0MyR0jmQ5UZ+NCuYrLJ4YRAYgT5tc4Veex 70zO1wz1254Zwm/7rh9/5jBfZMQ5jggrdV/EGXiU2hSKZr3wb1G3vUsvepYR5H0zZJRE fMVw== ARC-Authentication-Results: i=1; mx.google.com; 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 r205-v6si4168278pgr.634.2018.09.28.01.32.58; Fri, 28 Sep 2018 01:33:15 -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; 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 S1729089AbeI1OzU (ORCPT + 99 others); Fri, 28 Sep 2018 10:55:20 -0400 Received: from mail-sz2.amlogic.com ([211.162.65.114]:15251 "EHLO mail-sz2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbeI1OzU (ORCPT ); Fri, 28 Sep 2018 10:55:20 -0400 Received: from [10.28.18.92] (10.28.18.92) by mail-sz2.amlogic.com (10.28.11.6) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 28 Sep 2018 16:33:23 +0800 Subject: Re: [PATCH v4 1/2] dt-bindings: nand: meson: add Amlogic NAND controller driver To: Rob Herring , Jianxin Pan CC: Boris Brezillon , , Yixun Lan , David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Jerome Brunet , Neil Armstrong , Martin Blumenstingl , Carlo Caione , Kevin Hilman , Jian Hu , Hanjie Lin , Victor Wan , , , , References: <1537433449-65213-1-git-send-email-jianxin.pan@amlogic.com> <1537433449-65213-2-git-send-email-jianxin.pan@amlogic.com> <20180927181653.GA22153@bogus> From: Liang Yang Message-ID: <8f194c47-10bb-cb9d-c626-39f9b22887cb@amlogic.com> Date: Fri, 28 Sep 2018 16:33:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180927181653.GA22153@bogus> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.28.18.92] X-ClientProxiedBy: mail-sz2.amlogic.com (10.28.11.6) To mail-sz2.amlogic.com (10.28.11.6) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/28/2018 2:16 AM, Rob Herring wrote: > On Thu, Sep 20, 2018 at 04:50:48PM +0800, Jianxin Pan wrote: >> From: Liang Yang >> >> Add Amlogic NAND controller dt-bindings for Meson SoC, >> Current this driver support GXBB/GXL/AXG platform. >> >> Signed-off-by: Liang Yang >> Signed-off-by: Yixun Lan >> --- >> .../devicetree/bindings/mtd/amlogic,meson-nand.txt | 60 ++++++++++++++++++++++ >> 1 file changed, 60 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt >> >> diff --git a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt >> new file mode 100644 >> index 0000000..803df2a >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.txt >> @@ -0,0 +1,60 @@ >> +Amlogic NAND Flash Controller (NFC) for GXBB/GXL/AXG family SoCs >> + >> +This file documents the properties in addition to those available in >> +the MTD NAND bindings. >> + >> +Required properties: >> +- compatible : contains one of: >> + - "amlogic,meson-gxl-nfc" >> + - "amlogic,meson-axg-nfc" >> +- clocks : >> + A list of phandle + clock-specifier pairs for the clocks listed >> + in clock-names. >> + >> +- clock-names: Should contain the following: >> + "core" - NFC module gate clock >> + "device" - device clock from eMMC sub clock controller >> + >> +- amlogic,mmc-syscon : Required for NAND clocks, it's shared with SD/eMMC >> + controller port C >> + >> +Optional children nodes: >> +Children nodes represent the available nand chips. >> + >> +Other properties: >> +see Documentation/devicetree/bindings/mtd/nand.txt for generic bindings. >> + >> +Example demonstrate on AXG SoC: >> + >> + sd_emmc_c_clkc: mmc@7000 { >> + compatible = "amlogic,meson-axg-mmc-clkc", "syscon"; >> + reg = <0x0 0x7000 0x0 0x800>; >> + status = "okay"; >> + }; >> + >> + nand: nfc@7800 { > > nand-controller@7800 > ok, i will fix it. >> + compatible = "amlogic,meson-axg-nfc"; >> + reg = <0x0 0x7800 0x0 0x100>; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + interrupts = ; >> + status = "disabled"; >> + >> + clocks = <&clkc CLKID_SD_EMMC_C>, >> + <&sd_emmc_c_clkc CLKID_MMC_DIV>; >> + clock-names = "core", "device"; >> + amlogic,mmc-syscon = <&sd_emmc_c_clkc>; >> + >> + status = "okay"; > > Don't show status in examples, plus you have it twice. > ok, i will fix it. >> + >> + pinctrl-names = "default"; >> + pinctrl-0 = <&nand_pins>; >> + >> + nand@0 { >> + reg = <0>; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + >> + nand-on-flash-bbt; >> + }; >> + }; >> -- >> 1.9.1 >> > > . >