From patchwork Thu Feb 22 07:46:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 204587 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:aa16:b0:108:e6aa:91d0 with SMTP id by22csp97671dyb; Thu, 22 Feb 2024 00:02:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU0zYmqNTYp2CiWZzXSEL/Ju2YV3z2zr0+t/WQBz0Z5xL7fkg/gos0Ii8bZn5/i205ZzCGXN8OJ+miTFHL6AHMM1Q50EA== X-Google-Smtp-Source: AGHT+IEN4mah0JhPfLl0ceyUFSDbSxmlxyQnqDY7w28aj/n3VtkLfQeVLY8z36UNRZ5oQEYqzDGr X-Received: by 2002:a17:906:33cf:b0:a3e:c134:92a7 with SMTP id w15-20020a17090633cf00b00a3ec13492a7mr6342570eja.25.1708588977795; Thu, 22 Feb 2024 00:02:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708588977; cv=pass; d=google.com; s=arc-20160816; b=ZhBFl4Wz2McYX5X0Z1+acp9hW5B/Q/gZkveBTMoREu4eGcVZtLV/D1eOaPDbtQ4gnv hpBGjKLL++0V4+EkjvY+ep+JPAs4+LesvfoDVA0BMZDoypESV2y30K3l/uf6bXaSokUG +w5j9YKElL7Apg6uEIVrOZYlE9MqILG9/8Ek1TIzQkRSkJGcvTYItyA7kmzaGWn90f3H r3RRBj0r3gilGVkUGomnDuS8/OvdP6pr4Gd6MUIImpoPHidBGAk01pNZeKQOGD3AkWbN nRDkfb34j+iUgP+e0v6U27maCHMxuz0aYwyYBa5V8DYTOlGD6Mr+MpKm5heXFSHymcc+ 6PYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=npHcSGmV0PcEXFwpM02IWARBoPoxbFXq1ZdOGRdURhs=; fh=iedim8rwLI6+M2BEG4hF9jr9ZRCbtzcMUrAmHfY0Mr0=; b=qGkTR96G/wO3tY9JSgx4KwpEFlWuTY138WRCdUZiefwyr5lxFJOBJiEWtdd8AR3yhv 7cu4rn18dv1PF+ZP2CGHfXOQHQvUuQajxE/zASeK90pVx5mX3z9GIIRgBd+bb7SRC1u+ qtwsRc2lLFVi2qprTn5q18A76GSZE1xswEYZntwIlM9zA+Fvuj4/Igu66fdPB7ktSIPy G3ENkszsf7NAeXxCFHroFUMzjaBurjuDtqtz+q4fVhiKoFGKl3GKhHidXpInWbffD9bb cMLtM7/qaSibMuE2UvV7sNCQNGaKqouiKocEwdEPxQ+QN71TAo0r9u7d1lXSZg2tHS7f P6qA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-76043-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76043-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f23-20020a1709062c5700b00a3e89a652bcsi3689141ejh.37.2024.02.22.00.02.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 00:02:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76043-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-76043-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76043-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 659E81F22280 for ; Thu, 22 Feb 2024 08:02:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E21D5182BE; Thu, 22 Feb 2024 08:02:31 +0000 (UTC) Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E790717BB2; Thu, 22 Feb 2024 08:02:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=58.32.228.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708588950; cv=none; b=rrc+GyqDczjq8iAQ0Tl5sH+H/S7o+zkpbF2OSjs2JkMA1p0cmMseEm07152iK6d3H0XZmNXsDJxy02KlNQDDC61R0lGyYKLe72nB3k2Mp1hqjCNZvSIYOiPpt+8MMWodRR5GdzIreSbaxYonU0kcne9ZLH6VeJxw25+SlI/yVU0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708588950; c=relaxed/simple; bh=uluG5OOemdaFNa5SLIMXMDmGgd9Epf0ejwjb8q7ceu4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JoGAmzrg+SjVi4ovioF6+7kXhCPozY45hUuOy3BQ23yrdBpsDNqtTadRwmdu/6o1RLd20pb7v6CQbvqUPpxgt0OQ1i9113QMy3Rh4vGXw5PsI0RJ6Vxkrqi0MKC7D5UgEnO3oeS3ytxCP8FiFvCuS2o7Tm1OEgkGLLpc6cufgdU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com; spf=pass smtp.mailfrom=amlogic.com; arc=none smtp.client-ip=58.32.228.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amlogic.com Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.6; Thu, 22 Feb 2024 15:47:17 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , Huqiang Qin , Conor Dooley Subject: [RESEND PATCH 1/3] dt-bindings: interrupt-controller: Add support for Amlogic-T7 SoCs Date: Thu, 22 Feb 2024 15:46:37 +0800 Message-ID: <20240222074640.1866284-2-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240222074640.1866284-1-huqiang.qin@amlogic.com> References: <20240222074640.1866284-1-huqiang.qin@amlogic.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791585395905812905 X-GMAIL-MSGID: 1791585395905812905 Update dt-binding document for GPIO interrupt controller of Amlogic-T7 SoCs. Signed-off-by: Huqiang Qin Acked-by: Conor Dooley --- .../bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml index 3d06db98e978..a93744763787 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml @@ -36,6 +36,7 @@ properties: - amlogic,meson-a1-gpio-intc - amlogic,meson-s4-gpio-intc - amlogic,c3-gpio-intc + - amlogic,t7-gpio-intc - const: amlogic,meson-gpio-intc reg: From patchwork Thu Feb 22 07:46:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 204598 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:aa16:b0:108:e6aa:91d0 with SMTP id by22csp101282dyb; Thu, 22 Feb 2024 00:10:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUmdafnE2TxQxUe+4nIcqptdz/FtAijtShTeZTuIsvtznN7Cfl/f65QLOhSXgjpxKN10v9OBaeJ4oEZmmfCL1GB+dMLag== X-Google-Smtp-Source: AGHT+IG8Jc4CNJLiFmy+QVqvcJCVcwhttqPa4qi9hGlCikY3WGnjdG/Xd0GBCoT0sGHQdVGjSeoM X-Received: by 2002:a05:6a20:6f8e:b0:19e:4a68:46d0 with SMTP id gv14-20020a056a206f8e00b0019e4a6846d0mr25154948pzb.60.1708589427673; Thu, 22 Feb 2024 00:10:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708589427; cv=pass; d=google.com; s=arc-20160816; b=nLL/R6n9nQcpvrEsLYn1ly2s+xTj+s48rqqf9uaIB97eGRM9JvkJPv8cFKfgX5DwCr 4tNSKcDkNxZymD8rN9N/WFwInov24biRc0undG4ydTGjipB4NoWM73NvCpsV0EzZgtEO s/VPqUgrhhBHe3n0L9fXPPBw18mwLpCLgvBzWyowVyswR9tAP26bVpi6xmGm9KE1xRzU rTEpR/W5l2lSlUL9cMm50GZiB3T/ABlZYtkeYHGL0SweULhHzL0W+e8Hp/kHK/rRMyD8 DWnd930G3mayifpcVRHpMgLeBTC9bHGW4yNlOVW2vY3Q+06y8IflK47KDeDAvKUxn2xB 80BA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=yqsOpiWB38A6cKLGPtiNWwWMoswrk8pFVx3F5QJIFAo=; fh=x2k4fEaFoFpvkd02MojHAkBfbEU6ueG7eVHGWcATlwI=; b=C18KwdJWlUTDwMvzqQ2B8B/ZcD5uXii4zbOdb5kTrOg/8f8/x8tTYb8/uPfw8BiVTk i1SjLZDPvb0OxMU5TrPSvRT3dgU2r0YheIldEHjf+fAVhv0Jknb0oT8Z84TDy6rh5201 Os1wdrlEibBZJmA2noD8ReyvAQjHQgtdbkVJMSTddehlJtE7fpXPm6UXRrKb07K0NiT1 252y7ZzjwRpUfSq56be1cuiBo7enqfqdcb1tH72qoEoKNciru97AF2jq21Rln7I/igbO vbbpgItIbg0vCgND//ML8paj4FdtD3QsWkCBWMyDwe4uF6CNz/4B7InOhxVTN1jUCP+R 5rlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-76044-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76044-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y6-20020a170902ed4600b001dc4b6c7432si813429plb.556.2024.02.22.00.10.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 00:10:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76044-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-76044-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76044-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BC2B42858E1 for ; Thu, 22 Feb 2024 08:03:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB90C19478; Thu, 22 Feb 2024 08:02:33 +0000 (UTC) Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE2AB17C7C; Thu, 22 Feb 2024 08:02:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=58.32.228.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708588952; cv=none; b=MdtXaVli1spfAnwGhwd1iXrSPjwt3fBMq0k5Qn8nCZu6rlysyFOvfzKU+jw7pEfvxiEbaFt4kDrDqpspamyGfhO3XhO1FUcTQBI4O6JHJ53AhwpoP8qBmQO/FkNfnF6MQuue5ksKlwfb1UxK6+gRGe2unpqnvgKizYZjub7CFkQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708588952; c=relaxed/simple; bh=qIygGq4laBZ5hKLDwCrWRP0SAoByZ0qSN3CFLnDgXWQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gYm8xZP3nW+i1yVrH/sKWhPlXlH1c1DEEe39kxewaRBn62fiM1z3RpLfT3Wwl763wB1rhg+Qar9KB8FUxx82mBapCfDQ0iQEzyR1ezCad/tmpHu2FrD1Pt/lHMhCKvUd4SWuStZDzJ8ReV9tFO7dCc7KoFXP/2dA6yNFs+q6lMo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com; spf=pass smtp.mailfrom=amlogic.com; arc=none smtp.client-ip=58.32.228.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amlogic.com Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.6; Thu, 22 Feb 2024 15:47:18 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , Huqiang Qin Subject: [RESEND PATCH 2/3] irqchip: Add support for Amlogic-T7 SoCs Date: Thu, 22 Feb 2024 15:46:38 +0800 Message-ID: <20240222074640.1866284-3-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240222074640.1866284-1-huqiang.qin@amlogic.com> References: <20240222074640.1866284-1-huqiang.qin@amlogic.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791585867352950960 X-GMAIL-MSGID: 1791585867352950960 The Amlogic-T7 SoCs support 12 GPIO IRQ lines compared with previous serial chips and have something different, details are as below. IRQ Number: - 156 1 pin on bank TESTN - 155:148 8 pins on bank H - 147:129 19 pins on bank Y - 128:115 14 pins on bank M - 114:91 24 pins on bank T - 90:77 14 pins on bank Z - 76:70 7 pins on bank E - 69:57 13 pins on bank D - 56:40 17 pins on bank W - 39:20 20 pins on bank X - 19:13 7 pins on bank C - 12:0 13 pins on bank B Signed-off-by: Huqiang Qin Reviewed-by: Neil Armstrong --- drivers/irqchip/irq-meson-gpio.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/irqchip/irq-meson-gpio.c b/drivers/irqchip/irq-meson-gpio.c index f88df39f4129..9a1791908598 100644 --- a/drivers/irqchip/irq-meson-gpio.c +++ b/drivers/irqchip/irq-meson-gpio.c @@ -154,6 +154,10 @@ static const struct meson_gpio_irq_params c3_params = { INIT_MESON_S4_COMMON_DATA(55) }; +static const struct meson_gpio_irq_params t7_params = { + INIT_MESON_S4_COMMON_DATA(157) +}; + static const struct of_device_id meson_irq_gpio_matches[] __maybe_unused = { { .compatible = "amlogic,meson8-gpio-intc", .data = &meson8_params }, { .compatible = "amlogic,meson8b-gpio-intc", .data = &meson8b_params }, @@ -165,6 +169,7 @@ static const struct of_device_id meson_irq_gpio_matches[] __maybe_unused = { { .compatible = "amlogic,meson-a1-gpio-intc", .data = &a1_params }, { .compatible = "amlogic,meson-s4-gpio-intc", .data = &s4_params }, { .compatible = "amlogic,c3-gpio-intc", .data = &c3_params }, + { .compatible = "amlogic,t7-gpio-intc", .data = &t7_params }, { } }; From patchwork Thu Feb 22 07:46:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 204588 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:aa16:b0:108:e6aa:91d0 with SMTP id by22csp97921dyb; Thu, 22 Feb 2024 00:03:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXUDEYSSyue2f168DpdhygljbYs0Qn0/+zH9fs16ENBLaJPo51CrXa4nGNhm7kV5Xh0nwgCIN0MCJvXG953dlLv/jL86A== X-Google-Smtp-Source: AGHT+IFOnlruxDmEoz0uqJQVYj/M79DNDnd5gViRcWKY+/9V5GK4t9uPuPwAu3V4LaEg4YO39B4+ X-Received: by 2002:a17:902:e886:b0:1db:cc11:8530 with SMTP id w6-20020a170902e88600b001dbcc118530mr2956507plg.25.1708589005993; Thu, 22 Feb 2024 00:03:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708589005; cv=pass; d=google.com; s=arc-20160816; b=rr2M1S2p17X9ZUcLxTxRdsTwOVpMRt/WIJ9efauChXEcHwuDPghiQD4hZbtGdS5Xmm gUduk/icFT8HnTNaDgmJ1e0OuzJVdNtt9V/f5kwjxNtCqVXDnKMhuNpvyi6ujOjdFOdf esGU7i5oWtn8sbg418wknKJ/R9eup0y3cxX7vYnDDhmKi+s7ONXfXIotYGcaDEfsKanr KhaNJO4602NwftCQaPI1CyBQY4gw8QH1sB5bmfFrNskI38tqEEwNdpU89gGR2NdpbyBL y0X9kBi8lt1i0lO7vWFHA0Y13NpSAPUPFQ3qaDcRmtskGF5WkyxnWkLnTslIMCNTlJcj j0XQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=dDOm9FV7aMuSQWvy7nBvWpCWczlRRE354L3MMTYM+5o=; fh=x2k4fEaFoFpvkd02MojHAkBfbEU6ueG7eVHGWcATlwI=; b=UKwsOfrieI+6aGkCEil7PnL7hlbgQj9qwNjQMVX1BRjZWzPKu+o4aQ/TAdzB4NAB/a MTNrGYIYGoIjRPkF2LXeY8wXSqd77IdaogDPTFkx1QscbzVoBaZUWNCweKyTTYne7fUO grsITe7nz4MLnAKacPZQnsijwCNTjUhuegyP0PPANCKzzZ+tJxyK2HkXDETEG4eteFV4 +g3aIR9lZHv2sutTmzMZPzPPyvQgRoyW9AkeGylEhQkKTWrbGOYm5+13MTfgKcS0aLr6 BmVJLnPVEqpcMWeP4t2NYEooVVw77h4C7d5fQj6B1CE8++JsegY1FYBItHUbNgR3oACT 3m2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-76045-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76045-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l10-20020a170903120a00b001d4ca2fcc4asi10135992plh.291.2024.02.22.00.03.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 00:03:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76045-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-76045-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76045-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0C809B2272C for ; Thu, 22 Feb 2024 08:03:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64B3D1B7F1; Thu, 22 Feb 2024 08:02:35 +0000 (UTC) Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 758871863E; Thu, 22 Feb 2024 08:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=58.32.228.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708588954; cv=none; b=OQAMmzdCP3OMmVjRJGtaJ30Q+cO8dR0gDNvciePeBU0Wg0EROfncvr0+rA09f6COvv/5kBKLL+0XHx/aZ9tuF4h6xPGbQO37MoBIOoOwEToEvzRyB0rqdJvx669LuFNNBo9e526yFpObj7h8H3t8TBh+rjC3iQ3V96ryY3Or0TM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708588954; c=relaxed/simple; bh=0i4fJdV4oWd0UtPBLzel1D30DZMFT1rhF4jCxciFWeA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hG8cOXlqnRNd77kyIKqiUbK8o8dP5fQBocCeG3dvIp7V/Z5bee8Mr0o07RTrzNSIte9arxI7RRVAfS0lYD6wjYX6CxTlG6glRrXXAsWLISgoycN0s9LN5V8c9plALcUGnw0oxvtrN7IpgcPnx28QDDRkh1tTZXKlBu8Zq6WcbJU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com; spf=pass smtp.mailfrom=amlogic.com; arc=none smtp.client-ip=58.32.228.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amlogic.com Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.6; Thu, 22 Feb 2024 15:47:18 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , Huqiang Qin Subject: [RESEND PATCH 3/3] arm64: dts: Add gpio_intc node for Amlogic-T7 SoCs Date: Thu, 22 Feb 2024 15:46:39 +0800 Message-ID: <20240222074640.1866284-4-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240222074640.1866284-1-huqiang.qin@amlogic.com> References: <20240222074640.1866284-1-huqiang.qin@amlogic.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791585425380893341 X-GMAIL-MSGID: 1791585425380893341 Add GPIO interrupt controller device. Signed-off-by: Huqiang Qin Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi index ad1cac42e9d8..5248bdf824ea 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -171,6 +171,16 @@ gpio: bank@4000 { }; }; + gpio_intc: interrupt-controller@4080 { + compatible = "amlogic,t7-gpio-intc", + "amlogic,meson-gpio-intc"; + reg = <0x0 0x4080 0x0 0x20>; + interrupt-controller; + #interrupt-cells = <2>; + amlogic,channel-interrupts = + <10 11 12 13 14 15 16 17 18 19 20 21>; + }; + uart_a: serial@78000 { compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; reg = <0x0 0x78000 0x0 0x18>;