Received: by 10.223.185.116 with SMTP id b49csp8122325wrg; Thu, 1 Mar 2018 18:00:40 -0800 (PST) X-Google-Smtp-Source: AG47ELsN3t7m9tJwk23SwYDgxoSYPY67w1p56TjzsAVmst0cEthouiIfqYtQ3prD12kkP0KtpuzV X-Received: by 10.98.74.67 with SMTP id x64mr3995252pfa.135.1519956040841; Thu, 01 Mar 2018 18:00:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519956040; cv=none; d=google.com; s=arc-20160816; b=jsMU04aLVgtNABMnHPqOUunGD0o8l6k9A4kBxgp0FeI7BxcfUI9MWTBMd3ZF7MtHm6 LryKYo0+RVILEWBx3zTB02XnhgJQkka1EP6blQnpnSgEDuQGFw6O5IWNiS4TXv2E7tkn FwJD7pl4NwTVqqbnbL5Fcan9686gxr8luxQQo1zMJtNe+hTnTigA+tzlUdpmoL72AVG2 e0hDSF3QOpLHnucrZwUafKTsylpflaTjbmJytBEZVVHhciwK9METSjMNAIHc6Vo4iv5W iRPmOPe0YgC2bdQFbhudRHVEgqyp1F4o2ASrq1EefwG9acPDmbljjTYnheoxHfzMyGw/ zVVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=hJU/ndnISZyG0jE2xOEMGsaLhSa/1hFJHUPDV8Nuw0k=; b=xO8IEuKYDFEBlbRfJtzlqPwhqKyzTJ9+wosPRErVQbOf/bV/OahzDw42emaxXOAVmx kIvIQgt98O1ukRu8y5xzIET1kgmdtJso73HbhK2Lc6NKqi3Zk2r3dGI4HhbW+7btcGAb rgoE0rKPSl8ZnCJsBoL9T+oobERC0b6AJ9s5Ps1P2xikeUH0ybC+vo485xCv3I3KGWbK vEoOgqagbcH0Yy36Z9fEAdiIGYb/U8xKdRN95Z86sxKLV17fI4/orRgbZQLACVDXEG2F ts8J+t3InLao/KIfTmQjWm95EYkbbGKexP4XrUUNJy8M7y5kcfLBR737nRJVzksgqSko nxHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=e7GD99db; dkim=fail header.i=@jms.id.au header.s=google header.b=kwFwz6n1; 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 s3-v6si3826382plp.461.2018.03.01.18.00.25; Thu, 01 Mar 2018 18:00:40 -0800 (PST) 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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=e7GD99db; dkim=fail header.i=@jms.id.au header.s=google header.b=kwFwz6n1; 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 S1164060AbeCBBwU (ORCPT + 99 others); Thu, 1 Mar 2018 20:52:20 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:46637 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1163120AbeCBBwS (ORCPT ); Thu, 1 Mar 2018 20:52:18 -0500 Received: by mail-qt0-f194.google.com with SMTP id m13so10159185qtg.13; Thu, 01 Mar 2018 17:52:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=hJU/ndnISZyG0jE2xOEMGsaLhSa/1hFJHUPDV8Nuw0k=; b=e7GD99dbAibF2uPnJFZYIp5r/fqijmY5fhTyFTlfBNlaZUHovWOIPmXJSuqIlvmY2f jXIZyDUsuyLHtlr1Lk6WNys2sq69xheLhaRCVbq1nBwve5SHBx49YITMqM1dalF7v5a2 C8U56CZTtmRis7QNratQ92gu0XbY2/chc0n0jKQ5CiHGP4adgrX2gUIcA1kO3PM8H3rY TNGmNeVZoalXOcv6NN7LFTUVT7GefJ+sEYJkSN//DheJKnu8YlT0/qCuRn2pLOHf4hfE dW6DTmvwd/C524VJiV0Wa2e/JDahWv5XAeasYBETVvKUw/mDXKZ/qM6TD+6hkSza5gUa UG+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=hJU/ndnISZyG0jE2xOEMGsaLhSa/1hFJHUPDV8Nuw0k=; b=kwFwz6n1qcdtwVjGyI7WvB3c67OqhtUaSbf8vbIPfhmVr14D5N3YhlkN+aP7Yzp9Yn bXJsuFL6JO5ivMaQVusaqPEkc0JgqrGGpm0G1fYSKrfyf0K8A4NTAlsxaVCVTDw3jGWk d7cZqoNH8T5ZugTrECSNtQUXbwhEoQZ8b1xBo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=hJU/ndnISZyG0jE2xOEMGsaLhSa/1hFJHUPDV8Nuw0k=; b=IiXrU75Id0rNVtCxMadQ7ZtaPok02viTSMgr+hh/bcCOEXY0tarrMNEVUePdlYE0EZ deVlCYAWmrGWkSrh9+WSd+HZ5QO/OpifmV/LPSLooo1uR/X8c6w3hLNWxfx0N0B7vc4S +6jKu0e71IJJgS9pcQhGoMczEbQDl7RF8YZp02og+cGxWliwjJYaImnTXzU8Yb0S9onE 3iE/h/Did5xs5GAVSGCDdKKnEhcZaXODl/3Pr12/5HotXDqrt0md4VX8Rk2arTVza8lP xc0Zw3xBsD9RI+Mx0tTKHPSLIAJ8Vpk0LnmHXfPeT513XynKgEc6YpoDtHFOeEOKOyZF 8MMg== X-Gm-Message-State: AElRT7GBxR4RoZEm60I6SHaI7xWnSFM2/kr7k26+8nowfog9vfJKKSzI GNbwy4Bl0jwKVjAPpF7WTQHnTmgIolVbcPFMHnM= X-Received: by 10.237.36.110 with SMTP id s43mr6278590qtc.23.1519955537360; Thu, 01 Mar 2018 17:52:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.50.69 with HTTP; Thu, 1 Mar 2018 17:51:57 -0800 (PST) In-Reply-To: <1519655769-25836-2-git-send-email-tmaimon77@gmail.com> References: <1519655769-25836-1-git-send-email-tmaimon77@gmail.com> <1519655769-25836-2-git-send-email-tmaimon77@gmail.com> From: Joel Stanley Date: Fri, 2 Mar 2018 12:21:57 +1030 X-Google-Sender-Auth: pNjvUWkc9RTOb91wocDVyV7bXEE Message-ID: Subject: Re: [PATCH v4 1/2] dt-binding: timer: document NPCM7xx timer DT bindings To: Tomer Maimon Cc: Rob Herring , Mark Rutland , Daniel Lezcano , Thomas Gleixner , Avi Fishman , Brendan Higgins , devicetree , Linux Kernel Mailing List , OpenBMC Maillist Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tomer, On Tue, Feb 27, 2018 at 1:06 AM, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton NPCM7xx timer. > > Signed-off-by: Tomer Maimon > Acked-by: Rob Herring > Reviewed-by: Brendan Higgins > --- > .../bindings/timer/nuvoton,npcm7xx-timer.txt | 25 ++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt > > diff --git a/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt b/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt > new file mode 100644 > index 000000000000..c5150522e618 > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt > @@ -0,0 +1,25 @@ > +Nuvoton NPCM7xx timer Would it make more sense to all this Nuvoton NPCM Timer? This way the name stays generic for when you add other systems. > + > +Nuvoton NPCM7xx have three timer modules, each timer module provides five 24-bit > +timer counters. I notice the timer has a register in the middle of it that is used for the watchdog. Should we describe this in the same binding? Even if we just add some text that adds ... and one watchdog register. > + > +Required properties: > +- compatible : "nuvoton,npcm750-timer" for Poleg NPCM750. > +- reg : Offset and length of the register set for the device. > +- interrupts : Contain the timer interrupt with flags for > + falling edge. > + > +Required clocking property, have to be one of: > +- clocks : phandle of timer reference clock. > +- clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx > + timer (usually 25000000). > + > +Example: > + > +timer@f0008000 { > + compatible = "nuvoton,npcm750-timer"; > + interrupts = ; > + reg = <0xf0008000 0x1000>; This can probably be <0xf0008000 0x50>, as tthe timer hardware only has registers up to base + 0x50. > + clocks = <&clk NPCM7XX_CLK_TIMER>; > +}; > + > -- > 2.14.1 >