Re: [PATCH 13/17] mmc: rockchip_sdhci: Add support for RK3588

2023-04-03 Thread Philipp Tomsich
On Mon, 3 Apr 2023 at 22:48, Jonas Karlman wrote: > > Add support for RK3588 to the sdhci driver. RK3588 has the inverter flag > in TXCLK reg instead of RXCLK and also make use of a new CMDOUT reg. > Add and use a quirks field to support such quirks. > > Signed-off-by: Jonas Karlman > --- > driv

Re: [PATCH] rockchip: rk3328: Set VOP QoS to high priority

2023-01-04 Thread Philipp Tomsich
On Sat, 23 Jul 2022 at 13:29, Nicolas Frattaroli wrote: > > The default priority for the quality of service for the video > output results in unsightly glitches on the output whenever there > is memory pressure on the system, which happens a lot. > > This sets the VOP QoS to high priority, which f

Re: [PATCH] rsa: fix alignment issue when getting public exponent

2020-05-03 Thread Philipp Tomsich
> conversion from the dt's big-endian to the needed uint64 value. > > Fixes: fc2f4246b4b3 ("rsa: Split the rsa-verify to separate the modular > exponentiation") > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich

Re: [PATCH v2 3/3] rockchip: config: evb-rk3399: add hs200 and hs400 support

2021-06-28 Thread Philipp Tomsich
On Mon, 28 Jun 2021 at 11:20, Yifeng Zhao wrote: > > This enable hs200 and hs400 support for emmc on evb-rk3399. > > Signed-off-by: Yifeng Zhao Reviewed-by: Philipp Tomsich

Re: [PATCH v2 0/3]

2021-06-28 Thread Philipp Tomsich
I had attempted to merge HDMI using this approach in 2017, but after some discussions with Simon, we used a 'mini-drivers' approach. I would like to see a similar approach taken here. See https://patchwork.ozlabs.org/project/uboot/patch/1493394792-20743-4-git-send-email-philipp.toms...@theobroma-s

Re: [PATCH] rk3399: Add basic support for helios64

2021-07-22 Thread Philipp Tomsich
On Thu, 22 Jul 2021 at 01:14, Dennis Gilmore wrote: > > From: Dennis Gilmore > > This is a stripped down version of the vendor U-Boot patch by Aditya > Prayoga found in the armbian repository. This patch is enough to have > the 1G ethernet port, the micro SD card, eMMC, PCIe and UART. It sets > u

Re: [PATCH] pci: rockchip: Mark inline functions as static inline

2020-07-02 Thread Philipp Tomsich
> On 01.07.2020, at 17:47, Tom Rini wrote: > > Unless we mark the function as 'static inline' it may end up being > non-inlined by the compiled and result in duplicate functions. > > Cc: Jagan Teki > Cc: Kever Yang > Signed-off-by: Tom Rini Reviewed-by: Philipp Tomsich

Re: [PATCH 1/6] rockchip: efuse: Add support for rk3288 efuse

2020-03-02 Thread Philipp Tomsich
> On 20.02.2020, at 04:10, Finley Xiao wrote: > > This adds the necessary data for handling eFuse on the rk3288. > > Signed-off-by: Finley Xiao Reviewed-by: Philipp Tomsich Major rework required: see below. > --- > drivers/misc/

Re: [U-Boot] [PATCH] rockchip: px30: enable fifo mode for both emmc and sdmmc on evb

2019-11-19 Thread Philipp Tomsich
Heiko, > On 19.11.2019, at 11:03, Heiko Stuebner wrote: > > From: Heiko Stuebner > > As part of loading trustedfirmware, the SPL is required to place portions > of code into the socs sram but the mmc controllers can only do dma > transfers into the regular memory, not sram. > > The results of

Re: [U-Boot] [PATCH v2 1/2] rockchip: dwmmc: add handling for u-boot, spl-fifo-mode

2019-11-20 Thread Philipp Tomsich
ead FIT image. > > So add handling for a u-boot,spl-fifo-mode to not put the mmc > controllers into fifo mode for all time. > > The regular fifo-mode property still takes precedent and only > if not set do we check for the spl-specific property. > > Suggested-by: Philipp Tomsic

Re: [U-Boot] [PATCH v2 1/2] rockchip: dwmmc: add handling for u-boot, spl-fifo-mode

2019-11-20 Thread Philipp Tomsich
Sorry, I was confused and meant... > On 20.11.2019, at 12:09, Philipp Tomsich > wrote: > > > >> On 19.11.2019, at 12:04, Heiko Stuebner wrote: >> >> From: Heiko Stuebner >> >> Rockchips dwmmc controllers can't do dma to non-ddr addres

Re: [U-Boot] [PATCH v2 2/2] rockchip: px30: enable spl-fifo-mode for both emmc and sdmmc on evb

2019-11-20 Thread Philipp Tomsich
ot correctly > put both mmc controllers into fifo-mode, which also circumvents the > issue for now. > > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [PATCH] rockchip: rk3399: enable spl-fifo-mode for sdmmc

