Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3067008ybd; Fri, 28 Jun 2019 02:15:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1kvE0WBcEslm/cp8MVvaGIv2ozcsw9bR7J7twAA0fOVuKRH9FYKWw/dQhZ9D21ryv1wKD X-Received: by 2002:a17:90a:dac3:: with SMTP id g3mr11722478pjx.45.1561713300220; Fri, 28 Jun 2019 02:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561713300; cv=none; d=google.com; s=arc-20160816; b=JonCh33hLEBrIDiIGPrUrfrk8fdaqqibvl/+D5IY03fRPbpjKWLhn09NYehwnGwgWB OWYzlH9n2qDt519USXFMQeJG558MfUCu3a54XAjfvV+x8irx4BA7mZiZIGnDGjP3JhQy Od0EYIV47+J3fpfO0Z+7fgt3WMzlORAVqISwr0iXWPvAFByxg6UJ0nHwIhIjGW+l1/NR nn9XHtgSjMOTneSyduk2990qQd5YkhTOeie3RrRnkWT1uMQfRCbgK+sGQkKGkF+Ru3t4 7nz+GR1lNhO2z84eE/3/d6L09OeiEJZZ9npnK3iu06zdmn+d8xQk3XDhzP3vXqUeFtSb u+DA== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=TsLmqP1qIhNhpktmmjxOL7XXW8IRXdAjSncrkqS3OBE=; b=aVIX6jV+2QY3kj8jNQ6XCtM2O+izumjxLKPARpYuwpMZEctlxr1nD+aigjqnrpBJKr dnq8X18tKMiYE8psGig61aJEHuI7e8sjotatSCepvAdHfNgR/T7+kT/HeVliaJq7LMOq jx49nHkIxeEtudInVKiSCY5FX4BK7TiWhImwPpFX9mkxYxQu5x/XlkP+031UF3zZCc5O iD2rFXwzlLhkZz83tA6xTLcN4YpOtjcYgQQbWrqvsU0mg2+rxbRlyN4Wl9Y4GIDdpOTB xsqu5PzRThKNYgucikpWlEbMmzP4ilNDfNSlUu9kwAbI2oXUntcY9e67dSeSZxQBjLe5 wWZg== 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 d21si1586937pls.25.2019.06.28.02.14.44; Fri, 28 Jun 2019 02:15:00 -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 S1726817AbfF1JNC convert rfc822-to-8bit (ORCPT + 99 others); Fri, 28 Jun 2019 05:13:02 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:50857 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726601AbfF1JNC (ORCPT ); Fri, 28 Jun 2019 05:13:02 -0400 X-Originating-IP: 86.250.200.211 Received: from xps13 (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: miquel.raynal@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id C0D98240005; Fri, 28 Jun 2019 09:12:50 +0000 (UTC) Date: Fri, 28 Jun 2019 11:12:50 +0200 From: Miquel Raynal To: masonccyang@mxic.com.tw 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 Message-ID: <20190628111250.34da11be@xps13> In-Reply-To: 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> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mason, masonccyang@mxic.com.tw wrote on Fri, 28 Jun 2019 17:09:16 +0800: > 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()? I don't understand your question. <&clk 1> is a phandle, you already use phandles, it's just more precise than the word "entries". Thanks, Miquèl