u-boot-brain/common
Przemyslaw Marczak e09b2a02d3 common: cmd regulator: command cleanup
This commit cleanups the regulator command.
The first change, is adjusting "regulator dev" command to use
"regulator-name" constraint, for setting the operating device.
Thanks to this, the regulator_get() function is removed.

This also updates do_list() function, with loop over uclass_find_*
function calls, to prevent probe of all listed regulators.

This also cleanups the printing in command.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg@chromium.org>
2015-05-14 19:58:34 -06:00
..
spl spl: Correct address in spl_relocate_stack_gd() 2015-05-14 06:57:23 -04:00
aboot.c
autoboot.c
bedbug.c
board_f.c Fix comment nits in board_f.c 2015-04-29 21:02:32 -06:00
board_info.c generic-board: show model name in board_init_f() too 2015-01-29 17:09:49 -07:00
board_r.c ppc4xx: Remove sc3 board 2015-05-10 09:59:38 -04:00
bootm_os.c image: bootm: Add OpenRTOS image type 2015-01-14 11:37:39 -05:00
bootm.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
bootretry.c
bootstage.c
bouncebuf.c
cli_hush.c
cli_readline.c
cli_simple.c
cli.c
cmd_aes.c
cmd_ambapp.c
cmd_armflash.c common/armflash: Support for ARM flash images 2015-04-10 11:54:08 -04:00
cmd_bdinfo.c Avoid calling print_eths() with driver model 2015-04-18 11:11:36 -06:00
cmd_bedbug.c
cmd_blob.c crypto/fsl: Make function names consistent for blob encapsulation/decapsulation. 2015-02-25 13:19:48 -08:00
cmd_bmp.c
cmd_boot.c
cmd_bootldr.c
cmd_bootm.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_bootmenu.c
cmd_bootstage.c Kconfig: Move CONFIG_BOOTSTAGE to Kconfig 2015-04-18 11:11:37 -06:00
cmd_cache.c
cmd_cbfs.c
cmd_clk.c
cmd_console.c
cmd_cplbinfo.c
cmd_cpu.c Add a 'cpu' command to print CPU information 2015-04-29 21:02:33 -06:00
cmd_cramfs.c
cmd_dataflash_mmc_mux.c
cmd_date.c dm: rtc: Convert 'date' command to support driver model 2015-05-05 20:58:40 -06:00
cmd_dcr.c
cmd_demo.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_dfu.c dfu: cmd: trigger watchdog before calling usb_gadget_handle_interrupts 2015-04-14 10:18:49 +02:00
cmd_diag.c
cmd_disk.c
cmd_display.c
cmd_dtt.c
cmd_echo.c
cmd_eeprom.c cmd_eeprom: make it possible to define the used i2c bus 2015-02-17 10:42:53 +01:00
cmd_elf.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
cmd_exit.c
cmd_ext2.c
cmd_ext4.c
cmd_fastboot.c fastboot: Proper download gadget unregister and clear when cable is missing 2015-04-14 10:19:05 +02:00
cmd_fat.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_fdc.c
cmd_fdt.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_fitupd.c
cmd_flash.c
cmd_fpga.c fpga: Extend dump description 2015-01-30 09:19:17 -05:00
cmd_fpgad.c
cmd_fs_uuid.c
cmd_fs.c fs: Add command to retrieve the filesystem type 2015-01-29 13:36:54 -05:00
cmd_fuse.c
cmd_gettime.c cmd: Fix gettime command help 2015-01-30 09:19:16 -05:00
cmd_gpio.c
cmd_gpt.c gpt: support random UUIDs without setting environment variables 2015-03-05 11:17:53 -05:00
cmd_hash.c
cmd_help.c
cmd_host.c sandbox: Implement host dev [device] 2015-04-19 14:45:57 -06:00
cmd_i2c.c dm: i2c: Implement 'i2c bus' command for driver model 2015-05-14 18:49:33 -06:00
cmd_ide.c
cmd_immap.c
cmd_ini.c
cmd_io.c
cmd_iotrace.c
cmd_irq.c
cmd_itest.c
cmd_jffs2.c
cmd_ldrinfo.c
cmd_led.c cmd_led: Extend led command to support blinking and more leds 2015-04-23 09:43:08 -04:00
cmd_license.c
cmd_load.c Export redesign 2015-01-29 17:09:57 -07:00
cmd_log.c
cmd_lzmadec.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_mac.c
cmd_md5sum.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_mdio.c
cmd_mem.c Fix broken verify functionality in crc32 command 2015-05-10 09:59:37 -04:00
cmd_mfsl.c
cmd_mii.c mii: add read-modify-write option to mii command 2015-04-20 17:57:12 -05:00
cmd_misc.c
cmd_mmc_spi.c
cmd_mmc.c mmc: Implement SD/MMC versioning properly 2015-02-23 19:34:29 +02:00
cmd_mp.c
cmd_mtdparts.c
cmd_nand.c cmd, nand: add more info to "nand info" 2015-04-23 14:56:08 -04:00
cmd_net.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
cmd_nvedit.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_onenand.c
cmd_otp.c
cmd_part.c cmd_part: fix usage text 2015-05-10 07:29:38 -04:00
cmd_pci.c dm: pci: Add a uclass for PCI 2015-04-16 19:27:43 -06:00
cmd_pcmcia.c
cmd_pmic.c common: cmd pmic: command cleanup 2015-05-14 19:58:34 -06:00
cmd_portio.c
cmd_pxe.c pxe: Ensure all memory access is to mapped memory 2015-04-19 14:45:58 -06:00
cmd_read.c
cmd_reginfo.c
cmd_regulator.c common: cmd regulator: command cleanup 2015-05-14 19:58:34 -06:00
cmd_reiser.c
cmd_sata.c
cmd_scsi.c cmd_scsi: Enable SoC AHCI device on platforms with PCI 2015-04-22 12:14:56 -04:00
cmd_setexpr.c Use map_sysmem when accessing memory in setexpr 2015-05-14 07:03:15 -04:00
cmd_sf.c cmd_sf: Fix problem with "sf update" and unaligned length 2015-04-22 16:49:51 +05:30
cmd_sha1sum.c
cmd_softswitch.c
cmd_sound.c
cmd_source.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_spi.c
cmd_spibootldr.c
cmd_spl.c
cmd_strings.c
cmd_terminal.c
cmd_test.c
cmd_thordown.c usb: gadget: thor: Invoke board specific USB cleanup interface 2015-04-14 05:48:11 +02:00
cmd_time.c
cmd_tpm.c
cmd_trace.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_tsi148.c
cmd_ubi.c common, ubi: use positive return values for ubi check 2015-04-10 11:54:06 -04:00
cmd_ubifs.c
cmd_universe.c
cmd_unzip.c unzip: add gzwrite command to write compressed image to block device 2015-04-22 12:14:55 -04:00
cmd_usb_mass_storage.c cmd_usb_mass_storage: Use 'USB Mass Storage' in the help text 2015-04-14 09:50:47 +02:00
cmd_usb.c dm: usb: Convert 'usb' command to support driver model 2015-04-18 11:11:20 -06:00
cmd_version.c
cmd_ximg.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
cmd_yaffs2.c cmd_yaffs: Clean up command usage messages 2015-03-05 20:13:20 -05:00
cmd_zfs.c
cmd_zip.c
command.c
console.c Export redesign 2015-01-29 17:09:57 -07:00
cros_ec.c cros_ec: Remove unused cros_ec_board_init() function 2015-04-18 11:11:16 -06:00
ddr_spd.c
dlmalloc.c Move initf_malloc() to a common place 2015-04-23 09:05:53 -06:00
dlmalloc.src
edid.c edid: Add a function to read detailed monitor timings 2015-05-13 09:24:10 -07:00
env_attr.c
env_callback.c
env_common.c
env_dataflash.c
env_eeprom.c
env_embedded.c
env_fat.c
env_flags.c
env_flash.c
env_mmc.c
env_nand.c
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c
env_sf.c env_sf: Fix recovery default 2015-04-07 08:41:10 -04:00
env_ubi.c
exports.c Export redesign 2015-01-29 17:09:57 -07:00
fb_mmc.c fastboot: check for alias when looking up partition by name 2015-04-14 10:19:04 +02:00
fdt_support.c fdt: Correct warning in fdt_setup_simplefb_node() 2015-05-05 20:58:19 -06:00
flash.c
hash.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
hwconfig.c
image-android.c image: android: handle default kernel address 2015-05-08 17:24:17 -04:00
image-fdt.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
image-fit.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
image-sig.c image: Convert to use fdt_for_each_subnode macro 2015-02-16 12:41:41 -05:00
image.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
iomux.c
iotrace.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
kallsyms.c
Kconfig dm: regulator: add regulator command 2015-05-14 18:49:37 -06:00
kgdb_stubs.c
kgdb.c
lcd_console_rotation.c common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
lcd_console.c common/lcd_console: introduce display/framebuffer rotation 2015-04-18 17:40:37 +02:00
lcd_simplefb.c lcd: dt: extract simplefb support 2015-02-10 13:31:26 +01:00
lcd.c Merge branch 'master' of git://git.denx.de/u-boot-video 2015-04-20 09:13:52 -04:00
lynxkdi.c
main.c
Makefile dm: regulator: add regulator command 2015-05-14 18:49:37 -06:00
malloc_simple.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
memsize.c
menu.c
miiphyutil.c dm: net: Adjust PHY interface to work with CONFIG_DM_ETH 2015-04-18 11:11:36 -06:00
modem.c
s_record.c
splash_source.c common: convert compulab splash load code to common code 2015-01-29 17:44:08 +01:00
splash.c lcd: split splash code into its own function 2015-02-10 13:31:58 +01:00
stdio.c
system_map.c
update.c net: cosmetic: Fix checkpatch.pl failures in net.c 2015-04-18 11:11:35 -06:00
usb_hub.c usb: add device connection/disconnection detection 2015-05-14 18:49:33 -06:00
usb_kbd.c dm: usb: Support driver model with USB keyboards 2015-04-18 11:11:25 -06:00
usb_storage.c dm: usb: Convert usb_storage to driver model 2015-04-18 11:11:23 -06:00
usb.c usb: add device connection/disconnection detection 2015-05-14 18:49:33 -06:00
xyzModem.c