From patchwork Wed Nov 21 03:36:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 151635 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1419377ljp; Tue, 20 Nov 2018 19:38:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vjy5WPsuKX4PsHgJ9xueZJm3twTy1QtvSldrFwW8ABumE6MRkPBypjPoBhWNqoe7qJhL+C X-Received: by 2002:a63:4f20:: with SMTP id d32mr4427488pgb.47.1542771537550; Tue, 20 Nov 2018 19:38:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542771537; cv=none; d=google.com; s=arc-20160816; b=uB3ZO8iX9zyKtCUFCVI4mCozsIQtNE7KtJcF3p4isyyZ6chq4mjpcw3FUkmbUouf/h AHs5bqyCWeXmHQSz/xjdiiVamszvSOGZdZVEGlP6y6fEM8WKNGF8NazXrJRQXpTnrAyZ jZTSx9AmRencdoeZZL72zH3VmKf8JI6mWbpJ5NDte+Q/Fz3FiK2HF3lqXjmhghWc2s3J x2/obancVHtWGRGzlTzlCGFYKAhj9uf5mv1/LovS83e/gZkRGgxyPUCkVIP8WhKGsbrH 2vWhtVnPFYhd3Qtn3rb8ZDiPmWr2BzowMrP7tOAqyH97B84NP2bXyfLD/F96d7ezzHKz lByA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6hBNoi0h5IHP2+NkcplzBdBChhhJL4ZE2oiXpP9Xdkw=; b=UPiIlkGCW3WuU1iY0ZfqfhknauPJ2UQ5VMMl7lCxGNgBydY4KxruE8tu2gkVGTjuDh ZIrI71R8R1ysA+Txs98LMQm/bKj5wLVsX30/O3jEUkoS7NlbjicGt1YO5Y/P7JJmbCX+ /AbjrmWS2Ye+Jbf/5wZ3JgpLf/8Lgj9IynyVTE12/3AD1fY/kpWkQizAjx4sCqE8PoAd /tAWCY24tBCjJM0ExjsQn/NfWWGj4A0w9qT1bvqruTaOYds2Lt9nRKSQlsGGaj73paRr uspLQKSY9rYJdZsE0sokrgXW+ixrYLq3RIV2jLx9VahOKCLzZJVAIIJCkSgYlWRAwotQ 4qGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IUGJhNSu; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bj11si25733436plb.21.2018.11.20.19.38.57; Tue, 20 Nov 2018 19:38:57 -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=pass header.i=@linaro.org header.s=google header.b=IUGJhNSu; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727835AbeKUOL3 (ORCPT + 32 others); Wed, 21 Nov 2018 09:11:29 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:40810 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727314AbeKUOL3 (ORCPT ); Wed, 21 Nov 2018 09:11:29 -0500 Received: by mail-pl1-f196.google.com with SMTP id b22-v6so3377355pls.7 for ; Tue, 20 Nov 2018 19:38:55 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=6hBNoi0h5IHP2+NkcplzBdBChhhJL4ZE2oiXpP9Xdkw=; b=IUGJhNSuauZoFeQJpwHR04CtAQulPFEhFdnBxIhGa0eb8uHAJ5XarOoZKdeBq1zToi QpjxrKpTH4oflYagh+IJLLb71Jse41LgF0C9zmokErj+ZQ69FHEVjknoW5GO3kVuI6xm MajlShsrXKUx0opkt0XVoP2XKWwEbNi2k/va8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6hBNoi0h5IHP2+NkcplzBdBChhhJL4ZE2oiXpP9Xdkw=; b=Os87JqJEn+Pk3NhpBJYVNlWhjINlyC5vqJqKL5M6LD6TyaQ1H9sZNo7lplvCjGpwdR HzxjRSuBKb0VbyWy0SuqsQkLqvbM0Tor0UxtbVomc6Vy0VYPJ34/vrGFIHXnLQvUNr+z f/zNsCI9C9N0PFlk/6of90XMWS+gFlfI4InxlWGFgyJ2IBfKnY0M5HAKZpPLALzgwx5o +dibU7FzWrkKq76do1SQXcYrsD+DioXAw+8t3X4VzH7+P5CxMvNBpRp3TubnfrkjLRHm cqgNyezt58ZBUMIjx4xURqGd/bFPPk7XaOQT4X40xBb37G8wOx3Muktl+tfVh5c084sV sq8Q== X-Gm-Message-State: AA+aEWafsondtipOjoeCwxk3ZGEEoW2JPhRY6HCVbK9gIK/uOYVoVgsN aLF8pOuXdYWBvlEX3ZDXHPRw X-Received: by 2002:a63:26c1:: with SMTP id m184mr4156370pgm.367.1542771534603; Tue, 20 Nov 2018 19:38:54 -0800 (PST) Received: from localhost.localdomain ([2409:4072:98b:9501:106a:f751:df0d:9e68]) by smtp.gmail.com with ESMTPSA id z8sm72025095pgz.53.2018.11.20.19.38.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 19:38:54 -0800 (PST) From: Manivannan Sadhasivam To: olof@lixom.net, arnd@arndb.de, robh+dt@kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, daniel.lezcano@linaro.org, gregkh@linuxfoundation.org, jslaby@suse.com Cc: afaerber@suse.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, zhao_steven@263.net, overseas.sales@unisoc.com, Manivannan Sadhasivam Subject: [PATCH v2 10/15] arm: dts: rda8810pl: Add timer support Date: Wed, 21 Nov 2018 09:06:47 +0530 Message-Id: <20181121033652.12247-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181121033652.12247-1-manivannan.sadhasivam@linaro.org> References: <20181121033652.12247-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add timer support for RDA Micro RDA8810PL SoC. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/rda8810pl.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/rda8810pl.dtsi b/arch/arm/boot/dts/rda8810pl.dtsi index ab85ee06d84f..17ae93410769 100644 --- a/arch/arm/boot/dts/rda8810pl.dtsi +++ b/arch/arm/boot/dts/rda8810pl.dtsi @@ -6,6 +6,8 @@ * Copyright (c) 2018 Manivannan Sadhasivam */ +#include + / { compatible = "rda,8810pl"; interrupt-parent = <&intc>; @@ -50,6 +52,14 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x20900000 0x100000>; + + timer@10000 { + compatible = "rda,8810pl-timer"; + reg = <0x10000 0x1000>; + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, + <17 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "hwtimer", "ostimer"; + }; }; apb@20a00000 {