Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp243252pxb; Wed, 24 Feb 2021 00:26:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvvzIyiguiPBOBK4abq5LtxhvYiPu8US1evvmLg+4oCMtc7c2/FQobS7kK5XRJYvR6Y6Th X-Received: by 2002:a17:906:b14b:: with SMTP id bt11mr31154365ejb.162.1614155160906; Wed, 24 Feb 2021 00:26:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614155160; cv=none; d=google.com; s=arc-20160816; b=Rb5GNDyE2CxvqrbLFgxC9/Fgl9vFF5wnfVWrv+1S7yfF58oS5XRn57aqBKy8ONU5Eh qG+gyQiuwsD4DNIzlAoZqHpTuo8XGiWbC0H0Z2aneTCTLwDrcwd8YW4zZ6RmFVh0LLyY F/L3+xKcfUfjyZ9ELxWyBbN89WdH716QCy2AwDcVCI5Yhv6N+1IknraFRl48zQW2Dn9e iLLivFjINAsdTzEyHmKVQNxUbXC5SUv+57NfvTTCFuDYoJCelX6i4OGMR6bFoIfVO0ao WvAnNPjWPlSR6ioBV2CfW6IiUHRisl1ssWS8wM+QsVsxH5T2HHVz8AlMR/8HnuRsYTh+ BjSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=+YN7Bc5pB2WEQ1yJoqO0rNS97fCF9BNOChHdZpj7P+c=; b=M2odsU8n1A2Gd1hnNdpqV96Rt2xHGLu1qZ7q2jJa0cdimNOg6R0rygiAzC3JUGP7Q7 OZGjm01viFIBuWWHKePS7pZpqIU7GB0zUpd6MjhPfPDasLT3ZoDHqepiR+NHQiQktvjI 8KMD4Dk+6ncbdg+6j0c3uqS42F2DN0kI0dhRUa8+OLxys5afm+xzsFJlxUJwMYmAcBoJ wt9kOLiab3zs1C7DyT2/gpi1gLE2PTT8E4NIaFm+OwXsHS5fAIKlqcWA9LKAJiu/nK3f wIwkuMQKmyC6nbLTV0foOc3TP08fzANUmG+KtZ6shIcYmnFSkNzvr9M9rQR0OfN1bXp3 m9vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W2qCYlG6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si948183eje.75.2021.02.24.00.25.36; Wed, 24 Feb 2021 00:26:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W2qCYlG6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233952AbhBXH66 (ORCPT + 99 others); Wed, 24 Feb 2021 02:58:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232164AbhBXH5Z (ORCPT ); Wed, 24 Feb 2021 02:57:25 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57F64C06178A; Tue, 23 Feb 2021 23:56:45 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id r3so904964wro.9; Tue, 23 Feb 2021 23:56:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=+YN7Bc5pB2WEQ1yJoqO0rNS97fCF9BNOChHdZpj7P+c=; b=W2qCYlG6qxiSFTw6eXLvAyxB3shzU8qiD36vJ2zVdvPRzcgDq16TEcazS09xpp5VR1 q6Mk43zlSiJwFy3unwjW322SMBAZbjYT7J+O+Cq/tgPBHim4Bb3C8uDAL7xMfGyz+u0T vWxPumVmtT6dg7nwjz0b4xp3waBlrmFRM+o6N5dHvsynJZClMswVEs1lmqWo4/X6Quoi JlHNU3MsHGg+2AVZA9a7w+N12YVJ/E/olZcEuU1s1csGxxL5TVsn/QUokFO+E8YcpQmh +Sr5KHkzIZUVqW4YN3Epbndd/x2NEHi0712MB+hsDdf1+ZAe71LUqOv1XH2VuRIHZBMA 2suA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+YN7Bc5pB2WEQ1yJoqO0rNS97fCF9BNOChHdZpj7P+c=; b=QrHjz1QhauR7C0zt+tc77kqJs69KnGWTNwAifYaI057Vx5mXh2be9j9lJBeFkfeoCk wx8p9tSM3YsAY71QvBkDd2UoTpZ/AnbKICKuCmYzSc1WXlrTq87kOQYp1x03UJTT+WJC sF6yDO92WP/+iC6oiYVr4ftz0+mOTKcoXxmb6hbW6LC/A03T4GtWektFLrdYKStIIOpr fR0eT1vopHLenFsvtYMO99JY6wpsQl1dtVHyFVBwmmblaXehbtKd7S8Y/F4+LlWLYq3T Nc0JcSjqjUFojHuD+Epag0JU22IMq6dZMETJnWA0zNBDFAhtFdVP0YobMlesjuHPOg13 Pcmw== X-Gm-Message-State: AOAM533dbKWfUJhGqRWIOFFvywwQcOWJ2MuNoNDd2Y7qv8x6opYGATMD ajRDj72TK017M8jrU7YxHK0= X-Received: by 2002:a05:6000:188b:: with SMTP id a11mr29814959wri.151.1614153404063; Tue, 23 Feb 2021 23:56:44 -0800 (PST) Received: from skynet.lan (170.red-88-1-105.dynamicip.rima-tde.net. [88.1.105.170]) by smtp.gmail.com with ESMTPSA id u7sm1954033wrt.67.2021.02.23.23.56.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 23:56:43 -0800 (PST) From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= To: Thomas Gleixner , Marc Zyngier , Rob Herring , Florian Fainelli , =?UTF-8?q?Fern=C3=A1ndez=20Rojas?= , Jonas Gorski , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-mips@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: interrupt-controller: document BCM6345 external interrupt controller Date: Wed, 24 Feb 2021 08:56:39 +0100 Message-Id: <20210224075640.20465-2-noltari@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224075640.20465-1-noltari@gmail.com> References: <20210223204340.312-1-noltari@gmail.com> <20210224075640.20465-1-noltari@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the binding for the BCM6345 external interrupt controller. Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Jonas Gorski Reviewed-by: Florian Fainelli --- v3: pass dt_binding_check. v2: fix title typo. .../brcm,bcm6345-ext-intc.yaml | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/brcm,bcm6345-ext-intc.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm6345-ext-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm6345-ext-intc.yaml new file mode 100644 index 000000000000..a691510e78b7 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm6345-ext-intc.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/brcm,bcm6345-ext-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM6345 external interrupt controller + +maintainers: + - Álvaro Fernández Rojas + - Jonas Gorski + +properties: + compatible: + enum: + - brcm,bcm6318-ext-intc + - brcm,bcm6345-ext-intc + + "#interrupt-cells": + const: 2 + + reg: + maxItems: 1 + + "#address-cells": + const: 0 + + interrupt-controller: true + + interrupts: + description: Specifies the interrupt line(s) in the interrupt-parent + controller node. Valid values depend on the type of parent interrupt + controller. + maxItems: 4 + + brcm,field-width: + description: Interrupt controller field width (the default is 4). + maxItems: 1 + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - "#address-cells" + - compatible + - reg + - "#interrupt-cells" + - interrupt-controller + - interrupts + +additionalProperties: false + +examples: + - | + interrupt-controller@10000018 { + #address-cells = <0>; + compatible = "brcm,bcm6345-ext-intc"; + reg = <0x10000018 0x4>; + + interrupt-parent = <&periph_intc>; + #interrupt-cells = <2>; + + interrupt-controller; + interrupts = <24>, <25>, <26>, <27>; + }; + + - | + interrupt-controller@fffe0014 { + #address-cells = <0>; + compatible = "brcm,bcm6345-ext-intc"; + reg = <0xfffe0014 0x4>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupt-parent = <&cpu_intc>; + interrupts = <3>, <4>, <5>, <6>; + + brcm,field-width = <5>; + }; -- 2.20.1