Home
last modified time | relevance | path

Searched +full:- +full:- +full:pfuze3000 (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/drivers/regulator/
H A Dpfuze100-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved.
63 enum chips { PFUZE100, PFUZE200, PFUZE3000 = 3, PFUZE3001 = 0x31, }; enumerator
112 { .compatible = "fsl,pfuze3000", .data = (void *)PFUZE3000},
126 switch (pfuze100->chip_id) { in pfuze100_set_ramp_delay()
131 case PFUZE3000: in pfuze100_set_ramp_delay()
146 ramp_bits = (ramp_delay >> 1) - (ramp_delay >> 3); in pfuze100_set_ramp_delay()
149 ret = regmap_update_bits(pfuze100->regmap, in pfuze100_set_ramp_delay()
150 rdev->desc->vsel_reg + 4, in pfuze100_set_ramp_delay()
153 dev_err(pfuze100->dev, "ramp failed, err %d\n", ret); in pfuze100_set_ramp_delay()
[all …]
/openbmc/u-boot/drivers/power/pmic/
H A Dpfuze100.c1 // SPDX-License-Identifier: GPL-2.0+
27 return dev->driver_data == PFUZE3000 ? PFUZE3000_NUM_OF_REGS : PFUZE100_NUM_OF_REGS; in pfuze100_reg_count()
35 return -EIO; in pfuze100_write()
45 return -EIO; in pfuze100_read()
59 dev->name); in pfuze100_bind()
60 return -ENXIO; in pfuze100_bind()
63 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in pfuze100_bind()
67 debug("%s: %s - no child found\n", __func__, dev->name); in pfuze100_bind()
82 { .compatible = "fsl,pfuze3000", .data = PFUZE3000, },
H A Dpmic_pfuze3000.c1 // SPDX-License-Identifier: GPL-2.0+
15 static const char name[] = "PFUZE3000"; in power_pfuze3000_init()
20 return -ENOMEM; in power_pfuze3000_init()
23 p->name = name; in power_pfuze3000_init()
24 p->interface = PMIC_I2C; in power_pfuze3000_init()
25 p->number_of_regs = PFUZE3000_NUM_OF_REGS; in power_pfuze3000_init()
26 p->hw.i2c.addr = CONFIG_POWER_PFUZE3000_I2C_ADDR; in power_pfuze3000_init()
27 p->hw.i2c.tx_num = 1; in power_pfuze3000_init()
28 p->bus = bus; in power_pfuze3000_init()
/openbmc/u-boot/board/warp7/
H A Dwarp7.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <asm/arch/imx-regs.h>
9 #include <asm/arch/mx7-pins.h>
12 #include <asm/mach-imx/hab.h>
13 #include <asm/mach-imx/iomux-v3.h>
32 gd->ram_size = PHYS_SDRAM_SIZE; in dram_init()
36 gd->ram_size -= CONFIG_OPTEE_TZDRAM_SIZE; in dram_init()
69 ret = pmic_get("pfuze3000", &dev); in power_init_board()
70 if (ret == -ENODEV) in power_init_board()
77 printf("PMIC: PFUZE3000 DEV_ID=0x%x REV_ID=0x%x\n", dev_id, rev_id); in power_init_board()
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ul-tqma6ul-common.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright 2018-2022 TQ-Systems GmbH
4 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
9 * - TQMa6ULx
10 * - TQMa6ULxL
11 * - TQMa6ULLx
12 * - TQMa6ULLxL
23 clock-frequency = <100000>;
24 pinctrl-names = "default", "gpio";
25 pinctrl-0 = <&pinctrl_i2c4>;
[all …]
H A Dimx6ul-ccimx6ulsom.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Digi International's ConnectCore 6UL System-On-Module device tree source
12 reg = <0x80000000 0>; /* will be filled by U-Boot */
15 reserved-memory {
16 #address-cells = <1>;
17 #size-cells = <1>;
21 compatible = "shared-dma-pool";
24 linux,cma-default;
30 vref-supply = <&vdda_adc_3v3>;
34 pinctrl-names = "default";
[all …]
H A Dimx7-tqma7.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Device Tree Include file for TQ-Systems TQMa7x boards with full mounted PCB.
5 * Copyright (C) 2016 TQ-Systems GmbH
6 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
13 /* 512 MB - default configuration */
19 cpu-supply = <&sw1a_reg>;
24 qspi-reset-hog {
25 gpio-hog;
28 line-name = "qspi-reset";
33 pinctrl-names = "default";
[all …]
H A Dimx7d-cl-som-imx7.dts2 * Support for CompuLab CL-SOM-iMX7 System-on-Module
4 * Copyright (C) 2015 CompuLab Ltd. - http://www.compulab.co.il/
7 * This file is dual-licensed: you can use it either under the terms
13 /dts-v1/;
18 model = "CompuLab CL-SOM-iMX7";
19 compatible = "compulab,cl-som-imx7", "fsl,imx7d";
23 reg = <0x80000000 0x10000000>; /* 256 MB - minimal configuration */
26 reg_usb_otg1_vbus: regulator-vbus {
27 compatible = "regulator-fixed";
28 regulator-name = "usb_otg1_vbus";
[all …]
H A Dimx7d-zii-rmu2.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 * RMU - Remote Modem Unit
10 /dts-v1/;
11 #include <dt-bindings/thermal/thermal.h>
16 compatible = "zii,imx7d-rmu2", "fsl,imx7d";
19 stdout-path = &uart2;
22 gpio-leds {
23 compatible = "gpio-leds";
24 pinctrl-0 = <&pinctrl_leds_debug>;
25 pinctrl-names = "default";
[all …]
H A Dimx6ul-pico.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 /dts-v1/;
20 stdout-path = &uart6;
24 compatible = "pwm-backlight";
26 brightness-levels = <0 4 8 16 32 64 128 255>;
27 default-brightness-level = <6>;
31 reg_2p5v: regulator-2p5v {
32 compatible = "regulator-fixed";
33 regulator-name = "2P5V";
34 regulator-min-microvolt = <2500000>;
[all …]
H A Dimx7s-warp.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
14 compatible = "element14,imx7s-warp", "fsl,imx7s";
21 gpio-keys {
22 compatible = "gpio-keys";
23 pinctrl-0 = <&pinctrl_gpio>;
30 wakeup-source;
34 reg_brcm: regulator-brcm {
35 compatible = "regulator-fixed";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dpfuze100.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Robin Gong <yibin.gong@nxp.com>
14 --PFUZE100
16 --PFUZE200
18 --PFUZE3000
20 --PFUZE3001
27 pattern: "^pmic@[0-9]$"
31 - fsl,pfuze100
[all …]
/openbmc/u-boot/board/technexion/pico-imx6ul/
H A Dpico-imx6ul.c1 // SPDX-License-Identifier: GPL-2.0+
10 #include <asm/arch/imx-regs.h>
12 #include <asm/arch/mx6-pins.h>
15 #include <asm/mach-imx/iomux-v3.h>
73 * According to KSZ8081MNX-RNB manual: in board_eth_init()
75 * minimum of 500μs. The strap-in pin values are read and updated in board_eth_init()
76 * at the de-assertion of reset. in board_eth_init()
82 * According to KSZ8081MNX-RNB manual: in board_eth_init()
83 * After the de-assertion of reset, wait a minimum of 100μs before in board_eth_init()
96 clrsetbits_le32(&iomuxc_regs->gpr[1], IOMUX_GPR1_FEC2_MASK, in setup_fec()
[all …]
/openbmc/u-boot/include/power/
H A Dpfuze3000_pmic.h1 /* SPDX-License-Identifier: GPL-2.0+ */
9 /* PFUZE3000 registers */
78 #define PFUZE3000_SW1AB_SETP(x) ((x - 7000) / 250)
79 #define PFUZE3000_SW3_SETP(x) ((x - 9000) / 500)
80 #define PFUZE3000_VLDO_SETP(x) ((x - 8000) / 500)
H A Dpfuze100_pmic.h1 /* SPDX-License-Identifier: GPL-2.0+ */
11 enum {PFUZE100 = 0x10, PFUZE200 = 0x11, PFUZE3000 = 0x30}; enumerator
75 #define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250)
/openbmc/u-boot/board/compulab/cl-som-imx7/
H A Dcl-som-imx7.c1 // SPDX-License-Identifier: GPL-2.0+
3 * U-Boot board functions for CompuLab CL-SOM-iMX7 module
18 #include <asm/mach-imx/mxc_i2c.h>
19 #include <asm/mach-imx/iomux-v3.h>
20 #include <asm/arch-mx7/mx7-pins.h>
21 #include <asm/arch-mx7/sys_proto.h>
22 #include <asm/arch-mx7/clock.h>
54 * cl_som_imx7_setup_i2c() - I2C pinmux configuration.
66 gd->ram_size = imx_ddr_size(); in dram_init()
85 * (U-boot device node) (Physical Port) in board_mmc_init()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dimx7d-sdb.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
12 compatible = "fsl,imx7d-sdb", "fsl,imx7d";
22 soft_spi: soft-spi {
23 compatible = "spi-gpio";
24 pinctrl-names = "default";
25 pinctrl-0 = <&pinctrl_spi1>;
27 gpio-sck = <&gpio1 13 0>;
28 gpio-mosi = <&gpio1 9 0>;
29 cs-gpios = <&gpio1 12 0>;
[all …]
H A Dimx6ul-pico.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 /dts-v1/;
20 stdout-path = &uart6;
24 compatible = "pwm-backlight";
26 brightness-levels = <0 4 8 16 32 64 128 255>;
27 default-brightness-level = <6>;
31 reg_2p5v: regulator-2p5v {
32 compatible = "regulator-fixed";
33 regulator-name = "2P5V";
34 regulator-min-microvolt = <2500000>;
[all …]
H A Dimx7s-warp.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
14 compatible = "warp,imx7s-warp", "fsl,imx7s";
24 gpio-keys {
25 compatible = "gpio-keys";
26 pinctrl-0 = <&pinctrl_gpio>;
33 wakeup-source;
37 reg_brcm: regulator-brcm {
38 compatible = "regulator-fixed";
[all …]
H A Dimx6ul-9x9-evk.dts1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright 2017-2018 NXP
7 /dts-v1/;
13 compatible = "fsl,imx6ul-9x9-evk", "fsl,imx6ul";
20 stdout-path = &uart1;
28 compatible = "simple-bus";
29 #address-cells = <1>;
30 #size-cells = <0>;
33 compatible = "regulator-fixed";
35 regulator-name = "can-3v3";
[all …]
/openbmc/u-boot/board/freescale/mx7dsabresd/
H A Dmx7dsabresd.c1 // SPDX-License-Identifier: GPL-2.0+
7 #include <asm/arch/imx-regs.h>
8 #include <asm/arch/mx7-pins.h>
11 #include <asm/mach-imx/iomux-v3.h>
23 #include <asm/mach-imx/mxc_i2c.h>
56 return (bus == 2 && cs == 0) ? (IMX_GPIO_NR(6, 22)) : -1; in board_spi_cs_gpio()
67 gd->ram_size = PHYS_SDRAM_SIZE; in dram_init()
204 devno--; in board_mmc_get_env_dev()
226 return -ENODEV; in board_eth_init()
230 if (ret && ret != -EBUSY) { in board_eth_init()
[all …]
/openbmc/u-boot/board/technexion/pico-imx7d/
H A Dpico-imx7d.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <asm/arch/imx-regs.h>
9 #include <asm/arch/mx7-pins.h>
12 #include <asm/mach-imx/iomux-v3.h>
13 #include <asm/mach-imx/mxc_i2c.h>
69 gd->ram_size = imx_ddr_size(); in dram_init()
86 p = pmic_get("PFUZE3000"); in power_init_board()
93 printf("PMIC: PFUZE3000 DEV_ID=0x%x REV_ID=0x%x\n", reg, rev_id); in power_init_board()
188 clrsetbits_le32(&iomuxc_gpr_regs->gpr[1], in setup_fec()
215 if (phydev->drv->config) in board_phy_config()
[all …]
/openbmc/u-boot/drivers/power/regulator/
H A Dpfuze100.c1 // SPDX-License-Identifier: GPL-2.0+
18 * struct pfuze100_regulator_desc - regulator descriptor
43 * struct pfuze100_regulator_platdata - platform data for pfuze100
148 1000000, 1100000, 1200000, 1300000, 1500000, 1800000, 3000000, -1
152 -1, -1, -1, -1, -1, -1, 3000000, -1
195 /* PFUZE3000 */
252 if (!strcmp(desc->name, name)) in se_desc()
270 dev->name); in pfuze100_regulator_probe()
275 dev->name); in pfuze100_regulator_probe()
277 case PFUZE3000: in pfuze100_regulator_probe()
[all …]
/openbmc/u-boot/board/udoo/neo/
H A Dneo.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
13 #include <asm/arch/imx-regs.h>
15 #include <asm/arch/mx6-pins.h>
17 #include <asm/mach-imx/iomux-v3.h>
22 #include <asm/mach-imx/mxc_i2c.h>
77 gd->ram_size = imx_ddr_size(); in dram_init()
109 p = pmic_get("PFUZE3000"); in power_init_board()
116 printf("PMIC: PFUZE3000 DEV_ID=0x%x REV_ID=0x%x\n", reg, rev_id); in power_init_board()
284 reg = readl(&anatop->pll_enet); in setup_fec()
[all …]
/openbmc/u-boot/board/freescale/mx6ul_14x14_evk/
H A Dmx6ul_14x14_evk.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <asm/arch/imx-regs.h>
11 #include <asm/arch/mx6-pins.h>
14 #include <asm/mach-imx/iomux-v3.h>
15 #include <asm/mach-imx/boot_mode.h>
16 #include <asm/mach-imx/mxc_i2c.h>
29 #include <usb/ehci-ci.h>
73 ret = pmic_get("pfuze3000", &dev); in power_init_board()
74 if (ret == -ENODEV) in power_init_board()
81 printf("PMIC: PFUZE3000 DEV_ID=0x%x REV_ID=0x%x\n", dev_id, rev_id); in power_init_board()
[all …]

12