Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp484720lqb; Wed, 29 May 2024 01:18:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdK8utMC5qdEtrljEH2BuMWx7I1Z2TWHfZrnryORlLeSLeJud5z+pDPvnF5OhsOICvBOtMOiZzhyITuLPEkaCkzLvtHv1YvqrWKfA91w== X-Google-Smtp-Source: AGHT+IHWgBo/HgyWh5AgBQNDE1f5h+EFQqkMVl2fX+2DPG/4LkEuxD7IZdhUSIwKHg8Smk5Ryi4c X-Received: by 2002:a17:902:dac5:b0:1f4:f1c1:647b with SMTP id d9443c01a7336-1f4f1c1674cmr6731655ad.61.1716970693140; Wed, 29 May 2024 01:18:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716970693; cv=pass; d=google.com; s=arc-20160816; b=eNaj1fwAWJjoRESg35LirH6ajvtk/vyLR46BM1lJe4+26qQ1ntsH0x6FuERTUyHs6L qTFE25ZfOChiLhS5MiPTf7EeITwKcLY1qUCCaCHptE8KKVaE0Xn3MQ7cvW3kVj62hg+B sQAU8ZegNk+AMevT9pAkjMdgbHdoik75EhP8feXwo9/wMHNNZbixPrz6ow02zaZu4lqn YYxUTPXuttcIwFipL8vTXwJcM/y/Rafj4SazrbHqHo0vjFMuWmgiHnxFBFvUCiiE7Ocs yGkBj2qmY30z/922+yutLAkzRar1IWWMEC1rPSgR8+Iyf72F4zsvro4Vfn9Ai56Oh0/S woWQ== 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=CJ6HiLg5ksRX2SLnFTsYS6r3jJecMIolkXprmG5TgjA=; fh=NCl8CixGeTFE2HqgWDW+UlfZpmTMmLot3MlKffw+YoQ=; b=ZkyxwDxIn0p+uAEZHZ+edJmlfONoNUscnp12XRaamNBFxbqUXTod9O8rNHMt+2t7vj 5Oe51xMxBId7cZr8N2p5yEBduFOkte8mlWTxLJgqA7SYctHf55RVrve+Y0TBSxSSq5rs lWJow5HdG1KBl+BLnkzfGeqlZh2esEhCzVZVpXgZ6FQ1f1aEtVQymlqqDSUhB/amLe3j tRkztCf8TrR095XrjXq7DItooqT2K/Nn+406+cfGI+n8CinKM8PaNaYQp+MNM3tkye1z 01P88lc2Q34PQMqhnTbsgJA+Y63802/3+6o2nbuA13eibVucJG26jmaGuqzIY98vqAUV Q1bg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-193657-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193657-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f48bbbfa29si59139355ad.603.2024.05.29.01.18.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 01:18:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193657-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-193657-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193657-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4A637B228D2 for ; Wed, 29 May 2024 08:07:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A73717F36F; Wed, 29 May 2024 08:02:07 +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 035B317DE17; Wed, 29 May 2024 08:02:04 +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=1716969726; cv=none; b=TGIiu9tHUZJR1/T8PkkeizGADdyODekrhV+qqJo8pntcWmMYr2FTPensSAkgsPIUICMZrmRoNlFwC/BNatZ8+16A1iQSmpoJoZ01S1QCv1i3r9NLBBogvRW5vrqAEnMy8DS++pof0Ei+HVUl7VI9wjWMUExGWK5GQfWaM7mrQrc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716969726; c=relaxed/simple; bh=doRwpWq6CEK8kbRUGuMEMwaHp+pEfzloiQZBRpbHuXY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GBGoVPyjqN04eCJ+kVaTkDH91ADvj/mlyNvFfuPohgEZnBgHmC1Z/AG16ysAPGg5pmPKZhUhkPBZvvSWvHIYZ+AcIJSOhQ4rjLZIZkOD4h5oyIH4eigHeLVGT+VwNQhLQKocXshm/HSqGO9ypfyMHeR9MngWoADoM+cTgKRCPro= 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 6F1231C0FB0; Wed, 29 May 2024 17:02:02 +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 , Neil Armstrong , Chris Morgan , Sebastian Reichel , Linus Walleij , Arnd Bergmann , Masahiro Yamada , Baoquan He , Andrew Morton , Guenter Roeck , Kefeng Wang , Stephen Rothwell , Azeem Shaikh , Guo Ren , Max Filippov , Jernej Skrabec , Herve Codina , Andy Shevchenko , Anup Patel , Jacky Huang , Hugo Villeneuve , Jonathan Corbet , Wolfram Sang , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Christophe JAILLET , Sam Ravnborg , Javier Martinez Canillas , 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: [DO NOT MERGE v8 19/36] dt-bindings: interrupt-controller: renesas,sh7751-irl-ext: Add json-schema Date: Wed, 29 May 2024 17:01:05 +0900 Message-Id: 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..ff70d57b86cd --- /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 = <2>; + renesas,enable-reg = <12 9 10 3 0 4 1 2 8 5 6 7 15 15 15 11>; + }; -- 2.39.2