From 9944294772b9685f601a10eca8cab0d38f1d65ad Mon Sep 17 00:00:00 2001 From: Praveen AC Date: Tue, 9 Apr 2024 16:13:44 +0000 Subject: [PATCH] nv-public:P3762: Fix probe fail of Hawks during boot. 1. Made all sensors of Hawks as master sensors so any sensor is capable to program SERIALIZERS i2c address translation during probe time i.e first come first basis.So, We wont miss or skip SERIALIZERS i2c trans. 2. Changed i2c bus 8 freq to 400khz Bug 4510846 Change-Id: Ia627ebd430709efac64ec849b37167c88b5cf012 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3112253 Tested-by: Praveen AC Tested-by: Shubham Chandra GVS: Gerrit_Virtual_Submit Reviewed-by: Shubham Chandra Reviewed-by: Ankur Pawar Reviewed-by: Praveen AC Reviewed-by: Bitan Biswas --- overlay/tegra234-p3737-camera-p3762-a00-overlay.dts | 8 ++++---- tegra234.dtsi | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/overlay/tegra234-p3737-camera-p3762-a00-overlay.dts b/overlay/tegra234-p3737-camera-p3762-a00-overlay.dts index 6192b95..550e130 100644 --- a/overlay/tegra234-p3737-camera-p3762-a00-overlay.dts +++ b/overlay/tegra234-p3737-camera-p3762-a00-overlay.dts @@ -177,7 +177,7 @@ <&bpmp TEGRA234_CLK_EXTPERIPH1>; clock-names = "extperiph1", "pllp_grtba"; mclk = "extperiph1"; - channel = "c"; + channel = "a"; has-eeprom; eeprom-addr = <0x40>; reset-gpios = <&gpio CAM0_RST_L GPIO_ACTIVE_HIGH>; @@ -215,7 +215,7 @@ <&bpmp TEGRA234_CLK_EXTPERIPH1>; clock-names = "extperiph1", "pllp_grtba"; mclk = "extperiph1"; - channel = "c"; + channel = "a"; has-eeprom; eeprom-addr = <0x15>; reset-gpios = <&gpio CAM0_RST_L GPIO_ACTIVE_HIGH>; @@ -247,7 +247,7 @@ <&bpmp TEGRA234_CLK_EXTPERIPH1>; clock-names = "extperiph1", "pllp_grtba"; mclk = "extperiph1"; - channel = "c"; + channel = "a"; has-eeprom; eeprom-addr = <0x44>; reset-gpios = <&gpio CAM0_RST_L GPIO_ACTIVE_HIGH>; @@ -279,7 +279,7 @@ <&bpmp TEGRA234_CLK_EXTPERIPH1>; clock-names = "extperiph1", "pllp_grtba"; mclk = "extperiph1"; - channel = "c"; + channel = "a"; has-eeprom; eeprom-addr = <0x46>; reset-gpios = <&gpio CAM0_RST_L GPIO_ACTIVE_HIGH>; diff --git a/tegra234.dtsi b/tegra234.dtsi index 4c8a097..f909b93 100644 --- a/tegra234.dtsi +++ b/tegra234.dtsi @@ -806,7 +806,7 @@ #address-cells = <1>; #size-cells = <0>; status = "disabled"; - clock-frequency = <100000>; + clock-frequency = <400000>; clocks = <&bpmp TEGRA234_CLK_I2C9 &bpmp TEGRA234_CLK_PLLP_OUT0>; assigned-clocks = <&bpmp TEGRA234_CLK_I2C9>;