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