From patchwork Mon Dec 10 17:35:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 153324 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3820259ljp; Mon, 10 Dec 2018 09:37:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wa/fbfr/ZbAcsCV5F0ZgHpun2jbmKdViOMifr1ceIMnfpiZjZqeD1g/bDpoXgo5wz5ZAZg X-Received: by 2002:a17:902:7882:: with SMTP id q2mr13276262pll.305.1544463444911; Mon, 10 Dec 2018 09:37:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544463444; cv=none; d=google.com; s=arc-20160816; b=omZWQjFf5XY4l65N1KGcfvsiec0lHb9EZbgBXQ9wJzkMNywbYSYzKjQB38ja9Mn5d7 fTf6nV5vv5VG5GCAxw+jCjicl2uPV8+0XUuqQqD8PD2l19xN12LvbdGirfPPiW1JnSvf GjFM0jqQtnMunhEBrJKf0uowsQ+Qwh6rZgKPqvAUnxHKS2nyKnzLFU0k8czX3i8Xdiq6 ID7eecydWXBexOMZ+kVQ/keMzICIU37g6aDo59eTdqscZ3mU8o0QwVVETWgZ87ldarhV 6VQAsPQJmzzLRQplRhhLhZTq+LO5dkyA0sRoIfZr0dlaWArmh5CJM2P+x2VXlpkmLuys 37vA== 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:dkim-signature; bh=ve2dYgrCZ5Tle2sJqAhn9PzIY+bLP3s6YNDsILvoiZc=; b=lyc/HCBeY9Z8QQJnd07G+y272vVowA4MOBADxEYv/o4LX6Uu02nEeYTRM5IJfoz9jZ aDtfpZIYTV4s078qshR36S6xg+INrobk/orEZcmt3AA6ZbDjuXMCZ+uPbuBspqxzRY0l T+YhaF/izpPQsRbTasEK27bzKRbZpQQcgd/daAJ6qhudRC4ApemOrFiH0FychJa0TI7W +P3otknCS/5qb/wLDf82/5YyMJRcnUWzQb4pF0Rhao3vyx5NnkuOPbW8PUBLABbPn8qA qLmYkrgz383idbZzpn/f75mzk92+e8RI7fixo6gMbgQbrRfhhkp5pw+XqdMDKyaiyL+g icEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LYP/0cOg"; 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 a24si9938439pgd.248.2018.12.10.09.37.24; Mon, 10 Dec 2018 09:37:24 -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="LYP/0cOg"; 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 S1728598AbeLJRhX (ORCPT + 31 others); Mon, 10 Dec 2018 12:37:23 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40440 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728555AbeLJRhW (ORCPT ); Mon, 10 Dec 2018 12:37:22 -0500 Received: by mail-pf1-f196.google.com with SMTP id i12so5720223pfo.7 for ; Mon, 10 Dec 2018 09:37:21 -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; bh=ve2dYgrCZ5Tle2sJqAhn9PzIY+bLP3s6YNDsILvoiZc=; b=LYP/0cOgbYK2nuTZi3UJj5tE6bBV7bMqxBkzrvcG0JwpitEI8gurlVUXxCV1K5T6bH 9dD74F1YiYMpWDoDRmL+v/ag9WgP8e7xEHLcPRbM4+QXtIBuQ2J6icUpPP0cCAfKBeFs SKG0VT9WQOO1cb2rhdQM9z5x0jznpwl6Xi4y0= 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; bh=ve2dYgrCZ5Tle2sJqAhn9PzIY+bLP3s6YNDsILvoiZc=; b=SE7pos0yNXb3HsHrVKmW0suCsqdFI8WpohGlvvypBOWjJsUelCYfEytZJQmld8TD6y 4C090rZpcdh/CBPd0AmjI/hxSkYiexgsV6+kgVrIYTYG3JzVMSkZDEjO5qAwC9VV3d29 B5kKE7+fbXtJY5qm7x1UyVNVg4dLr/csYdHa6BpOi3mhThTyynvShn77IyTjPCD5Lxo8 edxFbpHa77piiQAB2jsOXeOvLibXSq9ZEdMKW+xXuzHCBTKw5vK8TUHMt7PFkXpllXgF qbMeLVAr/KA2qGseeqFnilV2J9MATmRbTWPduVjecFS3TQdwSEK0G+3ExQFrLJbYO0G/ ecPw== X-Gm-Message-State: AA+aEWbjP/UQKj/rr3qZQLeb4Lh7MdZzbgSOGLhlhg4/Q6b+/Z9fAanE SJdQt0YyRvd1IkzebZcRPwfI X-Received: by 2002:a63:181c:: with SMTP id y28mr11299843pgl.75.1544463441170; Mon, 10 Dec 2018 09:37:21 -0800 (PST) Received: from localhost.localdomain ([2409:4072:91e:2c01:40e1:a028:b090:9e12]) by smtp.gmail.com with ESMTPSA id q1sm15998396pfb.96.2018.12.10.09.37.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 09:37:20 -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: linux-unisoc@lists.infradead.org, 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, Manivannan Sadhasivam Subject: [PATCH v4 09/15] dt-bindings: timer: Document RDA8810PL SoC timer Date: Mon, 10 Dec 2018 23:05:44 +0530 Message-Id: <20181210173550.29643-10-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181210173550.29643-1-manivannan.sadhasivam@linaro.org> References: <20181210173550.29643-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document RDA Micro RDA8810PL SoC timer. Signed-off-by: Manivannan Sadhasivam --- .../bindings/timer/rda,8810pl-timer.txt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt -- 2.17.1 diff --git a/Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt b/Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt new file mode 100644 index 000000000000..4db542c9a0fd --- /dev/null +++ b/Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt @@ -0,0 +1,20 @@ +RDA Micro RDA8810PL Timer + +Required properties: +- compatible : "rda,8810pl-timer" +- reg : Offset and length of the register set for the device. +- interrupts : Should contain two interrupts. +- interrupt-names : Should be "hwtimer", "ostimer". + +Example: + + apb@20900000 { + compatible = "simple-bus"; + ... + timer@10000 { + compatible = "rda,8810pl-timer"; + reg = <0x10000 0x1000>; + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, + <17 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "hwtimer", "ostimer"; + }; From patchwork Mon Dec 10 17:35:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 153328 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3820782ljp; Mon, 10 Dec 2018 09:38:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/UsOwv5F3GaTOaWcNH+cTWGWpPGuXQpIv88kmSZU8zjvA7AfZKvK6JmlBeoz58w4RaOFdKv X-Received: by 2002:a17:902:6502:: with SMTP id b2mr12730626plk.44.1544463480549; Mon, 10 Dec 2018 09:38:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544463480; cv=none; d=google.com; s=arc-20160816; b=CBPgHDLY35PVzxY3DL/e/9aPZ6a2MXEsWk8lUbcvnwlzasosh91HKEULPZwBqiFZxm 5NwAdGC9pt9J9ZfZKsqmpiDwXL/KpLOr6M86GlrboOFy4P9UQ6VX6pwrOvy6xtGr+hnx NeVBHaQps2PcCJK17cBnlBL5k3+d87K+fP54jFI3lJSGbmFKhHW20SZIku0zTJJLpG2S hPv18JGZYD0OJNokCCnoK7lN0t1x2BrU/2dy6v0FwHJtksd03zk7XLAhTfs1k2EEPqJ4 MA3v0oFhyP70RweX9kjPn9NQsE2zBNOhbCxaiJV3HSkxbQ0msQ7IpX/uk6t6uhFYQ8qx H5HA== 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=D3bKyeo3jAVxlIMumLLKO1Nw9oQMRPP9y6vXm+NkQhc=; b=jfLn+YKTuiQa2PsQwooXoXJgZ2abUMI3Pxy5RzxptKjR7INKovhLYygty2TG3bXK8A ZDP8KgyXba16YSEC2sIVDlBlUunvFi7+gkMkKfrZmNcpbz2ou7YorVBaqSaN+1bqjb5m bT+TuuXppSIVOxjZTejEyS+Bwgm1eeVQXyrHrSKOI6ZygHnrs+D6Stkg00epxH1xDbPs NScXTSOaBc54E3fpnyNKuU6sOJP69FnmYYm2gUgCTwekst0dGV9KjbR7LGH6tU7IaUDZ ZjmRS29gSl4ThnPmwyNEQpPbxNo05U24qeMWmUCElJTc8Fy/HFNHHUZjMmsLwvT8WRy0 GD8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="T4aE/9tV"; 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 e33si10736997pld.397.2018.12.10.09.37.59; Mon, 10 Dec 2018 09:38:00 -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="T4aE/9tV"; 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 S1728788AbeLJRh7 (ORCPT + 31 others); Mon, 10 Dec 2018 12:37:59 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:42834 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728689AbeLJRh6 (ORCPT ); Mon, 10 Dec 2018 12:37:58 -0500 Received: by mail-pf1-f193.google.com with SMTP id 64so5723044pfr.9 for ; Mon, 10 Dec 2018 09:37: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=D3bKyeo3jAVxlIMumLLKO1Nw9oQMRPP9y6vXm+NkQhc=; b=T4aE/9tVdvdKbD1qV6t56JGFjbK5DnIBBewRd1FAVKSLl2ircbuiqvbq4IujPowJfJ 0fQ1S9frWf49eaZhnA1iyCFA7xEOoCM0btUoKccwz2VUcV79S+rmzC7HxL94H7nBnhms KdRPO1VXtaFvvevtbn7ISihZ1+2TimQPTPz7s= 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=D3bKyeo3jAVxlIMumLLKO1Nw9oQMRPP9y6vXm+NkQhc=; b=A9CMFLEfHCLGYO7XjEhc9+hJAhVkr2gCC6a5tZGOYwkRloFg7e7R9JS6Y/G5VE/KEO eKmqZYtZhwt7uHHxywktN/FxUBThhWviaf0zxPUM5ztbhz8pPMwQ0API9HJgZ4da/5qv 3C+TUusnq0ZDo2yhBUE8Mx2M4kLmloMt9x+SQroE+SUOn8ellBMH/ModnFfqrerxz1lD Zv6kvFIfTmG5cZlM4pgiPLzeltZH1+MTdJ4L7acj+i+4p7ywKyHppn+o029mVmoNd5YA 7LYDz0B5aVfyYQpGLQHEcLdo5pkaVSYKAdLTJ/ux+e3gVrkqXJecaAusPJuPAYFGJnw1 iR+Q== X-Gm-Message-State: AA+aEWapR1tYCQZntzTslEAdwZOXbrvG/tPa8w3atAY47NlDsEvFJ9/M B/L6FyvfQDBPYx2M5ugOEOa+ X-Received: by 2002:a62:cf84:: with SMTP id b126mr13041885pfg.98.1544463477719; Mon, 10 Dec 2018 09:37:57 -0800 (PST) Received: from localhost.localdomain ([2409:4072:91e:2c01:40e1:a028:b090:9e12]) by smtp.gmail.com with ESMTPSA id q1sm15998396pfb.96.2018.12.10.09.37.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 09:37: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: linux-unisoc@lists.infradead.org, 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, Manivannan Sadhasivam Subject: [PATCH v4 13/15] ARM: dts: rda8810pl: Add interrupt support for UART Date: Mon, 10 Dec 2018 23:05:48 +0530 Message-Id: <20181210173550.29643-14-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181210173550.29643-1-manivannan.sadhasivam@linaro.org> References: <20181210173550.29643-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 interrupt support for UART in RDA Micro RDA8810PL SoC. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/rda8810pl.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/rda8810pl.dtsi b/arch/arm/boot/dts/rda8810pl.dtsi index 84baa4c0a14c..19cde895bf65 100644 --- a/arch/arm/boot/dts/rda8810pl.dtsi +++ b/arch/arm/boot/dts/rda8810pl.dtsi @@ -71,18 +71,21 @@ uart1: serial@0 { compatible = "rda,8810pl-uart"; reg = <0x0 0x1000>; + interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; }; uart2: serial@10000 { compatible = "rda,8810pl-uart"; reg = <0x10000 0x1000>; + interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; }; uart3: serial@90000 { compatible = "rda,8810pl-uart"; reg = <0x90000 0x1000>; + interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; }; };