[1/4] arm64: dts: ti: k3-am64-tqma64xxl: add supply regulator for I2C devices

Message ID d5991041263c96c798b94c0844a1550e28daa3b1.1695901360.git.matthias.schiffer@ew.tq-group.com
State New
Headers
Series [1/4] arm64: dts: ti: k3-am64-tqma64xxl: add supply regulator for I2C devices |

Commit Message

Matthias Schiffer Sept. 28, 2023, 11:45 a.m. UTC
  Describes the hardware better, and avoids a few warnings during boot:

    lm75 0-004a: supply vs not found, using dummy regulator
    at24 0-0050: supply vcc not found, using dummy regulator
    at24 0-0054: supply vcc not found, using dummy regulator

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
---
 arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
  

Comments

Vignesh Raghavendra Oct. 12, 2023, 6:47 a.m. UTC | #1
Hi Matthias Schiffer,

On Thu, 28 Sep 2023 13:45:10 +0200, Matthias Schiffer wrote:
> Describes the hardware better, and avoids a few warnings during boot:
> 
>     lm75 0-004a: supply vs not found, using dummy regulator
>     at24 0-0050: supply vcc not found, using dummy regulator
>     at24 0-0054: supply vcc not found, using dummy regulator
> 
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/4] arm64: dts: ti: k3-am64-tqma64xxl: add supply regulator for I2C devices
      commit: 8e4e717be847913517977d9689ab88f1b86d71d8
[2/4] arm64: dts: ti: k3-am64-tqma64xxl-mbax4xxl: add muxing for GPIOs on pin headers
      commit: ec30a50c72bdaa6007c999846675241b44b233d0
[3/4] arm64: dts: ti: k3-am64-tqma64xxl-mbax4xxl: add chassis-type
      commit: 92039884c9b57d14601c6e0e913b184dd2bff75c
[4/4] arm64: dts: ti: k3-am64-tqma64xxl-mbax4xxl: update gpio-led configuration
      commit: 06a0d54202e0de04e62c1991d39d6c7595f0d88a

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
  

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi b/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi
index 6229849b5d968..d82d4a98306a7 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi
@@ -85,6 +85,15 @@  rtos_ipc_memory_region: ipc-memories@a5000000 {
 			no-map;
 		};
 	};
+
+	reg_1v8: regulator-1v8 {
+		compatible = "regulator-fixed";
+		regulator-name = "V_1V8";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
 };
 
 &main_i2c0 {
@@ -96,11 +105,13 @@  &main_i2c0 {
 	tmp1075: temperature-sensor@4a {
 		compatible = "ti,tmp1075";
 		reg = <0x4a>;
+		vs-supply = <&reg_1v8>;
 	};
 
 	eeprom0: eeprom@50 {
 		compatible = "st,24c02", "atmel,24c02";
 		reg = <0x50>;
+		vcc-supply = <&reg_1v8>;
 		pagesize = <16>;
 		read-only;
 	};
@@ -114,6 +125,7 @@  pcf85063: rtc@51 {
 	eeprom1: eeprom@54 {
 		compatible = "st,24c64", "atmel,24c64";
 		reg = <0x54>;
+		vcc-supply = <&reg_1v8>;
 		pagesize = <32>;
 	};
 };