2 * Copyright (c) 2015 Google, Inc
4 * SPDX-License-Identifier: GPL-2.0+
53 struct sec_voltage_desc {
60 * struct s5m8767_para - s5m8767 register parameters
61 * @param vol_addr i2c address of the given buck/ldo register
62 * @param vol_bitpos bit position to be set or clear within register
63 * @param vol_bitmask bit mask value
64 * @param reg_enaddr control register address, which enable the given
66 * @param reg_enbiton value to be written to buck/ldo to make it ON
67 * @param vol Voltage information
70 enum s5m8767_regnum regnum;
76 const struct sec_voltage_desc *vol;
80 #define S5M8767_LDO_DRIVER "s5m8767_ldo"
81 #define S5M8767_BUCK_DRIVER "s5m8767_buck"
83 int s5m8767_enable_32khz_cp(struct udevice *dev);
85 #endif /* __S5M8767_PMIC_H_ */