).
To simplify our test automation (without the need to maintain 3
different defconfigs) and customer evaluation, we make this selectable
via Kconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/dts/rk3399-puma.dts| 8 +++
The RK3399 is capable of driving DDR3 at 933MHz (i.e. DDR3-1866),
if the PCB layout permits and appropriate memory timings are used.
This changes the sanity checks to allow a DTS to request DDR3-1866
operation.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/dts/rk3399-puma.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/rk3399-puma.dts b/arch/arm/dts/rk3399-puma.dts
index a234db8..5d9dfb5 100644
--- a/arch/arm/dts/rk3399-puma.dts
+++ b/ar
+CONFIG_DISPLAY=y
+CONFIG_VIDEO_ROCKCHIP=y
+CONFIG_DISPLAY_ROCKCHIP_HDMI=y
3. turns on the 'dcache'-command (for a dcache flush) for our QA to
fill the framebuffer using 'mw.l'
+CONFIG_CMD_CACHE=y
4. turns on the 'bmp'-command
+CONFIG_CMD_BMP=y
Signed-off-by: Philipp
On the RK3399-Q7, we need PMIC support (for the RK808) to enable HDMI
output, as one of the required powerrails is not enabled on boot.
For this, we need to enable the RK808 driver.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Version-changes: 3
- With the
For the RK3399-Q7, there's been a number of changes to the DTS from
the ongoing Linux development and from recently enabled functionality
within U-Boot.
Klaus Goger (1):
rockchip: dts: rk3399-puma: set spl-payload-offset
Philipp Tomsich (3):
rockchip: dts: rk3399-puma: make the debug
This commit adds a driver for the RK3399 VOPs capable and all the
necessary plumbing to feed the HDMI encoder. For the VOP-big, this
correctly tracks the ability to feed 10bit RGB data to the encoder.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes
,
but missing from the patch-prep branch)
- updated SJG's comment (with a TODO for the RK3288) to reflect the
new code structure
Philipp Tomsich (9):
rockchip: video: Kconfig: reformat help for VIDEO_ROCKCHIP
rockchip: video: Kconfig: set MAX_XRES and MAX_YRES via Kconfig
rockchip: vi
This commit enables HDMI output in the DTS by adding the necessary
nodes to vopl/vopb and by adding the HDMI node.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/dts/rk3399.dts
simply use
lists of regulator names (also via driverdata) that we probe.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v4:
- splits the large change into smaller changes
Changes in v3:
- split into separate drivers for the SOC-specific portion of the
Documents the externally visible functions shared between the HDMI
drivers for the RK3288 and RK3399.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/video/rockchip/rk_hdmi.h | 44
1 file changed, 44 insertions(+)
Documents the externally visible functions shared between the VOP
drivers for the RK3288 and RK3399.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/video/rockchip/rk_vop.h | 34 ++
1 file changed, 34 insertions(+)
diff
For the RK3399-Q7, we need spl_board_init to be called during SPL
startup to set up the pinmux for the debug UART. Enable SPL_BOARD_INIT
via defconfig to ensure this function is in fact called.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
config
With the new dev_read functions available, we can convert the rockchip
architecture-specific drivers and common drivers used by these devices
over to the dev_read family of calls.
This change covers the USB3 (xhci) driver for the Rockchip devices.
Signed-off-by: Philipp Tomsich <philipp.t
With the new dev_read functions available, we can convert the rockchip
architecture-specific drivers and common drivers used by these devices
over to the dev_read family of calls.
This covers the dw_mmc and sdhci wrapper drivers for Rockchip.
Signed-off-by: Philipp Tomsich <philipp.t
With the new dev_read functions available, we can convert the rockchip
architecture-specific drivers and common drivers used by these devices
over to the dev_read family of calls.
This change covers the rk_spi.c (SPI driver) used in Rockchip devices.
Signed-off-by: Philipp Tomsich <philipp.t
With the new dev_read functions available, we can convert the rockchip
architecture-specific drivers and common drivers used by these devices
over to the dev_read family of calls.
This covers the serial driver (ns16550 and compatible) used for the
Rockchip devices.
Signed-off-by: Philipp Tomsich
-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/net/designware.c| 7 +++
drivers/net/gmac_rockchip.c | 10 --
2 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index e8569e6..521e4dd
With the new dev_read functions available, we can convert the rockchip
architecture-specific drivers and common drivers used by these devices
over to the dev_read family of calls.
This change covers the pinctrl drivers for the Rockchip devices.
Signed-off-by: Philipp Tomsich <philipp.t
subarchitecture.
To make regression testing easier, these are individual commits
(across driver subsystems) instead of a single, large change bunched
together. Feel free to flatten these into a single commit as they are
merged upstream.
Philipp Tomsich (7):
rockchip: pinctrl: dm: convert fdt_get
of the tuning/setup/timing
parameters from the device-tree.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/mach-rockchip/rk3188/sdram_rk3188.c | 20 +---
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 20 +---
arch/arm/mach-ro
The last set of rebases had dropped the 'grf' field from the common
rk_vop. Add this back to un-break the build (and driver).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/video/rockchip/rk_vop.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/d
+CONFIG_DISPLAY=y
+CONFIG_VIDEO_ROCKCHIP=y
+CONFIG_DISPLAY_ROCKCHIP_HDMI=y
3. turns on the 'dcache'-command (for a dcache flush) for our QA to
fill the framebuffer using 'mw.l'
+CONFIG_CMD_CACHE=y
4. turns on the 'bmp'-command
+CONFIG_CMD_BMP=y
Signed-off-by: Philipp
definition warnings
Changes in v2:
- enable CMD_BMP in the puma-rk3399_defconfig (following a rebase to
the upstream master after CMD_BMP was migrate to Kconfig)
Philipp Tomsich (2):
rockchip: video: rk_hdmi: fix implicit definition warnings
rockchip: defconfig: puma-rk3399: update defconfig
t;soc_con6, 1 << 4,
^~~~
This change fixes this by including in rk_hdmi.c.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v3:
- adds an include-directive to the (pre-RK3399 enabled) rk_hdmi to
fix implicit definition warnings
Changes in v2:
This commit enables HDMI output in the DTS by adding the necessary
nodes to vopl/vopb and by adding the HDMI node.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- cherry-picked the DTS c
The Linux DTS for the RK3399-Q7 has moved with the times... resync
against it to ensure a consistent configuration.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2: None
arch/arm/dts/rk3399-pu
ted warning).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2:
- (new patch) fix a int-to-pointer cast warning for regs_otg in
dwc2-otg to fix a buildman failure for u-boot-rockchip/master@2b19b2f
include/usb/dwc2_udc.h | 2 +-
1 file changed, 1
`usb_gadget_handle_interrupts':
build/../drivers/usb/gadget/dwc2_udc_otg.c:850: multiple definition of
`usb_gadget_handle_interrupts'
board/rockchip/evb_rk3328/built-in.o:build/../board/rockchip/evb_rk3328/evb-rk3328.c:37:
first defined here
make[1]: *** [u-boot] Error 1
Signed-off-by: Philipp Tomsich
e) to 32bits
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2:
- (new patch) fix warnings and add some robustness for the truncation
of ep->dma_buf in dwc2-otg for LP64 builds to fix a buildman failure
for u-boot-rockchip/master@2b19b2f
warnings and add some robustness for the truncation
of ep->dma_buf in dwc2-otg for LP64 builds to fix a buildman failure
for u-boot-rockchip/master@2b19b2f
- cherry-picked the DTS change adding the hdmi node for the rk3399.dtsi
from the RK3399 HDMI enabledment series (already applied there)
Phil
quot;rk322x", "RK32", 0x8000 - 0x1000, false, false },
{ "rk3288", "RK32", 0x8000, false, false },
{ "rk3328", "RK32", 0x8000 - 0x1000, false, false },
{ "rk3399", "RK33", 0x2, false, true },
Reviewed-by: Phil
On Thu, 8 Jun 2017, Tom Rini wrote:
This function is unused, remove. Reported by clang-3.8.
Fixes: a1c29d4b43dc ("rockchip: mkimage: set init_boot_size to avoid ...")
Cc: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Signed-off-by: Tom Rini <tr...@kons
0;
+}
+
+static int rk322x_clk_probe(struct udevice *dev)
+{
+ struct rk322x_clk_priv *priv = dev_get_priv(dev);
+
+ rkclk_init(priv->cru);
+
+ return 0;
+}
+
+static int rk322x_clk_bind(struct udevice *dev)
+{
+ int ret;
+
+ /* The reset drive
rk_setreg(>con1, 1 << PLL_DSMPD_SHIFT);
rk_clrsetreg(>con0,
PLL_POSTDIV1_MASK << PLL_POSTDIV1_SHIFT | PLL_FBDIV_MASK,
Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
The VOP uses regular registers, so use setbits_le32/clrbits_le32
instead of rk_setbits/rk_clrbits.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/video/rockchip/rk3288_vop.c | 2 +-
drivers/video/rockchip/rk_vop.c | 2 +-
2 files changed, 2 inse
: puma_rk3399: derive ethaddr from cpuid
Philipp Tomsich (3):
rockchip: efuse: add (misc) driver for RK3399 non-secure efuse block
rockchip: board: puma_rk3399: add support for serial# and cpuid# via
efuses
rockchip: defconfig: puma-rk3399: enable RK3399 efuse driver
board/theobroma-systems
assumptions regarding the size of the
fuse-box based on the RK3399. The hope is that the function is
adjusted to reflect any changes resulting from generalising the
driver for multiple SoCs and is then renamed.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.
erated and set if there is no ethaddr
present in the saved environment.
Signed-off-by: Klaus Goger <klaus.go...@theobroma-systems.com>
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v3:
- uses ucl
# - the serial number, as derived in Linux
cpuid# - the raw 16 byte CPU id field from the fuse block
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v3: None
Changes in v2: None
board/theobroma-systems/puma_rk3399/puma-rk3399.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
board/theobroma-systems/puma_rk3399/README | 5 ++---
configs/puma-rk3399_defconfig | 1 +
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/theobroma-systems/puma_rk3399/README
b
With everything in place (i.e. the new efuse driver, the clk-support
for the non-secure efuse block, and the board-specific functions to
derive 'serial#' from the cpu-id within the efuses), enable this in
the RK3399-Q7 defconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
by setting the .priv_auto_alloc_size-field in the driver structure.
X-AffectedPlatforms: RK3399-Q7
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/power/pmic/rk8xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/pmic/rk8xx.c b/drivers/powe
whether a VOP can output 10BIT data or not (i.e. RGBaaa vs. RGB888)
using the driverdata structure
And as we touch this file anyway, we also increase the size of the
framebuffer to a slightly overzealous 4K2K@32bpp.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
C
driver's
configuration option) that enables dw_hdmi.o and selects it whenever
the HDMI support for Rockchip SoCs is selected.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v3: None
Changes in v
S_WHITE_ON_BLACK via defconfig
- enable CMD_BMP in the puma-rk3399_defconfig (following a rebase to
the upstream master after CMD_BMP was migrate to Kconfig)
Philipp Tomsich (8):
rockchip: video: introduce CONFIG_DW_HDMI and select for Rockchip HDMI
rockchip: video: rk3399: enable HDMI out
With video output support for the RK3399-Q7 (Puma) available, we want
CMD_BMP enabled and the support for 16bit, 24bit and 32bit BMPs
defined.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v3: None
Changes in v2:
- enable SYS_WHITE_ON_BLACK via def
This commit enables HDMI output in the DTS by adding the necessary
nodes to vopl/vopb and by adding the HDMI node.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v3:
- enable both hdmi and vopb (as both VOPs are now disabled by default)
Changes
Due to a typo, the 24 bit-per-pixel configuration ends in 24BMP
instead of 24BPP. This change renames it throughout the source tree
for consistency and to make moving these options into Kconfig easier
and less error-prone.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v3:
- enable RK8XX support instead to RK808 support (rebased to sjg/next)
Changes in v2: None
configs/puma-rk3399_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config
of regulator names (also via driverdata) that we probe.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v3:
- split into separate drivers for the SOC-specific portion of the driver
- rebase to sjg/next
Changes in v2:
- removed DEBUG from the patch (as wa
+CONFIG_DISPLAY=y
+CONFIG_VIDEO_ROCKCHIP=y
+CONFIG_DISPLAY_ROCKCHIP_HDMI=y
3. turns on the 'dcache'-command (for a dcache flush) for our QA to
fill the framebuffer using 'mw.l'
+CONFIG_CMD_CACHE=y
4. turns on the 'bmp'-command
+CONFIG_CMD_BMP=y
Signed-off-by: Philipp
.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v4:
- added to break down into smaller changes
Changes in v3: None
Changes in v2: None
drivers/video/rockchip/Kconfig | 18 ++
drivers/video/rockchip/rk_vop.c | 3 ++-
2 files chang
Revise the loop watching for a timeout on obtaining a DRAM PHY lock to
clearly state a timeout in milliseconds and use get_timer (based on
the ARMv8 architected timer) to detect a timeout.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/mach-rockchip/
for the configuration of the SPL
stage.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2: None
configs/puma-rk3399_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_def
The RK3399-Q7 has a KSZ9031 GbE PHY. Enable support for it in defconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2: None
configs/puma-rk3399_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/puma-rk3399_defconfig b/config
The RK3399-Q7 exposes I2C on its edge connector and uses it as one of
the interfaces towards the on-module STM32 (for the emulated RTC and
fan-controller).
Enable I2C and CMD_I2C support in the defconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes
With the merging of Andre's SPL_FIT support, the CONFIG_SPL_FIT option
is no longer required for the RK3399-Q7. Remove it from the defconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2: None
configs/puma-rk3399_defconfig | 1 -
1 file chan
]
priv->cru = (struct rv1108_cru *)dev_get_addr(dev);
This change tracks the dev_get_addr rename, which didn't make it into
the rv1108 clk driver.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2:
- (new patch) rename dev_get_addr in the RV1108 c
system.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2:
- (new patch) access of-offset of periph via dev_of_offset in the RV1108
pinctrl driver to fix a buildman failure for u-boot-rockchip/master@2b19b2f
drivers/pinctrl/rockchip/pinctrl_rv1108.c |
of the DRAM timings
- adds a new rk3399-puma-ddr1600.dts, which includes the (new) common
board DTSI and the DDR3-1600 timing DTSI
- wires this up from arch/arm/dts/Makefile and configs/puma-rk3399_defconfig
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
C
timing (replacing the #ifdef
implementation)
- added rk3399-puma-ddr1866 DTS file for the DDR3-1866 implementation
(replacing the #ifdef implementation)
Philipp Tomsich (3):
rockchip: dts: rk3399-puma: refactor and rename (default) DDR3-1600
DTS
rockchip: dts: rk3399-puma: add DTS
This adds the DDR3-1866 timing via its own DTS and wires it up. This
(currently) is not the default timing for the RK3399-Q7 and should be
selected explicitly via the config (CONFIG_DEFAULT_DEVICE_TREE).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes
This adds the DDR3-1333 timing via its own DTS and wires it up. This
is not the default timing for the RK3399-Q7 and should be selected
explicitly via the config (CONFIG_DEFAULT_DEVICE_TREE).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2:
-
) and removes the older
assembly-only implementation.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/include/asm/arch-rockchip/bootrom.h | 27 ---
arch/arm/mach-rockchip/Makefile | 4 +-
arch/arm/mach-rockchip/bootrom.c
, but not for AArch64.
Philipp Tomsich (3):
arm: make save_boot_params_ret prototype visible for AArch64
rockchip: back-to-bootrom: replace assembly-implementation with C-code
rockchip: back-to-bootrom: allow passing a cmd to the bootrom
arch/arm/include/asm/arch-rockchip/bootrom.h | 30
are adjusted to match the changed function
signature.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/include/asm/arch-rockchip/bootrom.h | 5 -
arch/arm/mach-rockchip/bootrom.c | 4 ++--
arch/arm/mach-rockchip/rk3036-board-spl.c| 2 +-
it.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/include/asm/system.h | 62 +--
1 file changed, 31 insertions(+), 31 deletions(-)
diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h
index 7
The RK3368-uQ7 ATF has been moved back to 0x10 (1MB from the start
of DRAM) to avoid it overwriting the active SPL stage during FIT image
loading. This change adapts the .its to match up (again) with our ATF
repository for the RK3368-uQ7.
Signed-off-by: Philipp Tomsich <philipp.t
(if the 'firmware' is an ATF, an
OPTEE, or some other image-type and U-Boot is listed in the
loadabled).
To achieve this goal, we drop the os_boot flag and track the type of
image loaded. If it is of type IH_OS_U_BOOT, we append the FDT.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
When loading a full U-Boot with detached device-tree using the SPL FIT
backend, we should store the address of the FDT loaded as part of the
SPL image info: this allows us to fixup the FDT with additional info
we may want to propagate onward.
Signed-off-by: Philipp Tomsich <philipp.t
ned-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
configs/puma-rk3399_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig
index 62a8d7c..2d08c4e 100644
--- a/configs/puma-rk3399_defconfig
+++ b/con
This tracks the SPL changes for ATF for the RK3368-uQ7:
* renames ATF_SUPPORT to ATF
* drops CONFIG_SPL_ATF_TEXT_BASE (now dynamically retrieved from
the .itb file)
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
configs/lion-rk3368_defconfig | 3 +--
for the ARM Trusted Firmware to dispatch into the
spl_invoke_atf function only if a IH_OS_ARM_TRUSTED_FIRMWARE image is
loaded.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
common/spl/spl.c | 11 +++
common/spl/spl_atf.
the necessary definitions.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
common/image.c | 1 +
include/image.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/common/image.c b/common/image.c
index 332b5f2..be91be2 100644
--- a/common/image.c
+++ b/common/i
firmware that may overlap the SPL stage).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
common/spl/spl_fit.c | 95
1 file changed, 81 insertions(+), 14 deletions(-)
diff --git a/common/spl/spl_fit.c b/comm
to use an available area of DRAM as the load-address.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
board/theobroma-systems/puma_rk3399/fit_spl_atf.its | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/board/theobroma-systems/puma_
).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/dts/rk3399-puma.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi
index d33c710..70d551b 100644
--- a/arch/arm/dts/rk3399-puma.dtsi
+++
Having CONFIG_SPL_ATF seems more natural.
Rename it, while it it is easy and there's few boards that use it
(only RK3399 and RK3368 boards).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
common/spl/Kconfig | 2 +-
common/spl/Makefile | 2 +-
2 files chan
: if a FDT is loaded for one of the next stages, it
can be used to convey the status and location of loadables.
This adds a fdt_record_loadable() function that can be invoked to
record the status of each loadable below the /fit-images path.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
Mainly a stylistic change: convert the load_addr and entry_point
fields of struct spl_image_info to uintptr_t (from ulong).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
include/spl.h | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff
The SPL_ATF_TEXT_BASE configuration item has become obsolete.
Remove it from Kconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
common/spl/Kconfig | 6 --
1 file changed, 6 deletions(-)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index b
TPL should expect the SPL to return control and then
further return to the actual bootrom by performing another
back-to-bootrom transition.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2:
- [added in v2] chain back_to_bootrom calls for SPL, first
) and removes the older
assembly-only implementation.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2: None
arch/arm/include/asm/arch-rockchip/bootrom.h | 27 ---
arch/arm/mach-rockchip/Makefile | 4 +-
arch/arm/mach-rockchip/boo
it.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2: None
arch/arm/include/asm/system.h | 62 +--
1 file changed, 31 insertions(+), 31 deletions(-)
diff --git a/arch/arm/include/asm/system.h b/arch/arm/inclu
> After Simon's patch, the dtoc can work with 64bit address,
> so we need to fix reg number for it.
> Depend on Simon's patch set:
> https://patchwork.ozlabs.org/cover/807266/
>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> Acked-by: Philipp Tomsich
> After Simon's patch, the dtoc can work with 64bit address,
> so we need to fix reg number for it.
> Depend on Simon's patch set:
> https://patchwork.ozlabs.org/cover/807266/
>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> Reviewed-by: Philipp Tomsich
> With dtoc emitting fdt64_t for addresses (and region sizes), the array
> indices for accessing the reg[] array needs to be adjusted. This
> adjusts the Rockchip DM timer driver to correctly handle OF_PLATDATA
> given this new structure layout.
>
> Signed-off-by: Philipp Tom
> Increase serialno_str to 17 bytes so it can hold the 16 bytes long serial
> nummer and the terminating null byte added by snprintf.
>
> Signed-off-by: Klaus Goger <klaus.go...@theobroma-systems.com>
> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com
> After Simon's patch, the dtoc can work with 64bit address,
> so we need to fix reg number for it.
> Depend on Simon's patch set:
> https://patchwork.ozlabs.org/cover/807266/
>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> Reviewed-by: Philipp Tomsich
are adjusted to match the changed function
signature.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2:
- adapt the RK3188 spl support file (that I had originally missed)
arch/arm/include/asm/arch-rockchip/bootrom.h | 5 -
arch/arm/mach-ro
> The RK3368 TPL stage always returns to the BootROM, so it has no need
> for the eMMC, SD and SPI nodes. This marks those nodes (that should
> be included in SPL, but not TPL) as 'u-boot,dm-spl'.
>
> Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> After Simon's patch, the dtoc can work with 64bit address,
> so we need to fix reg number for it.
> Depend on Simon's patch set:
> https://patchwork.ozlabs.org/cover/807266/
>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> Acked-by: Philipp Tomsich
ase), we won't use regmap_init_mem_platdata here and simply
> access of_plat.reg[] directly.
>
> Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Reviewed-by: Simon Glass <s...@chromium.or
) and further calling through
to the BROM from the TPL by invoking back_to_bootrom again
- adapt the RK3188 spl support file (that I had originally missed)
Philipp Tomsich (5):
arm: make save_boot_params_ret prototype visible for AArch64
rockchip: back-to-bootrom: replace assembly-implementation
.
This change implements support for setting up the SDMMC pins in
pinctrl for the RK3368.
Reported-by: Klaus Goger <klaus.go...@theobroma-systems.com>
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/pinctrl/rockchip/pinctrl_r
rk3328_defconfig | 6 ++
> 1 file changed, 6 insertions(+)
>
Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
++
> 1 file changed, 37 insertions(+)
>
Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
s/clk/rockchip/clk_rk3368.c | 32
> +
> 2 files changed, 37 insertions(+)
>
Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Wed, 13 Sep 2017, David Wu wrote:
The clk_saradc is dividing from the 24M, clk_saradc=24MHz/(saradc_div_con+1).
Saradc integer divider control register is 8-bits width.
Signed-off-by: David Wu <david...@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-sy
1001 - 1100 of 3308 matches
Mail list logo