1f6d9c4caSSamuel Holland /* 2f6d9c4caSSamuel Holland * Copyright (c) 2019, ARM Limited and Contributors. All rights reserved. 3f6d9c4caSSamuel Holland * 4f6d9c4caSSamuel Holland * SPDX-License-Identifier: BSD-3-Clause 5f6d9c4caSSamuel Holland */ 6f6d9c4caSSamuel Holland 7f6d9c4caSSamuel Holland #include <drivers/allwinner/axp.h> 8f6d9c4caSSamuel Holland 9f6d9c4caSSamuel Holland const uint8_t axp_chip_id = AXP805_CHIP_ID; 10f6d9c4caSSamuel Holland const char *const axp_compatible = "x-powers,axp805"; 11f6d9c4caSSamuel Holland 12*67412e4dSAndre Przywara #if SUNXI_SETUP_REGULATORS == 1 13f6d9c4caSSamuel Holland /* 14f6d9c4caSSamuel Holland * The "dcdcd" split changes the step size by a factor of 5, not 2; 15f6d9c4caSSamuel Holland * disallow values above the split to maintain accuracy. 16f6d9c4caSSamuel Holland */ 17f6d9c4caSSamuel Holland const struct axp_regulator axp_regulators[] = { 18f6d9c4caSSamuel Holland {"dcdca", 600, 1520, 10, 50, 0x12, 0x10, 0}, 19f6d9c4caSSamuel Holland {"dcdcb", 1000, 2550, 50, NA, 0x13, 0x10, 1}, 20f6d9c4caSSamuel Holland {"dcdcc", 600, 1520, 10, 50, 0x14, 0x10, 2}, 21f6d9c4caSSamuel Holland {"dcdcd", 600, 1500, 20, NA, 0x15, 0x10, 3}, 22f6d9c4caSSamuel Holland {"dcdce", 1100, 3400, 100, NA, 0x16, 0x10, 4}, 23f6d9c4caSSamuel Holland {"aldo1", 700, 3300, 100, NA, 0x17, 0x10, 5}, 24f6d9c4caSSamuel Holland {"aldo2", 700, 3300, 100, NA, 0x18, 0x10, 6}, 25f6d9c4caSSamuel Holland {"aldo3", 700, 3300, 100, NA, 0x19, 0x10, 7}, 26f6d9c4caSSamuel Holland {"bldo1", 700, 1900, 100, NA, 0x20, 0x11, 0}, 27f6d9c4caSSamuel Holland {"bldo2", 700, 1900, 100, NA, 0x21, 0x11, 1}, 28f6d9c4caSSamuel Holland {"bldo3", 700, 1900, 100, NA, 0x22, 0x11, 2}, 29f6d9c4caSSamuel Holland {"bldo4", 700, 1900, 100, NA, 0x23, 0x11, 3}, 30f6d9c4caSSamuel Holland {"cldo1", 700, 3300, 100, NA, 0x24, 0x11, 4}, 31f6d9c4caSSamuel Holland {"cldo2", 700, 4200, 100, 27, 0x25, 0x11, 5}, 32f6d9c4caSSamuel Holland {"cldo3", 700, 3300, 100, NA, 0x26, 0x11, 6}, 33f6d9c4caSSamuel Holland {} 34f6d9c4caSSamuel Holland }; 35*67412e4dSAndre Przywara #endif 36