Searched +full:sun20i +full:- +full:d1 +full:- +full:system +full:- +full:ldos (Results 1 – 3 of 3) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/regulator/allwinner,sun20i-d1-system-ldos.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Allwinner D1 System LDOs10 - Samuel Holland <samuel@sholland.org>13 Allwinner D1 contains a pair of general-purpose LDOs which are designed to15 within the system control MMIO space.20 - allwinner,sun20i-d1-system-ldos32 - compatible[all …]
1 // SPDX-License-Identifier: GPL-2.0-only3 // Copyright (c) 2021-2022 Samuel Holland <samuel@sholland.org>21 /* regulator_list_voltage_linear() modified for the non-integral uV_step. */25 const struct regulator_desc *desc = rdev->desc; in sun20i_d1_system_ldo_list_voltage()28 if (selector >= desc->n_voltages) in sun20i_d1_system_ldo_list_voltage()29 return -EINVAL; in sun20i_d1_system_ldo_list_voltage()31 uV = desc->min_uV + (desc->uV_step * selector); in sun20i_d1_system_ldo_list_voltage()32 fraction = selector + (desc->min_uV % 4); in sun20i_d1_system_ldo_list_voltage()39 /* Produce correctly-rounded absolute voltages. */ in sun20i_d1_system_ldo_list_voltage()53 .supply_name = "ldo-in",[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)2 // Copyright (C) 2021-2022 Samuel Holland <samuel@sholland.org>4 #include <dt-bindings/clock/sun6i-rtc.h>5 #include <dt-bindings/clock/sun8i-de2.h>6 #include <dt-bindings/clock/sun8i-tcon-top.h>7 #include <dt-bindings/clock/sun20i-d1-ccu.h>8 #include <dt-bindings/clock/sun20i-d1-r-ccu.h>9 #include <dt-bindings/interrupt-controller/irq.h>10 #include <dt-bindings/reset/sun8i-de2.h>11 #include <dt-bindings/reset/sun20i-d1-ccu.h>[all …]