Received: by 10.223.185.116 with SMTP id b49csp6437841wrg; Thu, 8 Mar 2018 07:27:18 -0800 (PST) X-Google-Smtp-Source: AG47ELtXX4CXoN9XFqiOeyFl+ZiI+4400xKPjP1nFr15q9CWMXO0IfmgvjXNoVnWVRb4CbLOFOsQ X-Received: by 10.98.13.24 with SMTP id v24mr26526127pfi.89.1520522838483; Thu, 08 Mar 2018 07:27:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520522838; cv=none; d=google.com; s=arc-20160816; b=qZeawuXXy3n6ae1/JWBmnkQePKCX7IXu0w7H8nzYwLxmN56uXVHM0+43b9vDNYGtar kW0erT44MFOFrHlLKwc3/S3+MB+l3hKYYwybLjhHr8dQd5d6GsS+WA9M0B0BbMsFhaGH Dy/t/zOR6yK+Cf0HWViE3NiOp+efq7ZdhDouz36kW4OSQwDME542f+cATMZNy1b2lNfl h1KCgjsbEWF7m6wdJ51KChsS0Cp0cOUPOYhemG5a0f67jrEQ/sdZzEiTobvTlQ/PrK6k WWEeZfsC9zAIWqIHFJ7uK2pUdjPO3bkb2/VPhsm7xw4aUSuwC0ZGcobAYzYG08Ikux+0 piOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=/UCmKH8EQcXSMRVwdXAEwyuIQesTWXPGiUewKdaJnmk=; b=TCQT1cO5fGvyPENGA+rkSUrdVqD9qw7U25WpEOCad7HEdTSzOqP2w9v+CfaAZi7qoc s2sbzPJQ5V3GON1GNi11yDiLfoNnaQh0YJ4lFSpWdhDOMUjzbY2HR6zqYm247aEJrJBT /JfWObl3C3zubFkx37smizjfuPGkb8x9+ZZQWEOL5NHJGMRAgKoBwtQ1Va2u10fXdkAy 8W4j5zrBh2k9HzzYMotuSv3MSbsd1pu4U+WfrlLUXzsO1mry+nkdaWhT3ASc1w2g/bii uKueQ9QIA7Un7Q4QK2ha8JPuYJYx5H0i+07SWWf/SudEV18Uk4JW+jAGgCZFgt80uzWl ij8g== 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e190si12164202pfe.203.2018.03.08.07.27.04; Thu, 08 Mar 2018 07:27:18 -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; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756109AbeCHPZw (ORCPT + 99 others); Thu, 8 Mar 2018 10:25:52 -0500 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:57631 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756067AbeCHPZq (ORCPT ); Thu, 8 Mar 2018 10:25:46 -0500 Received: from talu34.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id w28F6fCk031241; Thu, 8 Mar 2018 17:06:42 +0200 Received: by talu34.nuvoton.co.il (Postfix, from userid 10070) id 273105AA75; Thu, 8 Mar 2018 17:25:01 +0200 (IST) From: Tomer Maimon To: robh+dt@kernel.org, mark.rutland@arm.com, daniel.lezcano@linaro.org, tglx@linutronix.de, avifishman70@gmail.com, brendanhiggins@google.com, venture@google.com, joel@jms.id.au Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon Subject: [PATCH v5 0/2] clocksource/drivers/npcm: Add NPCM7xx timer driver Date: Thu, 8 Mar 2018 17:24:56 +0200 Message-Id: <1520522698-16153-1-git-send-email-tmaimon77@gmail.com> X-Mailer: git-send-email 1.8.3.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Addressed comments from:. - Daniel Lezcano: https://www.spinics.net/lists/kernel/msg2741546.html https://www.spinics.net/lists/kernel/msg2741548.html - Joel Stanley: https://www.spinics.net/lists/kernel/msg2736646.html Changes since version 4: - Remove clock-frequency option. - Rename driver name. - Enable TIMER_OF_CLOCK flag. - Modify register size in the dt-binding. Changes since version 3: - Modify prefix to npcm7xx_ - Modify licensing to SPDX license format Changes since version 2: - The shutdown function called oneshot function that can cause a crash in the system, Modify shutdown call to unique shutdown function. - Adding support to resume function - Using timer-of.c API - Modify NPCM750 compatible name. Changes since version 1: - Rename driver name - Removing unnecessary dependencies in configuration - Adding prefix to the macros - No changes to dt-binding documentation since v1 Modified driver have been tested on the NPCM750 evaluation board. Tomer Maimon (2): dt-binding: timer: document NPCM7xx timer DT bindings clocksource/drivers/npcm: Add NPCM7xx timer driver .../bindings/timer/nuvoton,npcm7xx-timer.txt | 21 ++ drivers/clocksource/Kconfig | 8 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-npcm7xx.c | 215 +++++++++++++++++++++ 4 files changed, 245 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt create mode 100644 drivers/clocksource/timer-npcm7xx.c -- 2.14.1