Re: [U-Boot] [PATCH 2/3] rockchip: doc: update U-Boot location info

2017-11-03 Thread Dr. Philipp Tomsich
> On 2 Nov 2017, at 08:16, Kever Yang wrote: > > Update rockchip U-Boot location to 0x4000/16384. > > Signed-off-by: Kever Yang > --- > > doc/README.rockchip | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

Re: [U-Boot] [PATCH 1/2] rockchip: config: sync the ENV offset from rockchip legacy U-Boot

2017-11-03 Thread Dr. Philipp Tomsich
> On 31 Oct 2017, at 08:52, Kever Yang wrote: > > Using the ENV offset from rockchip legacy U-Boot for all SoCs, > the offset is 4MB-32KB > > Signed-off-by: Kever Yang > --- > > include/configs/rockchip-common.h | 15 +++ > 1

[U-Boot] [PATCH v4 8/8] mx53: Add Board support for GE PPD

2017-11-03 Thread Martyn Welch
From: Peter Senna Tschudin Create board support for GE PPD, based on mx53loco. Use mx53ppd_defconfig make target to configure for this board. Signed-off-by: Peter Senna Tschudin Signed-off-by: Ian Ray Signed-off-by: Nandor

[U-Boot] [PATCH v4 5/8] bootcount: add support for bootcounter on EXT filesystem

2017-11-03 Thread Martyn Welch
From: Ian Ray Add support for bootcounter on an EXT filesystem. Sync configuration whitelist. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch --- Changes for v2: - Adding Kconfig for EXT bootcount. Changes for v3: - Add

[U-Boot] [PATCH v4 6/8] rtc: add support for s35392a

2017-11-03 Thread Martyn Welch
From: Nandor Han Add support for S35392A RTC. The driver supports both U-Boot driver models. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Heiko Schocher --- drivers/rtc/Kconfig | 6 +

[U-Boot] [PATCH] ARM: Samsung: Add Exynos5422-based Odroid HC1 support

2017-11-03 Thread Marek Szyprowski
Odroid HC1 board is based on Odroid XU4 board, but it has no HDMI, no eMMC, no build-in USB3.0 hub, no extension port pins, and no GPIO button. USB3.0 ports are used for build-in JMicron USB to SATA bridge and Gigabit R8152 ethernet chips. HC1 uses only passive cooling. This patch also updates

[U-Boot] [PATCH v2 1/1] sunxi: Fix A20-OLinuXino-MICRO LAN8710 support

2017-11-03 Thread Stefan Mavrodiev
From revision J the board uses new phy chip LAN8710. Compared with RTL8201, RA17 pin is TXERR. It has pullup which causes phy not to work. To fix this PA17 is muxed with GMAC function. This makes the pin output-low. Signed-off-by: Stefan Mavrodiev --- Changes for v2: -

[U-Boot] [PATCH] serial: nulldev: Implement "pending" function to fix tstc return "true"

2017-11-03 Thread Wilson Lee
In U-boot, serial_tstc was use to determine is there have a character in serial console that pending for read. If there is no "pending" function implemented in serial driver, the serial-uclass will return "true(1)" to indicate there have a character pending to read. Thus, read a character from

[U-Boot] Enabling saveenv in baltos

2017-11-03 Thread Aditya Purohit
I have compiled u-boot with the am335x_baltos_defconfig. I am working on Baltos ir 2110. Howewver the saveenv command is not available with the default configuration of u-boot for baltos. Is there any specific reason for that. Also what is the best way to enable saveenv for u-boot. -- Thanks

[U-Boot] [PATCH] Do not attempt to use the systemwide libfdt

2017-11-03 Thread Jan Kundrát
U-Boot bundles a patched copy of libfdt, so it's wrong to attempt to include it . This breaks the build for me when I have dtc fully installed in my host -- as happened earlier tonight with Buildroot, for example. There are several other occurrences throughout the code where '

[U-Boot] [PATCH v4 4/8] arm: mx5: Add more register definitions

2017-11-03 Thread Martyn Welch
Add register definitions require for video configuration. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Reviewed-by: Stefano Babic Cc: Stefano Babic --- arch/arm/include/asm/arch-mx5/crm_regs.h | 9

[U-Boot] [PATCH] mmc-uclass: spl: upriv->mmc override by host descriptor address

