ChromeOS EC based peripheral charger

modulename: cros_peripheral_charger.ko

configname: CONFIG_CHARGER_CROS_PCHG

Linux Kernel Configuration
└─>Device Drivers
└─>Power supply class support
└─>ChromeOS EC based peripheral charger
In linux kernel since version 5.2 (release Date: 2019-07-07)  
Say Y here to enable ChromeOS EC based peripheral charge driver.
This driver gets various information about the devices connected to
the peripheral charge ports from the EC and converts that into
power_supply properties.

source code: