nv-public: p3740: fix cvb eeprom bus id

Since IGX CVM eeprom uses different I2C controller than CVB, bus id
in eeprom manager should be different. Currently, CVM and CVB has bus@0,
which brings CVB eeprom inside wrong i2c controller. Fixes it by differentiating
bus ids. Now, bus@0 has CVM and bus@1 has CVB eeprom.

Bug 4625456

Change-Id: Ied4cd3c66bf0c1122bce9899b3fa749c4ff38d26
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3135834
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
This commit is contained in:
Shubhi Garg
2024-05-13 10:46:11 +05:30
committed by mobile promotions
parent 5d0c186f3a
commit aa281b277b

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#include "nv-soc/tegra234-soc-audio-dai-links.dtsi" #include "nv-soc/tegra234-soc-audio-dai-links.dtsi"
@@ -173,9 +173,9 @@
}; };
eeprom-manager { eeprom-manager {
bus@0 { bus@1 {
i2c-bus = <&dp_aux_ch2_i2c>; i2c-bus = <&dp_aux_ch2_i2c>;
eeprom@1 { eeprom@0 {
slave-address = <0x55>; slave-address = <0x55>;
label = "cvb"; label = "cvb";
}; };