Update i2c bus sysfs path am: 05a3dcba0a

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24541679

Change-Id: I85c38d5ad12469010180a4f518c4fa332653b197
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Zheng Pan 2023-08-29 02:39:07 +00:00 committed by Automerger Merge Worker
commit 3cbea6d49c
2 changed files with 2 additions and 4 deletions

View file

@ -9,9 +9,7 @@ on init
chown system system /d/regmap/6-0057-pca9468-mains/registers
# Dump eeprom
chown system system /sys/devices/platform/10c90000.hsi2c/i2c-6/6-0050/eeprom
chown system system /sys/devices/platform/10c90000.hsi2c/i2c-7/7-0050/eeprom
chown system system /sys/devices/platform/10ca0000.hsi2c/i2c-6/6-0050/eeprom
chown system system /sys/devices/platform/10ca0000.hsi2c/i2c-10/10-0050/eeprom
chown system system /dev/battery_history
chmod 0644 /dev/battery_history

View file

@ -679,5 +679,5 @@ void addNFC(std::shared_ptr<PowerStats> p) {
"NFC", "NFC subsystem");
p->addStateResidencyDataProvider(std::make_unique<GenericStateResidencyDataProvider>(
"/sys/devices/platform/10c80000.hsi2c/i2c-6/6-0008/power_stats", cfgs));
"/sys/devices/platform/10c90000.hsi2c/i2c-9/9-0008/power_stats", cfgs));
}