From patchwork Mon Nov 19 17:09:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 151508 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2919035ljp; Mon, 19 Nov 2018 09:11:55 -0800 (PST) X-Google-Smtp-Source: AJdET5e8q0pSlsWetzHTl5iEOL6lPr61SljIT0gMAj797LX0b7xDJtuCBgWBtRJSEpI8qCBPTHhA X-Received: by 2002:a65:57cb:: with SMTP id q11mr20876693pgr.60.1542647514934; Mon, 19 Nov 2018 09:11:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542647514; cv=none; d=google.com; s=arc-20160816; b=OXGIIDL3y2M8wKvuZFAvTcfWr3TsHh9GhU8RHAImm+pS4K0LHyxiK4CTFtJ4/VzCG8 nA5NK4q1NjS86s1MEcsxLqrg053YHLEic64EPmY/gmr1nSyj6Iyj1lnAtLdbd1mJY3uy 5W7csa0RdN3QytepW0vtiib49DZu2/8Ypvj+t9FfUt+zQND2tYPa66qmFVKyUvhGHxB7 8a2+5o/pzp+tHx8kHjmTT6Z92vy+viQabNHort/I/2nU3H5dXb6P4IFZYpT6HD0yDZ42 ot9wyWze6zZOtfV7KwjTGJfXvGUdjZXGxCnGfwwe8IjQOONstsDbpAJil/4NAiDVrLg5 fVyg== 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=jR8jqkNYSDl0WkyGt3f6ZbMvtSjkCAlWkbZwvvthT4Q=; b=kJrMAmxHAdA7l+WzcZlhYEBQSmDn03Uq3rK1Nnn9mAMqQPUF26DN+sCpRF+e0xs4MD lekkhYYNFrwvJE6syVkvxfQAQsHLMjVxf238WyZTVU7ej3buI7oahP8yISZx/nUWG+my bL8jRAvCQJwL48MqMFYQZZiSUX1c4KpK873SlUw6HMoukjPsvIYShf43Kw4bvMDVRX4+ 92G0Uzl486ywS5us/Q/Gi1KkYZv0DVCLpKUj1au6zn9g7YIg4uWcd3q4tLZygTqy/IrN H0WC3aviB/Lgh7LIUCklr8IU7SCH6ZLybGsDRJZAvbpjqt/qYoMeFokUf2P6JyvRV0rI 81xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AtQCuulE; 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 r17si22067367pls.380.2018.11.19.09.11.51; Mon, 19 Nov 2018 09:11:54 -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=AtQCuulE; 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 S2407204AbeKTDgG (ORCPT + 32 others); Mon, 19 Nov 2018 22:36:06 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:34008 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406987AbeKTDgE (ORCPT ); Mon, 19 Nov 2018 22:36:04 -0500 Received: by mail-pl1-f193.google.com with SMTP id f12-v6so14897486plo.1 for ; Mon, 19 Nov 2018 09:11:45 -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=jR8jqkNYSDl0WkyGt3f6ZbMvtSjkCAlWkbZwvvthT4Q=; b=AtQCuulEmbyxqFCrr8YT3Yj0qbNwCan7xmvvis0aYZjuuPPiFVnXdf28v8y0y2yfLD J/EmXrfxunY2ERgp6QqjW87tNaShRqY8hdLWanK8A5gkr4mHMenKPjGrHMmWDSk9mMGc qf0+bP3tSQ8F65kcyDXcObanpXL0Zz4FP+8o8= 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=jR8jqkNYSDl0WkyGt3f6ZbMvtSjkCAlWkbZwvvthT4Q=; b=WdR8OaNsJdhiBTWor7go0wfGwtxZ0q7JAyg/HxIKtpnxOOl83I4DkFYdx0M/Szp1pn FXJKnAO5wXby9UhJhFDvtpVhkshy0wKCJwpvigZd6z1M6/AyxwIgM9+6Kj6nCh5ERA+o mI7R0M06BeKzBhXO5uTP2Pxk8z4NVyjtnuI4pEzEmCfDzLV94DUxbi4MONfjqLz0TE0Y U836DP4VF5ZpjfZzxt94xDidPS3bQvs0R4rpipF7O2cdkSYz3xOgQbLi2P0fNRJeKaIm U2RP09UTSszrlLPtkDvuEEiBDl1qQBjZRoRelicP+GTy5/3bLKho3FQ6cJYyrNTYtByw 9HEQ== X-Gm-Message-State: AGRZ1gI+ZbBY27ihtrcaE2R57Ypx1X/ddoCnfv1Y8p1z6ukGcdWSbbaX L6uqesQUGoMTxeY3sj1hRRZs X-Received: by 2002:a17:902:5a4d:: with SMTP id f13mr23896113plm.49.1542647505288; Mon, 19 Nov 2018 09:11:45 -0800 (PST) Received: from localhost.localdomain ([2409:4072:631b:44eb:3905:6402:e2fb:2d7]) by smtp.gmail.com with ESMTPSA id 186-v6sm46175458pfe.39.2018.11.19.09.11.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Nov 2018 09:11:44 -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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, amit.kucheria@linaro.org, linus.walleij@linaro.org, zhao_steven@263.net, service@rdamicro.com, Manivannan Sadhasivam Subject: [PATCH 07/16] dt-bindings: interrupt-controller: Document RDA8810PL intc Date: Mon, 19 Nov 2018 22:39:30 +0530 Message-Id: <20181119170939.19153-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181119170939.19153-1-manivannan.sadhasivam@linaro.org> References: <20181119170939.19153-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 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..ed53ad0574a7 --- /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 { + compatible = "rda,8810pl-intc"; + reg = <0x0 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + }; + };