mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
![Hans de Goede](/assets/img/avatar_default.png)
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>
18 lines
451 B
C
18 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
|