- Jan 22, 2016
-
-
Simon Glass authored
To reduce the SPL image size, drop the LED features. Jerry does not have an LED and we can leave out GPIO support also. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is not needed for booting, so drop it from SPL to save about 300 bytes. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Enable this PMIC and regulator, which is used on jerry. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Use the full pinctrl driver in U-Boot proper. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We can make use of the device tree to configure pinctrl settings. Add this support for the driver so we can use it in U-Boot proper. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We can use the new clk_get_by_index() function to get the correct clock. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
If full pinctrl is enabled we don't need to manually set the pinctrl in the driver. It will happen automatically. Adjust the code to suit - we will still use manual mode in SPL. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We can use the new clk_get_by_index() function to get the correct clock. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We can use the new clk_get_by_index() function to get the correct clock. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The current approach of using uclass_get_device() is error-prone. Another clock (for example a fixed-clock) may cause it to break. Add a function that does a proper search. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It is useful to be able to read the rate of a peripheral clock. Add a handler for that. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The current name is confusing and a bit verbose. Rename it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present we use the same peripheral ID for clocks and pinctrl. While this works it is probably better to use the device tree clock binding ID for clocks. We can use the clk_get_by_index() function to find this. Update the clock drivers and the code that uses them. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This hangs when activated (by probing the PMIC). Disable it for now until we understand the root cause. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is defined in the device tree in Linux. Copy over the settings so that this can be used instead of hard-coding the reset line. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This has got out of sequence somehow. Fix it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Use the pwrseq uclass to find a suitable power sequence for the MMC device. If this is enabled in the device tree, we will pick it up automatically. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is easier to deal with when using generic code since it allows us to use a register index instead of naming each register. Adjust it, adding an enum to improve readability. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This saves some code space in SPL which is useful on jerry. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Some devices need special sequences to be used when starting up. Add a uclass for this. Drivers can be added to provide specific features as needed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add regulator support for the RK808 PMIC. It integrated 4 BUCKs and 8 LDOs all of which are supported by this driver. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This Rockchip PMIC provides features suitable for battery-powered applications. It is commonly used with Rockchip SoCs. Add a driver which provides register access. The regulator driver will use this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add this binding file since we now use it in U-Boot. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It is convenient to be able to see the status of all regulators in a list. Add this feature to the 'reg status' command. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a function which produces a flags word from a few common PIN_CONFIG settings. This is useful for simple pinctrl drivers that don't need to worry about drive strength, etc. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
There is sort-of race condition when a pinctrl device is probed. The pinctrl function is called which may end up using the same device as is being probed. This results in operations being used before the device is actually probed. For now, disallow pinctrl operations on pinctrl devices while probing. An alternative solution would be to move the operation to later in the device_probe() function (for pinctrl devices only) but this needs more thought. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Jeffy Chen authored
There's a 64K reserved area at the end of the first 4M. Store env there, so we can use fastboot to flash it. Signed-off-by:
Jeffy Chen <jeffy.chen@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Jeffy Chen authored
We will save boot mode flag in grf's os_reg[4], if fastboot requested or fastboot key pressed, try to enter fastboot mode at preboot stage. Signed-off-by:
Jeffy Chen <jeffy.chen@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Jeffy Chen authored
Add default android gpt partition table for kylin board. Use "gpt write mmc 0 $partitions" to apply. Signed-off-by:
Jeffy Chen <jeffy.chen@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Jeffy Chen authored
Call dm_scan_fdt_node() in rk3036 pinctrl uclass binding. Signed-off-by:
Jeffy Chen <jeffy.chen@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Jeffy Chen authored
After boot_ramdisk_high(), ramdisk would be relocated to initrd_start & initrd_end, so use them instead of rd_start & rd_end. Signed-off-by:
Jeffy Chen <jeffy.chen@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Add a method which can locate a clock for a device, given its index. This uses the normal device tree bindings to return the clock device and the first argument which is normally used as a peripheral ID in U-Boot. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
This commit intends to implement "fixed-clock" as in Linux. (drivers/clk/clk-fixed-rate.c in Linux) If you need a very simple clock to just provide fixed clock rate like a crystal oscillator, you do not have to write a new driver. This driver can support it. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
- Jan 21, 2016
-
-
git://git.denx.de/u-boot-dmTom Rini authored
-
git://git.denx.de/u-boot-i2c;Tom Rini authored
Merge branch 'master' of git://git.denx.de/u-boot-i2c; branch 'master' of git://git.denx.de/u-boot-nds32
-
Jelle van der Waa authored
Signed-off-by:
Jelle van der Waa <jelle@vdwaa.nl> [hdegoede@redhat.com: Minor cleanups] Signed-off-by:
Hans de Goede <hdegoede@redhat.com> applied with fixing 2 checkpatch warnings: WARNING: please, no space before tabs Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Hans de Goede authored
On sun6i and newer IFLG is a write-clear bit which is cleared by writing 1, rather then a normal r/w bit which is cleared by writing 0. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> applied with fixing 3 checkpatch warnings in drivers/i2c/mvtwsi.c: WARNING: line over 80 characters ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line Signed-off-by:
Heiko Schocher <hs@denx.de>
-
rick authored
Fix compile error with gcc 4.9.3 Signed-off-by:
rick <rick@andestech.com> Cc: Andes <uboot@andestech.com>
-
Simon Glass authored
Add a test for the 'bmp' command. Test both the uncompressed and compressed versions of the file, since they use different code paths. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Anatolij Gustschin <agust@denx.de>
-
Simon Glass authored
Test that text is displayed correctly when the console is rotated. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Anatolij Gustschin <agust@denx.de>
-