Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752832AbdLDBHY (ORCPT ); Sun, 3 Dec 2017 20:07:24 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:39296 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbdLDBHV (ORCPT ); Sun, 3 Dec 2017 20:07:21 -0500 X-Google-Smtp-Source: AGs4zMYUAMn9YPTIZInrpvSNoq9rBFFyiBpoIxZUohqqQR9GqTJJwn9jDJnUjhdKUezsAdmEXwJ/BU/ht07pnui4Zg8= MIME-Version: 1.0 In-Reply-To: References: <60f23e7fcff11f16b0bca4753a39d098849eeac3.1511785528.git.green.hu@gmail.com> From: =?UTF-8?B?6Zmz5bu65b+X?= Date: Mon, 4 Dec 2017 09:07:20 +0800 Message-ID: Subject: Re: [PATCH v2 35/35] dt-bindings: timer: Add andestech atcpit100 timer binding doc To: Linus Walleij Cc: Greentime Hu , greentime@andestech.com, "linux-kernel@vger.kernel.org" , Arnd Bergmann , linux-arch@vger.kernel.org, Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , netdev@vger.kernel.org, deanbo422@gmail.com, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Al Viro , David Howells , Will Deacon , Daniel Lezcano , linux-serial@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1179 Lines: 37 2017-12-01 20:19 GMT+08:00 Linus Walleij : > On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu wrote: > >> From: Rick Chen >> >> Add a document to describe Andestech atcpit100 timer and >> binding information. >> >> Signed-off-by: Rick Chen >> Acked-by: Rob Herring >> Signed-off-by: Greentime Hu > > Thanks for submitting this interesting architecture! > > (...) > >> +Required properties: >> +- compatible : Should be "andestech,atcpit100" >> +- reg : Address and length of the register set >> +- interrupts : Reference to the timer interrupt >> +- clocks : a clock to provide the tick rate for "andestech,atcpit100" >> +- clock-names : should be "PCLK" for the external tick timer. > > This text seem wrong. PCLK is the internal timer, right? "PCLK" is > "peripheral clock" (I hope) and that comes from the bus. > > Consider also adding an optional "EXTCLK" already now, since it is > evident from the driver that this is also supported. > Thank you for reviewing ! I will modify it in the next patch. Rick > Yours, > Linus Walleij