From nobody Mon Dec 1 22:36:54 2025 Received: from smtp-bc0d.mail.infomaniak.ch (smtp-bc0d.mail.infomaniak.ch [45.157.188.13]) (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 82CB0263F4E for ; Thu, 27 Nov 2025 14:36:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.157.188.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764254206; cv=none; b=Jga1p6EWktfy6sR/9kDyLhrtRtfaTXc7UykNQ856OOsRZ2arJfpxNjMoaTgiJDbnucK16DkWDJ3UJcSt5g9GDQj1fcx8x1lXNknO06VRKhR3kxwQcTdxqSOx+f+oFas+vvRBtK7Ai0B7t7B8E2XhzZKcW9wbPi7hlk8QuKNa2LM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764254206; c=relaxed/simple; bh=NpcXGavA2GSLhgpRlot9CaCkAu2wEmZTZoL4rwwvBlE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=FvcnAUzOCBj0fgpg5TLk7TxtDDL03xccNAmEjTIPh7W6dfFBNrjpujD4APuogcWldAwMUt403/tUR+44YDz9O7Q3H6vlQihzku4mP6xmz7cGhxAk8JfCGSaYNWnUMUTddMEsYnRuNKipfvdb54FITGtovkLpsUmIG4ALj/z0RME= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net; spf=pass smtp.mailfrom=0leil.net; arc=none smtp.client-ip=45.157.188.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=0leil.net Received: from smtp-4-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:7:10::a6c]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4dHJsH6G1Vzvnt; Thu, 27 Nov 2025 15:36:35 +0100 (CET) Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4dHJsF74R5z6t6; Thu, 27 Nov 2025 15:36:33 +0100 (CET) From: Quentin Schulz Date: Thu, 27 Nov 2025 15:36:19 +0100 Subject: [PATCH] Revert "arm64: dts: rockchip: fix audio-supply for Rock Pi 4" 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: <20251127-rock-pi-4-io-domain-apio5-v1-1-9cb92793f734@cherry.de> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/x3MQQrCMBBG4auUWTvQDK2KVxEX03SqP8VMSKAUS u9ucPkt3juoWoFVenQHFdtQ4akhXDqKH01vY8zNJL2MIciNi8eVM3hgOM/+VSTWDB9ZrlMUXfQ uMlDrc7EF+//9fJ3nD1ezjDhrAAAA X-Change-ID: 20251127-rock-pi-4-io-domain-apio5-26bc2afa8224 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Alex Bee , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz , stable@vger.kernel.org, Heinrich Schuchardt X-Mailer: b4 0.14.3 X-Infomaniak-Routing: alpha From: Quentin Schulz This reverts commit 8240e87f16d17a9592c9d67857a3dcdbcb98f10d. The original commit claimed that APIO5 IO domain (supplied with audio-supply) is supplied by RK808-D Buck 4 as stated in the schematics. The linked PDF has two non-schematics pages where APIO5 indeed is said to be 1.8V. Reading the actual schematics[1][2][3][4][5][6][7][8], this is actually wrong as APIO5 is supplied VCC_3V0 which is LDO8 from RK808-D and is 3.0V instead of 1.8V from vcca1v8_codec. This fixes the console disappearing in U-Boot, where the Device Tree is imported from the Linux kernel repo, when the IO domain driver is built, as reported by Heinrich[9]. As to why this breaks the console while the serial is not exposed on any of the pins on the bank in the APIO5 domain, that is a well-kept secret by the SoC for now. The issue "fixed" by the original commit will need to be fixed another way. [1] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4ap/radxa_rock_4ap_v1600_s= chematic.pdf [2] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4ap/radxa_rock_4ap_v1730_s= chematic.pdf [3] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4bp/radxa_rock_4bp_v1600_s= chematic.pdf [4] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4bp/radxa_rock_4bp_v1730_s= chematic.pdf [5] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/ROCK-4-SE-V1.53-SCH.pdf [6] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4b/ROCK_4B_v1.52_SCH.pdf [7] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/4a/ROCK_4A_V1.52_SCH.pdf [8] https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi4_v13_sch_20181112.p= df [9] https://lore.kernel.org/u-boot/e7b7b905-4a6c-4342-b1a5-0ad32a5837cf@gmx= .de/ Cc: stable@vger.kernel.org Reported-by: Heinrich Schuchardt Signed-off-by: Quentin Schulz --- Note: I do not own any of the Rock Pi 4 variants so I cannot work on fixing the original issue report by Alex. --- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm6= 4/boot/dts/rockchip/rk3399-rock-pi-4.dtsi index 046dbe3290178..fda7ea87e4efc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi @@ -516,7 +516,7 @@ &i2s2 { }; =20 &io_domains { - audio-supply =3D <&vcca1v8_codec>; + audio-supply =3D <&vcc_3v0>; bt656-supply =3D <&vcc_3v0>; gpio1830-supply =3D <&vcc_3v0>; sdmmc-supply =3D <&vcc_sdio>; --- base-commit: 765e56e41a5af2d456ddda6cbd617b9d3295ab4e change-id: 20251127-rock-pi-4-io-domain-apio5-26bc2afa8224 Best regards, --=20 Quentin Schulz