Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp59924lqe; Wed, 3 Apr 2024 22:25:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVk9QsSHcHtlIxRGjvAYLamH4CCkgRVQQl/QXZs9e6Z6FQa8b0sxKMiKXU+r+yJMf4U52ZPxArOSJon0pLXtFUPWFGYm8zcsmXtLf/mmA== X-Google-Smtp-Source: AGHT+IEU76egmaBE9lAUKdsZsgYzFwEpDZlXzOqIFXpEvHrTKP/2Ci5qiQI0Bv8JhdC+gq9kqX4g X-Received: by 2002:a05:620a:167b:b0:78a:61d0:3f4 with SMTP id d27-20020a05620a167b00b0078a61d003f4mr1329840qko.75.1712208304908; Wed, 03 Apr 2024 22:25:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712208304; cv=pass; d=google.com; s=arc-20160816; b=SzPXPSirxFnLUbYshFHwaOOrjcA3gDAaND5HESuKHx07Rwb9eKd8nCNPHf0MM7Cle4 +5y6HL0CAgwKhKeUFimr+JfkErYK1sgemg24npG1VzbkedN370ytYy5cO/Et3fjMo6IP XpykdiRk5LYk4c/90wxcHgDjUWlG4sMVt+TFefUUi8LjsIWGEIdRzlOFzXqDPY8FWL9j GHXU1L/svQuMQGwcn0kYQqIwFSdxfhegYA9ppybjNhQEDG04pzyK+Bix/7DkzbxuqtiE CSetVgSF9Ts7kqm9nAGKQtQDnp/R8+AQDr55wFOj7Uvv1NsabOjD+mzhfigYw6M6m4BY IlEw== 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=tdQsk0sD+l4x2atPXWQRsnEuzdTKGZEVf/0jCCxAP4w=; fh=v4XjIS8ZnkfRSzpdvZ0kX2qBiNaW+cViNlbs+XMLZ44=; b=nIuUHw0TWRc7GKXMAVI89prRWWuocVJYHU8UN7Uro5DAA4ajmzIJPSpP9zhehn1U0c m3v1P9LVvQUmVsi5wI9d4nwlFHBAcjCtXYY8m5v66ok9JGOHlyk5iwjWa6Epg7oypaPn vU/GFWt6EROu8J2YR1ejGVEJXjEdVnE3dYQZGIIoyXXgUroi49DxsaNwTJkdMPoWiuYZ nYYpbtll1qbY089SeJo8bAj8nH7nyMDuNS6n8kMyQpBJEj2HNGYAh4zmNRgcfd82vHNt xs9MvZb0Y9gFhQhicXvqmfg8fXv0bVuxEQUM0DV17eklUdDNYZfbo8xM0th5PX8j4pB2 4yfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130930-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130930-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f11-20020a05620a20cb00b0078a66f23824si15443382qka.425.2024.04.03.22.25.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 22:25:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130930-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-130930-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130930-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 810951C273DA for ; Thu, 4 Apr 2024 05:23:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D43E186AFE; Thu, 4 Apr 2024 05:15:33 +0000 (UTC) Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CC3286279; Thu, 4 Apr 2024 05:15:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=153.127.30.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207733; cv=none; b=ZYbGK+M/4XOvOWyiNRnUzFFQ6ZH0Ht7byLdICiOO/rPyQYa8n+lREUJbzj1utxVPGNMhr9ByHdGcTf8NaewOqBupBuVPJU+1atkpltA7PLHbPjimrRtoZl6hYWtRJDvlaB74AsfbSoOqjnKGiQ+aCVv6sgIeGRmKn6YyYs8m5rg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207733; c=relaxed/simple; bh=7IdyKC16TiRcoV3/cW/Zd7MaUktUAv9ffK9AZ3hzcao=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=enwMgBl7JYwXzDerws05Y/Jg/jlU4rxD1MhxOwKrDku6y5ZpgilVuEOadHn58KfaHXpd1s4P9UDlHxY46pHydAlFJBISQINgHzD5ZOr3AbPUVjRDInQdAkk5utYyChld6cefvxmfjgHApHsQV/VEnJowrCyAzu5Y/YMm6p0+umU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp; spf=fail smtp.mailfrom=users.sourceforge.jp; arc=none smtp.client-ip=153.127.30.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=users.sourceforge.jp Received: from SIOS1075.ysato.name (al128006.dynamic.ppp.asahi-net.or.jp [111.234.128.6]) by sakura.ysato.name (Postfix) with ESMTPSA id C307C1C0FF1; Thu, 4 Apr 2024 14:15:28 +0900 (JST) From: Yoshinori Sato To: linux-sh@vger.kernel.org Cc: Yoshinori Sato , Damien Le Moal , Niklas Cassel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Thomas Gleixner , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Greg Kroah-Hartman , Jiri Slaby , Magnus Damm , Daniel Lezcano , Rich Felker , John Paul Adrian Glaubitz , Lee Jones , Helge Deller , Heiko Stuebner , Shawn Guo , Sebastian Reichel , Chris Morgan , Linus Walleij , Arnd Bergmann , David Rientjes , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Vlastimil Babka , Baoquan He , Andrew Morton , Guenter Roeck , Kefeng Wang , Stephen Rothwell , Javier Martinez Canillas , Guo Ren , Azeem Shaikh , Max Filippov , Jonathan Corbet , Jacky Huang , Herve Codina , Manikanta Guntupalli , Anup Patel , Biju Das , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Sam Ravnborg , Sergey Shtylyov , Laurent Pinchart , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: [RESEND v7 19/37] dt-bindings: interrupt-controller: renesas,sh7751-irl-ext: Add json-schema Date: Thu, 4 Apr 2024 14:14:30 +0900 Message-Id: <8d8dec2d75890f3a14632c9606c332fb11d89a95.1712207606.git.ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Renesas SH7751 external interrupt encoder json-schema. Signed-off-by: Yoshinori Sato --- .../renesas,sh7751-irl-ext.yaml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-irl-ext.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-irl-ext.yaml b/Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-irl-ext.yaml new file mode 100644 index 000000000000..fc174c0467e7 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-irl-ext.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/renesas,sh7751-irl-ext.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas SH7751 external interrupt encoder with enable regs. + +maintainers: + - Yoshinori Sato + +description: + This is the generally used external interrupt encoder on SH7751 based boards. + +properties: + compatible: + items: + - const: renesas,sh7751-irl-ext + + reg: true + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + + '#address-cells': + const: 0 + + renesas,set-to-disable: + $ref: /schemas/types.yaml#/definitions/flag + description: Invert enable registers. Setting the bit to 0 enables interrupts. + + renesas,enable-reg: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: | + IRQ enable register bit mapping + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + - renesas,enable-reg + +additionalProperties: false + +examples: + - | + r2dintc: interrupt-controller@a4000000 { + compatible = "renesas,sh7751-irl-ext"; + reg = <0xa4000000 0x02>; + interrupt-controller; + #address-cells = <0>; + #interrupt-cells = <1>; + renesas,enable-reg = <12 9 10 3 0 4 1 2 8 5 6 7 15 15 15 11>; + }; -- 2.39.2