From patchwork Wed Nov 28 13:50:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 152257 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1113847ljp; Wed, 28 Nov 2018 05:52:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/XjmfN1NhsbOywP1f6l8Umfjtamq8WeiTy3O5z0U8hVh4NKMr+3LA3Kp+BM7AeSkT3cwrJT X-Received: by 2002:a17:902:2d81:: with SMTP id p1-v6mr36218158plb.97.1543413121266; Wed, 28 Nov 2018 05:52:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543413121; cv=none; d=google.com; s=arc-20160816; b=nq7AwknXYIyRwk76T+O03j9rJATnRukSCJT3nYL+WKXz5bLvpCJoDEBWQCfK1VFdi4 ogmcnkxuF0EeHgdgyGzQnMlmJBPNLG2ma+1eUSCFNZJZBtFwk0g1oNgQ/amO9MCZHb7/ dCjX5bFJE0NoIEbb76FV6Sr1NfpCNkrKW5pKUXfHNL+mKdq3/+ez165wz1EPQC5yngpL U+tGjaCCialj0LmxkIKWOLQDF1HOQ9Qh9xW5M7PUSGzxpIEt+ZeEiOIxY5Vksz2whEFd iS2azkW3HKUxeL33WfOGQObLC+o0wIN2lq0+SkX4urQz3uAb/WttpGsAbLd15uo3Rtko /Xeg== 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=u6fmImAznleIoNGGi0rVkBDi0LpKZQqF8erXbtWcAbM=; b=YzeH8ocnaXsGk8GoEyjxK7mXZELEpY477ET3Hg1OT4KkO/UzFoy+1lUrUc3j+OrB6T TqiwOBqjpON5EgzItjOUUQ+a0v17vccdzWc5Idgpd4wyBF+OppBmtRhlGaJUguk/LPr/ kAzZz5+9p3CPw0V/ZOvBmiYPHgGWxARSL6g4zglGhrhNJo5ZFocpYpRoAfmKi/G8ZR31 oQ9OA/tUXPKN2HNpWc6DMJvN2bzYKXibrj2mQu2IPOoSuO7t/XKZOuhW12QYiZcwAqaa hEDin1dGut12B0ar7wWFiBiuogZfNPeQ3BLkWGEqd0s4izueYN96Kz/+Rv1iXO04SNZp AeVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NSMu2IzX; 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 h5si8456128plk.373.2018.11.28.05.52.01; Wed, 28 Nov 2018 05:52:01 -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=NSMu2IzX; 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 S1728615AbeK2Axn (ORCPT + 2 others); Wed, 28 Nov 2018 19:53:43 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:39801 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728580AbeK2Axn (ORCPT ); Wed, 28 Nov 2018 19:53:43 -0500 Received: by mail-pf1-f195.google.com with SMTP id c72so10200877pfc.6 for ; Wed, 28 Nov 2018 05:51:59 -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=u6fmImAznleIoNGGi0rVkBDi0LpKZQqF8erXbtWcAbM=; b=NSMu2IzXjhP+ZJp4DxZgYnFWRXmBCSGPjplbSG739y56PGyJ+smjo6ipDhf6sZsG8b dkYy76V5OUXPbRfBrZYB00+vBC5NoWpClDv3ptNfTa4BIlKXPofMmIBlQWlkAYfwMMRQ HvD09bJ7eBI8axNS/l+j5/g0cArGLhY9/VgRc= 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=u6fmImAznleIoNGGi0rVkBDi0LpKZQqF8erXbtWcAbM=; b=XhQKil7lyvhVCp5PEnOYyFlKL7jSCEwXsI4sIsvgxXUXWAUUuoaxIwMHKF0WEuDaaV yIYg7rErc2bSQqxDopStXSv3hQEIMCe61Tu8bOXrWVzRPYH5tSyxH31evKDEKon7AS1c aGObeMn9ExE2LdP4+dXlnxzCOjuTF7VY0LE6O8MydXPl/vULEcUevBlcJIRD9k30Iq1n XSVfBwVhen8Myuj8YtSFpbzYwNRmxzr/gdw9uNxOWKPD25uO7YIWHIC9CRN/jwjU828z pYs/WnosJlDgk2n6FcPeiUQ8Bf9Dph2qV8oAJbeiKf/4goELFIHTZH/Ml4RWZRpRLveQ aSNA== X-Gm-Message-State: AA+aEWb49wa58KayNh9EMF5UTZfUsQ0LNCjpRDQb4yoPwbJdkf71bckD 1lI3FBVggzmdxpgRP2e5flPT X-Received: by 2002:a62:5950:: with SMTP id n77mr23081507pfb.128.1543413119530; Wed, 28 Nov 2018 05:51:59 -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.51.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Nov 2018 05:51:58 -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 04/15] dt-bindings: interrupt-controller: Document RDA8810PL intc Date: Wed, 28 Nov 2018 19:20:55 +0530 Message-Id: <20181128135106.9255-5-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> Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Document interrupt controller in RDA Micro RDA8810PL SoC. Signed-off-by: Manivannan Sadhasivam --- .../interrupt-controller/rda,8810pl-intc.txt | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt -- 2.17.1 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt new file mode 100644 index 000000000000..e0062aebf025 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt @@ -0,0 +1,61 @@ +RDA Micro RDA8810PL Interrupt Controller + +The interrupt controller in RDA8810PL SoC is a custom interrupt controller +which supports up to 32 interrupts. + +Required properties: + +- compatible: Should be "rda,8810pl-intc". +- reg: Specifies base physical address of the registers set. +- interrupt-controller: Identifies the node as an interrupt controller. +- #interrupt-cells: Specifies the number of cells needed to encode an + interrupt source. The value shall be 2. + +The interrupt sources are as follows: + +ID Name +------------ +0: PULSE_DUMMY +1: I2C +2: NAND_NFSC +3: SDMMC1 +4: SDMMC2 +5: SDMMC3 +6: SPI1 +7: SPI2 +8: SPI3 +9: UART1 +10: UART2 +11: UART3 +12: GPIO1 +13: GPIO2 +14: GPIO3 +15: KEYPAD +16: TIMER +17: TIMEROS +18: COMREG0 +19: COMREG1 +20: USB +21: DMC +22: DMA +23: CAMERA +24: GOUDA +25: GPU +26: VPU_JPG +27: VPU_HOST +28: VOC +29: AUIFC0 +30: AUIFC1 +31: L2CC + +Example: + apb@20800000 { + compatible = "simple-bus"; + ... + intc: interrupt-controller@0 { + compatible = "rda,8810pl-intc"; + reg = <0x0 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + }; + };