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.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -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 | */ |
| 34 | struct wilco_ec_device { | 35 | struct 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 | ||