| /OK3568_Linux_fs/kernel/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. 62 enum chips { PFUZE100, PFUZE200, PFUZE3000 = 3, PFUZE3001 = 0x31, }; enumerator 111 {.name = "pfuze3000", .driver_data = PFUZE3000}, 120 { .compatible = "fsl,pfuze3000", .data = (void *)PFUZE3000}, 134 switch (pfuze100->chip_id) { in pfuze100_set_ramp_delay() 139 case PFUZE3000: in pfuze100_set_ramp_delay() 154 ramp_bits = (ramp_delay >> 1) - (ramp_delay >> 3); in pfuze100_set_ramp_delay() 157 ret = regmap_update_bits(pfuze100->regmap, in pfuze100_set_ramp_delay() 158 rdev->desc->vsel_reg + 4, in pfuze100_set_ramp_delay() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/pmic/ |
| H A D | pfuze100.c | 5 * 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() 84 { .compatible = "fsl,pfuze3000", .data = PFUZE3000, },
|
| H A D | pmic_pfuze3000.c | 5 * SPDX-License-Identifier: GPL-2.0+ 16 static const char name[] = "PFUZE3000"; in power_pfuze3000_init() 21 return -ENOMEM; in power_pfuze3000_init() 24 p->name = name; in power_pfuze3000_init() 25 p->interface = PMIC_I2C; in power_pfuze3000_init() 26 p->number_of_regs = PMIC_NUM_OF_REGS; in power_pfuze3000_init() 27 p->hw.i2c.addr = CONFIG_POWER_PFUZE3000_I2C_ADDR; in power_pfuze3000_init() 28 p->hw.i2c.tx_num = 1; in power_pfuze3000_init() 29 p->bus = bus; in power_pfuze3000_init()
|
| /OK3568_Linux_fs/u-boot/board/warp7/ |
| H A D | warp7.c | 5 * SPDX-License-Identifier: GPL-2.0+ 9 #include <asm/arch/imx-regs.h> 10 #include <asm/arch/mx7-pins.h> 13 #include <asm/mach-imx/iomux-v3.h> 14 #include <asm/mach-imx/mxc_i2c.h> 56 gd->ram_size = PHYS_SDRAM_SIZE; in dram_init() 126 pfuze = pmic_get("PFUZE3000"); in power_init_board() 133 printf("PMIC: PFUZE3000 DEV_ID=0x%x REV_ID=0x%x\n", reg, rev_id); in power_init_board() 158 gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; in board_init() 174 mode = "non-secure"; in checkboard() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | imx7-tqma7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 6 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 13 /* 512 MB - default configuration */ 19 cpu-supply = <&sw1a_reg>; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_i2c1>; 25 clock-frequency = <100000>; 28 pfuze3000: pmic@8 { label 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_pmic1>; [all …]
|
| H A D | imx6ul-ccimx6ulsom.dtsi | 1 // 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 D | imx6ul-pico.dtsi | 1 // 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 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"; 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 | 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 | imx7d-sdb.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 /dts-v1/; 11 compatible = "fsl,imx7d-sdb", "fsl,imx7d"; 14 stdout-path = &uart1; 22 gpio-keys { 23 compatible = "gpio-keys"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_gpio_keys>; 27 volume-up { 31 wakeup-source; [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 | imx7d-zii-rmu2.dts | 1 // 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 D | imx6sx-udoo-neo.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 stdout-path = "serial0:115200n8"; 16 compatible = "gpio-leds"; 19 label = "udoo-neo:red:mmc"; 21 default-state = "off"; 22 linux,default-trigger = "mmc0"; 26 label = "udoo-neo:orange:user"; 28 default-state = "keep"; 32 reg_sdio_pwr: regulator-sdio-pwr { 33 compatible = "regulator-fixed"; [all …]
|
| H A D | imx7d-zii-rpu2.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * RPU - Remote Peripheral Unit 10 /dts-v1/; 11 #include <dt-bindings/thermal/thermal.h> 16 compatible = "zii,imx7d-rpu2", "fsl,imx7d"; 19 stdout-path = &uart2; 23 compatible = "fixed-clock"; 24 #clock-cells = <0>; 25 clock-frequency = <24576000>; 28 cs2000_in_dummy: dummy-oscillator { [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | imx7d-sdb.dts | 4 * SPDX-License-Identifier: GPL-2.0+ 7 /dts-v1/; 13 compatible = "fsl,imx7d-sdb", "fsl,imx7d"; 20 compatible = "spi-gpio"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_spi1>; 24 gpio-sck = <&gpio1 13 0>; 25 gpio-mosi = <&gpio1 9 0>; 26 cs-gpios = <&gpio1 12 0>; 27 num-chipselects = <1>; [all …]
|
| /OK3568_Linux_fs/u-boot/board/technexion/pico-imx6ul/ |
| H A D | pico-imx6ul.c | 6 * SPDX-License-Identifier: GPL-2.0+ 11 #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/mxc_i2c.h> 102 * According to KSZ8081MNX-RNB manual: in board_eth_init() 104 * minimum of 500μs. The strap-in pin values are read and updated in board_eth_init() 105 * at the de-assertion of reset. in board_eth_init() 111 * According to KSZ8081MNX-RNB manual: in board_eth_init() 112 * After the de-assertion of reset, wait a minimum of 100μs before in board_eth_init() [all …]
|
| /OK3568_Linux_fs/u-boot/board/technexion/pico-imx7d/ |
| H A D | pico-imx7d.c | 4 * SPDX-License-Identifier: GPL-2.0+ 9 #include <asm/arch/imx-regs.h> 10 #include <asm/arch/mx7-pins.h> 13 #include <asm/mach-imx/iomux-v3.h> 14 #include <asm/mach-imx/mxc_i2c.h> 62 gd->ram_size = PHYS_SDRAM_SIZE; in dram_init() 79 p = pmic_get("PFUZE3000"); in power_init_board() 86 printf("PMIC: PFUZE3000 DEV_ID=0x%x REV_ID=0x%x\n", reg, rev_id); in power_init_board() 181 clrsetbits_le32(&iomuxc_gpr_regs->gpr[1], in setup_fec() 208 if (phydev->drv->config) in board_phy_config() [all …]
|
| /OK3568_Linux_fs/u-boot/include/power/ |
| H A D | pfuze3000_pmic.h | 5 * SPDX-License-Identifier: GPL-2.0+ 10 /* PFUZE3000 registers */ 79 #define PFUZE3000_SW1AB_SETP(x) ((x - 7000) / 250) 80 #define PFUZE3000_SW3_SETP(x) ((x - 9000) / 500) 81 #define PFUZE3000_VLDO_SETP(x) ((x - 8000) / 500)
|
| H A D | pfuze100_pmic.h | 5 * SPDX-License-Identifier: GPL-2.0+ 12 enum {PFUZE100 = 0x10, PFUZE200 = 0x11, PFUZE3000 = 0x30}; enumerator 76 #define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250)
|
| /OK3568_Linux_fs/u-boot/board/freescale/mx7dsabresd/ |
| H A D | mx7dsabresd.c | 4 * 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> 24 #include <asm/mach-imx/mxc_i2c.h> 60 return (bus == 2 && cs == 0) ? (IMX_GPIO_NR(6, 22)) : -1; in board_spi_cs_gpio() 71 gd->ram_size = PHYS_SDRAM_SIZE; in dram_init() 208 devno--; in board_mmc_get_env_dev() 230 return -ENODEV; in board_eth_init() 234 if (ret && ret != -EBUSY) { in board_eth_init() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/regulator/ |
| H A D | pfuze100.c | 6 * SPDX-License-Identifier: GPL-2.0+ 19 * struct pfuze100_regulator_desc - regulator descriptor 44 * struct pfuze100_regulator_platdata - platform data for pfuze100 149 1000000, 1100000, 1200000, 1300000, 1500000, 1800000, 3000000, -1 153 -1, -1, -1, -1, -1, -1, 3000000, -1 196 /* PFUZE3000 */ 253 if (!strcmp(desc->name, name)) in se_desc() 271 dev->name); in pfuze100_regulator_probe() 276 dev->name); in pfuze100_regulator_probe() 278 case PFUZE3000: in pfuze100_regulator_probe() [all …]
|
| /OK3568_Linux_fs/u-boot/board/udoo/neo/ |
| H A D | neo.c | 2 * Copyright (C) 2014-2015 Freescale Semiconductor, Inc. 9 * SPDX-License-Identifier: GPL-2.0+ 14 #include <asm/arch/imx-regs.h> 16 #include <asm/arch/mx6-pins.h> 18 #include <asm/mach-imx/iomux-v3.h> 23 #include <asm/mach-imx/mxc_i2c.h> 78 gd->ram_size = imx_ddr_size(); in dram_init() 110 p = pmic_get("PFUZE3000"); in power_init_board() 117 printf("PMIC: PFUZE3000 DEV_ID=0x%x REV_ID=0x%x\n", reg, rev_id); in power_init_board() 285 reg = readl(&anatop->pll_enet); in setup_fec() [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/mx6ul_14x14_evk/ |
| H A D | mx6ul_14x14_evk.c | 4 * SPDX-License-Identifier: GPL-2.0+ 9 #include <asm/arch/imx-regs.h> 12 #include <asm/arch/mx6-pins.h> 15 #include <asm/mach-imx/iomux-v3.h> 16 #include <asm/mach-imx/boot_mode.h> 17 #include <asm/mach-imx/mxc_i2c.h> 30 #include <usb/ehci-ci.h> 80 * HDMI_nRST --> Q0 81 * ENET1_nRST --> Q1 82 * ENET2_nRST --> Q2 [all …]
|