From patchwork Wed Oct 23 10:13:06 2019 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: 11206255 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 90CCF139A for ; Wed, 23 Oct 2019 10:14:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5D89621872 for ; Wed, 23 Oct 2019 10:14:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gmHtAlW1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5D89621872 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=mmIHB+rQMqRkIXNKtrR/tetK623ScWF6jeSm2OKLB4s=; b=gmHtAlW1IKdxOy sPt8UHwkH3GDfSUlGEPhBlLTTOg8l81OEfhj0WUfT/8U++fTDWpvbjLheFR8hFfLpC3GlnYnoJx4O ypHMeOErWqTQnRGVLC4meXoIoPiZl5zrEEtk0rHG9totTRlbxumk1DgZdt3slpAX51gk5atNZq4rJ c3MHK1MeM+zGfLNAIIogZrsllGV8ATYocft59pN7RXHgH399E14sKd6QLVqtTYInzJ5HF0nQi8TeZ 0vAm/yCpzC9mvVKWEGkdC2v7/n23kpucxm3ko9PRxp2cYLDHAPprE/N0gCfTf7QZkalb6UHV473so O+itbiDqpL/zienmBEcw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNDeT-00053c-GK; Wed, 23 Oct 2019 10:14:01 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNDdy-0004iU-IL; Wed, 23 Oct 2019 10:13:32 +0000 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 546CEB4D6; Wed, 23 Oct 2019 10:13:27 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Subject: [PATCH v2 00/11] arm64: Realtek RTD1295 reset controllers Date: Wed, 23 Oct 2019 12:13:06 +0200 Message-Id: <20191023101317.26656-1-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191023_031330_748945_3333E78D X-CRM114-Status: GOOD ( 12.14 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philipp Zabel , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Andreas_F=C3=A4rber?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hello, This series adds reset controllers for the Realtek RTD1295 and RTD1195 SoCs. v2 adopts reset-simple driver and DesignWare bindings as simplification and covers RTD1195, too. Note that reset-simple driver would allow to cover RTD1195's reset1-3 in one DT node, but it only maps the first resource, so RTD1295's reset4 would need to remain separate due to a gap in between. I've therefore left them all as separate nodes for now. Also note that my initial 32-bit arm patch already selects RESET_CONTROLLER, to avoid needing a separate patch here to add that one line as done for arm64. If I can take the bindings patches through the Realtek tree then I can squash the two final DT patches depending on them into the patches added the resets, otherwise they need to go into v5.6 or be merged via a topic branch. More experimental patches at: https://github.com/afaerber/linux/commits/rtd1295-next Have a lot of fun! Cheers, Andreas v1 -> v2: * Drop custom reset driver * Drop "realtek,rtd1295-reset" binding * Reordered to not depend on irqchip or clk patches * Extended with RTD1195 patches Cc: Philipp Zabel Cc: devicetree@vger.kernel.org Andreas Färber (11): dt-bindings: reset: Add Realtek RTD1295 dt-bindings: reset: Add Realtek RTD1195 reset: simple: Keep alphabetical order reset: simple: Add Realtek RTD1195/RTD1295 arm64: realtek: Select reset controller arm64: dts: realtek: Add RTD129x reset controller nodes arm64: dts: realtek: Add RTD129x UART resets ARM: dts: rtd1195: Add reset nodes ARM: dts: rtd1195: Add UART resets arm64: dts: realtek: Adopt RTD129x reset constants ARM: dts: rtd1195: Adopt reset constants arch/arm/boot/dts/rtd1195.dtsi | 27 +++++++ arch/arm64/Kconfig.platforms | 1 + arch/arm64/boot/dts/realtek/rtd129x.dtsi | 34 +++++++++ drivers/reset/Kconfig | 5 +- include/dt-bindings/reset/realtek,rtd1195.h | 74 +++++++++++++++++++ include/dt-bindings/reset/realtek,rtd1295.h | 111 ++++++++++++++++++++++++++++ 6 files changed, 250 insertions(+), 2 deletions(-) create mode 100644 include/dt-bindings/reset/realtek,rtd1195.h create mode 100644 include/dt-bindings/reset/realtek,rtd1295.h Acked-by: Philipp Zabel