2017-11-03 Thread Jagan Teki
This specific issue observed with SPL_DM_MMC in falcon mode on rk3288 which used dw_mmc.c driver. Bug details: --- based on the falcon configuration, SPL trying to read the kernel from specified sectors, while mmc sending multi-block command(CMD18) the host descriptor address here

[U-Boot] [PATCH v4 2/8] ext4: recover from filesystem corruption when reading

2017-11-03 Thread Martyn Welch
From: Ian Ray Some fixes when reading EXT files and directory entries were identified after using e2fuzz to corrupt an EXT3 filesystem: - Stop reading directory entries if the offset becomes badly aligned. - Avoid overwriting memory by clamping the length used to zero the

[U-Boot] [PATCH v4 1/8] imx: mxc_i2c: tweak the i2c transfer method

2017-11-03 Thread Martyn Welch
From: Nandor Han Tweak the i2c transfer to work for devices that want to read data without addressing a register. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Acked-by: Heiko Schocher Cc: Heiko

[U-Boot] [PATCH v4 0/8] Add support for GE PPD

2017-11-03 Thread Martyn Welch
This series adds support for the GE PPD. The initial patches in this series resolve issues found during development and testing, extend existing support and add new support for devices in the PPD. The final patch in the series adds the board support for the PPD. Ian Ray (2): ext4: recover from

[U-Boot] [PATCH v4 3/8] pwm: imx: Enable PWM support on i.MX53

2017-11-03 Thread Martyn Welch
Add missing parts for i.MX53 PWM support Acked-by: Nandor Han Signed-off-by: Martyn Welch --- Changes for v4: - Removed ifdef. arch/arm/include/asm/arch-mx5/imx-regs.h | 17 + drivers/pwm/pwm-imx-util.c | 2 ++

[U-Boot] [PATCH v4 7/8] board: ge: make VPD code common

2017-11-03 Thread Martyn Welch
The VPD data is used on a number of GE products. Move the parsing code to a common location so that we can share this code. Signed-off-by: Martyn Welch --- Changes in v4: - New patch. board/ge/bx50v3/Makefile | 2 +- board/ge/bx50v3/bx50v3.c

[U-Boot] [PATCH v2 2/3] net: sh-eth: remove sh_eth_offset_rz table

2017-11-03 Thread Chris Brandt
First, this table could never be included in the build anyway because SH_ETH_TYPE_RZ is not defined until later in the file. Second, the register PIR was missing, so PHY MDIO never worked. Third, after adding the PIR register, the table is EXACTLY the same as sh_eth_offset_gigabit, so there is no

[U-Boot] [PATCH v2 0/3] net: update Ethernet for Renesas RZ/A1

