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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0EA52CCF2CF for ; Sun, 18 Oct 2026 16:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1c75o/7n2ITgdtepV590AFYrUcMlp+WbRILrdLNtQqk=; b=qSiNNiEDIyWe4yPA9sUNu2fQji /TDRZuxRF0xhANf3i722SEdVXeK/AyWMqKg4ctzcSufKKqBxMewFRxUyPMJOJV98AVMm2qBegPaID FATg97gEymzqyNs5EDnlBUdrSTr4mWBs+J27iXEdq6VZfP6YmebgjHUTpdhFnhActFnbCrGntxiTT mXjGi65MkUGDp+WqVYCgd4taol9KXzq6Waej6L2EnyAliTqTQkdrYGSAbwbB8wyYMZGOXcaR2jBvk 0tsEiggTHzPkgbzZ4NFkLoqC0R9Qjmt1Qcj4aw5327iUFizcr8haXEr9KgNy8Lef54+TJlsMAlzje gO33WtBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xITQf-000000061Wd-17wd; Sun, 18 Oct 2026 16:08:09 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xITQX-000000061Te-3cNR; Sun, 18 Oct 2026 16:08:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=1c75o/7n2ITgdtepV590AFYrUcMlp+WbRILrdLNtQqk=; b=eaZlStn1h/2O2s+CcIDmIf2wBc ekOpOTl28TZzZGLAzGwHtE5CkdC+YFzCeDrL7Qxe64tnR2rkP+S12JNRivWlbPuey6wXvIbsJDdCP 8CWZ9Bkp66nR0S/BU/cFkuxbf8BymoXp2h9tXCy+qhWopcmFOEWY/ToFmCm94x+MIiff3fW0ugX0O vSyGTHwkaq/z7pQRBcUUvRcxuZnHWieJNkdtST+R6Q43vQ34pHH3twEdU3i4yV/2grhozchaxzOHR Q1+zMIbFjVCgWzbc8NTa7Cx+tXAVECKmoFhJk1jaPP2gPmXhTGdkh34OqAzKs0tWBxUOqi79y0SxY dp0gSBuQ==; Received: from rtits2.realtek.com ([211.75.126.72] helo=rtits2.realtek.com.tw) by desiato.infradead.org with esmtps (Exim 4.99.5 #2 (Red Hat Linux)) id 1xITQS-000000031Bc-2Qsx; Sun, 18 Oct 2026 16:08:00 +0000 X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 69IG6rk361115119, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1792339613; bh=1c75o/7n2ITgdtepV590AFYrUcMlp+WbRILrdLNtQqk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type; b=lGRUi1+qeVeHw1+NkCwS++fQrNIM10ttoxFChrtnMv60AaEYcVM0ff2jb6+fFFj8k jVWOJIZ6fkmsWCAw3LzOEcwumX3cebt0kgAqKax91mVUOQzixjYpVw+EZ327f7c/Sb tDsbRCM2Baoa0v9jLttyryzlkycjUodn3bzSHEGSMlqsNYAX50p1Tr1fDrP+IcW5xi p303gafTZS0gor2MYHgl0V/cHUk+ZfuYkeQhijUsI1A8Wmy2SepwX1yVtVmjQcURMx ktINhRwsC6bvAsA5i4zbX2juoGCHxTPvlpOSW1v7SCkW6wWl+UUkiXJgf1fyGt9XAw gqC7rJWMTtghA== Received: from mail.realtek.com (rtkexhmbs02.realtek.com.tw[172.21.6.41]) by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 69IG6rk361115119 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 19 Oct 2026 00:06:53 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS02.realtek.com.tw (172.21.6.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.49; Mon, 19 Oct 2026 00:06:54 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS06.realtek.com.tw (10.21.1.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.49; Mon, 19 Oct 2026 00:06:53 +0800 Received: from cn1dhc-k02 (172.21.252.101) by RTKEXHMBS06.realtek.com.tw (10.21.1.56) with Microsoft SMTP Server id 15.2.2562.49 via Frontend Transport; Mon, 19 Oct 2026 00:06:53 +0800 From: Yu-Chun Lin To: , , , , , , CC: , , , , , , , , Subject: [PATCH v5 1/8] dt-bindings: interrupt-controller: Add support for Realtek DHC SoCs Date: Mon, 19 Oct 2026 00:06:46 +0800 Message-ID: <20261018160653.3940371-2-eleanor.lin@realtek.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20261018160653.3940371-1-eleanor.lin@realtek.com> References: <20261018160653.3940371-1-eleanor.lin@realtek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261018_170757_370470_9804A0DF X-CRM114-Status: GOOD ( 12.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: James Tai Add DT binding schema for Realtek DHC (Digital Home Center) SoCs interrupt controllers. Signed-off-by: James Tai Co-developed-by: Yu-Chun Lin Signed-off-by: Yu-Chun Lin --- .../realtek,rtd1319-intc-iso.yaml | 170 ++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1319-intc-iso.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1319-intc-iso.yaml b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1319-intc-iso.yaml new file mode 100644 index 000000000000..5540f6304795 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1319-intc-iso.yaml @@ -0,0 +1,170 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/realtek,rtd1319-intc-iso.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek DHC (Digital Home Center) SoCs Interrupt Controller + +maintainers: + - James Tai + - Yu-Chun Lin + +description: + This interrupt controller is a component of Realtek DHC SoCs and is designed + to receive interrupts from peripheral devices. + +properties: + compatible: + enum: + - realtek,rtd1319-intc-iso + - realtek,rtd1319-intc-misc + - realtek,rtd1319d-intc-iso + - realtek,rtd1319d-intc-misc + - realtek,rtd1619b-intc-iso + - realtek,rtd1619b-intc-misc + - realtek,rtd1625-intc-iso + - realtek,rtd1625-intc-isom + - realtek,rtd1625-intc-misc + + interrupt-controller: true + + '#address-cells': + const: 0 + + interrupts: + minItems: 1 + maxItems: 4 + description: + Contains the GIC SPI interrupts mapped to the external interrupt lines. + + "#interrupt-cells": + description: + Specifies the number of cells in an interrupt specifier. + For realtek,rtd1625-intc-misc, the first cell specifies the interrupt + bank and the second cell specifies the interrupt ID within that bank. + Other variants use one cell to specify the interrupt ID. + +required: + - compatible + - interrupt-controller + - '#interrupt-cells' + - '#address-cells' + - interrupts + +allOf: + - if: + properties: + compatible: + enum: + - realtek,rtd1319-intc-iso + then: + properties: + interrupts: + items: + - description: Miscellaneous interrupts + - description: RTC interrupt + - if: + properties: + compatible: + enum: + - realtek,rtd1319d-intc-iso + - realtek,rtd1619b-intc-iso + then: + properties: + interrupts: + items: + - description: Miscellaneous interrupts + - description: Watchdog interrupt + - if: + properties: + compatible: + enum: + - realtek,rtd1319-intc-misc + then: + properties: + interrupts: + items: + - description: Miscellaneous interrupts + - description: Watchdog interrupt + - description: Uart1 interrupt + - description: Uart2 interrupt + - if: + properties: + compatible: + enum: + - realtek,rtd1319d-intc-misc + - realtek,rtd1619b-intc-misc + then: + properties: + interrupts: + items: + - description: Miscellaneous interrupts + - description: Uart1 interrupt + - description: Uart2 interrupt + - if: + properties: + compatible: + enum: + - realtek,rtd1625-intc-iso + then: + properties: + interrupts: + items: + - description: Miscellaneous interrupts + - description: Uart9 interrupt + - description: RTC interrupt + - if: + properties: + compatible: + enum: + - realtek,rtd1625-intc-isom + then: + properties: + interrupts: + items: + - description: Miscellaneous interrupts + - if: + properties: + compatible: + enum: + - realtek,rtd1625-intc-misc + then: + properties: + interrupts: + items: + - description: Miscellaneous interrupts + - description: Uart3 interrupts + - description: Uart1 interrupt + - description: Uart2 interrupt + - if: + properties: + compatible: + enum: + - realtek,rtd1625-intc-misc + then: + properties: + "#interrupt-cells": + const: 2 + else: + properties: + "#interrupt-cells": + const: 1 + +additionalProperties: false + +examples: + - | + #include + #include + + interrupt-controller { + compatible = "realtek,rtd1319-intc-iso"; + interrupt-parent = <&gic>; + interrupts = , + ; + interrupt-controller; + #address-cells = <0>; + #interrupt-cells = <1>; + }; +... -- 2.43.0