From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5D25C43457 for ; Sun, 11 Oct 2020 18:00:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9363F207EA for ; Sun, 11 Oct 2020 18:00:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="k3R8vl+c"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="+T6DOGIq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730744AbgJKSAb (ORCPT ); Sun, 11 Oct 2020 14:00:31 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:39992 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388414AbgJKR5a (ORCPT ); Sun, 11 Oct 2020 13:57:30 -0400 Date: Sun, 11 Oct 2020 17:57:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1602439047; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q5ktlsKbmEu3ydfPh9gd5b5z5SmSFaYkbgf8PJT8+/4=; b=k3R8vl+cPEpDOY53mfoRPX1YZjU6dShTrObrGT7JHJm9qwg30U76Roja75jC10zZk4IS2R 2yKnIbulVSPyF+B1eJEoeFsXahBMPJrZ8txq0iBToSt3/slhDMOzpuvxhiHJqYdudUZcje 5cbA5+EXB+fQL8tfkbVFQeYtGCF8FfuWCtMMPgDnyPBuH/Y9TqYviBIYlv4Pblv0djBYOG mP+S8jrbgIQPzy18gOlEgO9wvImf2YwK8RDceKgKoQQQMZQWM9iag0bESGl3cybM6rN0Lg 6vl3Dh+JNdYSwlMycFXOBF942WU3/8xu/NKQyZVAREEWhxK9jGeSsqdFYYzGFg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1602439047; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q5ktlsKbmEu3ydfPh9gd5b5z5SmSFaYkbgf8PJT8+/4=; b=+T6DOGIqMbWDMKrl2uo7PZRcB7ul6mTPu8qsrlh1XJuXMRrQgVtXOmjf7pY4p2W9KME7/n m8z3eoJdngqyKKBw== From: "tip-bot2 for Zhen Lei" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] dt-bindings: dw-apb-ictl: Update binding to describe use as primary interrupt controller Cc: Zhen Lei , Marc Zyngier , Rob Herring , x86 , LKML In-Reply-To: <20200924071754.4509-5-thunder.leizhen@huawei.com> References: <20200924071754.4509-5-thunder.leizhen@huawei.com> MIME-Version: 1.0 Message-ID: <160243904641.7002.779093701720103039.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/core branch of tip: Commit-ID: 8156b80fd4885d0ca9748e736441cc37f4eb476a Gitweb: https://git.kernel.org/tip/8156b80fd4885d0ca9748e736441cc37f4eb476a Author: Zhen Lei AuthorDate: Thu, 24 Sep 2020 15:17:52 +08:00 Committer: Marc Zyngier CommitterDate: Fri, 25 Sep 2020 16:49:15 +01:00 dt-bindings: dw-apb-ictl: Update binding to describe use as primary interrupt controller Add the required updates to describe the use of dw-apb-ictl as a primary interrupt controller. Signed-off-by: Zhen Lei [maz: commit message] Signed-off-by: Marc Zyngier Reviewed-by: Rob Herring Link: https://lore.kernel.org/r/20200924071754.4509-5-thunder.leizhen@huawei.com --- Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt b/Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt index 086ff08..2db59df 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/snps,dw-apb-ictl.txt @@ -2,7 +2,8 @@ Synopsys DesignWare APB interrupt controller (dw_apb_ictl) Synopsys DesignWare provides interrupt controller IP for APB known as dw_apb_ictl. The IP is used as secondary interrupt controller in some SoCs with -APB bus, e.g. Marvell Armada 1500. +APB bus, e.g. Marvell Armada 1500. It can also be used as primary interrupt +controller in some SoCs, e.g. Hisilicon SD5203. Required properties: - compatible: shall be "snps,dw-apb-ictl" @@ -10,6 +11,8 @@ Required properties: region starting with ENABLE_LOW register - interrupt-controller: identifies the node as an interrupt controller - #interrupt-cells: number of cells to encode an interrupt-specifier, shall be 1 + +Additional required property when it's used as secondary interrupt controller: - interrupts: interrupt reference to primary interrupt controller The interrupt sources map to the corresponding bits in the interrupt @@ -21,6 +24,7 @@ registers, i.e. - (optional) fast interrupts start at 64. Example: + /* dw_apb_ictl is used as secondary interrupt controller */ aic: interrupt-controller@3000 { compatible = "snps,dw-apb-ictl"; reg = <0x3000 0xc00>; @@ -29,3 +33,11 @@ Example: interrupt-parent = <&gic>; interrupts = ; }; + + /* dw_apb_ictl is used as primary interrupt controller */ + vic: interrupt-controller@10130000 { + compatible = "snps,dw-apb-ictl"; + reg = <0x10130000 0x1000>; + interrupt-controller; + #interrupt-cells = <1>; + };