2017-11-03 Thread Chris Brandt
These are some fixes to support the Renesas RZ/A1 SoC. You can see there were some considerations for RZ/A1 (R7S72100) in the code already, but not completely enough to actually get it working. This was tested on a RZ/A1H RSK board (the same board used for upstream Linux kernel

Re: [U-Boot] [PATCH v2 0/3] net: update Ethernet for Renesas RZ/A1

2017-11-03 Thread Chris Brandt
On Friday, November 03, 2017, Chris Brandt wrote: > These are some fixes to support the Renesas RZ/A1 SoC. > You can see there were some considerations for RZ/A1 (R7S72100) > in the code already, but not completely enough to actually get > it working. > > This was tested on a RZ/A1H RSK board

[U-Boot] [PATCH v3 1/3] mx25: Move MX25 selection to Kconfig

2017-11-03 Thread Fabio Estevam
From: Fabio Estevam The motivation for moving MX25 selection to Kconfig is to be able to better handle MX25 specific errata, so that an errata option can be selected at SoC level instead of board level. This selection method also aligns with the way other i.MX SoCs are

[U-Boot] [PATCH v3 3/3] mx51: Select the ESDHC_A001 erratum

2017-11-03 Thread Fabio Estevam
From: Fabio Estevam When a high speed card is connected to mx51evk the following error is seen: U-Boot 2017.11-rc2 (Oct 18 2017 - 13:49:26 -0200) CPU: Freescale i.MX51 rev3.0 at 800 MHz Reset cause: POR Board: MX51EVK DRAM: 512 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 ***

Re: [U-Boot] [GIT PULL] Xilinx fix for v2017.11

2017-11-03 Thread Tom Rini
On Fri, Nov 03, 2017 at 09:35:25AM +0100, Michal Simek wrote: > Hi Tom, > > please pull this fix to your tree. It is fixing sata driver for zynqmp. > > Thanks, > Michal > > > The following changes since commit a0cdb534e121185a72c881e76fa802486eba0f4f: > > Merge

[U-Boot] regenerate a FIT image from u-boot

2017-11-03 Thread Valerio Bardelli
Hi all, we have a problem about updating (via u-boot) our RTOS using a fit image that comes from a USB key. The scenario is: we encrypt our application, with our RTOS linked to, and put it in a fit image signed. Then we put it in a USB key and we insert it on our board. At the start u-boot

[U-Boot] [PATCH v2 1/3] net: sh-eth: fix inl and outl definitions

2017-11-03 Thread Chris Brandt
The macros inl and outl maybe already be defined from file arch/arm/include/asm/io.h so there may be no reason to define them. And if you do try defined them here, you get a redefined complier warning. Signed-off-by: Chris Brandt --- drivers/net/sh_eth.h | 4 +++- 1

[U-Boot] Support of latest qemux86-64

2017-11-03 Thread Anton Gerasimov
Hi all, I'm trying to use u-boot (v2017.01) with qemu-system-x86_64 v2.10.0 and run into a "trying to execute code outside of RAM or ROM at x" issue. It happens both when I build and use u-boot as a bios and as EFI payload, just the addresses in the error message are different. On qemu v2.5.0

Re: [U-Boot] [PATCH v2 1/1] sunxi: Fix A20-OLinuXino-MICRO LAN8710 support

2017-11-03 Thread Stefan Mavrodiev
On 11/03/2017 01:07 PM, Karsten Merker wrote: On Fri, Nov 03, 2017 at 08:56:51AM +0200, Stefan Mavrodiev wrote: From revision J the board uses new phy chip LAN8710. Compared with RTL8201, RA17 pin is TXERR. It has pullup which causes phy not to work. To fix this PA17 is muxed with GMAC

[U-Boot] [PATCH v2 3/3] net: miiphybb: fix casting error

2017-11-03 Thread Chris Brandt
Since the return value is a signed int, if the leading MSB of rdreg is a 1, it will get signed extended and will return a negative value which is an error even though we read the correct value. Fixes: dfcc496ed7e2 ("net: mii: Changes not made by spatch") Signed-off-by: Chris Brandt

[U-Boot] [PATCH] cosmetic: rmobile: renesas spelled wrong

2017-11-03 Thread Chris Brandt
Renesas was spelled wrong. Signed-off-by: Chris Brandt --- arch/arm/mach-rmobile/Kconfig.32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rmobile/Kconfig.32 b/arch/arm/mach-rmobile/Kconfig.32 index 89588aaf72..49d6206ac2 100644 ---

[U-Boot] [PATCH v3 2/3] mx25: Select the ESDHC_A001 erratum

2017-11-03 Thread Fabio Estevam
From: Fabio Estevam When a high speed card is connected to mx25 the following error is seen: U-Boot 2017.11-rc2-00104-gb79372a (Oct 31 2017 - 11:02:22 -0200) CPU: Freescale i.MX25 rev1.2 at 399 MHz Reset cause: POR Board: MX25PDK I2C: ready DRAM: 64

Re: [U-Boot] [PATCH] sunxi: set the default CPUx frequency of H5 to 816MHz

2017-11-03 Thread Maxime Ripard
On Fri, Nov 03, 2017 at 02:21:51PM +0530, Jagan Teki wrote: > On Thu, Nov 2, 2017 at 7:26 PM, Maxime Ripard > wrote: > > On Wed, Nov 01, 2017 at 08:31:46AM +0800, Icenowy Zheng wrote: > >> 在 2017-10-31 21:54,Maxime Ripard 写道: > >> > On Tue, Oct 31, 2017 at

Re: [U-Boot] [PATCH 1/2] sunxi: binman: Add U-Boot binary size check

2017-11-03 Thread Frank Kunz
Am Freitag, 3. November 2017, 09:42:44 CET schrieb Maxime Ripard: > Hi Frank, > > On Thu, Nov 02, 2017 at 04:53:54PM +0100, Frank Kunz wrote: > > Am Donnerstag, 19. Oktober 2017, 16:04:18 CET schrieb Maxime Ripard: > > > The U-boot binary may trip over its actual allocated size in the > > >

Re: [U-Boot] Support of latest qemux86-64

2017-11-03 Thread Anton Gerasimov
Some more details: EFI on QEMU v2.9.0 works as well, it's v2.10.0 where some incompatibilities are introduced. The last stable tag of u-boot that works (under qemu <= v2.9.0) as BIOS for me is v2015.07. Starting from v2015.10 when I run     qemu-system-x86_64 --bios u-boot.rom -nographic I get

[U-Boot] [PATCH 2/9] ARM: dts: rockchip: rk3288-vyasa: Remove vdd_log from rk808, DCDC_REG1

2017-11-03 Thread Jagan Teki
vdd_log, never used on DCDC_REG1 of rk808 from latest schematic so remove the same and update the regulator-name as 'vdd_arm' to sync with existing rk3288 board dts files. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vyasa.dts | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH 0/9] rockchip: rk3288-vyasa: dts fixes/additions

