X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=common%2FKconfig;h=632ceddbf49e0fdbb80086a7ccf8c0904b372369;hb=7ca98c2682585589cb5abdc65c92017aa1ce3d08;hp=3cbe7bcdea32491684f2ee9e4bd91dbd0e5b1eb2;hpb=a0d5fa9cba669fdc174b8017616af3a368859acb;p=karo-tx-uboot.git diff --git a/common/Kconfig b/common/Kconfig index 3cbe7bcdea..632ceddbf4 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -317,6 +317,14 @@ config CMD_SOURCE help Run script from memory +config CMD_SETEXPR + bool "setexpr" + help + Evaluate boolean and math expressions and store the result in an env + variable. + Also supports loading the value at a memory location into a variable. + If CONFIG_REGEX is enabled, setexpr also supports a gsub function. + endmenu menu "Network commands" @@ -634,7 +642,29 @@ config CMD_PMIC - pmic read address - read byte of register at address - pmic write address - write byte to register at address The only one change for this command is 'dev' subcommand. + +config CMD_REGULATOR + bool "Enable Driver Model REGULATOR command" + depends on DM_REGULATOR + help + This command is based on driver model regulator's API. + User interface features: + - list - list regulator devices + - regulator dev - show or [set] operating regulator device + - regulator info - print constraints info + - regulator status - print operating status + - regulator value - print/[set] voltage value [uV] + - regulator current - print/[set] current value [uA] + - regulator mode - print/[set] operating mode id + - regulator enable - enable the regulator output + - regulator disable - disable the regulator output + + The '-f' (force) option can be used for set the value which exceeds + the limits, which are found in device-tree and are kept in regulator's + uclass platdata structure. + endmenu + endmenu menu "Environment configuration settings"