Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751144AbdFSQuK (ORCPT ); Mon, 19 Jun 2017 12:50:10 -0400 Received: from mail-qk0-f169.google.com ([209.85.220.169]:33611 "EHLO mail-qk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750863AbdFSQuH (ORCPT ); Mon, 19 Jun 2017 12:50:07 -0400 Subject: Re: [PATCH v1 1/2] dt-binding: ptp: add bindings document for dte based ptp clock To: Rob Herring , davem@davemloft.net Cc: Richard Cochran , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com References: <1497299161-6458-1-git-send-email-arun.parameswaran@broadcom.com> <1497299161-6458-2-git-send-email-arun.parameswaran@broadcom.com> <20170618140449.aek7vag22i5lnbhl@rob-hp-laptop> From: Arun Parameswaran Message-ID: <8a45ea64-5a0e-6ecf-1e1d-ab8e85aa3115@broadcom.com> Date: Mon, 19 Jun 2017 09:50:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170618140449.aek7vag22i5lnbhl@rob-hp-laptop> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1484 Lines: 51 Hi David, Rob, I will address all of Rob's comments below. Since a part of the patch was applied to 'net-next', would you like me to send a new patch (based on the applied one), or a 'V2' of this patch ? Thanks Arun On 17-06-18 07:04 AM, Rob Herring wrote: > On Mon, Jun 12, 2017 at 01:26:00PM -0700, Arun Parameswaran wrote: >> Add device tree binding documentation for the Broadcom DTE >> PTP clock driver. >> >> Signed-off-by: Arun Parameswaran >> --- >> Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt | 13 +++++++++++++ >> 1 file changed, 13 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt >> >> diff --git a/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt b/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt >> new file mode 100644 >> index 0000000..07590bc >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt >> @@ -0,0 +1,13 @@ >> +* Broadcom Digital Timing Engine(DTE) based PTP clock driver > > Bindings describe h/w, not drivers. > >> + >> +Required properties: >> +- compatible: should be "brcm,ptp-dte" > > Looks too generic. You need SoC specific compatible strings. > >> +- reg: address and length of the DTE block's NCO registers >> + >> +Example: >> + >> +ptp_dte: ptp_dte@180af650 { > > Don't use '_' in node names. > >> + compatible = "brcm,ptp-dte"; >> + reg = <0x180af650 0x10>; >> + status = "okay"; >> +}; >> -- >> 1.9.1 >>