2017-11-03 Thread Jagan Teki
Series add new dts nodes like gmac, usb and fixed existing regulator, pmic stuff as per schematic. Jagan Teki (9): ARM: dts: rockchip: Sync rk3288-vyasa dts from Linux ARM: dts: rockchip: rk3288-vyasa: Remove vdd_log from rk808, DCDC_REG1 ARM: dts: rockchip: rk3288-vyasa: Use vmmc-supply

[U-Boot] [PATCH 1/9] ARM: dts: rockchip: Sync rk3288-vyasa dts from Linux

2017-11-03 Thread Jagan Teki
Sync rk3288-vyasa board dts from Linux for proper updates and maintenance - rk3288-vyasa.dts: Similar to Linux dts - rk3288-vyasa-u-boot.dtsi: u-boot dts changes Also updated MAINTAINERS for these dts files. Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH 3/9] ARM: dts: rockchip: rk3288-vyasa: Use vmmc-supply from PMIC

2017-11-03 Thread Jagan Teki
rk808, SWITCH_REG1 has configured for sdmmc regulator as vcc_sd, so use the same by renaming vcc33_sd to vcc_sd(as per schematic) and drop explicit regulator definition from root. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vyasa.dts | 22 ++

Re: [U-Boot] [PATCH v3 2/3] mx25: Select the ESDHC_A001 erratum

2017-11-03 Thread Otavio Salvador
On Fri, Nov 3, 2017 at 1:40 PM, Fabio Estevam wrote: > From: Fabio Estevam > > When a high speed card is connected to mx25 the following error is seen: > > U-Boot 2017.11-rc2-00104-gb79372a (Oct 31 2017 - 11:02:22 -0200) > > CPU: Freescale i.MX25

[U-Boot] [PATCH 5/9] ARM: dts: rockchip: Add gmac support for rk3288-vyasa board

2017-11-03 Thread Jagan Teki
Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vyasa.dts | 41 + 1 file changed, 41 insertions(+) diff --git a/arch/arm/dts/rk3288-vyasa.dts b/arch/arm/dts/rk3288-vyasa.dts index f56e10c..47fdd91 100644 ---

[U-Boot] [PATCH 9/9] rockchip: rk3288-vyasa: defconfig: Enable USB host and otg

2017-11-03 Thread Jagan Teki
Enable USB host and otg for rk3288-vyasa board. Signed-off-by: Jagan Teki --- configs/vyasa-rk3288_defconfig | 13 + 1 file changed, 13 insertions(+) diff --git a/configs/vyasa-rk3288_defconfig b/configs/vyasa-rk3288_defconfig index f6bf59e..3097480

Re: [U-Boot] [PATCH] armv8: update gd after relocate

2017-11-03 Thread Dr. Philipp Tomsich
> On 3 Nov 2017, at 03:10, Kever Yang wrote: > > We need to update gd in assamble code after relocate, > this is a fix to: > adc421e arm: move gd handling outside of C code > > Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich

[U-Boot] [GIT PULL] Xilinx fix for v2017.11

