From patchwork Mon Jan 29 21:23:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 193712 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp840629dyb; Mon, 29 Jan 2024 13:24:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvpnk0fUPmM6rNeu/Tbv/eSCU9l9LYmlwRf0myqBQZAq9ZmAKHKeaGY7o0/mFbFN6FYBZj X-Received: by 2002:a05:620a:ce2:b0:783:f72e:6a4b with SMTP id c2-20020a05620a0ce200b00783f72e6a4bmr3311526qkj.8.1706563481583; Mon, 29 Jan 2024 13:24:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706563481; cv=pass; d=google.com; s=arc-20160816; b=hiCcjT9gmhr5xpoLJu/vsPJWRkM7qkScIgClnHhZB+nAXOvIhXQ2sioBhyzETu/OJb X2QOCc6sErjIjs3HfHG6AO95HHA9wC7r1n37KyWedIp7VCNyUTdzTg/+9/t/5yHDUiU9 arwbteJzk8ESRf83Bq66fhKntjs5iAxhL1CPIKyPQVPt016EkepAzLFh4cWRH+n6ne6+ iJNeO7MtBYrNfRaBzSOj3WQF5SrkdQr5T1qg3wP8rTtv4CFh0Q9We2cGmkdteqW+NQFu OuEj8SvFMbfJ86RCvn+qN6C6bi4O3SwI6jU63+Uhc3mffdF3KyJA8fZTjR0G+nmGwyH8 3v3g== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43522-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qr10-20020a05620a390a00b0078329ba5054si9232636qkn.193.2024.01.29.13.24.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 13:24:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43522-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43522-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 603191C2125B for ; Mon, 29 Jan 2024 21:24:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0E2A15A495; Mon, 29 Jan 2024 21:24:05 +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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789461508751482731 X-GMAIL-MSGID: 1789461508751482731 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 Reviewed-by: Geert Uytterhoeven --- 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 {