mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 06:05:12 +07:00
66b6bef2c4
Register the 5V boost converter as a regulator named "usb_otg_vbus". This commit also adds support for bq24190_platform_data, through which non device-tree platforms can pass the regulator_init_data (containing mappings for the consumer amongst other things). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
19 lines
451 B
C
19 lines
451 B
C
/*
|
|
* Platform data for the TI bq24190 battery charger driver.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _BQ24190_CHARGER_H_
|
|
#define _BQ24190_CHARGER_H_
|
|
|
|
#include <linux/regulator/machine.h>
|
|
|
|
struct bq24190_platform_data {
|
|
const struct regulator_init_data *regulator_init_data;
|
|
};
|
|
|
|
#endif
|