/openbmc/linux/drivers/regulator/ |
H A D | pfuze100-regulator.c | 1 // 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 111 { .compatible = "fsl,pfuze200", .data = (void *)PFUZE200}, 126 switch (pfuze100->chip_id) { in pfuze100_set_ramp_delay() 134 case PFUZE200: 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 D | pfuze100.c | 1 // 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() 81 { .compatible = "fsl,pfuze200", .data = PFUZE200, },
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | pfuze100.yaml | 1 # 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/arch/arm/dts/ |
H A D | imx6sx-sdb.dts | 9 #include "imx6sx-sdb.dtsi" 16 clock-frequency = <100000>; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_i2c1>; 22 compatible = "fsl,pfuze200"; 27 regulator-min-microvolt = <300000>; 28 regulator-max-microvolt = <1875000>; 29 regulator-boot-on; 30 regulator-always-on; 31 regulator-ramp-delay = <6250>; [all …]
|
H A D | imx7d-sdb.dts | 1 // 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 D | imx7s-warp.dts | 1 // 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 D | imx6ul-9x9-evk.dts | 1 // 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/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6sx-sdb.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "imx6sx-sdb.dtsi" 12 clock-frequency = <100000>; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_i2c1>; 18 compatible = "fsl,pfuze200"; 23 regulator-min-microvolt = <300000>; 24 regulator-max-microvolt = <1875000>; 25 regulator-boot-on; 26 regulator-always-on; [all …]
|
H A D | imx7-tqma7.dtsi | 1 // 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 D | imx7d-cl-som-imx7.dts | 2 * 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 D | imx7s-warp.dts | 1 // 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 …]
|
H A D | imx6sx-softing-vining-2000.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 14 compatible = "samtec,imx6sx-vining-2000", "fsl,imx6sx"; 17 stdout-path = &uart1; 25 reg_usb_otg1_vbus: regulator-usb_otg1_vbus { 26 compatible = "regulator-fixed"; 27 regulator-name = "usb_otg1_vbus"; 28 pinctrl-names = "default"; [all …]
|
H A D | imx7d-pico.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 /dts-v1/; 11 compatible = "pwm-backlight"; 13 brightness-levels = <0 36 72 108 144 180 216 255>; 14 default-brightness-level = <6>; 24 compatible = "vxt,vl050-8048nt-c01"; 26 power-supply = <®_lcd_3v3>; 30 remote-endpoint = <&display_out>; 35 reg_lcd_3v3: regulator-lcd-3v3 { 36 compatible = "regulator-fixed"; [all …]
|
H A D | imx7d-nitrogen7.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 6 /dts-v1/; 12 compatible = "boundary,imx7d-nitrogen7", "fsl,imx7d"; 19 backlight-j9 { 20 compatible = "gpio-backlight"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_backlight_j9>; 24 default-on; 27 backlight_lcd: backlight-j20 { 28 compatible = "pwm-backlight"; [all …]
|
H A D | imx6dl-yapp4-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2015-2018 Y Soft Corporation, a.s. 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 32 64 128 255>; 23 default-brightness-level = <32>; [all …]
|
H A D | imx6dl-yapp43-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 32 64 128 255>; 23 default-brightness-level = <32>; 24 num-interpolated-steps = <8>; [all …]
|
H A D | imx7d-sdb.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 /dts-v1/; 11 compatible = "fsl,imx7d-sdb", "fsl,imx7d"; 19 stdout-path = &uart1; 27 gpio-keys { 28 compatible = "gpio-keys"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_gpio_keys>; 32 key-volume-up { 36 wakeup-source; [all …]
|
/openbmc/u-boot/include/power/ |
H A D | pfuze100_pmic.h | 1 /* 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/drivers/power/regulator/ |
H A D | pfuze100.c | 1 // 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 178 /* PFUZE200 */ 252 if (!strcmp(desc->name, name)) in se_desc() 270 dev->name); in pfuze100_regulator_probe() 272 case PFUZE200: in pfuze100_regulator_probe() 275 dev->name); in pfuze100_regulator_probe() [all …]
|