From patchwork Mon Mar 6 17:22:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 1752601 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=oahB1xYb; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PVlnP3rhMz246K for ; Tue, 7 Mar 2023 04:24:41 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=OEF+8QDxQEineCrIiR42qGqG+ab6VZhF6IyeGncyJwo=; b=oahB1xYbfs+a6T rQdX0dmd97HuVDtEYCZg0oUOINP1Bzr62zdwxcgdIdXn8zOi+uveJM8B/B+NeCiP/aK/9JSIjacBN b+gdR50r3zOoKZdNIFTp23sSJ0dLq8bD7C+Q0C2Fc2CqV7qBAG21FqcTOG6GcQ4Ht4k5Nj8vRymTu gvRNANRCrdpYC89pr8OpLkGi3IORrogXZij3S3Pvr4yml9+uMRMJqsVpofDFKDBOvbn4Zr/oPqWGH /Gp7kkACDAFcoTaiLM7E9WFBB5AY/SpU4rC0skXeWHTBWXmf2heT+tuTmbOOVVJwvrPtiFUo/7ko8 4cg+qcum5gRj9tYRKkww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZEZJ-00E6OW-5b; Mon, 06 Mar 2023 17:24:13 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZEYh-00E64P-N9 for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2023 17:23:38 +0000 Received: from stefanw-SCHENKER ([37.4.248.41]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N3KY0-1qYSBu0EqI-010Jxc; Mon, 06 Mar 2023 18:23:12 +0100 From: Stefan Wahren To: Rob Herring , Krzysztof Kozlowski , Jonathan Cameron , Lars-Peter Clausen , Arnd Bergmann , Olof Johansson , Evgeniy Polyakov , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: linux-imx@nxp.com, Li Yang , Denis Ciocca , soc@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 0/8] ARM: dts: imx6ull: Add chargebyte Tarragon support Date: Mon, 6 Mar 2023 18:22:41 +0100 Message-Id: <20230306172249.74003-1-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:7X3G3jIfDeolQi6iDz99jJ77T1hJ6MIzBoLP/VTGvpwuL7H+am6 i4jpzJZ+tJ1+9IJ0NWg9+L9a/eL+NIdTe6xSEUVZqrHjGaIqrCndO/l7+gMKBo5pXdqjbfI SvadKtkiC6z51w9fjaukEJYchDbTKMR4lQtsvJ1OsLxJkD9T/MXw3JTywK89H8qeDRw5J7l WrZDBj+iqz/RhEAfMPo2g== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:biCDQeY6+Jo=;1X6prIbhiEw2GYPBvslN2bHlYBP GkhTcJQIw+3yCzCEaDo6uwutJkOSOpar09JxGwC8XVzd4r3yAEPOYT2u/EUtJ3jzv5fpBWFa8 qohA47qvUI9g/sb572uWSP8wHkuNJZmL3GS0VkLtQniXLC0cQ4IglHJiGExdD45qzy0Ydhsmv iU71YHrv/R8jCMvpOZ9hDP8n9UfqW8FSI23XCsJaB0AWSXImmSy1SwW3mAimIEW4D7cU8OZwA GsfmYH4vfpr9vDS4jUDYUifzSNp/r3jwCXcGgGHSMhNW9huSAX6Rf9La4aosYKuAGWpXPXl0P HdpDYMOgFOk+Qvte9kGxtO2FrOxTV84fQeAE6ye89s4jz4P8JScBtXvjrkw7n6/cZFq/dzUoY W6WDtZVtbpMfJdLGKiKntnuqu3hzX76h00YpEojAEwLU9Woxi31+Z+xyfNR+mRhVjlf0gO++W jOiugNjVpBE6W+7p7kk2QMwuNB2DMc1NeLm4Q+0+DW0KucZ/oK+EhNi1xPNVFd+8PehIpVqmp RGpabjmpit1hA9jSlzfrn+zmm+XCd7mwyjUAjTLhWE+EG63BzDyAFp3ihOb72vXMa99HRyeR+ 2lxPhFTqnvfWcvlRNuIsMyTSE2sbH3IVP4dxlj90Lu3T+CpETlyEkb7X6vPuLK+SUZgIPCI7o zFdRifosFGflTS276kmmbH2e3oSdrmBscYbv1DgGtw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230306_092336_108686_051ACA88 X-CRM114-Status: GOOD ( 12.78 ) X-Spam-Score: -0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This series adds the support for chargebyte Tarragon, which is an Electrical Vehicle Supply Equipment (EVSE) for AC charging stations (according to IEC 61851, ISO 15118). The Tarragon board is based on an i.MX6ULL SoC and is available in 4 variants (Master, Slave, SlaveXT, Micro), which provide more or less peripherals. Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.72.192.75 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 -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.72.192.75 listed in wl.mailspike.net] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org This series adds the support for chargebyte Tarragon, which is an Electrical Vehicle Supply Equipment (EVSE) for AC charging stations (according to IEC 61851, ISO 15118). The Tarragon board is based on an i.MX6ULL SoC and is available in 4 variants (Master, Slave, SlaveXT, Micro), which provide more or less peripherals. Supported features: * 512 MB DDR RAM * eMMC * Debug UART * 100 Mbit Ethernet * USB 2.0 Host interface * Powerline communication (QCA700x) * 2x RS485 * Digital in- and outputs (12 V) * One-Wire master for external temp sensors * 2x relay outputs * 2x motor interfaces The Tarragon hardware is bundled with a charging stack under the name Charge Control C: https://chargebyte.com/products/charging-station-communication/charge-control-c This series is rebased on top of: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git?h=for-next Stefan Wahren (8): dt-bindings: vendor-prefixes: add chargebyte dt-bindings: Add DS2482/DS2484 as trivial device w1: ds2482: add i2c id for ds2484 dt-bindings: iio: st-sensors: Add IIS328DQ accelerometer iio: accel: add support for IIS328DQ variant dt-bindings: ARM: fsl: Add chargebyte Tarragon ARM: dts: imx6ull: Add chargebyte Tarragon support ARM: imx_v6_v7_defconfig: Enable Tarragon peripheral drivers .../devicetree/bindings/arm/fsl.yaml | 9 + .../bindings/iio/st,st-sensors.yaml | 1 + .../devicetree/bindings/trivial-devices.yaml | 4 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/Makefile | 4 + .../arm/boot/dts/imx6ull-tarragon-common.dtsi | 858 ++++++++++++++++++ arch/arm/boot/dts/imx6ull-tarragon-master.dts | 82 ++ arch/arm/boot/dts/imx6ull-tarragon-micro.dts | 10 + arch/arm/boot/dts/imx6ull-tarragon-slave.dts | 32 + .../arm/boot/dts/imx6ull-tarragon-slavext.dts | 64 ++ arch/arm/configs/imx_v6_v7_defconfig | 6 + drivers/iio/accel/st_accel.h | 1 + drivers/iio/accel/st_accel_core.c | 1 + drivers/iio/accel/st_accel_i2c.c | 5 + drivers/iio/accel/st_accel_spi.c | 5 + drivers/w1/masters/ds2482.c | 1 + 16 files changed, 1085 insertions(+) create mode 100644 arch/arm/boot/dts/imx6ull-tarragon-common.dtsi create mode 100644 arch/arm/boot/dts/imx6ull-tarragon-master.dts create mode 100644 arch/arm/boot/dts/imx6ull-tarragon-micro.dts create mode 100644 arch/arm/boot/dts/imx6ull-tarragon-slave.dts create mode 100644 arch/arm/boot/dts/imx6ull-tarragon-slavext.dts Acked-by: Krzysztof Kozlowski Acked-by: Krzysztof Kozlowski