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
29 * @data_size: Size of the data buffer used for EC communication.29 * @data_size: Size of the data buffer used for EC communication.
30 * @debugfs_pdev: The child platform_device used by the debugfs sub-driver.30 * @debugfs_pdev: The child platform_device used by the debugfs sub-driver.
31 * @rtc_pdev: The child platform_device used by the RTC sub-driver.31 * @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.
32 * @telem_pdev: The child platform_device used by the telemetry sub-driver.33 * @telem_pdev: The child platform_device used by the telemetry sub-driver.
33 */34 */
34struct wilco_ec_device {35struct wilco_ec_device {
@@ -41,6 +42,7 @@ struct wilco_ec_device { · 6 unmodified lines
41 size_t data_size;42 size_t data_size;
42 struct platform_device *debugfs_pdev;43 struct platform_device *debugfs_pdev;
43 struct platform_device *rtc_pdev;44 struct platform_device *rtc_pdev;
45 struct platform_device *charger_pdev;
44 struct platform_device *telem_pdev;46 struct platform_device *telem_pdev;
45};47};
46 48

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