Krzysztof Kozlowski | 5e9384c | 2018-08-07 18:18:25 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | // |
| 3 | // max77693.c - Regulator driver for the Maxim 77693 and 77843 |
| 4 | // |
| 5 | // Copyright (C) 2013-2015 Samsung Electronics |
| 6 | // Jonghwa Lee <jonghwa3.lee@samsung.com> |
| 7 | // Krzysztof Kozlowski <krzk@kernel.org> |
| 8 | // |
| 9 | // This driver is based on max77686.c |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 10 | |
| 11 | #include <linux/err.h> |
| 12 | #include <linux/slab.h> |
| 13 | #include <linux/platform_device.h> |
| 14 | #include <linux/module.h> |
| 15 | #include <linux/export.h> |
| 16 | #include <linux/regulator/driver.h> |
| 17 | #include <linux/regulator/machine.h> |
| 18 | #include <linux/mfd/max77693.h> |
Krzysztof Kozlowski | 61b305c | 2015-07-15 21:59:50 +0900 | [diff] [blame] | 19 | #include <linux/mfd/max77693-common.h> |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 20 | #include <linux/mfd/max77693-private.h> |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 21 | #include <linux/mfd/max77843-private.h> |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 22 | #include <linux/regulator/of_regulator.h> |
Robert Baldyga | d0540f9 | 2014-05-21 08:52:47 +0200 | [diff] [blame] | 23 | #include <linux/regmap.h> |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 24 | |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 25 | /* |
| 26 | * ID for MAX77843 regulators. |
| 27 | * There is no need for such for MAX77693. |
| 28 | */ |
| 29 | enum max77843_regulator_type { |
| 30 | MAX77843_SAFEOUT1 = 0, |
| 31 | MAX77843_SAFEOUT2, |
| 32 | MAX77843_CHARGER, |
| 33 | |
| 34 | MAX77843_NUM, |
| 35 | }; |
| 36 | |
| 37 | /* Register differences between chargers: MAX77693 and MAX77843 */ |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 38 | struct chg_reg_data { |
| 39 | unsigned int linear_reg; |
| 40 | unsigned int linear_mask; |
| 41 | unsigned int uA_step; |
| 42 | unsigned int min_sel; |
| 43 | }; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 44 | |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 45 | /* |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 46 | * MAX77693 CHARGER regulator - Min : 20mA, Max : 2580mA, step : 20mA |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 47 | * 0x00, 0x01, 0x2, 0x03 = 60 mA |
| 48 | * 0x04 ~ 0x7E = (60 + (X - 3) * 20) mA |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 49 | * Actually for MAX77693 the driver manipulates the maximum input current, |
| 50 | * not the fast charge current (output). This should be fixed. |
| 51 | * |
| 52 | * On MAX77843 the calculation formula is the same (except values). |
| 53 | * Fortunately it properly manipulates the fast charge current. |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 54 | */ |
| 55 | static int max77693_chg_get_current_limit(struct regulator_dev *rdev) |
| 56 | { |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 57 | const struct chg_reg_data *reg_data = rdev_get_drvdata(rdev); |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 58 | unsigned int chg_min_uA = rdev->constraints->min_uA; |
| 59 | unsigned int chg_max_uA = rdev->constraints->max_uA; |
Robert Baldyga | d0540f9 | 2014-05-21 08:52:47 +0200 | [diff] [blame] | 60 | unsigned int reg, sel; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 61 | unsigned int val; |
| 62 | int ret; |
| 63 | |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 64 | ret = regmap_read(rdev->regmap, reg_data->linear_reg, ®); |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 65 | if (ret < 0) |
| 66 | return ret; |
| 67 | |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 68 | sel = reg & reg_data->linear_mask; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 69 | |
| 70 | /* the first four codes for charger current are all 60mA */ |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 71 | if (sel <= reg_data->min_sel) |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 72 | sel = 0; |
| 73 | else |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 74 | sel -= reg_data->min_sel; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 75 | |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 76 | val = chg_min_uA + reg_data->uA_step * sel; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 77 | if (val > chg_max_uA) |
| 78 | return -EINVAL; |
| 79 | |
| 80 | return val; |
| 81 | } |
| 82 | |
| 83 | static int max77693_chg_set_current_limit(struct regulator_dev *rdev, |
| 84 | int min_uA, int max_uA) |
| 85 | { |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 86 | const struct chg_reg_data *reg_data = rdev_get_drvdata(rdev); |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 87 | unsigned int chg_min_uA = rdev->constraints->min_uA; |
| 88 | int sel = 0; |
| 89 | |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 90 | while (chg_min_uA + reg_data->uA_step * sel < min_uA) |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 91 | sel++; |
| 92 | |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 93 | if (chg_min_uA + reg_data->uA_step * sel > max_uA) |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 94 | return -EINVAL; |
| 95 | |
| 96 | /* the first four codes for charger current are all 60mA */ |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 97 | sel += reg_data->min_sel; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 98 | |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 99 | return regmap_write(rdev->regmap, reg_data->linear_reg, sel); |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 100 | } |
| 101 | /* end of CHARGER regulator ops */ |
| 102 | |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 103 | /* Returns regmap suitable for given regulator on chosen device */ |
| 104 | static struct regmap *max77693_get_regmap(enum max77693_types type, |
| 105 | struct max77693_dev *max77693, |
| 106 | int reg_id) |
| 107 | { |
| 108 | if (type == TYPE_MAX77693) |
| 109 | return max77693->regmap; |
| 110 | |
| 111 | /* Else: TYPE_MAX77843 */ |
| 112 | switch (reg_id) { |
| 113 | case MAX77843_SAFEOUT1: |
| 114 | case MAX77843_SAFEOUT2: |
| 115 | return max77693->regmap; |
| 116 | case MAX77843_CHARGER: |
| 117 | return max77693->regmap_chg; |
| 118 | default: |
| 119 | return max77693->regmap; |
| 120 | } |
| 121 | } |
| 122 | |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 123 | static const unsigned int max77693_safeout_table[] = { |
| 124 | 4850000, |
| 125 | 4900000, |
| 126 | 4950000, |
| 127 | 3300000, |
| 128 | }; |
| 129 | |
Bhumika Goyal | b68f907 | 2017-01-28 19:54:09 +0530 | [diff] [blame] | 130 | static const struct regulator_ops max77693_safeout_ops = { |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 131 | .list_voltage = regulator_list_voltage_table, |
| 132 | .is_enabled = regulator_is_enabled_regmap, |
| 133 | .enable = regulator_enable_regmap, |
| 134 | .disable = regulator_disable_regmap, |
| 135 | .get_voltage_sel = regulator_get_voltage_sel_regmap, |
| 136 | .set_voltage_sel = regulator_set_voltage_sel_regmap, |
| 137 | }; |
| 138 | |
Krzysztof Kozlowski | a08904f | 2017-03-11 21:01:19 +0200 | [diff] [blame] | 139 | static const struct regulator_ops max77693_charger_ops = { |
Krzysztof Kozlowski | 39d2330 | 2015-04-29 19:58:28 +0900 | [diff] [blame] | 140 | .is_enabled = regulator_is_enabled_regmap, |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 141 | .enable = regulator_enable_regmap, |
| 142 | .disable = regulator_disable_regmap, |
| 143 | .get_current_limit = max77693_chg_get_current_limit, |
| 144 | .set_current_limit = max77693_chg_set_current_limit, |
| 145 | }; |
| 146 | |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 147 | #define max77693_regulator_desc_esafeout(_num) { \ |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 148 | .name = "ESAFEOUT"#_num, \ |
| 149 | .id = MAX77693_ESAFEOUT##_num, \ |
Krzysztof Kozlowski | 222d0f0 | 2015-03-26 11:35:58 +0100 | [diff] [blame] | 150 | .of_match = of_match_ptr("ESAFEOUT"#_num), \ |
| 151 | .regulators_node = of_match_ptr("regulators"), \ |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 152 | .n_voltages = 4, \ |
| 153 | .ops = &max77693_safeout_ops, \ |
| 154 | .type = REGULATOR_VOLTAGE, \ |
Axel Lin | 52f48bf | 2013-12-24 21:37:50 +0800 | [diff] [blame] | 155 | .owner = THIS_MODULE, \ |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 156 | .volt_table = max77693_safeout_table, \ |
| 157 | .vsel_reg = MAX77693_CHG_REG_SAFEOUT_CTRL, \ |
| 158 | .vsel_mask = SAFEOUT_CTRL_SAFEOUT##_num##_MASK, \ |
| 159 | .enable_reg = MAX77693_CHG_REG_SAFEOUT_CTRL, \ |
| 160 | .enable_mask = SAFEOUT_CTRL_ENSAFEOUT##_num##_MASK , \ |
| 161 | } |
| 162 | |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 163 | static const struct regulator_desc max77693_supported_regulators[] = { |
| 164 | max77693_regulator_desc_esafeout(1), |
| 165 | max77693_regulator_desc_esafeout(2), |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 166 | { |
| 167 | .name = "CHARGER", |
| 168 | .id = MAX77693_CHARGER, |
Krzysztof Kozlowski | 222d0f0 | 2015-03-26 11:35:58 +0100 | [diff] [blame] | 169 | .of_match = of_match_ptr("CHARGER"), |
| 170 | .regulators_node = of_match_ptr("regulators"), |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 171 | .ops = &max77693_charger_ops, |
| 172 | .type = REGULATOR_CURRENT, |
| 173 | .owner = THIS_MODULE, |
| 174 | .enable_reg = MAX77693_CHG_REG_CHG_CNFG_00, |
| 175 | .enable_mask = CHG_CNFG_00_CHG_MASK | |
| 176 | CHG_CNFG_00_BUCK_MASK, |
Krzysztof Kozlowski | 39d2330 | 2015-04-29 19:58:28 +0900 | [diff] [blame] | 177 | .enable_val = CHG_CNFG_00_CHG_MASK | CHG_CNFG_00_BUCK_MASK, |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 178 | }, |
| 179 | }; |
| 180 | |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 181 | static const struct chg_reg_data max77693_chg_reg_data = { |
| 182 | .linear_reg = MAX77693_CHG_REG_CHG_CNFG_09, |
| 183 | .linear_mask = CHG_CNFG_09_CHGIN_ILIM_MASK, |
| 184 | .uA_step = 20000, |
| 185 | .min_sel = 3, |
| 186 | }; |
| 187 | |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 188 | #define max77843_regulator_desc_esafeout(num) { \ |
| 189 | .name = "SAFEOUT" # num, \ |
| 190 | .id = MAX77843_SAFEOUT ## num, \ |
| 191 | .ops = &max77693_safeout_ops, \ |
| 192 | .of_match = of_match_ptr("SAFEOUT" # num), \ |
| 193 | .regulators_node = of_match_ptr("regulators"), \ |
| 194 | .type = REGULATOR_VOLTAGE, \ |
| 195 | .owner = THIS_MODULE, \ |
| 196 | .n_voltages = ARRAY_SIZE(max77693_safeout_table), \ |
| 197 | .volt_table = max77693_safeout_table, \ |
| 198 | .enable_reg = MAX77843_SYS_REG_SAFEOUTCTRL, \ |
| 199 | .enable_mask = MAX77843_REG_SAFEOUTCTRL_ENSAFEOUT ## num, \ |
| 200 | .vsel_reg = MAX77843_SYS_REG_SAFEOUTCTRL, \ |
| 201 | .vsel_mask = MAX77843_REG_SAFEOUTCTRL_SAFEOUT ## num ## _MASK, \ |
| 202 | } |
| 203 | |
| 204 | static const struct regulator_desc max77843_supported_regulators[] = { |
| 205 | [MAX77843_SAFEOUT1] = max77843_regulator_desc_esafeout(1), |
| 206 | [MAX77843_SAFEOUT2] = max77843_regulator_desc_esafeout(2), |
| 207 | [MAX77843_CHARGER] = { |
| 208 | .name = "CHARGER", |
| 209 | .id = MAX77843_CHARGER, |
| 210 | .ops = &max77693_charger_ops, |
| 211 | .of_match = of_match_ptr("CHARGER"), |
| 212 | .regulators_node = of_match_ptr("regulators"), |
| 213 | .type = REGULATOR_CURRENT, |
| 214 | .owner = THIS_MODULE, |
| 215 | .enable_reg = MAX77843_CHG_REG_CHG_CNFG_00, |
| 216 | .enable_mask = MAX77843_CHG_MASK, |
| 217 | .enable_val = MAX77843_CHG_MASK, |
| 218 | }, |
| 219 | }; |
| 220 | |
| 221 | static const struct chg_reg_data max77843_chg_reg_data = { |
| 222 | .linear_reg = MAX77843_CHG_REG_CHG_CNFG_02, |
| 223 | .linear_mask = MAX77843_CHG_FAST_CHG_CURRENT_MASK, |
| 224 | .uA_step = MAX77843_CHG_FAST_CHG_CURRENT_STEP, |
| 225 | .min_sel = 2, |
| 226 | }; |
| 227 | |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 228 | static int max77693_pmic_probe(struct platform_device *pdev) |
| 229 | { |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 230 | enum max77693_types type = platform_get_device_id(pdev)->driver_data; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 231 | struct max77693_dev *iodev = dev_get_drvdata(pdev->dev.parent); |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 232 | const struct regulator_desc *regulators; |
| 233 | unsigned int regulators_size; |
Krzysztof Kozlowski | 222d0f0 | 2015-03-26 11:35:58 +0100 | [diff] [blame] | 234 | int i; |
Krzysztof Kozlowski | ca0c37a | 2014-11-03 15:07:05 +0100 | [diff] [blame] | 235 | struct regulator_config config = { }; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 236 | |
Krzysztof Kozlowski | 222d0f0 | 2015-03-26 11:35:58 +0100 | [diff] [blame] | 237 | config.dev = iodev->dev; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 238 | |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 239 | switch (type) { |
| 240 | case TYPE_MAX77693: |
| 241 | regulators = max77693_supported_regulators; |
| 242 | regulators_size = ARRAY_SIZE(max77693_supported_regulators); |
| 243 | config.driver_data = (void *)&max77693_chg_reg_data; |
| 244 | break; |
| 245 | case TYPE_MAX77843: |
| 246 | regulators = max77843_supported_regulators; |
| 247 | regulators_size = ARRAY_SIZE(max77843_supported_regulators); |
| 248 | config.driver_data = (void *)&max77843_chg_reg_data; |
| 249 | break; |
| 250 | default: |
| 251 | dev_err(&pdev->dev, "Unsupported device type: %u\n", type); |
| 252 | return -ENODEV; |
| 253 | } |
| 254 | |
| 255 | for (i = 0; i < regulators_size; i++) { |
Krzysztof Kozlowski | 640c24a | 2014-03-10 09:32:46 +0100 | [diff] [blame] | 256 | struct regulator_dev *rdev; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 257 | |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 258 | config.regmap = max77693_get_regmap(type, iodev, |
| 259 | regulators[i].id); |
| 260 | |
Krzysztof Kozlowski | 640c24a | 2014-03-10 09:32:46 +0100 | [diff] [blame] | 261 | rdev = devm_regulator_register(&pdev->dev, |
Krzysztof Kozlowski | 222d0f0 | 2015-03-26 11:35:58 +0100 | [diff] [blame] | 262 | ®ulators[i], &config); |
Krzysztof Kozlowski | 640c24a | 2014-03-10 09:32:46 +0100 | [diff] [blame] | 263 | if (IS_ERR(rdev)) { |
| 264 | dev_err(&pdev->dev, |
Krzysztof Kozlowski | 222d0f0 | 2015-03-26 11:35:58 +0100 | [diff] [blame] | 265 | "Failed to initialize regulator-%d\n", i); |
Krzysztof Kozlowski | 640c24a | 2014-03-10 09:32:46 +0100 | [diff] [blame] | 266 | return PTR_ERR(rdev); |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 267 | } |
| 268 | } |
| 269 | |
| 270 | return 0; |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 271 | } |
| 272 | |
| 273 | static const struct platform_device_id max77693_pmic_id[] = { |
Krzysztof Kozlowski | 5b5e771 | 2015-07-15 21:59:49 +0900 | [diff] [blame] | 274 | { "max77693-pmic", TYPE_MAX77693 }, |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 275 | { "max77843-regulator", TYPE_MAX77843 }, |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 276 | {}, |
| 277 | }; |
| 278 | |
| 279 | MODULE_DEVICE_TABLE(platform, max77693_pmic_id); |
| 280 | |
| 281 | static struct platform_driver max77693_pmic_driver = { |
| 282 | .driver = { |
| 283 | .name = "max77693-pmic", |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 284 | }, |
| 285 | .probe = max77693_pmic_probe, |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 286 | .id_table = max77693_pmic_id, |
| 287 | }; |
| 288 | |
Marek Szyprowski | ee3010d | 2015-08-21 14:38:39 +0200 | [diff] [blame] | 289 | static int __init max77693_pmic_init(void) |
| 290 | { |
| 291 | return platform_driver_register(&max77693_pmic_driver); |
| 292 | } |
| 293 | subsys_initcall(max77693_pmic_init); |
| 294 | |
| 295 | static void __exit max77693_pmic_cleanup(void) |
| 296 | { |
| 297 | platform_driver_unregister(&max77693_pmic_driver); |
| 298 | } |
| 299 | module_exit(max77693_pmic_cleanup); |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 300 | |
Krzysztof Kozlowski | 9e9a08e | 2015-07-15 21:59:54 +0900 | [diff] [blame] | 301 | MODULE_DESCRIPTION("MAXIM 77693/77843 regulator driver"); |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 302 | MODULE_AUTHOR("Jonghwa Lee <jonghwa3.lee@samsung.com>"); |
Krzysztof Kozlowski | cea8aa3 | 2016-08-17 14:07:46 +0200 | [diff] [blame] | 303 | MODULE_AUTHOR("Krzysztof Kozlowski <krzk@kernel.org>"); |
Jonghwa Lee | 80b022e | 2013-06-25 10:08:38 +0900 | [diff] [blame] | 304 | MODULE_LICENSE("GPL"); |