From patchwork Tue Oct 17 12:47:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 116081 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4848726qgn; Tue, 17 Oct 2017 05:47:24 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAybv5rj93eCi04dm0oayxegbQ7OwC7Io6Gr/dg0bf1sWofwC64x/wKnLw2cwDXMnZdDXlc X-Received: by 10.101.83.12 with SMTP id m12mr10924449pgq.153.1508244444201; Tue, 17 Oct 2017 05:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508244444; cv=none; d=google.com; s=arc-20160816; b=yl8TK0PdiBOuGIx3tpiv7KI8TBcXQliKoQOk0tbc3Kbu+WXBSp4k5m/lJSegBOPyw2 xkUKyY1aq+OAo86S+UD4y8JY42jLqZSAq/jZQnqDT/fNwDPvf7h+2Tlhcy9JtvzDxkrq aeRKI8+wjoLyEL4Y6IB6qICYLVjGaoJNDOmNCWS+bdFVpESwMdJRRUkiHdKtBFgeZVnI nlgT5uPcvgj4cwU+gaCfuCI9lRzJG8EbsUalebGawfZHw8pgrhI2F9ovDSr4XUGI96mB qPdOl4lDdS/eihD4k/dxC2L+aR3Kw77ibekR5IGjHxHQmAnLnvoEgUHIAQAAg1Y2L7xc flvA== 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 :arc-authentication-results; bh=qON9zUAg3V7Cm1yfS1fxk0I17BeXXdBXkU81YrMv1DY=; b=W+twpBaPNTL+BJVhDduxIvSk1xf6/YQ8FO5nBu5GBsBcpsFuD7pk3qWKW84/ErV539 Nuj/CCn49yoU93O31o8p9wOtNls+Aq1gWExLLDx952XlUV62hAYCsJB+jbUEGvN1d2kP KBJl9mJPnMIrjM/oBft32uCQXYQEWohWXwbNOdG5pHhxuI+BCz5nZwCXGMgm+uTPeRjP Wo1+6aQv4qiVYiOoY7VrlR8Ki2d86kNEdtrADeHcf/dv7tIvzFYc5O7OGe4AY8GTwBHf E9V7UvB3/2jU6EMlJu2zRbJsW6C/xJTfN8CysTtcWeyMykn0h9MPXp1C+e67reIV/zpy of3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 d19si5456807pgn.613.2017.10.17.05.47.24; Tue, 17 Oct 2017 05:47:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761882AbdJQMrW (ORCPT + 6 others); Tue, 17 Oct 2017 08:47:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:33980 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758003AbdJQMrV (ORCPT ); Tue, 17 Oct 2017 08:47:21 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D4EF2AC95; Tue, 17 Oct 2017 12:47:19 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: Thomas Gleixner , Jason Cooper , Marc Zyngier , linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Bizon , Roc He , =?utf-8?b?6JKL5Li955C0?= , =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org Subject: [PATCH v3 3/5] arm64: dts: realtek: Add irq mux to RTD129x Date: Tue, 17 Oct 2017 14:47:05 +0200 Message-Id: <20171017124708.6242-4-afaerber@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171017124708.6242-1-afaerber@suse.de> References: <20171017124708.6242-1-afaerber@suse.de> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Update UART nodes with interrupts. Signed-off-by: Andreas Färber --- v2 -> v3: * Added nodes to rtd129x.dtsi instead of rtd1295.dtsi * Adopted misc compatible string * Renamed node label from irq_mux to misc_irq_mux for clarity v1 -> v2: * Rebased arch/arm64/boot/dts/realtek/rtd129x.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi index b9cb92466fc7..bd07194154a4 100644 --- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi @@ -31,21 +31,41 @@ /* Exclude up to 2 GiB of RAM */ ranges = <0x80000000 0x80000000 0x80000000>; + iso_irq_mux: interrupt-controller@98007000 { + compatible = "realtek,rtd1295-iso-irq-mux"; + reg = <0x98007000 0x100>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + }; + uart0: serial@98007800 { compatible = "snps,dw-apb-uart"; reg = <0x98007800 0x400>; reg-shift = <2>; reg-io-width = <4>; clock-frequency = <27000000>; + interrupt-parent = <&iso_irq_mux>; + interrupts = <2>; status = "disabled"; }; + misc_irq_mux: interrupt-controller@9801b000 { + compatible = "realtek,rtd1295-misc-irq-mux"; + reg = <0x9801b000 0x100>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + }; + uart1: serial@9801b200 { compatible = "snps,dw-apb-uart"; reg = <0x9801b200 0x100>; reg-shift = <2>; reg-io-width = <4>; clock-frequency = <432000000>; + interrupt-parent = <&misc_irq_mux>; + interrupts = <3>, <5>; status = "disabled"; }; @@ -55,6 +75,8 @@ reg-shift = <2>; reg-io-width = <4>; clock-frequency = <432000000>; + interrupt-parent = <&misc_irq_mux>; + interrupts = <8>, <13>; status = "disabled"; }; From patchwork Tue Oct 17 12:47:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 116085 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4850790qgn; Tue, 17 Oct 2017 05:49:35 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCrNcak/XbkLshjiYAklQ0zZzwdZ8kyzet3vwiMZzIri1nm9fXAAXT/t2o4uZEF4U+Z/gmc X-Received: by 10.99.114.92 with SMTP id c28mr10983646pgn.342.1508244575713; Tue, 17 Oct 2017 05:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508244575; cv=none; d=google.com; s=arc-20160816; b=OaWpA14ectbOoWAnz51jKDc8EK3X3VJampz1ZqYi3v3IzUIaYSmRwdjiDbK5K9mcv2 54y8QtFmYJWSnGVRa4fLFF07nipqzGL64PGW0dcVV+CQ703TO8FxDCSYjGM+j1BO1TTc /eGxc3yN+m+Y7nhEBD2gOoECBDeCf782c2jBqCAAt1Da2N0lkTNeHK7LzluzWldIkxyD i1UxlQuiSegfuka3fh8Van5n/kodKdUfDOBRNA/zWlbrIrrPkWSd+DBfvgeBuloZaUpu gIw/fFeIX+aa3DINLHWOTW2tLu/sUeF8WZq45pSwuY7cXzQzep/ooo0/Z+HtiR1StVvF tEkg== 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 :arc-authentication-results; bh=tG/P5iwXR9bKVCiGX9G/nkTwWOvglNuSEWMTmRX0W6I=; b=LRydlqtJwDNvmHWbzmtVfyGC6sZ1J4UVzIM19pb/XP/ed32I0Ntf1Oj0dqNOVvnq2E QEpK7ZiQebLATFyWxVJ3TypIB0JS17dfa17Z70Eei1lQFLQVlPfaRdZS3ACa8OFboD6T zjfEwuAGwpCFLTUAl7BdLnbmKv9Rg7vB61eIxR+9Kb6nVT7icYuT5BnNZGva07f7mmWD MB8LTE1503HGBgpQ4pIwFNAmyVbDb/TI/dGrPEilHw9ute++kQ2Onc9YHmUO82CZVBH/ WHJUugeCWAj/GPSQamn5Olmcp0fUX7OCm+0d2zL5CMmDU0KN69yCKVd2jzoCvkx2NJAW AtWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 205si5436365pgd.240.2017.10.17.05.49.35; Tue, 17 Oct 2017 05:49:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762022AbdJQMte (ORCPT + 6 others); Tue, 17 Oct 2017 08:49:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:34009 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761879AbdJQMrV (ORCPT ); Tue, 17 Oct 2017 08:47:21 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 34DD0AD68; Tue, 17 Oct 2017 12:47:20 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: Thomas Gleixner , Jason Cooper , Marc Zyngier , linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Bizon , Roc He , =?utf-8?b?6JKL5Li955C0?= , =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v3 4/5] dt-bindings: interrupt-controller: Document RTD1195 Date: Tue, 17 Oct 2017 14:47:06 +0200 Message-Id: <20171017124708.6242-5-afaerber@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171017124708.6242-1-afaerber@suse.de> References: <20171017124708.6242-1-afaerber@suse.de> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add compatible strings for Realtek RTD1195. Signed-off-by: Andreas Färber --- v3: New Could be squashed into 1/5 if acked. .../devicetree/bindings/interrupt-controller/realtek,rtd119x-mux.txt | 2 ++ 1 file changed, 2 insertions(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd119x-mux.txt b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd119x-mux.txt index f39ce341adbd..67be0653528b 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd119x-mux.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtd119x-mux.txt @@ -4,6 +4,8 @@ Realtek RTD119x/129x IRQ Mux Controller Required properties: - compatible : Should be one of the following: + - "realtek,rtd1195-misc-irq-mux" + - "realtek,rtd1195-iso-irq-mux" - "realtek,rtd1295-misc-irq-mux" - "realtek,rtd1295-iso-irq-mux" - reg : Specifies base physical address and size of the registers.