From nobody Sun Feb 8 19:43:20 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5331925F96D; Mon, 28 Apr 2025 10:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745837071; cv=none; b=fiDIGvof3OFubVQKRXTJBGyhiR/RkGoDAcHkAsgnEBtxlLxV2+tYpQkdKegE+k+GR2xhf1z39LyY5h7g4m0Mtq9z2JiW95IJsfOojrHSH+Zj2EP9Q68OYjmb86vZuEPf2SPLie22zzPox+flrKS+fbiJaVBIrBvTwogoh5Urp+k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745837071; c=relaxed/simple; bh=bM/5EDf32Br2Fmtz15dIAtUhg9VujV8OEWyNE+VJDtY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kSbRyRQ6b3yral+DBqazaQF6qrMpWr4AzhO9jy7hiLO2t/ZE/w7nk9b3tePc/qcziHWX3XD+ZQx8NyHsL+SxAVrsk0uZveeiCF0tNVWVr9QiLAE02fXVoW2zonzD+j4mkaewo0SuezL7fBhNQK2u7GKameFuDCn+kuirYlJerO0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GMHAfWte; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GMHAfWte" Received: by smtp.kernel.org (Postfix) with ESMTPS id DB81FC4CEE9; Mon, 28 Apr 2025 10:44:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1745837070; bh=bM/5EDf32Br2Fmtz15dIAtUhg9VujV8OEWyNE+VJDtY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=GMHAfWteEmXZRUOmsspfjqj3XLZPvza+ufNt58PrhZG56F9WIpcG8JjBqa/bYRwdo WdrnK0hZmbqeYBxPtKm5VFG9V57yYGMLahOv93JpF+53uhRQnZ9Ux4HmihVC9uPBpW tlsXQHDuVEGOcUeVRP6Mt+iPeiQumHKumnkr28T3n0BeEoeSXCDipy9fbvC/d/SQoU MpgcYw0wRCMwUNIC+aioO8rY6hwkPeP5fJsz3f+uRvJTAJNBQSB7/odhapSDyWfQEY ZP+gZui6oBAoqBw2+X/exFRmHpY0jIC4yzDMFf2l/6jFTxzU3JWFFAoQSJA/ivZL4I qs04lblftIqaw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA738C369D9; Mon, 28 Apr 2025 10:44:30 +0000 (UTC) From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_B4_Relay?= Date: Mon, 28 Apr 2025 12:44:28 +0200 Subject: [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add TC Unterhaltungselektronik AG Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250428-fernsehfee-v2-1-293b98a43a91@posteo.net> References: <20250428-fernsehfee-v2-0-293b98a43a91@posteo.net> In-Reply-To: <20250428-fernsehfee-v2-0-293b98a43a91@posteo.net> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Martin Blumenstingl , Jerome Brunet , Kevin Hilman Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1745837069; l=1023; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=lhW1S1FqMGlohP33kbMw1Pv6brNFdpf4vK4RYn9L2Ow=; b=FTY9CmJ9n2ohyDbO/qJZqosFFn7U14VWhCnco0IzGh6Gm4JAfeBCIiuq5vK/IPab3X0l9f6Sa Ihm0gJtX4+jAcTLq+jgTYmqgc0uFaRXuQcRIgnZuzJPM326GFPDN3k9 X-Developer-Key: i=j.ne@posteo.net; a=ed25519; pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4= X-Endpoint-Received: by B4 Relay for j.ne@posteo.net/20240329 with auth_id=156 X-Original-From: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Reply-To: j.ne@posteo.net From: "J. Neusch=C3=A4fer" TC Unterhaltungselektronik is the company behind Fernsehfee branded set-top boxes. Acked-by: Krzysztof Kozlowski Signed-off-by: J. Neusch=C3=A4fer --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Docum= entation/devicetree/bindings/vendor-prefixes.yaml index 86f6a19b28ae217643bf7a63a471f74819d18238..c61c5e11ff5472acb8a6ebdd6d1= a66cfa07ae7af 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1494,6 +1494,8 @@ patternProperties: description: Toby Churchill Ltd. "^tcs,.*": description: Shenzhen City Tang Cheng Technology Co., Ltd. + "^tcu,.*": + description: TC Unterhaltungselektronik AG "^tdo,.*": description: Shangai Top Display Optoelectronics Co., Ltd "^team-source-display,.*": --=20 2.48.0.rc1.219.gb6b6757d772 From nobody Sun Feb 8 19:43:20 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5323425F7BC; Mon, 28 Apr 2025 10:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745837071; cv=none; b=fdsv+O9EXmtsgOlHwMK4wQMJ0882nFevzNcuvXs0SwU9I/QW8nVvWPTjMymMsA9cBRiosw4gOI5jPVe3z5PbkAzpl2gqjSfPzrqXOAFhmNkmXUN0Xh87M0WQQhSbZEL+wxgWfJBVu4snRxjcmtKq+0CdJegfIUAKbw+yzc8Oxyk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745837071; c=relaxed/simple; bh=Xlkrt6G0FEKg1HboAv2n4Daxz723vqa07I6qDNDIf/k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mQ8x+hg5Ow1O1s3zsj/y5uch9+Df1g8phdIlA9ex2JdJmQqeiIZYUDkP4Fgc4WWT8v8Y9eKS4S4r0cAX61W11kc3e1q5K6yh6/u0TGkt75zAHdTbZX9dP474vQtDn99kGBPo7oCFf8sN27J55GBwiB47GvSpljfuuG/q9NDyxl8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cv78DjI2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cv78DjI2" Received: by smtp.kernel.org (Postfix) with ESMTPS id E7B5AC4CEEE; Mon, 28 Apr 2025 10:44:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1745837071; bh=Xlkrt6G0FEKg1HboAv2n4Daxz723vqa07I6qDNDIf/k=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=cv78DjI2Q1y/ahBCts7re/2kae0KY1063OgbwMx6h8YMI9gPwa9KlTKUjgY4Stj59 QQCKNDbJeiOVkgXwKLNjyo+kNBEHFsmKYvh/iS5e/57BOl6YIlktymdrbfc3bRarqw 1EWvOH52QKJ9PDdmYWylVxMxCx2EKBVZlhj0ACu5/dJTxwsazA9W4fb72spllqUcGz LKpxbAqlVg65mntpYRUSHIck762IN6rs/GleTxnRsBAT/z/Wl68XRFrXNt2OU/c7q6 hiE4XDTLDlndi0GXlSVmeocmanah0F9sYMYmI251C1gDbituIWjt1UX+pzM4aW2M18 pEgk2VUi5gL6Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8375C3ABA1; Mon, 28 Apr 2025 10:44:30 +0000 (UTC) From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_B4_Relay?= Date: Mon, 28 Apr 2025 12:44:29 +0200 Subject: [PATCH v2 2/4] dt-bindings: arm: amlogic: Add TCU Fernsehfee 3.0 board Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250428-fernsehfee-v2-2-293b98a43a91@posteo.net> References: <20250428-fernsehfee-v2-0-293b98a43a91@posteo.net> In-Reply-To: <20250428-fernsehfee-v2-0-293b98a43a91@posteo.net> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Martin Blumenstingl , Jerome Brunet , Kevin Hilman Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1745837069; l=1095; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=MIe7PtmNs9I3jGf86k4FxS5W7n++ITrjeAkSDcGo2i4=; b=JQIGJmDcQaIKoCGqKGZeFqJOtEbcqdf1GapeFkjcfu3MQktin5wLvLjwWR6M3BJUvWsxUfYrp COTqXuWSsBPC51m1X21MQ2ud+DY74IGJKMBCehtdkHP3H9myv+fAtNY X-Developer-Key: i=j.ne@posteo.net; a=ed25519; pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4= X-Endpoint-Received: by B4 Relay for j.ne@posteo.net/20240329 with auth_id=156 X-Original-From: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Reply-To: j.ne@posteo.net From: "J. Neusch=C3=A4fer" Fernsehfee ("TV fairy") 3.0 is a set-top box with HDMI input and output ports. It originally ran Android 4.4 and a Linux 3.10 kernel. https://fernsehfee.de/ (German) https://telefairy.com/ (English) Acked-by: Krzysztof Kozlowski Reviewed-by: Martin Blumenstingl Signed-off-by: J. Neusch=C3=A4fer --- Documentation/devicetree/bindings/arm/amlogic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documenta= tion/devicetree/bindings/arm/amlogic.yaml index 0647851ae1f55a27bfb148252532bcf15ca905bf..f6f045528da32cf4625b30da592= 62ca21da860e6 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.yaml +++ b/Documentation/devicetree/bindings/arm/amlogic.yaml @@ -27,6 +27,7 @@ properties: items: - enum: - minix,neo-x8 + - tcu,fernsehfee3 - const: amlogic,meson8 =20 - description: Boards with the Amlogic Meson8m2 SoC --=20 2.48.0.rc1.219.gb6b6757d772 From nobody Sun Feb 8 19:43:20 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5314C25F78D; Mon, 28 Apr 2025 10:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745837071; cv=none; b=j/alXo1CatIxOnVnFLKX6GV9DsKF5EcOEMPkrxX3P5pk04twc+rJmcq4yMuEY4ZYpnjcGJ9peotrnaGZjTvyqD6RsoQxo2Izt3mBSdklfvhfO/dc4bIZv7YRQVot7/b4COf7nCM2M9vdUKD2+dVIM27lhw8nWxcKyBs68ly3uUw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745837071; c=relaxed/simple; bh=J/CgIbmBv/dfViEFXB2ZtXKbxhuPVlJtSqog+cbGqNI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZARsDk2ctmRoHK8UjLRpPY0ZFem84kaxwZUArTe67L3VIxyHiiuWOPunqEeWOMgKbjRHsMHErb/sYSiavhBqYy0YGnFjFGUSnVRdZq0hI/cYTMovoC+joYasKPMXB4dIr0fOQBUoUybFqh34mGhejWJrMPuVFU/5aNfo3anoGU8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eqlujBOf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eqlujBOf" Received: by smtp.kernel.org (Postfix) with ESMTPS id F27D8C4CEF0; Mon, 28 Apr 2025 10:44:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1745837071; bh=J/CgIbmBv/dfViEFXB2ZtXKbxhuPVlJtSqog+cbGqNI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=eqlujBOfTaVkiAdBstmjHc/CtDyxpMBf8fLZphEnrquScJtcKDhtTe83kzaDQ4bjJ /D+YcXJMmL++PlEPjPK449IBjg60cCXEz4Wha9BunOu7eO4xgPseEAjW5tycPCrGow 3cV3yEWhj0D47m5eKUOoDxnytf726/VYIxMlvN3+9jY2FJzGkFGWoME31ty6K3QKqr 6BQ3+OGXCAKHj0mHK2HVhtN48JlF8wi90rkywuI9GxBp8xIPeuufI6ndVpRsF6M123 qplQJ3YwqDzvrXdNmJ6nZhhoVRpcCLAxTfof3fVbai6EdPu2+5+sKLWpnt5ur8b+tN 6eiOJm22FJLyQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E910BC369D3; Mon, 28 Apr 2025 10:44:30 +0000 (UTC) From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_B4_Relay?= Date: Mon, 28 Apr 2025 12:44:30 +0200 Subject: [PATCH v2 3/4] ARM: dts: amlogic: Add TCU Fernsehfee 3.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250428-fernsehfee-v2-3-293b98a43a91@posteo.net> References: <20250428-fernsehfee-v2-0-293b98a43a91@posteo.net> In-Reply-To: <20250428-fernsehfee-v2-0-293b98a43a91@posteo.net> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Martin Blumenstingl , Jerome Brunet , Kevin Hilman Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1745837069; l=7396; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=tebtMtUwOY6xaBmSlEZFxau3HI8tHtfz98jpkXEgmbk=; b=9B41xUce9dP/iObUyE927059Mcqk770UPnl4gXHmSikWu/Q/MXnO02sUkBgXU4XuDO6J4Yfkq QZU/WYkg1IqCtBRdl9nLVOaL4ynKySfnCEueiBJn6525tgkYSF+XVDb X-Developer-Key: i=j.ne@posteo.net; a=ed25519; pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4= X-Endpoint-Received: by B4 Relay for j.ne@posteo.net/20240329 with auth_id=156 X-Original-From: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Reply-To: j.ne@posteo.net From: "J. Neusch=C3=A4fer" Fernsehfee[1] ("TV fairy") 3.0 is a set-top box with HDMI input and output ports. It originally ran Android 4.4 and a Linux 3.10 kernel. The following features are tested and known to work: - Ethernet - Power LED (switching between green and red) - Power button - eMMC - SD Card - USB - Wifi The following features are untested or not working: - HDMI input and output - Infrared remote control input and output [1]: https://fernsehfee.de/ (German), https://telefairy.com/ (English) Reviewed-by: Neil Armstrong Signed-off-by: J. Neusch=C3=A4fer Reviewed-by: Martin Blumenstingl --- This patch depends on a new binding, which has entered linux-next through usb-next: "dt-bindings: net: wireless: Add Realtek RTL8188ETV USB W= iFi" https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/?= qt=3Dgrep&q=3DRTL8188ETV V2: - Fix bias-pull-up property - Remove unused sd_card_slot label, apply Neil Armstrong's R-b tag - Move vdd-supply to wifi module, instead of using vbus-supply - Remove regulator-1v8, because measurements did not show evidence that the eMMC chip actually gets 1.8V for Vccq. --- arch/arm/boot/dts/amlogic/Makefile | 1 + arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts | 215 +++++++++++++++++++= ++++ arch/arm/boot/dts/amlogic/meson8.dtsi | 18 ++ 3 files changed, 234 insertions(+) diff --git a/arch/arm/boot/dts/amlogic/Makefile b/arch/arm/boot/dts/amlogic= /Makefile index 504c533b1173298ec7f45099888d88b2fb74b978..3c8a1e88b386cd7fb9b5f41f47d= 7ff78fe7eeacc 100644 --- a/arch/arm/boot/dts/amlogic/Makefile +++ b/arch/arm/boot/dts/amlogic/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_MACH_MESON8) +=3D \ meson8-minix-neo-x8.dtb \ + meson8-fernsehfee3.dtb \ meson8b-ec100.dtb \ meson8b-mxq.dtb \ meson8b-odroidc1.dtb \ diff --git a/arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts b/arch/arm/bo= ot/dts/amlogic/meson8-fernsehfee3.dts new file mode 100644 index 0000000000000000000000000000000000000000..3f9e2e5d8d5bd7ca7eb31e9b6cc= 7a591666c89ea --- /dev/null +++ b/arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts @@ -0,0 +1,215 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +// Copyright (C) 2025 J. Neusch=C3=A4fer + +/dts-v1/; + +#include +#include +#include + +#include "meson8.dtsi" + +/ { + model =3D "Fernsehfee 3.0"; + compatible =3D "tcu,fernsehfee3", "amlogic,meson8"; + + aliases { + serial0 =3D &uart_AO; + gpiochip0 =3D &gpio; + gpiochip1 =3D &gpio_ao; + i2c0 =3D &i2c_AO; + i2c1 =3D &i2c_B; + mmc0 =3D &sdhc; + mmc1 =3D &sdio; + }; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + + memory@0 { + device_type =3D "memory"; + reg =3D <0x0 0x40000000>; /* 1 GiB */ + }; + + gpio-keys { + compatible =3D "gpio-keys-polled"; + poll-interval =3D <100>; + + power-button { + label =3D "Power button"; + linux,code =3D ; + gpios =3D <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>; + }; + }; + + leds { + compatible =3D "gpio-leds"; + + led-0 { + /* + * The power LED can be turned red, otherwise it is green. + */ + gpios =3D <&gpio_ao GPIO_TEST_N GPIO_ACTIVE_LOW>; + function =3D LED_FUNCTION_POWER; + color =3D ; + }; + }; + + vcc_5v: regulator-5v { + /* 5V rail, always on as long as the system is running */ + compatible =3D "regulator-fixed"; + regulator-name =3D "5V"; + regulator-min-microvolt =3D <5000000>; + regulator-max-microvolt =3D <5000000>; + regulator-always-on; + }; + + vcc_3v3: regulator-3v3 { + /* Chipown AP2420 step-down converter */ + compatible =3D "regulator-fixed"; + regulator-name =3D "3.3V"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + vin-supply =3D <&vcc_5v>; + }; + + wifi_3v3: regulator-wifi { + compatible =3D "regulator-fixed"; + regulator-name =3D "3.3V-WIFI"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + vin-supply =3D <&vcc_3v3>; + gpio =3D <&gpio GPIOX_11 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; +}; + +ðmac { + status =3D "okay"; + pinctrl-0 =3D <ð_pins>; + pinctrl-names =3D "default"; + phy-handle =3D <ð_phy0>; + phy-mode =3D "rmii"; + + mdio { + compatible =3D "snps,dwmac-mdio"; + #address-cells =3D <1>; + #size-cells =3D <0>; + + eth_phy0: ethernet-phy@0 { + /* IC Plus IP101A (0x02430c54) */ + reg =3D <0>; + + reset-assert-us =3D <10000>; + reset-deassert-us =3D <10000>; + reset-gpios =3D <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&i2c_AO { + status =3D "okay"; + pinctrl-0 =3D <&i2c_ao_pins>; + pinctrl-names =3D "default"; + + pmic@32 { + compatible =3D "ricoh,rn5t618"; + reg =3D <0x32>; + system-power-controller; + }; + + eeprom@50 { + /* Fairchild FM24C08A */ + compatible =3D "atmel,24c08"; + reg =3D <0x50>; + pagesize =3D <16>; + wp-gpios =3D <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>; + num-addresses =3D <4>; + }; +}; + +&i2c_B { + status =3D "okay"; + pinctrl-0 =3D <&i2c_b_pins>; + pinctrl-names =3D "default"; + + /* TODO: SiI9293 HDMI receiver @ 0x39 */ +}; + +&sdhc { + status =3D "okay"; + pinctrl-0 =3D <&sdxc_c_pins>; + pinctrl-names =3D "default"; + + /* eMMC */ + bus-width =3D <8>; + max-frequency =3D <100000000>; + + disable-wp; + cap-mmc-highspeed; + mmc-hs200-1_8v; + no-sdio; + + vmmc-supply =3D <&vcc_3v3>; + vqmmc-supply =3D <&vcc_3v3>; +}; + +&sdio { + status =3D "okay"; + pinctrl-0 =3D <&sd_b_pins>; + + /* SD card */ + slot@1 { + compatible =3D "mmc-slot"; + reg =3D <1>; + status =3D "okay"; + + bus-width =3D <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + + cd-gpios =3D <&gpio CARD_6 GPIO_ACTIVE_LOW>; + + vmmc-supply =3D <&vcc_3v3>; + }; +}; + +&uart_AO { + status =3D "okay"; + pinctrl-0 =3D <&uart_ao_a_pins>; + pinctrl-names =3D "default"; +}; + +&usb0 { + status =3D "okay"; +}; + +&usb0_phy { + status =3D "okay"; +}; + +&usb1 { + status =3D "okay"; + dr_mode =3D "host"; + #address-cells =3D <1>; + #size-cells =3D <0>; + + wifi: wifi@1 { + /* Realtek RTL8188 2.4GHz WiFi module */ + compatible =3D "usbbda,179"; + reg =3D <1>; + vdd-supply =3D <&wifi_3v3>; + }; +}; + +&usb1_phy { + status =3D "okay"; +}; + +&ir_receiver { + status =3D "okay"; + pinctrl-0 =3D <&ir_recv_pins>; + pinctrl-names =3D "default"; +}; diff --git a/arch/arm/boot/dts/amlogic/meson8.dtsi b/arch/arm/boot/dts/amlo= gic/meson8.dtsi index 847f7b1f1e9617cb8b7d153a1ae62b0ff2112606..ddad4695ca073455112fd635bde= 9e2ac38a2eda3 100644 --- a/arch/arm/boot/dts/amlogic/meson8.dtsi +++ b/arch/arm/boot/dts/amlogic/meson8.dtsi @@ -481,6 +481,14 @@ gpio: bank@80 { gpio-ranges =3D <&pinctrl_cbus 0 0 120>; }; =20 + i2c_b_pins: i2c-b { + mux { + groups =3D "i2c_sda_b", "i2c_sck_b"; + function =3D "i2c_b"; + bias-disable; + }; + }; + sd_a_pins: sd-a { mux { groups =3D "sd_d0_a", "sd_d1_a", "sd_d2_a", @@ -526,6 +534,16 @@ mux { }; }; =20 + sdxc_c_pins: sdxc-c { + mux { + groups =3D "sdxc_d0_c", "sdxc_d13_c", + "sdxc_clk_c", "sdxc_cmd_c", + "sdxc_d47_c"; + function =3D "sdxc_c"; + bias-pull-up; + }; + }; + spdif_out_pins: spdif-out { mux { groups =3D "spdif_out"; --=20 2.48.0.rc1.219.gb6b6757d772 From nobody Sun Feb 8 19:43:20 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 532B425F969; Mon, 28 Apr 2025 10:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745837071; cv=none; b=UN4WEqoees170qNla+yVJAsf4iPARh7paWjyB21XyZykw5nPBncTqBpcaTDZEDX15ZZBqQxpscZYo/QZFQt9tnKaccDZhgYYKSkOXmw4QCtU6/8TROZCKKA6KQZuy0z4qGjjzEG2did9oeazLkMzcRPucsUE+xfjhICCIQmMe8k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745837071; c=relaxed/simple; bh=bABu/VDEElSSmPA6cekdNFlpkqmVhNewXrFKDvSrJ70=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Vi0VX+M7pCLnOZR+/KfMBk+D5FSyo/8KjAO70IWkEQD+DDXbv7d6vFimBDkU7Yw+pLg1oKmn6FahoqwNuhTILW6hSfujlelTomGmCmfMrfY7mrFfNh9ils1Coq2blxRehn9aAzQ2hbPLk7VwMZLBQdkeZkxPgtAMPpZqstHm0uE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sE8+cc9B; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sE8+cc9B" Received: by smtp.kernel.org (Postfix) with ESMTPS id 0E980C4CEF3; Mon, 28 Apr 2025 10:44:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1745837071; bh=bABu/VDEElSSmPA6cekdNFlpkqmVhNewXrFKDvSrJ70=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=sE8+cc9BZwAi5Zzk8ui1e54lPZKk2HBRKq2Cq11+GGeKiP9SgR6udO/meV5W2aiq/ vW8Z9Ji5yy4qVty5/GlSHPHZvHCCaQd5veDGjWPeSgYBe03oRMM12axybhd+Q0IWIP rrWVp85/0o7HdVnQmF0yt+qHCreJHY1iQti9QudCwMSWPQbt57tjBN/ve1fhKgQ5wP fG6OJhgfFBZdgQ1Kz+pHh9Fs81Go2aU9wpdgrTk3o2nJOd2H0+kDk/zHUN2miosT8w LcZ2sbs+HpXtQxfagG2kztjwDmizichm0FeTHF4yXSY7uBEGDD6n3yXXnzNNlLD/ZK nyFu4conRGS0A== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05159C369DC; Mon, 28 Apr 2025 10:44:31 +0000 (UTC) From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_B4_Relay?= Date: Mon, 28 Apr 2025 12:44:31 +0200 Subject: [PATCH v2 4/4] ARM: dts: amlogic: meson8-fernsehfee3: Describe regulators Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250428-fernsehfee-v2-4-293b98a43a91@posteo.net> References: <20250428-fernsehfee-v2-0-293b98a43a91@posteo.net> In-Reply-To: <20250428-fernsehfee-v2-0-293b98a43a91@posteo.net> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Martin Blumenstingl , Jerome Brunet , Kevin Hilman Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1745837069; l=6255; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=AKgCpfdZWCv+zwZ8v1j45DO/pgrxh4IwJ6agZCbSHzg=; b=H2zfdKROsGKE+lXPLgpMspCqA17o4V39l5+mZZxisa5jdqEqBITV+eE5Zkft+itNVp4tlp2tm HoKZZBJ5DdgDJKT6qoUQu3NSrTkamu5YM59m3WjtJQB1iXlizXKMvQW X-Developer-Key: i=j.ne@posteo.net; a=ed25519; pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4= X-Endpoint-Received: by B4 Relay for j.ne@posteo.net/20240329 with auth_id=156 X-Original-From: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Reply-To: j.ne@posteo.net From: "J. Neusch=C3=A4fer" The fernsehfee3 board uses a Ricoh RN5T618 PMIC to generate various voltages. Board schematics are not available, but the regulator voltages found in /sys/kernel/debug/regulator/regulator_summary match those in meson8m2-mxiii-plus.dts: DCDC1 0 0 0 unknown 1100mV 0mA 0mV 0mV DCDC2 0 0 0 unknown 1150mV 0mA 0mV 0mV DCDC3 0 0 0 unknown 1500mV 0mA 0mV 0mV LDO1 0 0 0 unknown 2900mV 0mA 0mV 0mV LDO2 0 0 0 unknown 1800mV 0mA 0mV 0mV LDO3 0 0 0 unknown 1800mV 0mA 0mV 0mV LDO4 0 0 0 unknown 2850mV 0mA 0mV 0mV LDO5 0 0 0 unknown 1800mV 0mA 0mV 0mV LDORTC1 0 0 0 unknown 2700mV 0mA 0mV 0mV LDORTC2 0 0 0 unknown 900mV 0mA 0mV 0mV This patch takes the following approach: - Copy RN5T618 regulator nodes from meson8m2-mxiii-plus.dts - Remove some of the regulator names, which do not seem to apply - Verify regulator supply relations by starting without any relations (and without regulator-always-on) and seeing what breaks when the kernel turns off "unused" regulators. This results in the following observations: - When LDO1 is turned off, the board resets - When DCDC1, DCDC2, DCDC3, LDO2, or LDO5 are turned off, the board (as observed through the serial port) stops running, so these must stay on at all times. - LDO4 (VCC2V8) appears to be unused on this board. - LDO3 (VCC1V8_USB) must stay on in order for USB to work, both the external USB ports and the internal USB wifi module. The cpu-supply and mali-supply relations are also copied from meson8m2-mxiii-plus.dts Signed-off-by: J. Neusch=C3=A4fer Reviewed-by: Martin Blumenstingl --- Checklist used during the development of this patch (when a given regulator is not forced to stay on, which features work/fail?): regulator | boot | run | USB | WLAN | eMMC | SD | Eth ----------|------|------|------|------|------|------|------ baseline | ok | ok | ok | ok | ok | ok | ok empty=C2=B9 | ok | ok | ok | ok | ok | init=C2=B2| ok DCDC1 | ok | STOP | | | | | DCDC2 | ok | STOP | | | | | DCDC3 | ok | STOP | | | | | LDO1 | ok | RESET| FAIL | FAIL | ok | init | ok LDO2 | ok | STOP | ok | ok | ok | ok | LDO3 | ok | ok | FAIL | FAIL | ok | ok | ok LDO4 | ok | ok | ok | ok | ok | ok | ok LDO5 | ok | STOP | | | | | LDORTC1 | | | | | | | LDORTC2 | | | | | | | =C2=B9: empty list of regulators =C2=B2: fails to initialize when plugged in at boot, only inits on hotplug V2: - new patch --- arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts | 91 ++++++++++++++++++++= ++++ 1 file changed, 91 insertions(+) diff --git a/arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts b/arch/arm/bo= ot/dts/amlogic/meson8-fernsehfee3.dts index 3f9e2e5d8d5bd7ca7eb31e9b6cc7a591666c89ea..4e52447d51bd2d1d04e4ce21ddf= 598bc80a4c5f4 100644 --- a/arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts +++ b/arch/arm/boot/dts/amlogic/meson8-fernsehfee3.dts @@ -85,6 +85,10 @@ wifi_3v3: regulator-wifi { }; }; =20 +&cpu0 { + cpu-supply =3D <&vcck>; +}; + ðmac { status =3D "okay"; pinctrl-0 =3D <ð_pins>; @@ -117,6 +121,87 @@ pmic@32 { compatible =3D "ricoh,rn5t618"; reg =3D <0x32>; system-power-controller; + + regulators { + vcck: DCDC1 { + regulator-name =3D "VCCK"; + regulator-min-microvolt =3D <825000>; + regulator-max-microvolt =3D <1150000>; + regulator-boot-on; + regulator-always-on; + }; + + vddee: DCDC2 { + /* the output is also used as VDDAO */ + regulator-name =3D "VDD_EE"; + regulator-min-microvolt =3D <950000>; + regulator-max-microvolt =3D <1150000>; + regulator-boot-on; + regulator-always-on; + }; + + DCDC3 { + regulator-name =3D "VDD_DDR"; + regulator-min-microvolt =3D <1500000>; + regulator-max-microvolt =3D <1500000>; + regulator-boot-on; + regulator-always-on; + }; + + LDO1 { + regulator-name =3D "VDDIO_AO28"; + regulator-min-microvolt =3D <2900000>; + regulator-max-microvolt =3D <2900000>; + regulator-boot-on; + regulator-always-on; + }; + + LDO2 { + regulator-name =3D "VDDIO_AO18"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + vcc1v8_usb: LDO3 { + regulator-name =3D "VCC1V8_USB"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-boot-on; + }; + + LDO4 { + /* This one appears to be unused */ + regulator-name =3D "VCC2V8"; + regulator-min-microvolt =3D <2850000>; + regulator-max-microvolt =3D <2850000>; + }; + + LDO5 { + regulator-name =3D "AVDD1V8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + LDORTC1 { + regulator-name =3D "VDD_LDO"; + regulator-min-microvolt =3D <2700000>; + regulator-max-microvolt =3D <2700000>; + regulator-boot-on; + regulator-always-on; + }; + + LDORTC2 { + regulator-name =3D "RTC_0V9"; + regulator-min-microvolt =3D <900000>; + regulator-max-microvolt =3D <900000>; + regulator-boot-on; + regulator-always-on; + }; + }; }; =20 eeprom@50 { @@ -137,6 +222,10 @@ &i2c_B { /* TODO: SiI9293 HDMI receiver @ 0x39 */ }; =20 +&mali { + mali-supply =3D <&vddee>; +}; + &sdhc { status =3D "okay"; pinctrl-0 =3D <&sdxc_c_pins>; @@ -188,6 +277,7 @@ &usb0 { =20 &usb0_phy { status =3D "okay"; + phy-supply =3D <&vcc1v8_usb>; }; =20 &usb1 { @@ -206,6 +296,7 @@ wifi: wifi@1 { =20 &usb1_phy { status =3D "okay"; + phy-supply =3D <&vcc1v8_usb>; }; =20 &ir_receiver { --=20 2.48.0.rc1.219.gb6b6757d772