Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3063596ybd; Fri, 28 Jun 2019 02:11:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLmoRCjUYUPO46SJlQId07R/3EDzQ2JA3LUdlnXvUrO12E0kwR1vUrasgizg3XbvFaF2M8 X-Received: by 2002:a63:ee0c:: with SMTP id e12mr8426623pgi.184.1561713061991; Fri, 28 Jun 2019 02:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561713061; cv=none; d=google.com; s=arc-20160816; b=hHqELYL1I+EM0iICt0l4hRG9jHrqObmOSeO0mGxoDJOR9vAv0BLcdutIoJ6YMe7ZTw PRjrMIGzWLFQ3s1ILdXbV6iZBAfiIYHIXlFvrtHcXSB/sWLOms6fDJ9G0zPhVl+wv33P VTxYbzN2xE2h+TbOrvVNOFRR33mkvEU8tlAW8JU7qNYyptjQGnteDQXWIkeagy2hZNCE g083LRlg0vEZdrldnC2oA/cl8SRk2EmckvKYNyBpMOKRe9X1G70h/sffh232Bmu/uibP +wzw+I04sMlQ2LlwHSSE7sN6c0XoKXNmQ+4plYKF4a9cZ3/VRSrW7pT7SivDGoAtobBC +AKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:from:message-id:mime-version:subject :cc:to:references:in-reply-to; bh=F2paadASALR3TKsKhWPmgBpWRABqZMCx+BSyIZlgl1U=; b=sobCQlc24pIYp+T8R5wnNjFMXBcw/99zuZazQkhYpDukKqSBYbI/T9gHujx8KV6xZh TR1fcwCJRj5XWoekOCRoK8phnK5bkZ5GVvpQwoCE3fC0THG8Zhm0I/2ztgRv+mqrYsS+ ONQ3zRv0I/ad/Jg4u0qk1lLJ4QwCsM1ktZZACxE5fVAD/2ifikxlrPbB3t9V3wd0KLqv CV7UY6GmVbkq4aI7z2iNA7l2FloPjqjppi2y4n04wLDDS1Vu+CiMlNxXdAotOilDG/CW hXfh6POazbiUp20hoNV8NqipVCjw01/I8orReIgk/immyhSqCbWalxN64nT3oC6Iz1w0 0Uhw== 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 v20si1556874plo.384.2019.06.28.02.10.44; Fri, 28 Jun 2019 02:11:01 -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 S1726648AbfF1JKb (ORCPT + 99 others); Fri, 28 Jun 2019 05:10:31 -0400 Received: from twhmllg3.macronix.com ([211.75.127.131]:11578 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726431AbfF1JKa (ORCPT ); Fri, 28 Jun 2019 05:10:30 -0400 Received: from twhfmlp1.macronix.com (twhfm1p1.macronix.com [172.17.20.91]) by TWHMLLG3.macronix.com with ESMTP id x5S99G0c007723; Fri, 28 Jun 2019 17:09:16 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) Received: from MXML06C.mxic.com.tw (mxml06c.macronix.com [172.17.14.55]) by Forcepoint Email with ESMTP id 5F2865BB3BC9A59DC514; Fri, 28 Jun 2019 17:09:16 +0800 (CST) In-Reply-To: <20190628094250.1fd84505@xps13> References: <1561443056-13766-1-git-send-email-masonccyang@mxic.com.tw> <1561443056-13766-3-git-send-email-masonccyang@mxic.com.tw> <20190627192609.0965f6d5@xps13> <20190628094250.1fd84505@xps13> To: "Miquel Raynal" Cc: anders.roxell@linaro.org, bbrezillon@kernel.org, broonie@kernel.org, christophe.kerello@st.com, computersforpeace@gmail.com, devicetree@vger.kernel.org, dwmw2@infradead.org, jianxin.pan@amlogic.com, juliensu@mxic.com.tw, lee.jones@linaro.org, liang.yang@amlogic.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, marek.vasut@gmail.com, paul@crapouillou.net, paul.burton@mips.com, richard@nod.at, robh+dt@kernel.org, stefan@agner.ch, vigneshr@ti.com Subject: Re: [PATCH v4 2/2] dt-bindings: mtd: Document Macronix raw NAND controller bindings MIME-Version: 1.0 X-KeepSent: F895B48A:00F391C1-48258427:002F8256; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3FP4 SHF90 June 10, 2013 Message-ID: From: masonccyang@mxic.com.tw Date: Fri, 28 Jun 2019 17:09:16 +0800 X-MIMETrack: Serialize by Router on MXML06C/TAIWAN/MXIC(Release 9.0.1FP10 HF265|July 25, 2018) at 2019/06/28 PM 05:09:16, Serialize complete at 2019/06/28 PM 05:09:16 Content-Type: text/plain; charset="US-ASCII" X-MAIL: TWHMLLG3.macronix.com x5S99G0c007723 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquel, > > Please always Cc: Rob (robh+dt@kernel.org) when you send bindings > related patches. Understood. thanks for your remind. > > > > > > > > > +- reg: should contain 1 entrie for the registers > > > > > > entry > > > > > > > +- reg-names: should contain "regs" > > > > > > Not sure you need that? > > > > for a base address of ctlr registers. > > Yes I know, I mean: you don't necessarily need the 'reg-names' property > as it is supposed that the only entry will be the IP registers (unless > there are more). I don't know what's Rob preference here but I would > either drop the reg-names property or enhance the name, "regs" is > terribly not descriptive. Got it, any comment is appreciated for either drop the reg-names property or enhance the name. > > > > > +- interrupts: interrupt line connected to this NAND controller > > > > +- clock-names: should contain "ps_clk", "send_clk" and "send_dly_clk" > > > > +- clocks: should contain 3 entries for the "ps_clk", "send_clk" and > > > > + "send_dly_clk" clocks > > > > > > s/entries/phandles/ ? > > > > ? > > as I know that kernel views the phandle values as device tree structure > > information instead of device tree data and thus does not store them as > > properties. > > The bindings have nothing to do with the kernel views. They might > actually be merged in a different project, out of the kernel. > if patch to phandle, should we also patch driver to of_xxx_phandle()? thanks & best regards, Mason CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. ===================================================================== ============================================================================ CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. =====================================================================