Samuel Holland | 5614789 | 2019-10-20 20:50:57 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <drivers/allwinner/axp.h> |
| 8 | |
| 9 | const uint8_t axp_chip_id = AXP803_CHIP_ID; |
| 10 | const char *const axp_compatible = "x-powers,axp803"; |
| 11 | |
Andre Przywara | 71b5a1d | 2021-11-01 00:17:37 +0000 | [diff] [blame] | 12 | #if SUNXI_SETUP_REGULATORS == 1 |
Samuel Holland | 5614789 | 2019-10-20 20:50:57 -0500 | [diff] [blame] | 13 | const struct axp_regulator axp_regulators[] = { |
Thierry Bultel | 1b4d5aa | 2021-12-01 11:56:53 +0100 | [diff] [blame] | 14 | {"aldo1", 700, 3300, 100, NA, 0x28, 0x13, 5}, |
Samuel Holland | 5614789 | 2019-10-20 20:50:57 -0500 | [diff] [blame] | 15 | {"dcdc1", 1600, 3400, 100, NA, 0x20, 0x10, 0}, |
| 16 | {"dcdc5", 800, 1840, 10, 32, 0x24, 0x10, 4}, |
| 17 | {"dcdc6", 600, 1520, 10, 50, 0x25, 0x10, 5}, |
| 18 | {"dldo1", 700, 3300, 100, NA, 0x15, 0x12, 3}, |
| 19 | {"dldo2", 700, 4200, 100, 27, 0x16, 0x12, 4}, |
| 20 | {"dldo3", 700, 3300, 100, NA, 0x17, 0x12, 5}, |
| 21 | {"dldo4", 700, 3300, 100, NA, 0x18, 0x12, 6}, |
| 22 | {"fldo1", 700, 1450, 50, NA, 0x1c, 0x13, 2}, |
| 23 | {} |
| 24 | }; |
Andre Przywara | 71b5a1d | 2021-11-01 00:17:37 +0000 | [diff] [blame] | 25 | #endif |