From patchwork Mon Dec 2 18:21:50 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: 11269453 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 01E0413B6 for ; Mon, 2 Dec 2019 18:22:37 +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 A21C72073C for ; Mon, 2 Dec 2019 18:22:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="n3hFTU/F" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A21C72073C 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=Kttg5INjCRdFbo0h7EYolggODzsVQUZSY28iveI3LRY=; b=n3hFTU/F/sT3Yi YGdNlBA0MPSUU0qLU618wzRw7sDwQImGmanUo7xnt+6pGhSuMbMh1b5lGeq3YF6g7Da6Ppl5X1ULj qGx88y4/M2WeOdk9lGjslUYi+J+xpjuu06pUfHFjFLXO2zwAl3HybmMRsLBLBMT0kIMtk3qCwOKkX 7uyo43UIekIygaZuee0OAdvoU5L5kVrhiVjci7ujElk6r8cQ1YRVnteLX3vsyLgQEm3U9HvjGwkuC jIlvNhoSPsjLFOX3VNMdycT64EKcirogc2EAbmLLTiMfnKYBClLtrIpWyQk45fWzKOlQRZunlg+24 bYOhNQSAZZ9RTucpYSvQ==; 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 1ibqLB-0004WI-Kt; Mon, 02 Dec 2019 18:22:33 +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 1ibqKt-0004El-SG; Mon, 02 Dec 2019 18:22:17 +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 98844AD98; Mon, 2 Dec 2019 18:22:13 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Subject: [PATCH 00/14] ARM: dts: realtek: Introduce syscon Date: Mon, 2 Dec 2019 19:21:50 +0100 Message-Id: <20191202182205.14629-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-20191202_102216_062260_9B038515 X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. 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_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an 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: devicetree@vger.kernel.org, James Tai , linux-kernel@vger.kernel.org, Rob Herring , =?utf-8?q?A?= =?utf-8?q?ndreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hello, This patch series factors out system controller multi-function device nodes for CRT, Iso, Misc, SB2 and SCPU Wrapper IP blocks. It was inspired by my SoC info RFC, as discussed in its cover letter [1]. Goal of DT is to describe the hardware, and in previous patches we've already introduced Realtek's r-bus as node layer. The next step here is to model multi-function blocks as nodes. In order to cope with 80-character line limit, child nodes are added via reference rather than in-place. Also included is a patch adding a reset constant for the SB2 block added. We may need to follow up with bindings adding compatibles, clocks and resets. This series is based on my RTD1195 v4 [2] (except for reset, rebased here), my RTD1395 v2 [3] and James' modified RTD1619 v3 [4]. The irq mux series v5 [5] has been rebased onto this series, v6 to be sent. The SoC info RFC series [1] is still being updated, v2 to be posted later. Latest experimental patches at: https://github.com/afaerber/linux/commits/rtd1295-next Have a lot of fun! Cheers, Andreas [1] https://patchwork.kernel.org/cover/11224261/ [2] https://patchwork.kernel.org/cover/11258949/ [3] https://patchwork.kernel.org/cover/11268955/ [4] https://patchwork.kernel.org/patch/11239697/ [5] https://patchwork.kernel.org/cover/11255291/ Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: James Tai Andreas Färber (14): ARM: dts: rtd1195: Introduce iso and misc syscon arm64: dts: realtek: rtd129x: Introduce CRT, iso and misc syscon arm64: dts: realtek: rtd139x: Introduce CRT, iso and misc syscon arm64: dts: realtek: rtd16xx: Introduce iso and misc syscon ARM: dts: rtd1195: Add CRT syscon node dt-bindings: reset: Add Realtek RTD1195 ARM: dts: rtd1195: Add reset nodes ARM: dts: rtd1195: Add UART resets arm64: dts: realtek: rtd16xx: Add CRT syscon node ARM: dts: rtd1195: Add SB2 and SCPU Wrapper syscon nodes arm64: dts: realtek: rtd129x: Add SB2 and SCPU Wrapper syscon nodes arm64: dts: realtek: rtd139x: Add SB2 and SCPU Wrapper syscon nodes arm64: dts: realtek: rtd16xx: Add SB2 and SCPU Wrapper syscon nodes dt-bindings: reset: rtd1295: Add SB2 reset arch/arm/boot/dts/rtd1195.dtsi | 110 ++++++++++++++++--- arch/arm64/boot/dts/realtek/rtd129x.dtsi | 157 ++++++++++++++++++---------- arch/arm64/boot/dts/realtek/rtd139x.dtsi | 157 ++++++++++++++++++---------- arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 91 ++++++++++++---- include/dt-bindings/reset/realtek,rtd1195.h | 74 +++++++++++++ include/dt-bindings/reset/realtek,rtd1295.h | 3 + 6 files changed, 449 insertions(+), 143 deletions(-) create mode 100644 include/dt-bindings/reset/realtek,rtd1195.h