hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/power/supply/bq27xxx_battery_i2c.c
....@@ -1,17 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * BQ27xxx battery monitor I2C driver
34 *
4
- * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
5
+ * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/
56 * Andrew F. Davis <afd@ti.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
10
- *
11
- * This program is distributed "as is" WITHOUT ANY WARRANTY of any
12
- * kind, whether express or implied; without even the implied warranty
13
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
157 */
168
179 #include <linux/i2c.h>
....@@ -248,11 +240,15 @@
248240 { "bq27546", BQ27546 },
249241 { "bq27742", BQ27742 },
250242 { "bq27545", BQ27545 },
243
+ { "bq27411", BQ27411 },
251244 { "bq27421", BQ27421 },
252245 { "bq27425", BQ27425 },
253246 { "bq27426", BQ27426 },
254247 { "bq27441", BQ27441 },
255248 { "bq27621", BQ27621 },
249
+ { "bq27z561", BQ27Z561 },
250
+ { "bq28z610", BQ28Z610 },
251
+ { "bq34z100", BQ34Z100 },
256252 {},
257253 };
258254 MODULE_DEVICE_TABLE(i2c, bq27xxx_i2c_id_table);
....@@ -280,11 +276,15 @@
280276 { .compatible = "ti,bq27546" },
281277 { .compatible = "ti,bq27742" },
282278 { .compatible = "ti,bq27545" },
279
+ { .compatible = "ti,bq27411" },
283280 { .compatible = "ti,bq27421" },
284281 { .compatible = "ti,bq27425" },
285282 { .compatible = "ti,bq27426" },
286283 { .compatible = "ti,bq27441" },
287284 { .compatible = "ti,bq27621" },
285
+ { .compatible = "ti,bq27z561" },
286
+ { .compatible = "ti,bq28z610" },
287
+ { .compatible = "ti,bq34z100" },
288288 {},
289289 };
290290 MODULE_DEVICE_TABLE(of, bq27xxx_battery_i2c_of_match_table);