platform_data/emc2305: define platform data for EMC2305 driver
authorMichael Shych <michaelsh@nvidia.com>
Wed, 10 Aug 2022 17:15:50 +0000 (20:15 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 19 Sep 2022 13:17:05 +0000 (06:17 -0700)
commit41929b72eb5dab26280dfc1e7c1523f0f4853dde
treed3c0442b8902136f7cf4af27b5b1eca38021863a
parent5b38279e1a3f10c8046761b9732dccbfed78d614
platform_data/emc2305: define platform data for EMC2305 driver

Introduce platform data structure for EM2305 driver to allow configuration
device PWMs and thermal zones by passing required platform data
to the driver. If no platform data is provided, the driver is supposed
to work with default settings.

Signed-off-by: Michael Shych <michaelsh@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20220810171552.56417-2-michaelsh@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
include/linux/platform_data/emc2305.h [new file with mode: 0644]