From patchwork Sat Nov 23 20:37:51 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: 180122 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1128444ilf; Sat, 23 Nov 2019 12:38:11 -0800 (PST) X-Google-Smtp-Source: APXvYqyEkprs54CpLzkkJtqhEszpXOkiGh9epCJ4e4lZzaOlqH6BAMqd9PBhpvhGPwHdzQQn+3Xd X-Received: by 2002:a05:6402:544:: with SMTP id i4mr5762735edx.175.1574541491762; Sat, 23 Nov 2019 12:38:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574541491; cv=none; d=google.com; s=arc-20160816; b=lxIWX+gUekdJVXR3LKsMPxmwIwCyaV4wzNBzUHqGTD5QnlRHPRTb0LkXb1m3yV2x7v YOFZ7d2NLQo5C4X01I0XCKzC7bI8C6uROeREkuw04kT5K5aHWRcPYbctUiGZVCMofzyJ timISpKBcZrN3/FlItpuXXdAXEragQUHFoGCQYIpTcIUmFuW+vChOnJnaIeGxnF+yQYI Pd/wZEFMpVWBQKq5hBv7Bj5Dn+DTGPWunfNKy5j2IoSSJPtrFCJUeQ2DGZNZabN7Lul/ wuU+KDKxBQ/KzAWJYzTLMep+PdvnqlXG8YQEYNhdp4+97ZAzzsdCBoiw1TGAz5l8Z1Eq iBPQ== 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; bh=rPsOHYn8Atwf3GURJ+N9+5O+j9x9Rkj2r6Nbm5C0NrI=; b=XFPvaoAqJRoNENKUf37BhLgFYnjbA9wrADzKoCqA5/igdPXTQLIt+zzMEuTFk4qnsR /+qtPnn8HXOVcnTncSUKphjnUtO7Y3xVA+GGIYdsFMnP8mhI9MNMmnrP8YWeYDuqHOn5 QX0zEb4N9HURCkrGZMzdVy+BhIHe+G7kbx7OU1dkrI2WSgzTAyeqGlfLqTPKJV0GNIgQ JnPNGVRp/buX2Eup/MAZ5OLT6taXkDRhWz+bLpJ8tkBPlzAC9jsH9c5ijtughs9qjRBE hleYS7cFVdeRZJXCJ6cWaQ7QzvMO6gxpV9JU8yJKBOI1NOzKN10lpLNml3x/r5Pz2BDp YrPg== 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 rv12si1366078ejb.372.2019.11.23.12.38.11; Sat, 23 Nov 2019 12:38:11 -0800 (PST) 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 S1726762AbfKWUiK (ORCPT + 8 others); Sat, 23 Nov 2019 15:38:10 -0500 Received: from mx2.suse.de ([195.135.220.15]:34298 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726638AbfKWUiK (ORCPT ); Sat, 23 Nov 2019 15:38:10 -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 A8DD3ADB3; Sat, 23 Nov 2019 20:38:08 +0000 (UTC) From: =?utf-8?q?Andreas_F=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_F=C3=A4rber?= , devicetree@vger.kernel.org, Rob Herring , Arnd Bergmann , James Tai Subject: [PATCH v4 0/8] ARM: Initial RTD1195 and MeLE X1000 & Horseradish support Date: Sat, 23 Nov 2019 21:37:51 +0100 Message-Id: <20191123203759.20708-1-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 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 initial support for Realtek RTD1195 SoC and adds a Device Tree for the MeLE X1000 TV set-top-box. v4 includes more memory range related cleanups, adds a DT and drops the reset patches again for a follow-up series. The final patch is still in need of feedback from Realtek for how to name and handle this magic register and bit(s). SMP (i.e., the second core) is still dependent on two new bindings/drivers. More details on the device at: https://en.opensuse.org/HCL:Mele_X1000 Latest experimental patches at: https://github.com/afaerber/linux/commits/rtd1295-next Have a lot of fun! Cheers, Andreas v3 -> v4: * Insert memory range between r-bus and NOR flash * Exclude boot ROM from memory ranges * Add Horseradish EVB * Drop reset patches (James) v2 -> v3: * Incorporate cleanup patches from RTD1395 series * Fixed r-bus size (James) * Fixed r-bus node name (Rob) * Include reset patches from RTD1295 reset series, rebased onto r-bus v1 -> v2: * Do not redundantly select COMMON_CLK (Arnd) * Drop further unneeded selects * Clean up memory reservations (Rob) * Enable arch timer Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Arnd Bergmann Cc: James Tai Andreas Färber (8): dt-bindings: arm: realtek: Add RTD1195 and MeLE X1000 ARM: Prepare Realtek RTD1195 ARM: dts: Prepare Realtek RTD1195 and MeLE X1000 ARM: dts: rtd1195: Exclude boot ROM from memory ranges ARM: dts: rtd1195: Introduce r-bus dt-bindings: arm: realtek: Add Realtek Horseradish EVB ARM: dts: rtd1195: Add Realtek Horseradish EVB ARM: realtek: Enable RTD1195 arch timer Documentation/devicetree/bindings/arm/realtek.yaml | 7 ++ arch/arm/Kconfig | 2 + arch/arm/Makefile | 3 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/rtd1195-horseradish.dts | 32 +++++ arch/arm/boot/dts/rtd1195-mele-x1000.dts | 32 +++++ arch/arm/boot/dts/rtd1195.dtsi | 139 +++++++++++++++++++++ arch/arm/mach-realtek/Kconfig | 11 ++ arch/arm/mach-realtek/Makefile | 2 + arch/arm/mach-realtek/rtd1195.c | 56 +++++++++ 10 files changed, 287 insertions(+) create mode 100644 arch/arm/boot/dts/rtd1195-horseradish.dts create mode 100644 arch/arm/boot/dts/rtd1195-mele-x1000.dts create mode 100644 arch/arm/boot/dts/rtd1195.dtsi create mode 100644 arch/arm/mach-realtek/Kconfig create mode 100644 arch/arm/mach-realtek/Makefile create mode 100644 arch/arm/mach-realtek/rtd1195.c -- 2.16.4 Acked-by: Rob Herring