1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * DA9121 Single-channel dual-phase 10A buck converter 4 * DA9130 Single-channel dual-phase 10A buck converter (Automotive) 5 * DA9217 Single-channel dual-phase 6A buck converter 6 * DA9122 Dual-channel single-phase 5A buck converter 7 * DA9131 Dual-channel single-phase 5A buck converter (Automotive) 8 * DA9220 Dual-channel single-phase 3A buck converter 9 * DA9132 Dual-channel single-phase 3A buck converter (Automotive) 10 * 11 * Copyright (C) 2020 Dialog Semiconductor 12 * 13 * Authors: Adam Ward, Dialog Semiconductor 14 */ 15 16 #ifndef __LINUX_REGULATOR_DA9121_H 17 #define __LINUX_REGULATOR_DA9121_H 18 19 #include <linux/regulator/machine.h> 20 21 struct gpio_desc; 22 23 enum { 24 DA9121_IDX_BUCK1, 25 DA9121_IDX_BUCK2, 26 DA9121_IDX_MAX 27 }; 28 29 struct da9121_pdata { 30 int num_buck; 31 struct gpio_desc *gpiod_ren[DA9121_IDX_MAX]; 32 struct device_node *reg_node[DA9121_IDX_MAX]; 33 struct regulator_init_data *init_data[DA9121_IDX_MAX]; 34 }; 35 36 #endif 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.