2017-11-03 Thread Michal Simek
Hi Tom, please pull this fix to your tree. It is fixing sata driver for zynqmp. Thanks, Michal The following changes since commit a0cdb534e121185a72c881e76fa802486eba0f4f: Merge git://git.denx.de/u-boot-rockchip (2017-11-01 09:32:14 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH 1/2] sunxi: binman: Add U-Boot binary size check

2017-11-03 Thread Maxime Ripard
Hi Frank, On Thu, Nov 02, 2017 at 04:53:54PM +0100, Frank Kunz wrote: > Am Donnerstag, 19. Oktober 2017, 16:04:18 CET schrieb Maxime Ripard: > > The U-boot binary may trip over its actual allocated size in the storage. > > In such a case, the environment will not be readable anymore (because > >

Re: [U-Boot] sunxi: broken sun4i_emacs, all boards?

2017-11-03 Thread Maxime Ripard
Hi Artturi, On Thu, Nov 02, 2017 at 10:57:05PM +0200, Artturi Alm wrote: > On Sun, Oct 22, 2017 at 11:08:43PM +0300, Artturi Alm wrote: > > Hi, > > > > this has been 'blocking' my attempts to revive the A10-boards i have > > since early june, or so. > > > > now i found this commit

Re: [U-Boot] [PATCH] sunxi: set the default CPUx frequency of H5 to 816MHz

2017-11-03 Thread Jagan Teki
On Thu, Nov 2, 2017 at 7:26 PM, Maxime Ripard wrote: > On Wed, Nov 01, 2017 at 08:31:46AM +0800, Icenowy Zheng wrote: >> 在 2017-10-31 21:54,Maxime Ripard 写道: >> > On Tue, Oct 31, 2017 at 04:05:36PM +0800, icen...@aosc.io wrote: >> > > 在 2017-10-31 15:57,Jagan

Re: [U-Boot] [RFC] mmc: fsl_esdhc: Do not set high speed mode on MX25 and MX51

2017-11-03 Thread Fabio Estevam
Hi Benoît, On Sun, Oct 29, 2017 at 7:18 PM, Benoît Thébaudeau wrote: > Of course we can, but CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 seems to be > the most optimal approach here, so I'll wait for the answer from your > design team before doing anything. I received

Re: [U-Boot] sunxi: broken sun4i_emacs, all boards?

2017-11-03 Thread Artturi Alm
On Fri, Nov 03, 2017 at 09:45:56AM +0100, Maxime Ripard wrote: > Hi Artturi, > > On Thu, Nov 02, 2017 at 10:57:05PM +0200, Artturi Alm wrote: > > On Sun, Oct 22, 2017 at 11:08:43PM +0300, Artturi Alm wrote: > > > Hi, > > > > > > this has been 'blocking' my attempts to revive the A10-boards i

[U-Boot] [PATCH 6/9] rockchip: rk3288-vyasa: defconfig: Enable gmac support

2017-11-03 Thread Jagan Teki
Enable gmac support for rk3288-vyasa board. Signed-off-by: Jagan Teki --- configs/vyasa-rk3288_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/vyasa-rk3288_defconfig b/configs/vyasa-rk3288_defconfig index 7091586..f6bf59e 100644 ---

[U-Boot] [PATCH 4/9] ARM: dts: rockchip: Add regulators for rk3288-vyasa

2017-11-03 Thread Jagan Teki
Add supporting regulators for rk3288-vyasa board, dc12_vbat is parent regulatorand followed regulators as are child regulators. regulator naming conversion followed as per schematic for better readability and easy for identification. Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH 8/9] ARM: dts: rockchip: Add usb otg for rk3288-vyasa

2017-11-03 Thread Jagan Teki
Add usb otg support for rk3288-vyasa, board support usb1 otg power through otg_vbus_drv and naming conversion followed as per schematic. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vyasa.dts | 25 + 1 file changed, 25 insertions(+) diff

[U-Boot] [PATCH 1/2] rk3288: tinker: Add TPL support

2017-11-03 Thread Jagan Teki
Since the size of SPL can't be exceeded 0x8000 bytes in RK3288, it is not possible add new SPL features like Falcon mode or etc. So add TPL stage so-that adding new features to SPL is possible. - TPL: DRAM init, clocks - SPL: MMC, falcon, etc Signed-off-by: Jagan Teki

[U-Boot] [PATCH 2/2] rk3288: tinker: Add falcon mode support

