diff mbox series

[v21,RESEND,4/4] arm64: dts: mt8183: add supply name for eeprom

Message ID 20210527075556.1709140-5-hsinyi@chromium.org
State Accepted
Commit 7e149fd8349034431852fb1f6db0229da935c3fe
Headers show
Series add power control in i2c | expand

Commit Message

Hsin-Yi Wang May 27, 2021, 7:55 a.m. UTC
Add supplies for eeprom for mt8183 boards.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
---
 arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi | 4 ++++
 arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi | 4 ++++
 arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi  | 4 ++++
 3 files changed, 12 insertions(+)

Comments

Matthias Brugger June 2, 2021, 12:23 p.m. UTC | #1
On 27/05/2021 09:55, Hsin-Yi Wang wrote:
> Add supplies for eeprom for mt8183 boards.

> 

> Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>


Applied to v5.13-next/dts64

Thanks!

> ---

>  arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi | 4 ++++

>  arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi | 4 ++++

>  arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi  | 4 ++++

>  3 files changed, 12 insertions(+)

> 

> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi

> index b442e38a3156..28966a65391b 100644

> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi

> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi

> @@ -88,11 +88,13 @@ &i2c2 {

>  	pinctrl-0 = <&i2c2_pins>;

>  	status = "okay";

>  	clock-frequency = <400000>;

> +	vbus-supply = <&mt6358_vcamio_reg>;

>  

>  	eeprom@58 {

>  		compatible = "atmel,24c32";

>  		reg = <0x58>;

>  		pagesize = <32>;

> +		vcc-supply = <&mt6358_vcama2_reg>;

>  	};

>  };

>  

> @@ -101,11 +103,13 @@ &i2c4 {

>  	pinctrl-0 = <&i2c4_pins>;

>  	status = "okay";

>  	clock-frequency = <400000>;

> +	vbus-supply = <&mt6358_vcn18_reg>;

>  

>  	eeprom@54 {

>  		compatible = "atmel,24c32";

>  		reg = <0x54>;

>  		pagesize = <32>;

> +		vcc-supply = <&mt6358_vcn18_reg>;

>  	};

>  };

>  

> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi

> index 2f5234a16ead..3aa79403c0c2 100644

> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi

> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi

> @@ -62,11 +62,13 @@ &i2c2 {

>  	pinctrl-0 = <&i2c2_pins>;

>  	status = "okay";

>  	clock-frequency = <400000>;

> +	vbus-supply = <&mt6358_vcamio_reg>;

>  

>  	eeprom@58 {

>  		compatible = "atmel,24c64";

>  		reg = <0x58>;

>  		pagesize = <32>;

> +		vcc-supply = <&mt6358_vcamio_reg>;

>  	};

>  };

>  

> @@ -75,11 +77,13 @@ &i2c4 {

>  	pinctrl-0 = <&i2c4_pins>;

>  	status = "okay";

>  	clock-frequency = <400000>;

> +	vbus-supply = <&mt6358_vcn18_reg>;

>  

>  	eeprom@54 {

>  		compatible = "atmel,24c64";

>  		reg = <0x54>;

>  		pagesize = <32>;

> +		vcc-supply = <&mt6358_vcn18_reg>;

>  	};

>  };

>  

> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi

> index fbc471ccf805..30c183c96a54 100644

> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi

> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi

> @@ -71,11 +71,13 @@ &i2c2 {

>  	pinctrl-0 = <&i2c2_pins>;

>  	status = "okay";

>  	clock-frequency = <400000>;

> +	vbus-supply = <&mt6358_vcamio_reg>;

>  

>  	eeprom@58 {

>  		compatible = "atmel,24c32";

>  		reg = <0x58>;

>  		pagesize = <32>;

> +		vcc-supply = <&mt6358_vcama2_reg>;

>  	};

>  };

>  

> @@ -84,11 +86,13 @@ &i2c4 {

>  	pinctrl-0 = <&i2c4_pins>;

>  	status = "okay";

>  	clock-frequency = <400000>;

> +	vbus-supply = <&mt6358_vcn18_reg>;

>  

>  	eeprom@54 {

>  		compatible = "atmel,24c32";

>  		reg = <0x54>;

>  		pagesize = <32>;

> +		vcc-supply = <&mt6358_vcn18_reg>;

>  	};

>  };

>  

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi
index b442e38a3156..28966a65391b 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi
@@ -88,11 +88,13 @@  &i2c2 {
 	pinctrl-0 = <&i2c2_pins>;
 	status = "okay";
 	clock-frequency = <400000>;
+	vbus-supply = <&mt6358_vcamio_reg>;
 
 	eeprom@58 {
 		compatible = "atmel,24c32";
 		reg = <0x58>;
 		pagesize = <32>;
+		vcc-supply = <&mt6358_vcama2_reg>;
 	};
 };
 
@@ -101,11 +103,13 @@  &i2c4 {
 	pinctrl-0 = <&i2c4_pins>;
 	status = "okay";
 	clock-frequency = <400000>;
+	vbus-supply = <&mt6358_vcn18_reg>;
 
 	eeprom@54 {
 		compatible = "atmel,24c32";
 		reg = <0x54>;
 		pagesize = <32>;
+		vcc-supply = <&mt6358_vcn18_reg>;
 	};
 };
 
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi
index 2f5234a16ead..3aa79403c0c2 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi
@@ -62,11 +62,13 @@  &i2c2 {
 	pinctrl-0 = <&i2c2_pins>;
 	status = "okay";
 	clock-frequency = <400000>;
+	vbus-supply = <&mt6358_vcamio_reg>;
 
 	eeprom@58 {
 		compatible = "atmel,24c64";
 		reg = <0x58>;
 		pagesize = <32>;
+		vcc-supply = <&mt6358_vcamio_reg>;
 	};
 };
 
@@ -75,11 +77,13 @@  &i2c4 {
 	pinctrl-0 = <&i2c4_pins>;
 	status = "okay";
 	clock-frequency = <400000>;
+	vbus-supply = <&mt6358_vcn18_reg>;
 
 	eeprom@54 {
 		compatible = "atmel,24c64";
 		reg = <0x54>;
 		pagesize = <32>;
+		vcc-supply = <&mt6358_vcn18_reg>;
 	};
 };
 
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi
index fbc471ccf805..30c183c96a54 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi
@@ -71,11 +71,13 @@  &i2c2 {
 	pinctrl-0 = <&i2c2_pins>;
 	status = "okay";
 	clock-frequency = <400000>;
+	vbus-supply = <&mt6358_vcamio_reg>;
 
 	eeprom@58 {
 		compatible = "atmel,24c32";
 		reg = <0x58>;
 		pagesize = <32>;
+		vcc-supply = <&mt6358_vcama2_reg>;
 	};
 };
 
@@ -84,11 +86,13 @@  &i2c4 {
 	pinctrl-0 = <&i2c4_pins>;
 	status = "okay";
 	clock-frequency = <400000>;
+	vbus-supply = <&mt6358_vcn18_reg>;
 
 	eeprom@54 {
 		compatible = "atmel,24c32";
 		reg = <0x54>;
 		pagesize = <32>;
+		vcc-supply = <&mt6358_vcn18_reg>;
 	};
 };