This is the most flexsible way for all fuel gauge driver to get
fdt config info from charge animation platdata.
Change-Id: I33aa52c34f2c62c10b58003a10e5a8d1d6e5d7d3
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
1. use ofdata_to_platdata() to parse fdt;
2. clean up code.
Change-Id: I75a6cb721e10fa1f30e59b101b3db0bb19df8001
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
1. compatible fdt node used on legacy U-Boot;
2. clean up code.
Change-Id: If9ad1df379b14d096e3310568bc39d2c5820753b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
min and max voltage are used to limit run time voltage, suspend
voltage should not limited by them.
Change-Id: I8b3660c51992d8baec6401630e3ec093b01b1260
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
1. make clean, make distclean and make mrproper;
2. objdump elf file;
Append 'clean', 'distclean', 'mrproper' or 'elf' to build command
Example:
./make.sh evb-px30 clean
./make.sh evb-px30 distclean
./make.sh evb-px30 mrproper
./make.sh evb-px30 elf
you can also use 'elf[option]', like: 'elf-D', 'elf-d', 'elf-S'...
[option] is not necessary(default -D), it would be used as objdump
command option.
Change-Id: If6402ee9b0f9bd79aa7f18703ce0061106b11e26
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Some pwm backlight may not need 'power-supply', let's make it as option
in pwm-backlight driver.
Change-Id: Ie25ab972b352cd66670fdccfdee45fa1199741ed
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Need to use a different name from host_vbus_drv
Change-Id: Ic62d9d1ef3321367aa1fdd703034a66524df2c9b
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
With kernel dtb support, there have two dtb and some device may the same,
skip it if already in the list, node in u-boot dtb will be used.
Change-Id: Ic9f8b73e3708a03416a9dc4ab6c72fa0184a6fdb
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Some Rockchip dts use invert level array for backligh.
Change-Id: Ic6b5e22031cf570a56bb2854ed10f3e7c24029cc
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Some pinctrl setting are not correct for rk3128, sync from kernel.
Change-Id: Ib98455ca61ca8a8b19cf2d8134d71ab358ac0a37
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
We need to get ofnode from a phandle, add interface to support
both live dt and fdt.
Change-Id: I01a5241e2eced37b68ab6556cc1b16001eecbe0f
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Use live dt interface for pinctrl_select_state_full()
Change-Id: I1cc892f59004a48f4f2e6adac2a17a03dbfcb81c
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Add to api for who can not get phandle from a device property.
Change-Id: I8395f02d1731a4bbb00af1e4fa9d151830fc54b0
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Load dtb from mmc/nand, rebuild live dt and scan dev.
Change-Id: If079b23702d0df333b62a14fcf3f6c2c37d3d670
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
After reloc and before dm_scan_init again, the dm_root is broken.
Change-Id: Ia5b1f762a396daa78d2498b160f89a951a4ec544
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
In some case with LIVE DT, some node always not valid.
Change-Id: I20ebc530f7addfef167dd5abbab46e8da0627dd8
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Convert to live dt for kernel dtb, display driver will depends on
OF_LIVE after this patch.
Change-Id: I536e936d551c0320f30dca82c9cf376e77589ffc
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
charge animation need display provided by DRM_ROCKCHIP.
Change-Id: I58113e81dd2899c969d1e748548a498eb04db550
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit adds rockusb and fastboot support for evb-px30 board.
Change-Id: I0ce468a829a506f74123427c5ac3d0fe9162bcae
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Uart2 and uart3 both have routed bit, use their rx pin to
switch m0 or m1.
Change-Id: Iae64bb675a1f8cc8e54c7b798bffcf89d68fb64f
Signed-off-by: David Wu <david.wu@rock-chips.com>
This change adds getting chip-info command support for rockusb.
Change-Id: Ie158c94eb0591e658947f3b0c47f4fc0ec0333d1
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
The RV1108 EVB switch to spl now, so we need
to update the README.
Change-Id: I1c300a53a8a5c76aafa4857f55956e0203df8634
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>