mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 08:01:35 +00:00
scarlet: Define VIRTUAL_BATTERY_ADDR
This routes sbs host requests to virtual battery driver, even if the board doesn't use a smart battery. BUG=b:65494883 BRANCH=none TEST='power_supply_info' from host console Change-Id: Ie53734b12e9a28ec071d3bf97c9050c0fa075495 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/664359 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Alexandru M Stan <amstan@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
This commit is contained in:
@@ -166,6 +166,9 @@
|
||||
#define I2C_PORT_VIRTUAL_BATTERY I2C_PORT_BATTERY
|
||||
#define I2C_PORT_TCPC0 1
|
||||
|
||||
/* Route sbs host requests to virtual battery driver */
|
||||
#define VIRTUAL_BATTERY_ADDR 0x16
|
||||
|
||||
/* Enable Accel over SPI */
|
||||
#define CONFIG_SPI_ACCEL_PORT 0 /* The first SPI master port (SPI2) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user