History

platform/chrome: wilco_ec: Add charging config driver

Add a device to control the charging algorithm used on Wilco devices, which will be picked up by the drivers/power/supply/wilco-charger.c driver. See Documentation/ABI/testing/sysfs-class-power-wilco for the userspace interface and other info.

Nick Crews committed 7 years ago

Commit 3c4d77b1 parent fdf0fe22 files · +16 −1Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/wilco-ec.h+2−0
@@ -29,6 +29,7 @@ · 28 unmodified lines
2929 * @data_size: Size of the data buffer used for EC communication.
3030 * @debugfs_pdev: The child platform_device used by the debugfs sub-driver.
3131 * @rtc_pdev: The child platform_device used by the RTC sub-driver.
32+ * @charger_pdev: Child platform_device used by the charger config sub-driver.
3233 * @telem_pdev: The child platform_device used by the telemetry sub-driver.
3334 */
3435 struct wilco_ec_device {
@@ -41,6 +42,7 @@ struct wilco_ec_device { · 6 unmodified lines
4142 size_t data_size;
4243 struct platform_device *debugfs_pdev;
4344 struct platform_device *rtc_pdev;
45+ struct platform_device *charger_pdev;
4446 struct platform_device *telem_pdev;
4547 };
4648

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t