From patchwork Mon Sep 12 09:15:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 9325981 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9369260839 for ; Mon, 12 Sep 2016 09:18:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 866D628C61 for ; Mon, 12 Sep 2016 09:18:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B2C228C64; Mon, 12 Sep 2016 09:18:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6BCB228C61 for ; Mon, 12 Sep 2016 09:18:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bjNMM-0004Wn-6N; Mon, 12 Sep 2016 09:17:02 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bjNM7-0004Jr-Mk for linux-arm-kernel@lists.infradead.org; Mon, 12 Sep 2016 09:16:49 +0000 Received: by mail-wm0-x230.google.com with SMTP id 1so133020927wmz.1 for ; Mon, 12 Sep 2016 02:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NepnaTA7tmRL7n4zp3P99N3gpEy82WSfJA1Md+PKW9s=; b=i3Mhn8dLbJcXP/Bx+vclDJ3vd3eqo11sEGsxLm/yuF8izDcL0tbPLbGSQmkW+OfdCE q3Ci2zr3WcUhNsI2QMvo2npuO6oft/cm1eF+g6veCUqevFit5itXmSNJt1QgGggotO7m CIdifxJJu7Ur6bGMJ77Ah1NHlcxRhn+lk4PNU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NepnaTA7tmRL7n4zp3P99N3gpEy82WSfJA1Md+PKW9s=; b=jac/IjKDbpVuohciOCPEe62bQzhq4OEDWrcOc37J2VPS/uLOYmpOmH32/tyOJxI4s9 Itluve0BQ79dZ31lHgRALva6KsHkze2/QsrkmKTFRU3aClgTtjSxg/Ke8g1j2aDFhaGK CUmvqxmDNRKZEMv6uFPzCrQ2XcUc2OdJNXgP/QFAZIBC07aJNNqL0ht/EWVJgF/oKBbt KI5n7OEm9U6ukgewVQzfGNu9qsnPrXaYr56qN60jyx6+WXjvpeqjyUciuyWg0DVV4fJj sKhUxLuH3BrhGd7ADio+kNSFIAhgTkxLDUJ/FMDe/R6E9gyQz9Lg5H01cBXCwHnwV0wt JynA== X-Gm-Message-State: AE9vXwPqexFrpbWEcsK5kSS3CyyAjJ7C4slok58rFQNRawuZPGOEEBjlY5fbo6+8rDA7fbd8 X-Received: by 10.28.88.207 with SMTP id m198mr9083295wmb.79.1473671785555; Mon, 12 Sep 2016 02:16:25 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:e089:f01a:f419:f17e]) by smtp.gmail.com with ESMTPSA id va3sm16939362wjb.18.2016.09.12.02.16.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Sep 2016 02:16:21 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Subject: [PATCH 9/9] clocksource/drivers/oxnas: Add OX820 compatible Date: Mon, 12 Sep 2016 11:15:47 +0200 Message-Id: <1473671747-9400-9-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473671747-9400-1-git-send-email-daniel.lezcano@linaro.org> References: <1473671747-9400-1-git-send-email-daniel.lezcano@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160912_021648_052162_82FB19B6 X-CRM114-Status: GOOD ( 11.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Neil Armstrong , linux-kernel@vger.kernel.org, Rob Herring , mingo@kernel.org, "moderated list:ARM/OXNAS platform support" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Neil Armstrong In order to support the Oxford Semiconductor OX820 SoC, add new compatible string to rps timer driver. Also add new string in the dt-bindings. Signed-off-by: Neil Armstrong Signed-off-by: Daniel Lezcano --- Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt | 2 +- drivers/clocksource/timer-oxnas-rps.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt b/Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt index 3ca89cd..d191612 100644 --- a/Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt +++ b/Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt @@ -2,7 +2,7 @@ Oxford Semiconductor OXNAS SoCs Family RPS Timer ================================================ Required properties: -- compatible: Should be "oxsemi,ox810se-rps-timer" +- compatible: Should be "oxsemi,ox810se-rps-timer" or "oxsemi,ox820-rps-timer" - reg : Specifies base physical address and size of the registers. - interrupts : The interrupts of the two timers - clocks : The phandle of the timer clock source diff --git a/drivers/clocksource/timer-oxnas-rps.c b/drivers/clocksource/timer-oxnas-rps.c index bd887e2..d630bf4 100644 --- a/drivers/clocksource/timer-oxnas-rps.c +++ b/drivers/clocksource/timer-oxnas-rps.c @@ -295,3 +295,5 @@ err_alloc: CLOCKSOURCE_OF_DECLARE(ox810se_rps, "oxsemi,ox810se-rps-timer", oxnas_rps_timer_init); +CLOCKSOURCE_OF_DECLARE(ox820_rps, + "oxsemi,ox820se-rps-timer", oxnas_rps_timer_init);