From patchwork Mon Dec 10 17:35:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 153319 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3819578ljp; Mon, 10 Dec 2018 09:36:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/UsNR5x1CDccEc8qvFx4cScmXfVGGkpGz++eFel7MN38IiecKXEGv5Yi94brEBzX7eQved8 X-Received: by 2002:a62:f54f:: with SMTP id n76mr13160811pfh.59.1544463400606; Mon, 10 Dec 2018 09:36:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544463400; cv=none; d=google.com; s=arc-20160816; b=bjDUzLxxVX/l2kxq6yagdGeuqjsq0aCBkBxRX6y6V7n1/yMMsrUJD3P3yT38RJ7xw4 TSguFJnTWeyc8ASzyL3EUA19Fw3iDjbaev7k3Fv74puMJUqvbS9L12zI+vjlkW40TXrk /MAVAiVvnQKXPd6zJFiJ+vwQ+PBSoa42jnY8SD726Py64LpCOyrrfESNNwIhd7Wnli39 Y8EeNJejJioAnXpi6jJA9fizwlsENzXQFF24V4Rj8YmLrrEanc/BWg7PIgxkcoQmgVDr gf/bTFwgiZHiD1Fm0+jh8Y6JTOf/yi/PrB/GmB1vCpfht9Pixk+zKOVieE/iPjqJDvMx IrXw== 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=FUp8E+CGlwLSF4T3S4rK0JomvyH9YIEf7Nh63jsMMN0=; b=BLZdsKJw5gdIwZIQz+sNxmHpHfF1lG+f+Ll2Y04AoThRdZuW2dwVwhne2DS+m3pNWC GoaU3If5pOz0U7L5ZqNM12eKx0KI/BDdOL+ajUjYqO9/m1p0obDdx7/B7gWNtcbetJl4 rG6mfogK3o6Q1UpRcNrpI5pD1IHSQWqZx33fIE57YqL23sClB1swbgwRce+cs3uEt4dw jo8oXwHgUd15BL0bEpvk/2fWCkkNyCO3+Ndj/WmEqG6KDSnu64KDNARtPCQKmWDaZwBz oa/1srh9VAyN0CWoQXdmK0eUE905JQHDTfvZ1dLTjrSwbJZLwuLhh4rI0N0nbgiV6k18 K55w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YniCNrr3; 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 b12si10309494plx.159.2018.12.10.09.36.40; Mon, 10 Dec 2018 09:36:40 -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=YniCNrr3; 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 S1728225AbeLJRgk (ORCPT + 2 others); Mon, 10 Dec 2018 12:36:40 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44728 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727335AbeLJRgj (ORCPT ); Mon, 10 Dec 2018 12:36:39 -0500 Received: by mail-pf1-f194.google.com with SMTP id u6so5713674pfh.11 for ; Mon, 10 Dec 2018 09:36:39 -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=FUp8E+CGlwLSF4T3S4rK0JomvyH9YIEf7Nh63jsMMN0=; b=YniCNrr3AFiAc9wcGv6ZuUDdPSCcJKWLJ0BjQ23qA5T2fdfJdWtkDXfmFJD4Rqls5L GAUXoZA5BvyuH36Wtn8Oz+dUU045BE49wofRDchzZkLEmKT573wD+3naAQsizLPIQewg WwwRWmURRZrKfr6xX+FqT1RtgfyeMbyw9Dv4o= 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=FUp8E+CGlwLSF4T3S4rK0JomvyH9YIEf7Nh63jsMMN0=; b=dXZMrsaom3MNQIFsuWO0fb7T8vHonbhFMvW/KfS1Cq3XCBxdwRCsQ9KCp0Wg3D+3S0 2HtVDar97ilacT+NMvAIkdtxOXloQTfbCFDTnSjr5eLLxYJNlDu+AI/u+3g0hZb8pXXf S12UG76It2nIMBbNmt+HyIBSoflcW2Se5+b2EnWq33u5bEnez2tYjWt+y6kks6hJuEph 9CGzoooqf2YcUPE9FEu1DJgfU9r2p9VOIZsRvUJRgeFKkRqvVVNeV2Suj9oslNrvwtPB OyDv8m9fP8u7iI3XpYpTfimrH1HID+KOCXABBcyz+n6tTOa3k338ZplQPqPFFWkTEFOm Ad1Q== X-Gm-Message-State: AA+aEWbkXMKxR8deJrsI8IpgT+Lfvhw7cHhFD25kvB3veX5dnNr8Q5fs rKNAdUlymNb3HdFdnK7BGb5Y X-Received: by 2002:a62:6cc8:: with SMTP id h191mr13752965pfc.89.1544463398965; Mon, 10 Dec 2018 09:36:38 -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.36.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 09:36:38 -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 04/15] dt-bindings: interrupt-controller: Document RDA8810PL intc Date: Mon, 10 Dec 2018 23:05:39 +0530 Message-Id: <20181210173550.29643-5-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-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 Reviewed-by: Rob Herring --- .../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>; + }; + };