2017-11-03 Thread Jagan Teki
Add Falcon mode support in tinker rk3288 board. Signed-off-by: Jagan Teki --- Note: This patch[1] need to work falcon [1] https://patchwork.ozlabs.org/patch/833821/ board/rockchip/tinker_rk3288/tinker-rk3288.c | 13 + include/configs/tinker_rk3288.h

[U-Boot] [PATCH 7/9] ARM: dts: rockchip: Add usb host for rk3288-vyasa

2017-11-03 Thread Jagan Teki
Add usb host support for rk3288-vyasa, board support hub power through phy_pwr_en and usb2 host power through usb2_pwr_en and naming conversion followed as per schematic. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vyasa.dts | 48

Re: [U-Boot] [PATCH v3 1/3] mx25: Move MX25 selection to Kconfig

2017-11-03 Thread Benoît Thébaudeau
On Fri, Nov 3, 2017 at 4:40 PM, Fabio Estevam wrote: > From: Fabio Estevam > > The motivation for moving MX25 selection to Kconfig is to be > able to better handle MX25 specific errata, so that an errata option > can be selected at SoC level instead of

Re: [U-Boot] [RFC] mmc: fsl_esdhc: Do not set high speed mode on MX25 and MX51

2017-11-03 Thread Benoît Thébaudeau
Hi Fabio, On Fri, Nov 3, 2017 at 4:17 PM, Fabio Estevam wrote: > On Sun, Oct 29, 2017 at 7:18 PM, Benoît Thébaudeau > wrote: > >> Of course we can, but CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 seems to be >> the most optimal approach here, so I'll

[U-Boot] [RESEND PATCH 1/2] drivers/reset: support rockchip reset drivers

2017-11-03 Thread Kever Yang
From: Elaine Zhang Create driver to support all Rockchip SoCs soft reset. Example of usage: i2c driver: ret = reset_get_by_name(dev, "i2c", _ctl); if (ret) { error("reset_get_by_name() failed: %d\n", ret); }

[U-Boot] [RESEND PATCH 2/2] rockchip: clk: add device_bind_driver_to_node for reset driver

2017-11-03 Thread Kever Yang
From: Elaine Zhang all rockchip socs add device_bind_driver_to_node, to bound device rockchip reset to clock-controller. Signed-off-by: Elaine Zhang Signed-off-by: Kever Yang ---

[U-Boot] [PATCH v3 2/2] rockchip: clock: update sysreset driver bingding

2017-11-03 Thread Kever Yang
Using priv for new sysreset driver binding. Signed-off-by: Kever Yang --- Changes in v3: - do not init priv if driver bind fail Changes in v2: - use udev priv member instead of driver_data drivers/clk/rockchip/clk_rk3036.c | 17 ++---

[U-Boot] [PATCH v3 1/2] rockchip: sysreset: merge into one common driver

2017-11-03 Thread Kever Yang
Use a common driver for all Rockchip SOC instead of one for each SoC. Use driver_data for reg offset. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: - use udev priv member instead of driver_data arch/arm/include/asm/arch-rockchip/clock.h | 5 +++

[U-Boot] [PATCH 2/2] rockchip: clk: add device_bind_driver_to_node for reset driver

2017-11-03 Thread Kever Yang
From: Elaine Zhang all rockchip socs add device_bind_driver_to_node, to bound device rockchip reset to clock-controller. Signed-off-by: Elaine Zhang Signed-off-by: Kever Yang ---

[U-Boot] [PATCH 1/2] drivers/reset: support rockchip reset drivers

2017-11-03 Thread Kever Yang
From: Elaine Zhang Create driver to support all Rockchip SoCs soft reset. Example of usage: i2c driver: ret = reset_get_by_name(dev, "i2c", _ctl); if (ret) { error("reset_get_by_name() failed: %d\n", ret); }

[U-Boot] [PATCH] rockchip: rock: remove CONFIG_ENV_OFFSEt

2017-11-03 Thread Kever Yang
We use the same default ENV setting in rockchip_common.h for all SoC. Signed-off-by: Kever Yang --- include/configs/rock.h | 14 -- 1 file changed, 14 deletions(-) diff --git a/include/configs/rock.h b/include/configs/rock.h index 8d845d9..468dfdb 100644