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>;