From patchwork Mon Aug 28 10:53:41 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: 111137 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4661017qge; Mon, 28 Aug 2017 03:53:58 -0700 (PDT) X-Received: by 10.98.62.75 with SMTP id l72mr141923pfa.276.1503917638400; Mon, 28 Aug 2017 03:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503917638; cv=none; d=google.com; s=arc-20160816; b=mb5iHiEdMaO7Oj0M8oYis5ioFGRHMQOtBpXG4gjv3rMUfyuE8GldHRKNTAlopRKtPc 7DtIpquaZfIXbGuPahkCE2pAKCVJFwj0l9+te68Yol9VyGBLftu4zlo0Rl2q01ikZOoA eUp0X3x1ZbeIYl07T3mbyaUlR8nTn9Ngm3eNVxLuiFGmR12/UueDLOzSMfovnGS7lHP/ loqyorsMdL26n9iOn7pW/WdGEVx7+50vdiGh9Lma+rDxkHTb5HKBtDEcFXSUYE0milLu LoE9WnZ6WtLD+fS5Ygot8/LaLlLruFK5KrqOs/f12XbJM86gWB4WrOVNTDiUEYiYMDRT wqQg== 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 :message-id:date:subject:cc:to:from:arc-authentication-results; bh=Xek6oHSCBd7NGFjfatg4aXGidC4iHajH6+j2Hw9uRZk=; b=ZRZN7FleEZxTalVB2bAO3xi2WvFgF0OwMnDHBRPROlwtIaUkwzdGJZa+FcrAt5wLpN oZLKjBFrOdlq84voUAxkMg27UTfZCiEGWiLzwkD73j3wHq+7LNaYkM62SR2QV0StMXEB 7RNPIqRIpRE5QMek/lfi+VdRpotNXjG6S9aAc1U2w8nRRYER5Q7XYfZiYYnQV3OxA41x oCrdMDUq6Qhe/ZhTxd8TxSAufS/vJsXywkMHWRfI2xPGWB/+3TVqbuQxs3METtDpgjHX wFPngdKxWmo59tIE6aYSHyKqlyst05KrChSWMN4HJllJRy/frWPWcHccBozc0q7kqRRi 146A== 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 s9si75989plj.719.2017.08.28.03.53.57; Mon, 28 Aug 2017 03:53:58 -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 S1751172AbdH1Kx4 (ORCPT + 6 others); Mon, 28 Aug 2017 06:53:56 -0400 Received: from mx2.suse.de ([195.135.220.15]:35077 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751152AbdH1Kxz (ORCPT ); Mon, 28 Aug 2017 06:53:55 -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 mx1.suse.de (Postfix) with ESMTP id 6C324AB1E; Mon, 28 Aug 2017 10:53:54 +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, Roc He , =?utf-8?b?6JKL?= =?utf-8?b?5Li955C0?= , =?utf-8?q?Andreas_F=C3=A4rber?= , devicetree@vger.kernel.org, Andrew Lunn Subject: [PATCH v2 0/3] arm64: Realtek RTD1295 IRQ mux Date: Mon, 28 Aug 2017 12:53:41 +0200 Message-Id: <20170828105344.8338-1-afaerber@suse.de> X-Mailer: git-send-email 2.12.3 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hello, This series adds two IRQ muxes for the Realtek RTD1295 SoC. There being no public source code for RTD1295, the implementation is based on register offsets seen in the vendor DT, split up into two separate nodes, as well as code from QNAP's rtk119x GPL code dump. v2 does various cleanups, including limiting the serial quirk to the iso mux. More experimental patches at: https://github.com/afaerber/linux/commits/rtd1295-next Have a lot of fun! Cheers, Andreas v1 -> v2: * Rebased, avoiding dependency on reset series for DT nodes * Don't forward set_affinity to GIC (Marc) * Added more spinlocks (Marc) * Code cleanups * Investigated quirk * Fixed spinlock initialization (Andrew) Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Roc He Cc: 蒋丽琴 Cc: devicetree@vger.kernel.org Cc: Andrew Lunn Andreas Färber (3): dt-bindings: interrupt-controller: Add Realtek RTD1295 irqchip: Add Realtek RTD1295 mux driver arm64: dts: realtek: Add irq mux to RTD1295 .../interrupt-controller/realtek,rtd119x-mux.txt | 23 +++ arch/arm64/boot/dts/realtek/rtd1295.dtsi | 22 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-rtd119x-mux.c | 204 +++++++++++++++++++++ 4 files changed, 250 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd119x-mux.txt create mode 100644 drivers/irqchip/irq-rtd119x-mux.c -- 2.12.3 -- 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