Home
last modified time | relevance | path

Searched +full:- +full:- +full:pfuze100 (Results 1 – 25 of 64) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dpfuze100-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved.
15 #include <linux/regulator/pfuze100.h>
62 enum chips { PFUZE100, PFUZE200, PFUZE3000 = 3, PFUZE3001 = 0x31, }; enumerator
109 {.name = "pfuze100", .driver_data = PFUZE100},
118 { .compatible = "fsl,pfuze100", .data = (void *)PFUZE100},
128 struct pfuze_chip *pfuze100 = rdev_get_drvdata(rdev); in pfuze100_set_ramp_delay() local
134 switch (pfuze100->chip_id) { in pfuze100_set_ramp_delay()
145 case PFUZE100: in pfuze100_set_ramp_delay()
154 ramp_bits = (ramp_delay >> 1) - (ramp_delay >> 3); in pfuze100_set_ramp_delay()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Dpfuze100.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/pfuze100.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PFUZE100 family of regulators
10 - Robin Gong <yibin.gong@nxp.com>
14 --PFUZE100
16 --PFUZE200
18 --PFUZE3000
20 --PFUZE3001
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/pmic/
H A Dpfuze100.c5 * SPDX-License-Identifier: GPL-2.0+
37 return -EIO; in pfuze100_write()
47 return -EIO; in pfuze100_read()
61 dev->name); in pfuze100_bind()
62 return -ENXIO; in pfuze100_bind()
65 debug("%s: '%s' - found regulators subnode\n", __func__, dev->name); in pfuze100_bind()
69 debug("%s: %s - no child found\n", __func__, dev->name); in pfuze100_bind()
82 { .compatible = "fsl,pfuze100", .data = PFUZE100, },
89 .name = "pfuze100 pmic",
H A DKconfig4 ---help---
5 This config enables the driver-model PMIC support.
6 UCLASS_PMIC - designed to provide an I/O interface for PMIC devices.
7 For the multi-function PMIC devices, this can be used as parent I/O
10 - 'drivers/power/pmic/pmic-uclass.c'
11 - 'include/power/pmic.h'
16 ---help---
17 This config enables the driver-model PMIC support.
18 UCLASS_PMIC - designed to provide an I/O interface for PMIC devices.
19 For the multi-function PMIC devices, this can be used as parent I/O
[all …]
H A Dpmic_pfuze100.c5 * SPDX-License-Identifier: GPL-2.0+
16 static const char name[] = "PFUZE100"; in power_pfuze100_init()
21 return -ENOMEM; in power_pfuze100_init()
24 p->name = name; in power_pfuze100_init()
25 p->interface = PMIC_I2C; in power_pfuze100_init()
26 p->number_of_regs = PFUZE100_NUM_OF_REGS; in power_pfuze100_init()
27 p->hw.i2c.addr = CONFIG_POWER_PFUZE100_I2C_ADDR; in power_pfuze100_init()
28 p->hw.i2c.tx_num = 1; in power_pfuze100_init()
29 p->bus = bus; in power_pfuze100_init()
H A DMakefile5 # SPDX-License-Identifier: GPL-2.0+
8 obj-$(CONFIG_DM_PMIC) += pmic-uclass.o
9 obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o
10 obj-$(CONFIG_DM_PMIC_MAX8998) += max8998.o
11 obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze100.o
12 obj-$(CONFIG_PMIC_S2MPS11) += s2mps11.o
13 obj-$(CONFIG_DM_PMIC_SANDBOX) += sandbox.o i2c_pmic_emul.o
14 obj-$(CONFIG_PMIC_ACT8846) += act8846.o
15 obj-$(CONFIG_PMIC_AS3722) += as3722.o as3722_gpio.o
16 obj-$(CONFIG_PMIC_MAX8997) += max8997.o
[all …]
/OK3568_Linux_fs/u-boot/board/freescale/common/
H A Dpfuze.c4 * SPDX-License-Identifier: GPL-2.0+
30 return -EINVAL; in pfuze_mode_init()
39 for (i = 0; i < switch_num - 1; i++) { in pfuze_mode_init()
61 p = pmic_get("PFUZE100"); in pfuze_common_init()
67 printf("PMIC: PFUZE100 ID=0x%02x\n", reg); in pfuze_common_init()
/OK3568_Linux_fs/u-boot/board/freescale/mx6sllevk/
H A Dmx6sllevk.c4 * SPDX-License-Identifier: GPL-2.0+
10 #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>
32 gd->ram_size = imx_ddr_size(); in dram_init()
60 ret = pmic_get("pfuze100", &dev); in power_init_board()
61 if (ret == -ENODEV) in power_init_board()
69 printf("PMIC: PFUZE100! DEV_ID=0x%x REV_ID=0x%x\n", dev_id, rev_id); in power_init_board()
75 for (i = 0; i < switch_num - 1; i++) in power_init_board()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dimx6sx-sdb-reva.dts1 // SPDX-License-Identifier: GPL-2.0
5 #include "imx6sx-sdb.dtsi"
9 compatible = "fsl,imx6sx-sdb-reva", "fsl,imx6sx";
13 clock-frequency = <100000>;
14 pinctrl-names = "default";
15 pinctrl-0 = <&pinctrl_i2c1>;
18 pmic: pfuze100@8 {
19 compatible = "fsl,pfuze100";
24 regulator-min-microvolt = <300000>;
25 regulator-max-microvolt = <1875000>;
[all …]
H A Dimx6qdl-wandboard-revd1.dtsi1 // SPDX-License-Identifier: GPL-2.0
7 #include "imx6qdl-wandboard.dtsi"
10 reg_eth_phy: regulator-eth-phy {
11 compatible = "regulator-fixed";
12 regulator-name = "ETH_PHY";
13 regulator-min-microvolt = <3300000>;
14 regulator-max-microvolt = <3300000>;
20 ddc-i2c-bus = <&i2c2>;
25 clock-frequency = <100000>;
26 pinctrl-names = "default";
[all …]
H A Dimx6qdl-tqma6b.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2013-2017 Markus Niebel <Markus.Niebel@tq-group.com>
8 pinctrl-names = "default";
9 pinctrl-0 = <&pinctrl_i2c3>;
10 clock-frequency = <100000>;
14 compatible = "fsl,pfuze100";
H A Dimx6qdl-tqma6a.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2013-2017 Markus Niebel <Markus.Niebel@tq-group.com>
8 pinctrl-names = "default";
9 pinctrl-0 = <&pinctrl_i2c1>;
10 clock-frequency = <100000>;
14 compatible = "fsl,pfuze100";
H A Dimx6-logicpd-som.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 stdout-path = &uart1;
18 reg_wl18xx_vmmc: regulator-wl18xx {
19 compatible = "regulator-fixed";
20 regulator-name = "vwl1837";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
24 startup-delay-us = <70000>;
[all …]
H A Dimx6q-dmo-edmqmx6.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
12 model = "Data Modul eDM-QMX6 Board";
13 compatible = "dmo,imx6q-edmqmx6", "fsl,imx6q";
16 stdout-path = &uart2;
22 stmpe-i2c0 = &stmpe1;
23 stmpe-i2c1 = &stmpe2;
32 compatible = "simple-bus";
33 #address-cells = <1>;
[all …]
H A Dimx6q-mccmon6.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2016-2017
7 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pwm/pwm.h>
24 compatible = "pwm-backlight";
25 pinctrl-names = "default";
26 pinctrl-0 = <&pinctrl_backlight>;
28 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
54 default-brightness-level = <50>;
[all …]
H A Dimx6dl-mamoj.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
14 compatible = "bticino,imx6dl-mamoj", "fsl,imx6dl";
22 backlight_lcd: backlight-lcd {
23 compatible = "pwm-backlight";
24 pwms = <&pwm3 0 25000>; /* 25000ns -> 40kHz */
25 brightness-levels = <0 4 8 16 32 64 128 160 192 224 255>;
26 default-brightness-level = <7>;
30 compatible = "fsl,imx-parallel-display";
[all …]
H A Dimx6q-gw5400-a.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
11 model = "Gateworks Ventana GW5400-A";
12 compatible = "gw,imx6q-gw5400-a", "gw,ventana", "fsl,imx6q";
33 compatible = "gpio-leds";
34 pinctrl-names = "default";
35 pinctrl-0 = <&pinctrl_gpio_leds>;
39 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 -> MX6_PANLEDG */
40 default-state = "on";
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/regulator/
H A Dpfuze100.c6 * SPDX-License-Identifier: GPL-2.0+
19 * struct pfuze100_regulator_desc - regulator descriptor
44 * struct pfuze100_regulator_platdata - platform data for pfuze100
46 * @desc: Points the description entry of one regulator of pfuze100
149 1000000, 1100000, 1200000, 1300000, 1500000, 1800000, 3000000, -1
153 -1, -1, -1, -1, -1, -1, 3000000, -1
160 /* PFUZE100 */
253 if (!strcmp(desc->name, name)) in se_desc()
268 case PFUZE100: in pfuze100_regulator_probe()
271 dev->name); in pfuze100_regulator_probe()
[all …]
H A DKconfig4 ---help---
6 UCLASS_REGULATOR - designed to provide a common API for basic regulator's
10 - 'include/power/pmic.h'
11 - 'include/power/regulator.h'
12 - 'drivers/power/pmic/pmic-uclass.c'
13 - 'drivers/power/pmic/regulator-uclass.c'
22 ---help---
31 ---help---
42 driver implements enable/disable for step-down bucks and LDOs,
47 bool "Enable Driver Model for REGULATOR PFUZE100"
[all …]
H A DMakefile5 # SPDX-License-Identifier: GPL-2.0+
8 obj-$(CONFIG_$(SPL_)DM_REGULATOR) += regulator-uclass.o
9 obj-$(CONFIG_REGULATOR_ACT8846) += act8846.o
10 obj-$(CONFIG_REGULATOR_AS3722) += as3722_regulator.o
11 obj-$(CONFIG_DM_REGULATOR_MAX77686) += max77686.o
12 obj-$(CONFIG_DM_REGULATOR_PFUZE100) += pfuze100.o
13 obj-$(CONFIG_REGULATOR_PWM) += pwm_regulator.o
14 obj-$(CONFIG_REGULATOR_FAN53555) += fan53555_regulator.o
15 obj-$(CONFIG_$(SPL_)DM_REGULATOR_FIXED) += fixed.o
16 obj-$(CONFIG_$(SPL_)DM_REGULATOR_GPIO) += gpio-regulator.o
[all …]
/OK3568_Linux_fs/u-boot/include/power/
H A Dpfuze100_pmic.h5 * SPDX-License-Identifier: GPL-2.0+
12 enum {PFUZE100 = 0x10, PFUZE200 = 0x11, PFUZE3000 = 0x30}; enumerator
16 /* PFUZE100 registers */
76 #define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250)
/OK3568_Linux_fs/u-boot/board/kosagi/novena/
H A Dnovena.c6 * SPDX-License-Identifier: GPL-2.0+
15 #include <asm/arch/imx-regs.h>
19 #include <asm/mach-imx/boot_mode.h>
20 #include <asm/mach-imx/iomux-v3.h>
21 #include <asm/mach-imx/mxc_i2c.h>
22 #include <asm/mach-imx/sata.h>
23 #include <asm/mach-imx/video.h>
89 return -1; in drv_keyboard_init()
113 struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; in board_mmc_getcd()
116 if (cfg->esdhc_base == USDHC3_BASE_ADDR) in board_mmc_getcd()
[all …]
/OK3568_Linux_fs/u-boot/board/tqc/tqma6/
H A Dtqma6.c6 * Author: Markus Niebel <markus.niebel@tq-group.com>
8 * SPDX-License-Identifier: GPL-2.0+
12 #include <asm/arch/mx6-pins.h>
13 #include <asm/arch/imx-regs.h>
19 #include <asm/mach-imx/mxc_i2c.h>
20 #include <asm/mach-imx/spi.h>
55 gd->ram_size = imx_ddr_size(); in dram_init()
80 * (U-Boot device node) (Physical Port)
91 struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; in board_mmc_getcd()
94 if (cfg->esdhc_base == USDHC3_BASE_ADDR) in board_mmc_getcd()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dimx6qdl-logicpd.dtsi3 * This file is adapted from imx6qdl-sabresd.dtsi.
11 * http://www.opensource.org/licenses/gpl-license.html
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/input.h>
21 stdout-path = &uart1;
32 vin-supply = <&sw1a_reg>;
37 vin-supply = <&sw1c_reg>;
41 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
43 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
48 clock-frequency = <100000>;
[all …]
/OK3568_Linux_fs/u-boot/board/freescale/mx6sxsabreauto/
H A Dmx6sxsabreauto.c6 * SPDX-License-Identifier: GPL-2.0+
12 #include <asm/arch/imx-regs.h>
13 #include <asm/arch/mx6-pins.h>
16 #include <asm/mach-imx/iomux-v3.h>
17 #include <asm/mach-imx/boot_mode.h>
28 #include <usb/ehci-ci.h>
54 gd->ram_size = imx_ddr_size(); in dram_init()
91 clrsetbits_le32(&iomuxc_regs->gpr[1], IOMUX_GPR1_FEC2_MASK, 0); in setup_fec()
124 if (phydev->drv->config) in board_phy_config()
125 phydev->drv->config(phydev); in board_phy_config()
[all …]

123