From patchwork Wed Nov 28 13:51:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 152263 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1114823ljp; Wed, 28 Nov 2018 05:52:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/VKSXr7NJM68QIMKNAlVo/6p9w3JCU9k3G2oSzJPCRA66hAzi1u/bhnwIYDkfdWIqhVGL6X X-Received: by 2002:a63:20e:: with SMTP id 14mr33092950pgc.161.1543413179592; Wed, 28 Nov 2018 05:52:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543413179; cv=none; d=google.com; s=arc-20160816; b=kxd1AZAVfu0fORa/pNI7ou2M0aDDYmjsv5yFuZKedBzJmzdT5+qwUVnAb5ts2vHEw5 URcOof3kkCyZgFdcxJbImPW4Kl0NhGcWsGZg79JeAIkUeOvCOTKrWgkwB7Akaaq8psKE 2Thojq9cMrDK5J5A5X8J5V65fVU7fONFAnO4Urq3GZrVRNzoz9Xa03iWHXkB4U/sMpSe dkBGy8GV7lx2FOvyKBSYVlBKWNrdu1zn8H3e+Qz7aGrU5CL7XLAlbRK7czi56fwzJEPW DsW3gHYqaZGr3KIQFpabFW89Gc7ZUZRbB4lqOH3rc8UvLyL4wUDvuJVPcePgAJJgje1c L8WA== 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=M9evsXiKq/f6/hJaxP4dc1I6TBIm55n2snnXtgBmQsE=; b=oFQ4Wbg6CPgmT/oGrGhmC0Zim3LOTEIoFLpQGGwb+MEGpZ1oiYjk9ENdpaNGN2uawd muUMN7YhO2mGGQTxvnB6QYjbOnuoCElrT4mVGX4T7povQMxjWoKYuu3uk4t16hSu5LFY HBbMxAeIAMohAdUwituY87rNgNn5ip9GiwWIycLQiSrlfE4HljBJzgGwfCxN7SvZTnwc s4o3vrVJq9DTIkKbnEJ1AWCP70tGNVgUAeJKDJWUKgvoNkrBBXMcWo8b02Qi4oE0ai7V 67WeLXJkQyEobTBlREXB+itZ4j6oFxlMJx7sWx4gCrhqAj664NJ+LncMPuuwiS1D55VE McVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RvXNXcRH; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 z129si7723832pfz.13.2018.11.28.05.52.59; Wed, 28 Nov 2018 05:52:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-serial-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=RvXNXcRH; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 S1728443AbeK2Aym (ORCPT + 2 others); Wed, 28 Nov 2018 19:54:42 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:41023 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728342AbeK2Aym (ORCPT ); Wed, 28 Nov 2018 19:54:42 -0500 Received: by mail-pl1-f195.google.com with SMTP id u6so17421340plm.8 for ; Wed, 28 Nov 2018 05:52:58 -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=M9evsXiKq/f6/hJaxP4dc1I6TBIm55n2snnXtgBmQsE=; b=RvXNXcRHZHMo+xE//oZmLxHt09geXet/i4djGs8nsnYgU0TnGrTLwIe22yMLEZPD6b pr44ZlN7dWIS3mwsxScfui2i/euRbNUNdbEJIYGiat1cABGiNyIaSxewoTOAtTq5LPei +2nbSpyjWQBlBdBiIvWVMJjcSgMByMJpjVv1s= 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=M9evsXiKq/f6/hJaxP4dc1I6TBIm55n2snnXtgBmQsE=; b=JFD3nNBszVbL7UJgMtqMu0jNVz8BsXb3HzRbr33Cvwj2F9n7pC2BxwfwbJkAiwWWpG VE+WkThrez26nCETep5oZ8CgRoRMRMbxBnb4m0jBlJV36ywIOO4XSMGzxk2tG8roqT4u LpKD6EPjjBJL9fA1FnwMjSPb8O/mNPQUMk8Fd3QqJxC68bjMZn1KcATcqInbHNXhJuzK quH7aanx9eqcJ8/AF5WzlkSZ1K+zejm4l10JniC6iPXKZJIAn07KmWf+W6E2kO7aWU56 DW0bVXqAOJA0FY3qF91MdzTi0a5fQukqDE6DWd4xb80ac3bUPk2YUDWtPCchHRoKm1Dm WtKg== X-Gm-Message-State: AA+aEWYt4Xc/OAkr6kP2tNdmTMXdmm+K8+a+JLlESgdO/T/wT7/T1pZq IuZWJM+K7QqdwSPrWtAkjEX0 X-Received: by 2002:a17:902:8a95:: with SMTP id p21mr32550680plo.183.1543413178149; Wed, 28 Nov 2018 05:52:58 -0800 (PST) Received: from localhost.localdomain ([2409:4072:90a:a93f:b481:6fae:6692:c3ee]) by smtp.gmail.com with ESMTPSA id c4sm22049854pfm.151.2018.11.28.05.52.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Nov 2018 05:52:57 -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 v3 10/15] arm: dts: rda8810pl: Add timer support Date: Wed, 28 Nov 2018 19:21:01 +0530 Message-Id: <20181128135106.9255-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181128135106.9255-1-manivannan.sadhasivam@linaro.org> References: <20181128135106.9255-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@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 15547b138977..84baa4c0a14c 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 {