Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp641949rdb; Mon, 29 Jan 2024 13:25:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFr5DpAp2MLPlufudPN07YMNoOAIMM+czXAMjnnSSCDoA/p5x8ZPjoa2ELuD76TWMXPxpWh X-Received: by 2002:a05:6358:88e:b0:178:7986:a586 with SMTP id m14-20020a056358088e00b001787986a586mr1892582rwj.5.1706563517362; Mon, 29 Jan 2024 13:25:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706563517; cv=pass; d=google.com; s=arc-20160816; b=JzcEpMmvLu9aqYMwPsUZfpzcvsj8Vvj2Qbclf0jQgX5yUr0ZO68+BhlsgtW335b6Zi 78VKsQcKIUC7Bs0T/Gtb+0x0L+4uTr6FdrcEERzyC2aFMIcBkQ2s4pfnqD3GhAVNi6wN 22URNQy74PtJej/Mo6FJ6Az3WzKGHPMK7UWK5HvMDoKUJ6zkSRhF/+RNDlSp2WgCtZnr xo9kSCNalpUiVyq9LvOP8slZYB4pxTv7C7bjuNTczlI7pJlstUPLl68ATxkVrVy+naM1 yCHlsyX19RRdLJSbK6BQl2YOgDJGmPFoTZBWjbSPhSzoqqSA/+lCVueyT3XxAjrTgqnN YKYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=tnP8mYbKnfOf93yFIfgxQY+r9CeIktlYjlPhdDrf66o=; fh=tLh6qpaJUlBxT6nqff9PdLnu+gcpblsu+qfj4xYXAts=; b=rA0g0rJDe16lAFVsxmqR7j+BiFsLxlWiQUGi6A4AlG8k2ROLThlUWAPXHLhaeL344g Fh/F3wLy4+/Sc/kcGTDhlBbgwodZiXy5QLB88ey8D7OsXb4l9RwFBsphdBkUopn8ya0c OjJQOukwIt76pgpdSWhsUTbDHb+fwGfb5gbbIeDhbvC+CZLyhUX/ZvEI0zCwRtEecRxq 42FCh7FxHM29PD3rZq6Z9ZUk7gp0wocYgetLve23kZQtsOWxWgpB0xvMwK8tCP2glv4F 8ck97iCFBcu1/uvF9BOzYdqFZ8XsEWrrIEYb35H1mdIFj0MMIA7jn5z9SOKm160jaIX6 99Kg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=c7VetOAL; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-43522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43522-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e23-20020a656897000000b005d8e22b5264si128567pgt.519.2024.01.29.13.25.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 13:25:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=c7VetOAL; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-43522-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43522-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9DD6C288D51 for ; Mon, 29 Jan 2024 21:24:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3B9915956D; Mon, 29 Jan 2024 21:24:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="c7VetOAL" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (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 AB1201586CF for ; Mon, 29 Jan 2024 21:23:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706563443; cv=none; b=pMecfhuTpPyY3G2x0HsW1qF93tBQLSQTUXUkA97bYbLbLLfXN1w3j7liQpZXokg10R5nPyaorw6ydk6pd49IwmV0DI4Sen7ZLx2cWBNYb8vZ90bx3b3/HBz99p7uXFbSeHEpqTfwgvR2FvA5NMeeX3vKjIFm1EZYmknkEixFo1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706563443; c=relaxed/simple; bh=k1GRh25etFTzV0TbJNBHdGdMzhY9M6eqleb+ccaQwX4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=UGe3I2UkhE0PReriPDPxDAMjCTZXZC6SuxEhqs67KNrqIvgnbzXUePN6cxIFxUKbT/Z8fpCMADjlsSv9olCPV8ue/0xLry2wpl34NwJLnDxM21OvkGs7R8GTxOv6FB34fce3FrIJ4HwmNwx7pypYzt5IykKoj97QmPczp+5hrGY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=c7VetOAL; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=tnP8mYbKnfOf93yFIfgxQY+r9CeIktlYjlPhdDrf66o=; b=c7VetO ALxwXnZOTAsIi+htvwSI6NyI/3HhxGDwBngFdRqmnv8ldKP/m/Dj2teMG9gNjD8F a7tsQAYB947gDzrjvveTz/c0LeKQzL7TnpuL5sLHvPvllQATs/qrcxRZ0zK1zjJz P3k3WQhqdKTBamAsoRlcwrqcHP8fsm+Kv/XnwohobIhpWHoDSFyp6tdrTvMaUxol MduK8Lc3c9RDCiPnHQfVxq9+VklcQJNJEQn3koj0y8Cas1nxj4S1TxsgfmlgzWXU 6i5fSwbFDtOWmHQshnzdgAzlxiWh9Pga0Dlkqar3ZikDwYJ1muL7pnGe0JtqzDYl 6jgHwJLSPfiFJM1Q== Received: (qmail 2612167 invoked from network); 29 Jan 2024 22:23:56 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 29 Jan 2024 22:23:56 +0100 X-UD-Smtp-Session: l3s3148p1@xtBuQxwQhOdehhtJ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 2/2] arm64: dts: renesas: ulcb-kf: adapt sound 5v regulator to schematics Date: Mon, 29 Jan 2024 22:23:50 +0100 Message-Id: <20240129212350.33370-3-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240129212350.33370-1-wsa+renesas@sang-engineering.com> References: <20240129212350.33370-1-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sound uses the standard 5V supply, so rename the fixed regulator as such. Also add properties dcoumenting it is always on, also during boot. Signed-off-by: Wolfram Sang --- Or shall we move the regulator to ulcb.dtsi? I tend to leave it here because 5V are not used on ULCB, but I am open to change it. arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index 6b6a0a8bc1db..84b0976503b7 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -59,11 +59,13 @@ pcie_3v3: regulator-pcie-3v3 { enable-active-high; }; - snd_vcc5v: regulator-snd_vcc5v { + reg_5v: regulator-5v { compatible = "regulator-fixed"; - regulator-name = "snd-vcc5v"; + regulator-name = "fixed-5V"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + regulator-boot-on; + regulator-always-on; }; wlan_en: regulator-wlan_en { @@ -210,10 +212,10 @@ pcm3168a: audio-codec@44 { VDD1-supply = <®_3p3v>; VDD2-supply = <®_3p3v>; - VCCAD1-supply = <&snd_vcc5v>; - VCCAD2-supply = <&snd_vcc5v>; - VCCDA1-supply = <&snd_vcc5v>; - VCCDA2-supply = <&snd_vcc5v>; + VCCAD1-supply = <®_5v>; + VCCAD2-supply = <®_5v>; + VCCDA1-supply = <®_5v>; + VCCDA2-supply = <®_5v>; }; gyroscope@6b { -- 2.39.2