From patchwork Wed Nov 21 03:36:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 151629 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1418614ljp; Tue, 20 Nov 2018 19:37:56 -0800 (PST) X-Google-Smtp-Source: AJdET5feLugVXqhC432fLvPGEraiMJ7/V7KFs7vdR6zI6Cf3RJNzgfDk0v9II0liNjh00Kpo7++w X-Received: by 2002:a62:1709:: with SMTP id 9mr4971773pfx.249.1542771475948; Tue, 20 Nov 2018 19:37:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542771475; cv=none; d=google.com; s=arc-20160816; b=K/HHpApQj0vr0DqH7sVOMKG8TAQbhWHv1oYnAqstcO6KO0el0MWq9ygYQtx5qCiNNb Cv4CnmQsTXzUqSXh4tL3F8PEnQxjquoOdaKLeSdbzCi/0ik77DKyyxs5ArjMprUoK03X ANwRiBnG207zEZeHRO/ePf5p0zc3D9xKeg1En4kUFRV2Zak5L+jFFXiMKVdkFdYaGGIP J3olyhSzFQZcTeWPieGAF4Uo2i4U/oxPsJPGMBtviWqkpFNDebp7wu3otxMQ1vzvLrYU FkO1a7EUBwCn3HAWtQSVyd3NIDh3xEsGgobSLZDlkpH0pL5uSCMebFWu3LhkS0Z3nuTv nizA== 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=Gi2NZxhgysFRu3/4b8Tolk3C+BVonxMe+VR7oQcIzdcO4I3Zxz9GVgAhJtWHkcjIZd JVHFyRNgegWB/P9kCseemHpRfWF0PsqaicmzM6z/StWH94vWYrRRdEgtfPJhTAxp73Cf AtvqhCvZoASYRP1LgCGq6h8r6NKJK0bLPWSvn2gz+2kDHNxkoZxA1pzMvWOA5eZ3S1RW woG2ARWY3gg1HWXULgespmPEboVlI0/G509FrKsERxG9zs+7x3GFKoRSBlwG5V2WKrBy nVV5UOxpUSfqwWjTDmWz7EQfKCPV3l+yhRMZtJdvIffJkxIuDJKovSsHq9Rn/Xx8706d /u3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K5zZPH1K; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 h68-v6si51018191pfb.142.2018.11.20.19.37.55; Tue, 20 Nov 2018 19:37:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=K5zZPH1K; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727164AbeKUOK2 (ORCPT + 6 others); Wed, 21 Nov 2018 09:10:28 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:45951 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726849AbeKUOK2 (ORCPT ); Wed, 21 Nov 2018 09:10:28 -0500 Received: by mail-pl1-f193.google.com with SMTP id a14so3364702plm.12 for ; Tue, 20 Nov 2018 19:37:54 -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=K5zZPH1KcHzjhA4eE8W7WmcxmpSjOll/hziQH4sB7LiHrXNHSWs+zq6ygiyFSHgS26 Bq9735LfUtjLW9X3EunJo9lb5C1f4dCkl0C+7kC9NyPWJwIjR7Xuj4vLzZmq19/TFg/m UcQcxA8Wg8f1xYYiBYe5VK9r7afolShdb6Ua0= 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=pVR1NJNQyq5r+gXpD4vSQA0D1ddrfHJ8C5//bnkMbIWBeAZeFtJgkdlO0m9xUkRaWY gqzv9nrQnnGCPsEzBuBupp5SMrXzreutMwPKqDHUlMk67Lcs/jjsHGTynPzyeoALJdSW wVVYrdP7LZTNJMr5/WzCI4NMQOwQloFOsX4F4YQa89dmItmz228jmGXmH+8mZNQRGJdu tSlDgg/8TjJMVIp6g0NNnVo14KM3W7g4H3mcBTymB0jWm6SzL0vwn47CYZ6I9qligLrW iibCasMcxSTslBEWz+ltHK2NlKx8j2Dxq07ZEycKyTz29IHf77HmyxfTwAnKHc3Ytih0 1UIw== X-Gm-Message-State: AA+aEWZoOVZxMc9mFlHv8DpVDjruGwjwIraDNjFD9mX20tPOoR9z9pKE IlHEcsTtY7ds5UOkopbmxqSH X-Received: by 2002:a17:902:5ac7:: with SMTP id g7mr5114410plm.212.1542771474453; Tue, 20 Nov 2018 19:37: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.37.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 19:37:53 -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 04/15] dt-bindings: interrupt-controller: Document RDA8810PL intc Date: Wed, 21 Nov 2018 09:06:41 +0530 Message-Id: <20181121033652.12247-5-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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 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>; + }; + };