2020-04-15 Thread Philipp Tomsich
> On 15.04.2020, at 05:25, Deepak Das wrote: > > adapting commit fa2047c47310 ("rockchip: rk3328: enable spl-fifo-mode > for emmc and sdmmc") for rk3399. > Since mmc to sram can't do dma, add patch to prevent aborts transferring > TF-A parts. > > Signed-off-by: Deepak Das > --- > arch/arm/dts/r

Re: [PATCH 6/7] spl: fit: add Kconfig option to specify key-hint for fit_generator

2020-04-17 Thread Philipp Tomsich
ENERATOR. > > In the script-case it will need to know what key to include for the > key-hint and specified algorithm, so add an option for that key-name. > > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich

Re: [PATCH 3/7] lib: rsa: distinguish between tpl and spl for CONFIG_RSA_VERIFY

2020-04-17 Thread Philipp Tomsich
tinguis nit: distinguis -> distinguish > between both. If someone really needs FIT signature checking in > TPL as well, a new TPL_RSA_VERIFY config symbol needs to be added. > > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich

Re: [PATCH 2/7] spl: fit: select SPL_CRYPTO_SUPPORT for SPL_FIT_SIGNATURE

2020-04-17 Thread Philipp Tomsich
> option to not end up in compile errors like: > >u-boot/lib/rsa/rsa-verify.c:328: undefined reference to `rsa_mod_exp' > > So select SPL_CRYPTO_SUPPORT in SPL_FIT_SIGNATURE. > > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich

Re: [PATCH 5/7] spl: fit: enable signing a generated u-boot.itb

2020-04-17 Thread Philipp Tomsich
ey to get included. > > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich

Re: [PATCH 1/7] spl: fit: select SPL_HASH_SUPPORT for SPL_FIT_SIGNATURE

2020-04-17 Thread Philipp Tomsich
; > > So similar to the main FIT_SIGNATURE entry selects HASH, > select SPL_HASH_SUPPORT for SPL_FIT_SIGNATURE. > > Cc: Heinrich Schuchardt > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich

Re: [U-Boot] [PATCH v0] rockchip: adding the missing "/" in entries of boot_devices

2019-10-17 Thread Philipp Tomsich
refix. > Therefore add the missing ones in other boards. Good catch. One can thus tell what platform I originally tested this on ;-) > Signed-off-by: Levin Du Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [PATCH v3 7/8] rockchip: puma: drop special handling of usb host regulator

2020-06-05 Thread Philipp Tomsich
d with mass-storage and usb-ethernet on both usb3 and usb2 ports. > > Signed-off-by: Heiko Stuebner > Reviewed-by: Kever Yang Reviewed-by: Philipp Tomsich

Re: [PATCH v3 2/8] arm64: dts: rk3399-puma: fix gpio levels for vcc5v0-host regulator

2020-06-05 Thread Philipp Tomsich
nging them in sync again. > > This mimics the upstream Linux change found on: > http://lore.kernel.org/r/20200604091239.424318-1-he...@sntech.de > > Signed-off-by: Heiko Stuebner > Reviewed-by: Kever Yang Reviewed-by: Philipp Tomsich

Re: [PATCH 1/2] net: phy: mscc: make clock-output configurable on vsc85xx

2020-06-09 Thread Philipp Tomsich
is follows a similar change introduced into the Linux kernel at > https://lore.kernel.org/netdev/20200609133140.1421109-2-he...@sntech.de > > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich

Re: [PATCH 2/2] net: phy: mscc: sync rx/tx delay settings with Linux on vsc85xx

2020-06-09 Thread Philipp Tomsich
y delay values like now, mimic this behaviour. > > The behaviour is the same for all of vsc8530/8531/8540/8541 so move that > to a shared function while at it. > > Signed-off-by: Heiko Stuebner Reviewed-by: Philipp Tomsich

Re: [PATCH] clk: rockchip: rk3399: implement getting wdt/alive clocks

2020-09-17 Thread Philipp Tomsich
> On 17.09.2020, at 11:42, Jack Mitchell wrote: > > In order to correctly calculate the designware watchdog > timeouts, the watchdog clock is required. Implement required > clocks to facilitate this. > > Signed-off-by: Jack Mitchell Reviewed-by: Philipp Tomsich

Re: [PATCH 1/2] rockchip: rk3399: fix incorrect ifdef check on SPL_DM_REGULATOR

2022-07-12 Thread Philipp Tomsich
On Tue, 12 Jul 2022 at 17:38, Quentin Schulz wrote: > > From: Quentin Schulz > > The check to perform is on CONFIG_SPL_DM_REGULATOR and not > SPL_DM_REGULATOR. > > Fixes: 07586ee4322a ("rockchip: rk3399: Support common spl_board_init") > Cc: Quentin Schulz > Signed-off-by: Quentin Schulz > ---

Re: [PATCH 2/2] rockchip: rk3399: fix incorrect ifdef check on SPL_GPIO

2022-07-12 Thread Philipp Tomsich
On Tue, 12 Jul 2022 at 17:38, Quentin Schulz wrote: > > From: Quentin Schulz > > The check to perform is on CONFIG_SPL_GPIO and not SPL_GPIO. > Because this was never compiled in, it missed an include of cru.h that > was not detected before. Let's include it too. > > Fixes: 07586ee4322a ("rockchi

Re: [PATCH] rockchip: rk3308: fix same-as-spl boot order

2022-07-14 Thread Philipp Tomsich
On Thu, 14 Jul 2022 at 16:18, John Keeping wrote: > > Rockchip SoCs need the boot_devices array defined in order to map the > bootloader's value to a U-Boot device. Implement this for rk3308. > > Signed-off-by: John Keeping Reviewed-by: Philipp Tomsich

Re: [PATCH V4 6/6] arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid

2022-04-13 Thread Philipp Tomsich
On Wed, 13 Apr 2022 at 11:07, Peng Fan (OSS) wrote: > > From: Peng Fan > > Since COUNTER_FREQUENCY is obselete, so set cntfrq_el0 if > CONFIG_COUNTER_FREQUENCY is valid > > Signed-off-by: Peng Fan Reviewed-by: Philipp Tomsich

Re: [PATCH 1/2] rc4: mark key as const

2022-11-18 Thread Philipp Tomsich
On Fri, 18 Nov 2022 at 17:13, John Keeping wrote: > > Key data is never written so the parameter can be const, which allows > putting fixed keys in .rodata. > > Signed-off-by: John Keeping Reviewed-by: Philipp Tomsich

Re: [PATCH 2/2] rockchip: mkimage: make RC4 key const

2022-11-18 Thread Philipp Tomsich
On Fri, 18 Nov 2022 at 17:13, John Keeping wrote: > > This is read-only data, so mark it as such. > > Signed-off-by: John Keeping Reviewed-by: Philipp Tomsich

Re: [PATCH v3 3/3] rockchip: config: evb-rk3399: add hs400 and SDMA support

2021-08-11 Thread Philipp Tomsich
On Tue, 29 Jun 2021 at 10:25, Yifeng Zhao wrote: > > This enable hs400 and SDMA support for emmc on evb-rk3399. > > Signed-off-by: Yifeng Zhao Reviewed-by: Philipp Tomsich

Re: [PATCH v3 2/3] mmc: rockchip_sdhci: Add support for RK3568

2021-08-11 Thread Philipp Tomsich
On Tue, 29 Jun 2021 at 10:24, Yifeng Zhao wrote: > > This patch adds support for the RK3568 platform to this driver. > > Signed-off-by: Yifeng Zhao I thought I had raised an objection to this patch previously, but did not see a discussion... So here we go again. In 2017, we decided to split the

Re: [PATCH v7 1/6] spi: rockchip_sfc: add support for Rockchip SFC

2021-08-11 Thread Philipp Tomsich
f used, must also be disabled in SPL > mode when using A-TF anyway. > > Signed-off-by: Chris Morgan > Signed-off-by: Jon Lin Reviewed-by: Philipp Tomsich

Re: [PATCH v7 4/6] mtd: spi-nor-ids: Add XTX XT25F128B

2021-08-11 Thread Philipp Tomsich
ame > manufacturer/ID. > > Signed-off-by: Chris Morgan > Signed-off-by: Jon Lin Reviewed-by: Philipp Tomsich

Re: [PATCH v7 6/6] rockchip: px30: Support configure SFC

2021-08-11 Thread Philipp Tomsich
On Thu, 5 Aug 2021 at 10:28, Jon Lin wrote: > > Make px30 SFC clock configurable > > Signed-off-by: Jon Lin Reviewed-by: Philipp Tomsich

Re: [RFC PATCH 4/8] rockchip: pad u-boot-rockchip.bin correctly

2022-07-15 Thread Philipp Tomsich
On Fri, 15 Jul 2022 at 17:37, Quentin Schulz wrote: > > From: Quentin Schulz > > On MMC storage media, the TPL/SPL needs to be flashed at offset 32KB. > Instead of requesting the user to put the input the appropriate offsets, > let's create u-boot-rockchip.bin with the padding already added. NAK

[PATCH 3/3] patman: fix project-defaults not propagating into parsers

2020-11-24 Thread Philipp Tomsich
commandline option mirroring the (ignored) default. This change ensures that defaults are updated in all parsers. Signed-off-by: Philipp Tomsich --- tools/patman/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/patman/settings.py b/tools/patman/settings.py index

[PATCH 1/3] patman: Add --no-signoff to suppress adding signoffs

2020-11-24 Thread Philipp Tomsich
To enable use of patman with FSF/GNU projects, such as GCC or Binutils, no Signed-off-by may be added. This adds a command line flag '--no-signoff' to suppress adding signoffs in patman when processing commits. Signed-off-by: Philipp Tomsich --- tools/patman/control.py | 6 +++

[PATCH 2/3] patman: Add project-default for 'gcc'

2020-11-24 Thread Philipp Tomsich
Add defaults for FSF/GNU projects, such as gcc, that provide sensible settings for those projects. Signed-off-by: Philipp Tomsich --- tools/patman/settings.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/patman/settings.py b/tools/patman/settings.py index

Re: [PATCH 3/3] patman: fix project-defaults not propagating into parsers

2020-11-26 Thread Philipp Tomsich
t; > for the gcc project) are settings from subparsers, these would still > > require an explicit commandline option mirroring the (ignored) default. > > > > This change ensures that defaults are updated in all parsers. > > > > Signed-off-by: Philipp Tomsich >

Re: [PATCH 3/3] patman: fix project-defaults not propagating into parsers

2020-11-26 Thread Philipp Tomsich
Simon, On Wed, 25 Nov 2020 at 00:41, Simon Glass wrote: > According to the Python documentation and my testing, it should > propagate. Do you know what is going wrong here? If there is a > problem, we should update the comment. I don't see any code for propagating this in the argparse module:

Re: [PATCH 3/3] patman: fix project-defaults not propagating into parsers

2020-11-26 Thread Philipp Tomsich
Simon, On Wed, 25 Nov 2020 at 16:30, Simon Glass wrote: > Here is a pointer to the docs I saw: > > https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.set_defaults > > "Parser-level defaults can be particularly useful when working with > multiple parsers. See the add_subparser

Re: [PATCH 0/4] Use just one DTS file for all Espressobin variants

2020-12-02 Thread Philipp Tomsich
> On 02.12.2020, at 13:37, Andre Heider wrote: > > On 02/12/2020 11:35, Stefan Roese wrote: >> On 02.12.20 10:12, Pali Rohár wrote: >>> On Wednesday 02 December 2020 09:09:15 Stefan Roese wrote: On 02.12.20 01:33, Pali Rohár wrote: > On Wednesday 25 November 2020 19:20:06 Pali Rohár w

Re: [U-Boot] [Status] [U-boot] [PATCH v4 0/7] Add ethernet support for phyCORE-RK3288

2018-11-23 Thread Philipp Tomsich
I had asked for these to be split out as a separate series and rebased. Might have been v3 that I replied to, though… Thanks, Philipp. > On 23.11.2018, at 14:13, Janine Hagemann wrote: > > Hello, > > I just want to ask what happened to some of my patches from august 2018. > > https://patchw

Re: [U-Boot] [PATCH] drivers: regulator: regulator-uclass: disallow disable of always-on

2018-11-23 Thread Philipp Tomsich
y board to die since the regulator, which is always-on, > is shared with more than just mmc. > > Signed-off-by: Richard Röjfors Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH 1/2] lib: merge CRC16-CCITT into u-boot/crc.h

2018-11-25 Thread Philipp Tomsich
This merges the CRC16-CCITT headers into u-boot/crc.h to prepare for rolling CRC16 into the hash infrastructure. Given that CRC8, CRC32 and CRC32-C already have their prototypes in a single header file, it seems a good idea to also include CRC16-CCITT in the same. Signed-off-by: Philipp Tomsich

[U-Boot] [PATCH 2/2] Roll CRC16-CCITT into the hash infrastructure

2018-11-25 Thread Philipp Tomsich
infrstructure) limiting its applicability outside of custom commands. This adds the CRC16-CCITT (poly 0x1021, init 0x0) algorithm to the list of available hashes and adds a new crc16_ccitt_wd_buf() to make this possible. Signed-off-by: Philipp Tomsich --- common/hash.c| 36

[U-Boot] [PATCH] dm: rtc: Fix function name in comment

2018-11-25 Thread Philipp Tomsich
The documentation comment for dm_rtc_set was referring to dm_rtc_put instead. Fix it. Signed-off-by: Philipp Tomsich --- include/rtc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rtc.h b/include/rtc.h index 0d964d5..2c3a574 100644 --- a/include/rtc.h +++ b

[U-Boot] [PATCH] dm: (re)sort uclass ids alphabetically

2018-11-25 Thread Philipp Tomsich
The comment in uclass-id.h states that "U-Boot uclasses start here - in alphabetical order" but the subsequent list is not sorted alphabetically. This reestablishes order. Signed-off-by: Philipp Tomsich --- include/dm/uclass-id.h | 8 1 file changed, 4 insertions(+), 4

[U-Boot] [PATCH] clk: Allow clock defaults to be set during re-reloc state for SPL only

2018-11-26 Thread Philipp Tomsich
r reloc for the full U-Boot. References: commit f4fcba5c5baa ("clk: implement clk_set_defaults()") References: commit e5e06b65ad65 ("clk: Allow clock defaults to be set also during re-reloc state") Signed-off-by: Philipp Tomsich --- drivers/clk/clk-uclass.c | 4 1 file chang

Re: [U-Boot] [PATCH v2 3/5] rv1108: Enable eMMC support

2018-11-26 Thread Philipp Tomsich
ds (as minievk) and makes it easier for later addition. >>> >>> Signed-off-by: Otavio Salvador >> Andy, did you review it? Is there someone which would be more >> appropriate for me to send the patches? > > > Thte whole series will to through Dr. Philipp Tomsic

[U-Boot] [PATCH 1/2] rtc: rv3029: add to Kconfig

2018-11-27 Thread Philipp Tomsich
The MicroCrystal RV3029 driver didn't have a Kconfig entry and was not used anywhere. Add it to Kconfig to make it selectable. Signed-off-by: Philipp Tomsich Tested-by: Klaus Goger --- drivers/rtc/Kconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/rtc/Kcon

[U-Boot] [PATCH 2/2] rtc: rv3029: update to support DM and sync with Linux 4.17

2018-11-27 Thread Philipp Tomsich
the read8/write8 operations This syncs the implementation with the Linux code (based on 4.17), porting the trickle-charger support from there (with improvements to avoid unnecessary EEPROM updates) and adheres to the Linux DTS binding. Signed-off-by: Philipp Tomsich Tested-by: Klaus Goger --- d

[U-Boot] [PATCH v2 0/2] Update RV3029 driver to DM and add DM-backed bootcount support

2018-11-27 Thread Philipp Tomsich
nting support for the RTC uclass as of now). Changes in v2: - changed to provide a UCLASS-based implementation, as requested by SJG in his earlier review - split off the RV3029 driver into a separate series Philipp Tomsich (2): bootcount: add uclass for bootcount bootcount: add a DM RTC backing

[U-Boot] [PATCH v2 1/2] bootcount: add uclass for bootcount

2018-11-27 Thread Philipp Tomsich
for the following DM devices: * RTC devices Signed-off-by: Philipp Tomsich Tested-by: Klaus Goger --- Changes in v2: - changed to provide a UCLASS-based implementation, as requested by SJG in his earlier review - split off the RV3029 driver into a separate series doc/device-tree-bindings

[U-Boot] [PATCH v2 2/2] bootcount: add a DM RTC backing store for bootcount

2018-11-27 Thread Philipp Tomsich
TC device's register space can be provided through the 'offset' property. Tested on a RK3399-Q7 on a Flamingo carrier board using the SRAM area of the carrier board's RV3029 RTC. Signed-off-by: Philipp Tomsich --- Changes in v2: None drivers/bootcount/Kconfig | 20

Re: [U-Boot] [RESENT PATCH 1/2] rockchip: rk3128: use ROCKCHIP_BOOT_MODE_REG to update reboot flag

2018-11-28 Thread Philipp Tomsich
Kever, > On 28.11.2018, at 03:04, Kever Yang wrote: > > Use ROCKCHIP_BOOT_MODE_REG instead of grf structure so that > we can re-use the source code later. > > Signed-off-by: Kever Yang NAK, as there are still pending changes. See below for the reminder, in case this got lost. > --- > > arch

Re: [U-Boot] [RESENT PATCH v3] rockchip: update emmc/sd index for distro boot order

2018-11-28 Thread Philipp Tomsich
Kever, > On 28.11.2018, at 03:06, Kever Yang wrote: > > According to the emmc/sdcard index in dts alias, emmc is always 0 and > sdcard index is 1, let's update to using correct mmc number for distro > boot order in common header. > > SD card suppost to have higher priority so that people can bo

Re: [U-Boot] [PATCH] rockchip: rk3188: use board_debug_uart_init() for UART io init

2018-11-28 Thread Philipp Tomsich
> On 28.11.2018, at 06:01, Kever Yang wrote: > > Sync with other rockchip SoCs, use board_debug_uart_init() to > init default UART iomux. > > Signed-off-by: Kever Yang Is this different from commit d32f40ce262c584e25a0838840c8d4106aadc276 which is has already been applied to uboot-rockchip/m

Re: [U-Boot] EXT: [PATCH v2 0/2] Update RV3029 driver to DM and add DM-backed bootcount support

2018-11-28 Thread Philipp Tomsich
> On 28.11.2018, at 07:29, Ray, Ian (GE Healthcare) wrote: > > > >> On 28 Nov 2018, at 0.00, Philipp Tomsich >> wrote: >> >> >> On one of our application-specific carrier boards, a MicroCrystal >> RV3029 acts as an off-module battery-backed

Re: [U-Boot] [RESENT PATCH 1/2] rockchip: rk3128: use ROCKCHIP_BOOT_MODE_REG to update reboot flag

2018-11-29 Thread Philipp Tomsich
Kever, > On 29.11.2018, at 02:10, Kever Yang wrote: > > On 11/28/2018 05:07 PM, Philipp Tomsich wrote: >> Kever, >> >>> On 28.11.2018, at 03:04, Kever Yang >> <mailto:kever.y...@rock-chips.com>> wrote: >>> >>> Use ROCKCHIP_BOOT_

Re: [U-Boot] [RESENT PATCH 1/2] rockchip: rk3128: use ROCKCHIP_BOOT_MODE_REG to update reboot flag

2018-11-29 Thread Philipp Tomsich
Simon, > On 29.11.2018, at 19:43, Simon Glass wrote: > > Hi Kever, > > On Wed, 28 Nov 2018 at 18:10, Kever Yang <mailto:kever.y...@rock-chips.com>> wrote: >> >> Hi Philipp, >> >> >> On 11/28/2018 05:07 PM, Philipp Tomsich wrote: &g

Re: [U-Boot] [RESENT PATCH v3] rockchip: update emmc/sd index for distro boot order

2018-11-29 Thread Philipp Tomsich
+Vagrant Let’s also hear the opinion of the Debian project on this... > On 29.11.2018, at 10:54, Wadim Egorov wrote: > > Hi, > > Am 29.11.18 um 02:48 schrieb Kever Yang: >> >> On 11/28/2018 05:15 PM, Philipp Tomsich wrote: >>> Kever, >>> &g

Re: [U-Boot] [RESENT PATCH v3] rockchip: update emmc/sd index for distro boot order

2018-11-29 Thread Philipp Tomsich
Kever, > On 29.11.2018, at 02:48, Kever Yang wrote: > > On 11/28/2018 05:15 PM, Philipp Tomsich wrote: >> Kever, >> >>> On 28.11.2018, at 03:06, Kever Yang wrote: >>> >>> According to the emmc/sdcard index in dts alias, emmc is always 0

Re: [U-Boot] [RESENT PATCH v3] rockchip: update emmc/sd index for distro boot order

2018-11-29 Thread Philipp Tomsich
>> With this patch, people can use firmware in SD card if they want; >> Without this patch, people never able to use firmware in SD card if eMMC >> firmware exist (even if it's broken). > > Most boards I know have the ability to bypass the internal eMMC. One last thing: I know a number of proje

Re: [U-Boot] [PATCH v2] rockchip: rk3188: use board_debug_uart_init() for UART io init

2018-11-29 Thread Philipp Tomsich
> On 29.11.2018, at 03:07, Kever Yang wrote: > > Sync with other rockchip SoCs, use board_debug_uart_init() to > init default UART iomux. > > Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-

Re: [U-Boot] [PATCHv3 1/4] dm: MIGRATION: Add migration plan for DM_MMC

2018-11-30 Thread Philipp Tomsich
ystem drivers, formalize a deadline for >> migration. >> >> Reviewed-by: Simon Glass mailto:s...@chromium.org>> >> Cc: Jaehoon Chung mailto:jh80.ch...@samsung.com>> >> Signed-off-by: Tom Rini mailto:tr...@konsulko.com>> > > Reviewed-b

Re: [U-Boot] [PATCH v2 1/5] clk_rv1108: Sync with vendor tree

2018-11-30 Thread Philipp Tomsich
Otavio, > On 30.11.2018, at 11:37, Otavio Salvador > wrote: > > Hello Vicent, > > On Fri, Nov 30, 2018 at 7:58 AM Otavio Salvador > wrote: >> On Fri, Nov 30, 2018 at 1:39 AM vicent@rock-chips.com >> wrote: >>> >>> Hi Otavio Salvador: >>> Fixed a problem of rv1108 emmc clock confi

Re: [U-Boot] [PATCH v2 1/5] clk_rv1108: Sync with vendor tree

2018-11-30 Thread Philipp Tomsich
> On 30.11.2018, at 12:24, Otavio Salvador > wrote: > > On Fri, Nov 30, 2018 at 9:18 AM Philipp Tomsich > wrote: >>> On 30.11.2018, at 11:37, Otavio Salvador >>> wrote: >>> On Fri, Nov 30, 2018 at 7:58 AM Otavio Salvador >>> wrote: &

[U-Boot] [PATCH 1/6] Kconfig: Migrate BOUNCE_BUFFER

2018-11-30 Thread Philipp Tomsich
for drivers depending on this to 'select' it unconditionally from their respective Kconfig. Signed-off-by: Philipp Tomsich --- common/Kconfig | 8 scripts/config_whitelist.txt | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/common/Kconfi

[U-Boot] [PATCH 2/6] mmc: dw_mmc: depend on BOUNCE_BUFFER

2018-11-30 Thread Philipp Tomsich
The driver for the dw_mmc depends on the bounce buffer utility functions. Unconditionally select BOUNCE_BUFFER, when DW_MMC is enabled. Includes the migration (moveconfig with manual postprocessing of config-headers to drop unused comments) for the boards using DW_MMC. Signed-off-by: Philipp

[U-Boot] [PATCH 3/6] mmc: mxsmmc: select BOUNCE_BUFFER unconditionally

2018-11-30 Thread Philipp Tomsich
: Philipp Tomsich --- drivers/mmc/Kconfig | 1 + include/configs/mx6_common.h | 1 - include/configs/mx7_common.h | 1 - include/configs/mx7ulp_evk.h | 1 - include/configs/mxs.h| 5 - 5 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/mmc/Kconfig b/drivers/mmc

[U-Boot] [PATCH 4/6] mmc: tegra: select BOUNCE_BUFFER unconditionally

2018-11-30 Thread Philipp Tomsich
-by: Philipp Tomsich --- drivers/mmc/Kconfig| 1 + include/configs/tegra-common.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index e16dd6a..eb2e9bc 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -531,6

[U-Boot] [PATCH 5/6] arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

2018-11-30 Thread Philipp Tomsich
redefining BOUNCE_BUFFER there. Signed-off-by: Philipp Tomsich --- arch/arc/Kconfig | 2 ++ include/configs/axs10x.h | 5 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index fa6b344..50369d5 100644 --- a/arch/arc/Kconfig +++ b/arch

[U-Boot] [PATCH 6/6] Kconfig: migrate BOUNCE_BUFFER (final moveconfig)

2018-11-30 Thread Philipp Tomsich
onfig. Signed-off-by: Philipp Tomsich --- configs/bcm911360_entphn-ns_defconfig | 1 + configs/bcm911360_entphn_defconfig| 1 + configs/bcm911360k_defconfig | 1 + configs/bcm958300k-ns_defconfig | 1 + configs/bcm958300k_defconfig | 1 + co

Re: [U-Boot] [PATCH v4 2/6] ARM: rockchip: rv1108: Enable BOUNCE_BUFFER

2018-11-30 Thread Philipp Tomsich
Otavio, > On 27.11.2018, at 11:11, Otavio Salvador wrote: > > In order to be able to build the Rockchip eMMC driver on rv1108, the > BOUNCE_BUFFER option needs to be selected. Select it like it is done > on the other Rockchip SoC common files. > > Reviewed-by: Andy Yan > Signed-off-by: Otavio

[U-Boot] [PATCH 0/6] Migrate BOUNCE_BUFFER

2018-11-30 Thread Philipp Tomsich
done in a two-stage process) to someone else... END. Philipp Tomsich (6): Kconfig: Migrate BOUNCE_BUFFER mmc: dw_mmc: depend on BOUNCE_BUFFER mmc: mxsmmc: select BOUNCE_BUFFER unconditionally mmc: tegra: select BOUNCE_BUFFER unconditionally arc: select BOUNCE_BUFFER for CMD_NAND

Re: [U-Boot] [PATCH 0/6] Migrate BOUNCE_BUFFER

2018-11-30 Thread Philipp Tomsich
018 um 12:39 schrieb Philipp Tomsich: >> A number of MMC drivers uses BOUNCE_BUFFER for their DMA buffers. >> This moves it into Kconfig and performs a step-by-step migration for >> the affected boards/drivers. >> >> In doing so, it turns out that a few boards/confi

Re: [U-Boot] [PATCH 0/6] Migrate BOUNCE_BUFFER

2018-11-30 Thread Philipp Tomsich
Tom, > On 30.11.2018, at 15:13, Philipp Tomsich > wrote: > > Simon, > >> On 30.11.2018, at 14:55, Simon Goldschmidt > <mailto:simon.k.r.goldschm...@gmail.com>> wrote: >> >> [cut down CC list as gmail won't let me send to that many people :-

[U-Boot] [PATCH v2 3/5] mmc: mxsmmc: select BOUNCE_BUFFER unconditionally

2018-11-30 Thread Philipp Tomsich
The driver for the mxsmmc depends on the bounce buffer utility functions. Unconditionally select BOUNCE_BUFFER, when this driver is enabled. This commit also includes the postprocessing to remove now-unused comments from the config-header after moveconfig has run. Signed-off-by: Philipp Tomsich

[U-Boot] [PATCH v2 4/5] mmc: tegra: select BOUNCE_BUFFER unconditionally

2018-11-30 Thread Philipp Tomsich
The driver for the SDHCI_TEGRA depends on the bounce buffer utility functions. Unconditionally select BOUNCE_BUFFER, when this driver is enabled. This also includes the post-processing to drop unused comments after running moveconfig. Signed-off-by: Philipp Tomsich --- Changes in v2: None

[U-Boot] [PATCH v2 2/5] mmc: dw_mmc: depend on BOUNCE_BUFFER

2018-11-30 Thread Philipp Tomsich
The driver for the dw_mmc depends on the bounce buffer utility functions. Unconditionally select BOUNCE_BUFFER, when DW_MMC is enabled. This also includes the postprocessing of the config-headers to drop now-unused comments after moveconfig has run. Signed-off-by: Philipp Tomsich Reviewed-by

[U-Boot] [PATCH v2 5/5] arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

2018-11-30 Thread Philipp Tomsich
The NAND driver of AXS10x depends on the availability of the bounce buffer. As the NAND driver is gated by CMD_NAND only, we need to select BOUNCE_BUFFER conditionally (on CMD_NAND) for TARGET_AXS101 and TARGET_AXS103. Signed-off-by: Philipp Tomsich --- Changes in v2: None arch/arc/Kconfig

[U-Boot] [PATCH] rockchip: rk3399-puma: reduce sd card max-frequency to 40MHz

2018-11-30 Thread Philipp Tomsich
-edge) don't handle clock rates at or above 48MHz properly. This change reduces the maximum frequency on the external SD-interface to 40MHz (for a safety margin of 20%). Reported-by: Jakob Unterwurzacher Signed-off-by: Philipp Tomsich Tested-by: Christoph Muellner --- arch/arm/dts/r

Re: [U-Boot] rockchp: rock_defconfig: remove TPL_TINY_MEMSET

2018-11-30 Thread Philipp Tomsich
> The rk3188 rock board does not need TPL, remove relate MACRO. > > Signed-off-by: Kever Yang > --- > > configs/rock_defconfig | 1 - > 1 file changed, 1 deletion(-) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-

Re: [U-Boot] [U-Boot, v5, 3/6] ARM: dts: rockchip: Add rv1108 eMMC pinctrl

2018-11-30 Thread Philipp Tomsich
> Changes in v2: > - split bounce buffer change on a new patch > > arch/arm/dts/rv1108.dtsi | 29 + > 1 file changed, 29 insertions(+) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] rockchip: rk3399: Initialize CPU B clock.

2018-11-30 Thread Philipp Tomsich
d. > > Signed-off-by: Christoph Muellner > --- > arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 22 +-- > drivers/clk/rockchip/clk_rk3399.c | 79 > ++--- > 2 files changed, 88 insertions(+), 13 del

Re: [U-Boot] [U-Boot, v5, 1/6] ARM: rockchip: rv1108: Sync clock with vendor tree

2018-11-30 Thread Philipp Tomsich
k/rv1108-cru.h| 137 - > 4 files changed, 729 insertions(+), 33 deletions(-) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, v5, 6/6] ARM: rockchip: rv1108: Add support for default distro_bootcmd

2018-11-30 Thread Philipp Tomsich
es in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > include/configs/evb_rv1108.h| 3 +++ > include/configs/rv1108_common.h | 15 +++ > 2 files changed, 18 insertions(+) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v5, 2/6] ARM: rockchip: rv1108: Enable BOUNCE_BUFFER

2018-11-30 Thread Philipp Tomsich
None > Changes in v4: None > Changes in v3: > - rework commit log > > Changes in v2: > - new patch > > include/configs/rv1108_common.h | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Philipp Tomsich ___ U-Boo

Re: [U-Boot] [U-Boot, v5, 5/6] ARM: dts: rockchip: Add rv1108 USB OTG pinctrl

2018-11-30 Thread Philipp Tomsich
Changes in v3: None > Changes in v2: None > > arch/arm/dts/rv1108.dtsi | 45 +--- > 1 file changed, 42 insertions(+), 3 deletions(-) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, v5, 4/6] ARM: rockchip: rv1108: Add a board_usb_init for USB OTG

2018-11-30 Thread Philipp Tomsich
gt; - rework commit log > > Changes in v2: None > > arch/arm/mach-rockchip/Makefile | 1 + > arch/arm/mach-rockchip/rv1108-board.c | 81 +++ > 2 files changed, 82 insertions(+) > create mode 100644 arch/arm/mach

Re: [U-Boot] [PATCH v5 3/6] ARM: dts: rockchip: Add rv1108 eMMC pinctrl

2018-11-30 Thread Philipp Tomsich
> On 30.11.2018, at 14:34, Otavio Salvador wrote: > > This adds the pinctrl handles to enable the use of eMMC on custom > boards (as minievk) and makes it easier for later addition. I forgot to remark that this is not really useful in U-Boot today, as the pinctrl driver does not parse the DTS

[U-Boot] [PATCH v5 2/3] rockchip: rk3399-puma: defconfig: enable FAN53555 regulator driver

2018-11-30 Thread Philipp Tomsich
rails only. Signed-off-by: Philipp Tomsich --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index bec03c7..e83a616 1

[U-Boot] [PATCH v5 1/3] power: add FAN53555 family support

2018-11-30 Thread Philipp Tomsich
tches the functionality of the Linux driver. Tested on a RK3399-Q7 (with 'option 5' devices): setting voltages from the U-Boot shell and verifying output voltages on the board. Signed-off-by: Philipp Tomsich Tested-by: Klaus Goger --- Changes in v5: - introduced a PMIC (as reques

[U-Boot] [PATCH v5 3/3] rockchip: rk3399-puma: enable fan53555 regulators in DTS

2018-11-30 Thread Philipp Tomsich
Now that we have FAN53555 support, we can enable the regulators in our DTS. To make these easier to identify on the U-Boot commandline, we rename them to the names of the voltage rails they control. Signed-off-by: Philipp Tomsich --- Changes in v5: None Changes in v4: None Changes in v3: None

Re: [U-Boot] [PATCH v2] rockchip: rk3399: Initialize CPU B clock.

2018-11-30 Thread Philipp Tomsich
49c1). > > Tested on RK3399-Q7 on Haikou base board. > > Changes since v1: > > * Set clk_core_b parent to BPLL instead of LPLL. > Kudos to Mark Kettenis for spotting this. > > Signed-off-by: Christoph Muellner Reviewed-by: Philipp Tomsich

Re: [U-Boot] [PATCH v2] rockchip: rk3399: Initialize CPU B clock.

2018-11-30 Thread Philipp Tomsich
Christoph, On 30.11.2018, at 20:32, Christoph Muellner wrote: > > This patch sets the PLL of CPU cluster B (BPLL) to 600 MHz. > This decreases the boot time of Linux 4.19 by about 8%. > > The 600 MHz are inspired by the 600 MHz used for LPLL initialization > (came in with commit 9f636a249c1).

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: add support for veyron-speedy (ASUS Chromebook C201)

2018-11-30 Thread Philipp Tomsich
on/sdram_inf/sdram-lpddr3-samsung-4GB.inc > > Signed-off-by: Marty E. Plummer > Reviewed-by: Simon Glass > Reviewed-by: Philipp Tomsich > --- > arch/arm/dts/Makefile | 1 + > arch/arm/dts/rk3288-veyron-speedy-u-boot.dtsi | 31 > ar

Re: [U-Boot] [U-Boot, v2, 2/2] rockchip: fix incorrect detection of ram size

2018-11-30 Thread Philipp Tomsich
> Taken from coreboot's src/soc/rockchip/rk3288/sdram.c > > Without this change, my u-boot build for the asus c201 chromebook (4GiB) > is incorrectly detected as 0 Bytes of ram. > > Signed-off-by: Marty E. Plummer > Reviewed-by: Philipp Tomsich > --- > arch/

  1   2   3   4   5   6   7   8   9   10   >