From patchwork Mon Jan 29 21:23:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13536440 X-Patchwork-Delegate: geert@linux-m68k.org 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 87ECB76020 for ; Mon, 29 Jan 2024 21:23:58 +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=1706563442; cv=none; b=PWuj02NXdqYysA2N3+gem1OaRX0oLG+toeAa9iQeFauCWp7jL+iYmAr5b1OgzhXXNeXeXS8W8dej6BB7J75ivphshNwe4qW+QAMNjUEEWFFriSQF1v9Lppla+da8g5DruTHt1MqJuJ+Gn8HxodLblox1goznX3hXAJfW+dlymlk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706563442; c=relaxed/simple; bh=GlrNaF+y+j+1HhgAvWni+MuqU1fevfBA3ErLcO44YAY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=P9WT85uuyvAEh/AWD4AVigqes1t0c10mYqeKmmvi9zWohmkTZKwihHrjHSiEv+P7c4ajSlqPA5NOEawXKRz1COrQuDRQvPjkBzeO3x0IhDPPpVaT/2exBsZTfMp9GDGQqliKrG1+N9lGCZbwdYONT+kVaii9gI4pyCujBROe+FQ= 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=bOf4iwfW; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="bOf4iwfW" 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=adASpJY7Nmq+Nz3UDqRYg+KRkDudZYgsA7/Kke8jZTg=; b=bOf4iw fWG21fnRcm13dC+ASiLMZmMQKolzuDRv6g3NyXyyxUrwNM1c9QV1QG6fTdF+hBV7 B7E9DGMbOA3qGCn5pfaZm4QCxyZSeutJepCrNpy3+ouaMD4Bbq9GiNgQe7+irTSV NI92grQg8jNDG9gVEjCqO8kq2ZSzdh9zsN/z03d5Os5MsC0i3OOR2xL060GqAtNK lOshVpPMJpmkJYm6SS5pL5R9bZqA3dovE2P04/9plcAZQ+tuIhpADGvwqIQW2+cJ XNsSvrD0A8L8d/0XWWs+rJrSLWJXURJTQgOlxfQgI1anV/SNwBmGmHXBJ8kRVRDG pHuuMjIJ7jHGFcWg== Received: (qmail 2612118 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@gOlkQxwQdudehhtJ 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 1/2] arm64: dts: renesas: ulcb-kf: adapt 1.8V HDMI regulator to schematics Date: Mon, 29 Jan 2024 22:23:49 +0100 Message-Id: <20240129212350.33370-2-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-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 It is named T1.8V in the schematics. Also add properties dcoumenting it is always on, also during boot. Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- 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 c8dc06f0dfed..6b6a0a8bc1db 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -32,11 +32,13 @@ hdmi1_con: endpoint { }; }; - hdmi_1v8: regulator-hdmi-1v8 { + t1v8: regulator-t1v8 { compatible = "regulator-fixed"; - regulator-name = "hdmi-1v8"; + regulator-name = "t1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; }; pcie_1v5: regulator-pcie-1v5 { @@ -154,11 +156,11 @@ hdmi@3d { pd-gpios = <&gpio_exp_75 5 GPIO_ACTIVE_LOW>; - avdd-supply = <&hdmi_1v8>; - dvdd-supply = <&hdmi_1v8>; - pvdd-supply = <&hdmi_1v8>; + avdd-supply = <&t1v8>; + dvdd-supply = <&t1v8>; + pvdd-supply = <&t1v8>; dvdd-3v-supply = <®_3p3v>; - bgvdd-supply = <&hdmi_1v8>; + bgvdd-supply = <&t1v8>; adi,input-depth = <8>; adi,input-colorspace = "rgb"; 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: 13536439 X-Patchwork-Delegate: geert@linux-m68k.org 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 F0CBA1586C7 for ; Mon, 29 Jan 2024 21:23:58 +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=1706563442; cv=none; b=sEAkvpsOjzgn6kH8NVyfr5Pt0ElY0eltGXJ/TbnlqvfuzuAn14fsSc8UjjFgTgZbZPSDj/KZ3fIsRHj0H4lTOBJ1U15I9+e0067okei+yfZzGu2F4pYjGqfLORUlSUwXwNt5cA8JfsitO3NI/NmOrcOWkVc+/mg2mnxkSY6t+bs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706563442; c=relaxed/simple; bh=k1GRh25etFTzV0TbJNBHdGdMzhY9M6eqleb+ccaQwX4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=on36nFZoQ6VYJrFW+YL7Jb6KwhDcHuWNPyMQZzXtsnwM3Kx8vtz2bf7674GCCejKTSK/mKpUmLCW6YDUUX49QarIrOvIyMDT/p7xvyLb6dBt9InqNGtoRKXEFgI4mXEmaIhxIHMaxqMIFaFMEbzEs0vvlXTFvmXlMRrhDb99uvY= 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="c7VetOAL" 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-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 {