Received: by 10.223.176.46 with SMTP id f43csp154604wra; Fri, 19 Jan 2018 15:21:37 -0800 (PST) X-Google-Smtp-Source: AH8x225LcubX1Bd9lTbxv7Nj8Tj1mX1vzRxiJMzr0l3jvUqRKwYglCk47ja1juBQlgE39/QAGWud X-Received: by 10.99.113.20 with SMTP id m20mr106688pgc.400.1516404097876; Fri, 19 Jan 2018 15:21:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516404097; cv=none; d=google.com; s=arc-20160816; b=J52NpRDEduVKxkcvP1Azd74+PRjvhKHPEB7zDC+t0eglj2WmCdogzlAEWdXDMTQH6q tmaV3pELBmlBBZU/MH1x35tasPIZUgj8Z26S2cWQ1iDUoVz9KrCd8BJF3zpr0/lYEf5a 70eAfYoM/nt4nxXb1n5Ne4ZIXfX4P33pSLHzRzU1/cFZwehFmD2l+A8XBAZD5Zo/+z5n vhD4DsPwsEN1ZMzBgMVhVOdOr5j/jDuAfOm+6ZzYdh0gxgOnBIGtlvlbVeGUvogpJ66e x9eL4Q3z8Qa1pyyCaJ9VeYmPAE6CtQH/eJAh+wAOt3lNZD1QSjSox9nL3I8oXa7PxwRz ib2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=ccWBG7Nu4Y1EtnxuMy9UspBlbLAbWC93pjDBHUb+Zr0=; b=zPS1Aoro7ushUQpvN9iCZUCMrOAkmLMtqK0zhRT2FVGi+z6t5n1y+nYmCz8gZNPvM9 txnPOlXU34eOF2LrqJwBvddfJIKCSuKW+GxERhb6AWKNTXtq8bk4wIbU+mLKmlHfKEWC 1fYcSbm+ayMDNgDA0THY2HLQBOzYDJ0bEKVP2NXICDlkOsL0A8QjBq88rXlYhK0thwoM Tk6ScXYvz9/m/ySjKNeZSbBPPGUeXMknIWqs1F7homKZA9WrTghD0f4Lni76/25LTVF5 Rl3wVfXBtxSI/X5k/y/vRzUxTlWq/G3lssSw8unUtOE/V8e7J8tJ/tvJ+ddqnZela9o1 QmZw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11-v6si1179298pln.694.2018.01.19.15.21.16; Fri, 19 Jan 2018 15:21:37 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756473AbeASXUZ (ORCPT + 99 others); Fri, 19 Jan 2018 18:20:25 -0500 Received: from hermes.aosc.io ([199.195.250.187]:48366 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932382AbeASXSb (ORCPT ); Fri, 19 Jan 2018 18:18:31 -0500 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 3D9765606A; Fri, 19 Jan 2018 23:18:26 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Russell King , Daniel Lezcano , Marc Zyngier , Linus Walleij Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [RFC PATCH 4/9] clocksource: sun4i: add a compatible for suniv Date: Sat, 20 Jan 2018 07:17:30 +0800 Message-Id: <20180119231735.61504-5-icenowy@aosc.io> In-Reply-To: <20180119231735.61504-1-icenowy@aosc.io> References: <20180119231735.61504-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The suniv (new F-series) chip has a timer with less functionality than the A10 timer, e.g. it has only 3 channels. Add a new compatible for it. As we didn't use the extra channels on A10 either now, the code needn't to be changed. Signed-off-by: Icenowy Zheng --- drivers/clocksource/sun4i_timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clocksource/sun4i_timer.c b/drivers/clocksource/sun4i_timer.c index 6e0180aaf784..88e09554ce7a 100644 --- a/drivers/clocksource/sun4i_timer.c +++ b/drivers/clocksource/sun4i_timer.c @@ -218,3 +218,5 @@ static int __init sun4i_timer_init(struct device_node *node) } TIMER_OF_DECLARE(sun4i, "allwinner,sun4i-a10-timer", sun4i_timer_init); +TIMER_OF_DECLARE(suniv, "allwinner,suniv-timer", + sun4i_timer_init); -- 2.14.2