Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3598211ybc; Mon, 18 Nov 2019 18:22:58 -0800 (PST) X-Google-Smtp-Source: APXvYqw2pHGn+M4cCFjlvziXTgzq3HIqeMEqvwNlpvA/z7B2QNro+B+8CW9X4l8GqwNvpJbJZKF9 X-Received: by 2002:a17:906:5959:: with SMTP id g25mr30736141ejr.248.1574130178224; Mon, 18 Nov 2019 18:22:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574130178; cv=none; d=google.com; s=arc-20160816; b=QzEtkAq8LnXEnKox/xClAK+eRBHSASmDwBAe/00LMSl+vp1EoG3SQ/h0wH6MDlM6ak Em6sPhwXCZISY9ahxcLD8Z5zECHE6Yyb0XD5PIthaCyzrKzTbZhtvba+ZHa+fCvloNDR wTWuy0zz1v1EwferP/VvCFdd/ZZb+Y9eVGi2wEC8+A0IJNOmQwEewb8TOZ+m/BvPVAam WY62N9zEq6mv2ssMIrlFvM0N1aEEqDlq4Wx6G3H7Jhkm+3s5ihOB1rBgJ9/cg+mM85F5 7GmOh/OdU55U56hUha9NvMTaoWZIko7hi6e1ETOdK4trX3otprt0ztkt9tz1cqxy2sP/ 90Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HSQXFp2sbQOgxM9IOBF6jOixpayLniTFgkAQEk64DSY=; b=Ln156SAYTtBCxDgyt5fDNyKsv3rXATRkwBXuAGhm9XBq7iZsRV3+C7KO6aRo69xf2Y 1HMzyB5VDt993H5UhZ0Ou5hJViR0D6xBnsz7LRenIz/giQ4aD6PyZyzQqVv+Ylx/hYfW /6udf8Nk+s45C3rCjYKQOEwFpXa8SFI7kQK/e8oUvgWBwvQeXBRdpdydkqwSSJhrtfZT ew2JiyY7o7qezjyxikDvWbWdGCc6P4Nl9rYcuibPORWNPFNMAMWoBkWmaJDsAfEozGVZ +O+srrq4fn71O1ZRGep1T6G3qua5Zh7jem08Ff858PMcqWiQF24n3ftOMrwzgmZ2qZ5f IyvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z6si12382690ejx.384.2019.11.18.18.22.33; Mon, 18 Nov 2019 18:22:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727191AbfKSCTY (ORCPT + 99 others); Mon, 18 Nov 2019 21:19:24 -0500 Received: from mx2.suse.de ([195.135.220.15]:57960 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726761AbfKSCTY (ORCPT ); Mon, 18 Nov 2019 21:19:24 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 765C4AD94; Tue, 19 Nov 2019 02:19:22 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v4 1/8] dt-bindings: interrupt-controller: Add Realtek RTD1195/RTD1295 mux Date: Tue, 19 Nov 2019 03:19:10 +0100 Message-Id: <20191119021917.15917-2-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191119021917.15917-1-afaerber@suse.de> References: <20191119021917.15917-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add binding for Realtek RTD1295 and RTD1195 IRQ mux. Acked-by: Rob Herring [AF: Converted to YAML schema] Signed-off-by: Andreas Färber --- v3 -> v4: * Squashed RTD1195 * Converted to YAML schema * Renamed file from realtek,rtd119x-mux to realtek,rtd1195-mux v2 -> v3: * Renamed non-iso irq mux to "misc" for clarity v1 -> v2: * Dropped reference to common interrupt.txt bindings (Rob) .../interrupt-controller/realtek,rtd1195-mux.yaml | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1195-mux.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1195-mux.yaml b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1195-mux.yaml new file mode 100644 index 000000000000..5cf3a28cedba --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd1195-mux.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/realtek,rtd1195-mux.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Realtek RTD1195/1295 IRQ Mux Controller + +maintainers: + - Andreas Färber + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + enum: + - realtek,rtd1195-misc-irq-mux + - realtek,rtd1195-iso-irq-mux + - realtek,rtd1295-misc-irq-mux + - realtek,rtd1295-iso-irq-mux + + reg: + maxItems: 1 + + interrupts: + description: Specifies the interrupt line which is mux'ed. + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - "#interrupt-cells" + +examples: + - | + #include + + interrupt-controller@98007000 { + compatible = "realtek,rtd1295-iso-irq-mux"; + reg = <0x98007000 0x100>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + }; +... -- 2.16.4