Re: [PATCH] mx6: peripheral clock from oscillator

2020-10-22 Thread Jorge Ramirez-Ortiz, Foundries
On 22/10/20, Fabio Estevam wrote: > On Thu, Oct 22, 2020 at 6:24 PM Jorge Ramirez-Ortiz, Foundries > wrote: > > > um, weird, I just googled "imx Rev 2, 10/2019, ERR007805" and it showed > > the document and a link to the errata. > > The errata document is specific for a SoC. perfect. now you un

Re: [PATCH] samsung: common: remove the duplicated stdio print message

2020-10-22 Thread Minkyu Kang
Dear Jaehoon, On Thu, 22 Oct 2020 at 15:57, Jaehoon Chung wrote: > Remove duplicated stdio print message. > It's already displayed in common/console.c. > > Loading Environment from MMC... OK > In:serial > Out: serial > Err: serial > Model: Odroid XU3/XU4/HC1/HC2 based on Exynos5422 > Typ

RE: [PATCH] arm: fsl: common: Improve NXP VID driver PMBus support

2020-10-22 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Stephen Carlson >Sent: Wednesday, August 19, 2020 12:00 AM >To: U-Boot Mailing List >Cc: Prabhakar Kushwaha ; Priyanka Jain >; Sudhanshu Gupta >Subject: [PATCH] arm: fsl: common: Improve NXP VID driver PMBus support > >[Resending as mailer d

[PATCH] microblaze: Enable i2c DM by default

2020-10-22 Thread Michal Simek
Microblaze has been converted fully to DM that's why enabled DM for I2C too. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig index df79206ac274..

Re: [PATCH 10/10] arm64: versal: Set initrd_high to as high as possible

2020-10-22 Thread Michal Simek
On 22. 10. 20 19:45, Tom Rini wrote: > On Thu, Oct 22, 2020 at 12:32:22PM +0200, Michal Simek wrote: > >> From: Siva Durga Prasad Paladugu >> >> >> This patch is setting up the initrd_high to as high as possible >> by leaving max stack size for u-boot so that bigger rootfs can >> also be loaded

RE: [PATCH 1/2] board/freescale/vid: rework of VID support

2020-10-22 Thread Priyanka Jain
>-Original Message- >From: Wasim Khan >Sent: Thursday, August 13, 2020 2:12 AM >To: Priyanka Jain ; Varun Sethi >Cc: u-boot@lists.denx.de; Wasim Khan ; Dan Nica >; Heinz Wrobel >Subject: [PATCH 1/2] board/freescale/vid: rework of VID support > >The VID code does not properly set the volt

RE: [PATCH] configs: ls1043aqds: Configure QSPI related configs

2020-10-22 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Kuldeep Singh >Sent: Thursday, July 23, 2020 11:02 AM >To: Priyanka Jain (OSS) ; u-boot@lists.denx.de >Subject: RE: [PATCH] configs: ls1043aqds: Configure QSPI related configs > >[...] >> Please confirm that all boot-sources will work fine wit

Re: [PATCH] lib: zlib: Use post-increment only in inffast.c

2020-10-22 Thread Tom Rini
On Fri, Oct 23, 2020 at 01:59:29AM +, Tan, Ley Foon wrote: > > > > -Original Message- > > From: Tom Rini > > Sent: Friday, October 23, 2020 9:52 AM > > To: Tan, Ley Foon > > Cc: Ley Foon Tan ; ZY - u-boot > b...@lists.denx.de>; See, Chin Liang > > Subject: Re: [PATCH] lib: zlib: U

RE: [PATCH] lib: zlib: Use post-increment only in inffast.c

2020-10-22 Thread Tan, Ley Foon
> -Original Message- > From: Tom Rini > Sent: Friday, October 23, 2020 9:52 AM > To: Tan, Ley Foon > Cc: Ley Foon Tan ; ZY - u-boot b...@lists.denx.de>; See, Chin Liang > Subject: Re: [PATCH] lib: zlib: Use post-increment only in inffast.c > > On Fri, Oct 23, 2020 at 01:41:57AM +000

Re: [PATCH] lib: zlib: Use post-increment only in inffast.c

2020-10-22 Thread Tom Rini
On Fri, Oct 23, 2020 at 01:41:57AM +, Tan, Ley Foon wrote: > > > > -Original Message- > > From: Tom Rini > > Sent: Thursday, October 22, 2020 9:24 PM > > To: Tan, Ley Foon > > Cc: Ley Foon Tan ; ZY - u-boot > b...@lists.denx.de>; See, Chin Liang > > Subject: Re: [PATCH] lib: zlib:

RE: [PATCH] lib: zlib: Use post-increment only in inffast.c

2020-10-22 Thread Tan, Ley Foon
> -Original Message- > From: Tom Rini > Sent: Thursday, October 22, 2020 9:24 PM > To: Tan, Ley Foon > Cc: Ley Foon Tan ; ZY - u-boot b...@lists.denx.de>; See, Chin Liang > Subject: Re: [PATCH] lib: zlib: Use post-increment only in inffast.c > > On Wed, Oct 21, 2020 at 03:42:10AM +0

[PATCH 1/1] rtc: provide an emulated RTC

2020-10-22 Thread Heinrich Schuchardt
For testing purposes like running the UEFI SCT an RTC may be required. Provide an emulated RTC if we do not have a hardware one. Signed-off-by: Heinrich Schuchardt --- MAINTAINERS| 1 + drivers/rtc/Kconfig| 6 drivers/rtc/Makefile | 1 + drivers/rtc/emul_rtc.c | 79

Re: [PATCH] rtc: move pcf8563 to Kconfig

2020-10-22 Thread Tom Rini
On Fri, Oct 16, 2020 at 10:41:46AM +0200, Heiko Schocher wrote: > add Kconfig option for pcf8563 driver and > run tools/moveconfig.py > > Signed-off-by: Heiko Schocher > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 4/4] serial: serial_xen: add DEBUG_UART support

2020-10-22 Thread Tom Rini
On Thu, Oct 15, 2020 at 01:25:16PM +0900, AKASHI Takahiro wrote: > By using a hypervisor call, we can implement DEBUG_UART on xen. > This will allow us to see messages even earlier than serial_init(). > > Signed-off-by: AKASHI Takahiro Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH 1/4] serial: serial_xen: print U-Boot banner and others

2020-10-22 Thread Tom Rini
On Thu, Oct 15, 2020 at 01:25:13PM +0900, AKASHI Takahiro wrote: > At present, DM_FLAG_PRE_RELOC is set only if !OF_CONTROL. > It doesn't make sense for this para-virtualized driver. > > With this patch applied, you will be able to see early boot messages: > > U-Boot 2020.10-1-ge442e71a6c52-

Re: [PATCH] mmc: mtk-sd: change some dev_err into dev_dbg

2020-10-22 Thread Tom Rini
On Thu, Oct 15, 2020 at 06:38:18PM +0200, Fabien Parent wrote: > dev_err has been used for debugging and a few dev_err message are > printed for normal code execution. Make them dev_dbg instead. > > Signed-off-by: Fabien Parent > Reviewed-by: Peng Fan Applied to u-boot/master, thanks! -- Tom

Re: [v3 2/2] cosmetic: reset: ast2500: Rename driver and configs

2020-10-22 Thread Tom Rini
On Thu, Oct 15, 2020 at 10:25:14AM +0800, Chia-Wei, Wang wrote: > 1. Rename AST2500 reset driver from ast2500-reset.c >to reset-ast2500.c > 2. Rename AST2500 reset kconfig option from AST2500_RESET >to RESET_AST2500 > > Signed-off-by: Chia-Wei, Wang > Reviewed-by: Ryan Chen Applied to

Re: [PATCH 2/4] arch: arm/xen: add putc() for debugging

2020-10-22 Thread Tom Rini
On Thu, Oct 15, 2020 at 01:25:14PM +0900, AKASHI Takahiro wrote: > This new function, xen_debug_putc(), is intended to be used to > enable CONFIG_DEBUG_UART on xen guest. > > Please note that the underlying functionality in Xen is available > only when Xen is configured with !NDEBUG but is much s

Re: [PATCH 3/4] xen: add definitions for console_io

2020-10-22 Thread Tom Rini
On Thu, Oct 15, 2020 at 01:25:15PM +0900, AKASHI Takahiro wrote: > Those definitions added are used with HYPERVISOR_console_io(). > > Signed-off-by: AKASHI Takahiro > Reviewed-by: Peng Fan Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] log: Tidy up documentation

2020-10-22 Thread Tom Rini
On Tue, Oct 13, 2020 at 07:55:07PM -0600, Simon Glass wrote: > Fix up the documentation which was lost in a merge conflict in the > conversion to RST. > > Fixes: 52d3df7fefe ("log: Allow LOG_DEBUG to always enable log output") > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -

Re: [v3 1/2] reset: ast2500: Use SCU for reset control

2020-10-22 Thread Tom Rini
On Thu, Oct 15, 2020 at 10:25:13AM +0800, Chia-Wei, Wang wrote: > The System Control Unit (SCU) controller of Aspeed > SoCs provides the reset control for each peripheral. > > This patch refactors the reset method to leverage > the SCU reset control. Thus the driver dependency > on watchdog inclu

Re: [PATCH v2] clk: ccf: replace the get_rate helper

2020-10-22 Thread Tom Rini
On Wed, Oct 14, 2020 at 11:42:17PM +0200, Dario Binacchi wrote: > The 12d152620d commit fixed the get_rate helper because the set_parent > one did not re-parent the clock device to the new parent. The 4d139f3838 > commit allows you to remove this workaround by calling the > clk_get_parent_rate rou

Re: [PATCH] usb: musb-new: Fix typo in caution message

2020-10-22 Thread Tom Rini
On Mon, Oct 12, 2020 at 06:35:42PM +0900, Naoki Hayama wrote: > %s/Occured/Occurred/ > > Signed-off-by: Naoki Hayama Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] log: Tidy up documentation

2020-10-22 Thread Tom Rini
On Tue, Oct 13, 2020 at 07:55:07PM -0600, Simon Glass wrote: > Fix up the documentation which was lost in a merge conflict in the > conversion to RST. > > Fixes: 52d3df7fefe ("log: Allow LOG_DEBUG to always enable log output") > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -

Re: [PATCH] ARM: mvebu: a38x: Fix comment typo

2020-10-22 Thread Tom Rini
On Mon, Oct 12, 2020 at 06:35:55PM +0900, Naoki Hayama wrote: > %s/occured/occurred/ > > Signed-off-by: Naoki Hayama > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] doc: dfu: fix typo in README.dfu

2020-10-22 Thread Tom Rini
On Wed, Oct 14, 2020 at 11:47:33AM +0800, Chance.Yang wrote: > Fix "ram" typos for serial flash > > Signed-off-by: Chance.Yang Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Remove default value of CONFIG_PREBOOT for CONFIG_USB_STORAGE

2020-10-22 Thread Tom Rini
On Mon, Oct 12, 2020 at 09:47:50AM +0200, Patrick Delaunay wrote: > Remove the default value "usb start" for CONFIG_USB_STORAGE as the USB > storage boot initialization is correctly managed by distro boot command > ('usb_boot' defined in include/config_distro_bootcmd.h already include > the comma

Re: [PATCH 1/2] dm: core: improve uclass_get_device_by_phandle_id() description

2020-10-22 Thread Tom Rini
On Sun, Oct 11, 2020 at 02:25:46PM +0200, Dario Binacchi wrote: > Complete the devp parameter description. > > Signed-off-by: Dario Binacchi > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/2] gpio: fix gpio_request_by_name() description

2020-10-22 Thread Tom Rini
On Sun, Oct 11, 2020 at 02:25:47PM +0200, Dario Binacchi wrote: > Replace 'dev->dev' with '@desc->dev' in the gpio_request_by_name function > desc parameter description. > > Signed-off-by: Dario Binacchi > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Desc

Re: [PATCH v2 2/2] km/common: change ubicopy variable

2020-10-22 Thread Tom Rini
On Fri, Oct 09, 2020 at 05:21:33PM +0200, Holger Brunck wrote: > Instead having a hard coded value for "cramfsaddr" after compile time, > we change it to take the variable "cramfsaddr" for the ubicopy variable. > This makes sure that ubicopy uses the right address, even when > the value for "cramf

Re: [PATCH v2 1/2] km: adapt defines and variables for new memory layout

2020-10-22 Thread Tom Rini
On Fri, Oct 09, 2020 at 05:21:32PM +0200, Holger Brunck wrote: > Due to increasing kernel image sizes we get problems when decompressing > the kernel image. To fix this we need to change the addresses where we > load and where we extract the kernel. Also we need to adapt the address > where to loa

Re: [PATCH] fs: btrfs: Fix typo in error message

2020-10-22 Thread Tom Rini
On Mon, Oct 12, 2020 at 06:35:33PM +0900, Naoki Hayama wrote: > %s/occured/occurred/ > > Signed-off-by: Naoki Hayama > Reviewed-by: Marek Behún > Reviewed-by: Qu Wenruo Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] mmc: Fix comment typo

2020-10-22 Thread Tom Rini
On Mon, Oct 12, 2020 at 06:35:22PM +0900, Naoki Hayama wrote: > %s/occured/occurred/ > > Signed-off-by: Naoki Hayama Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 5/6] rng: Add Qualcomm MSM PRNG driver

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 10:05:13PM +0200, Robert Marko wrote: > Add support for the hardware pseudo random number generator found in Qualcomm > SoC-s. > > Signed-off-by: Robert Marko > Cc: Luka Perkov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 4/6] IPQ40xx: Add support for MDIO

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 10:05:12PM +0200, Robert Marko wrote: > Lets add the necessary DTS node and pinctrl properties for newly added MDIO > driver. > > Signed-off-by: Robert Marko > Cc: Luka Perkov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 6/6] IPQ40xx: Add PRNG support

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 10:05:14PM +0200, Robert Marko wrote: > Since we now have the driver for Qualcomm PRNG HW, lets use it and add the > necessary clocks and nodes. > > Signed-off-by: Robert Marko > Cc: Luka Perkov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PG

Re: [PATCH 1/2] lib: print_freq() should output kHz not KHz

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 10:23:23PM +0200, Heinrich Schuchardt wrote: > In the International System of Units (SI) the prefix kilo is abbreviated as > 'k' not 'K'. 'K' is the symbol for Kelvin. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks!

Re: [PATCH 3/6] net: Add IPQ40xx MDIO driver

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 10:05:11PM +0200, Robert Marko wrote: > This adds the driver for the IPQ40xx built-in MDIO. > This will be needed to support future PHY driver. > > Signed-off-by: Robert Marko > Cc: Luka Perkov Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH] tools: image-host.c: use correct output format

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 08:51:24PM +0200, Heinrich Schuchardt wrote: > When building on a 32bit host the following warning occurs: > > tools/image-host.c: In function ‘fit_image_read_data’: > tools/image-host.c:296:56: warning: format ‘%ld’ expects argument of > type ‘long int’, but argument 3 ha

Re: [PATCH 1/6] spi: Add Qualcomm QUP SPI controller driver

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 10:05:09PM +0200, Robert Marko wrote: > This patch adds support for the Qualcomm QUP SPI controller that is commonly > found in most of Qualcomm SoC-s. > > Driver currently supports v1.1.1, v2.1.1 and v2.2.1 HW. > FIFO and Block modes are supported, no support for DMA mod

Re: [PATCH 2/6] IPQ40xx: Add SPI support

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 10:05:10PM +0200, Robert Marko wrote: > Since we have SPI driver for IPQ40xx QUP SPI controller, lets add the > necessary nodes, pinctrl and clocks. > > Signed-off-by: Robert Marko > Cc: Luka Perkov Applied to u-boot/master, thanks! -- Tom signature.asc Description

Re: [PATCH 5/6] README: vxworks: Fix typo overwride

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 01:17:08PM +0900, Naoki Hayama wrote: > %s/overwride/override/ > > Signed-off-by: Naoki Hayama Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 3/6] README: Update directory hierarchy

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 01:16:38PM +0900, Naoki Hayama wrote: > Removed: > - /arch/openrisc > > Added: > - /arch/xtensa > - /env > > Signed-off-by: Naoki Hayama Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 4/6] README: sandbox: Change reference to sandbox details

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 01:16:58PM +0900, Naoki Hayama wrote: > doc/arch/index.rst is a list of links to each architecture. > As for the sandbox details, doc/arch/sandbox.rst looks better. > > Signed-off-by: Naoki Hayama > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom s

Re: [PATCH v2] km: fix license string and compatible strings

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 12:27:22PM +0200, Holger Brunck wrote: > As the ownership is now Hitachi Power Grids, change the license string > and adapt the compatible string in DTS files. For kmeter1.dts we > change it to "keymile,KMETER1" for now, as this is then compliant with > what is submitted to

Re: [PATCH 6/6] README: Convert HTTP links to HTTPS

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 01:17:16PM +0900, Naoki Hayama wrote: > Convert all the other http:// links to https:// . > www.denx.de/twiki/ seems to move to www.denx.de/wiki/ , > so change it. > > I checked all links in this patch are valid. > > Signed-off-by: Naoki Hayama Applied to u-boot/master,

Re: [PATCH 1/6] README: Update links to mailing list archives

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 01:16:18PM +0900, Naoki Hayama wrote: > This patch includes these updates > > - Change http://lists.denx.de/pipermail/u-boot > to https://lists.denx.de/pipermail/u-boot > - http://dir.gmane.org/gmane.comp.boot-loaders.u-boot > is broken, so remove it > - Another archiv

Re: [PATCH 2/6] README: Update source code location

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 01:16:25PM +0900, Naoki Hayama wrote: > This patch include these updates > > - Git repository has moved to GitLab > - HTTPS access to the file server is allowed > - pre-built images are no longer available > > Signed-off-by: Naoki Hayama Applied to u-boot/master, thanks

Re: [PATCH v2 2/2] timer: Return count from timer_ops.get_count

2020-10-22 Thread Tom Rini
On Wed, Oct 07, 2020 at 02:37:44PM -0400, Sean Anderson wrote: > No timer drivers return an error from get_count. Instead of possibly > returning an error, just return the count directly. > > Signed-off-by: Sean Anderson > Reviewed-by: Claudiu Beznea > Reviewed-by: Simon Glass Applied to u-bo

Re: [PATCH v2 1/2] doc: Document timer API

2020-10-22 Thread Tom Rini
On Wed, Oct 07, 2020 at 02:37:43PM -0400, Sean Anderson wrote: > This adds kerneldocs for . > > I don't know who should maintain doc/api/timer.rst, since the timer > subsystem seems to be maintained by SoC maintainers. MAINTAINERS is left > un-updated for the moment. > > Signed-off-by: Sean Ande

Re: [PATCH 3/3] cosmetic: image: Fix comments and the order of definitions

2020-10-22 Thread Tom Rini
On Wed, Oct 07, 2020 at 11:22:24AM +0900, Naoki Hayama wrote: > Fix some comments about functions. > Move genimg_get_comp_name() above genimg_get_short_name() because > genimg_get_comp_name() is related to get_table_entry_name(). > > Signed-off-by: Naoki Hayama > Reviewed-by: Simon Glass Appli

Re: [PATCH] common, autoboot: sync functionality with Kconfig description

2020-10-22 Thread Tom Rini
On Wed, Oct 07, 2020 at 08:06:54AM +0200, Heiko Schocher wrote: > add back again special case: -2 > autoboot with no delay and no check for abort > > as described in Kconfig option, see common/Kconfig > help text for option BOOTDELAY. > > Signed-off-by: Heiko Schocher > Reviewed-by: Tom Rini >

Re: [PATCH 1/1] common: rename getc() to getchar()

2020-10-22 Thread Tom Rini
On Wed, Oct 07, 2020 at 06:11:48PM +0200, Heinrich Schuchardt wrote: > The sandbox is built with the SDL2 library with invokes the X11 library > which in turn calls getc(). But getc() in glibc is defined as > > int getc(FILE *) > > This does not match our definition. > > int getc(void)

Re: [PATCH] cli_hush.c: remove broken sanity check

2020-10-22 Thread Tom Rini
On Wed, Oct 07, 2020 at 09:36:03AM +0200, Rasmus Villemoes wrote: > This code is intended do prevent one from setting a shell variable abc > by doing > > abc=123 > > if an environment variable named abc already exists. However, the > check is broken, since the env_get is done before the split

Re: [PATCH 1/3] image: Add a function to modify category information

2020-10-22 Thread Tom Rini
On Wed, Oct 07, 2020 at 11:21:25AM +0900, Naoki Hayama wrote: > Add a generic function which can check whether a category has an > entry ID. > > Signed-off-by: Naoki Hayama > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/3] mkimage: Skip adding non-existent IDs to a list

2020-10-22 Thread Tom Rini
On Wed, Oct 07, 2020 at 11:21:55AM +0900, Naoki Hayama wrote: > In show_valid_options(), this patch introduces checking whether > a category has an entry ID. If not, adding it to a list for output > is skipped before calling qsort(). > This patch will affect all kinds of image header categories >

Re: [PATCH 10/12] board: Show memory for frame buffers

2020-10-22 Thread Tom Rini
On Sun, Sep 27, 2020 at 06:46:22PM -0600, Simon Glass wrote: > When debugging is enabled, show the memory allocated to video frame > buffers. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 11/12] i2c: designware: Use log_debug() for debugging

2020-10-22 Thread Tom Rini
On Sun, Sep 27, 2020 at 06:46:23PM -0600, Simon Glass wrote: > We don't want the debug output to be visible in a normal boot. Silence it. > > Signed-off-by: Simon Glass > Reviewed-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 12/12] tpm: cr50: Correct logging statements

2020-10-22 Thread Tom Rini
On Sun, Sep 27, 2020 at 06:46:24PM -0600, Simon Glass wrote: > Fix up some logging statements in this file. Most of them should use > log_debug(), apart from one error. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 05/12] syscon: Drop the logging in syscon_get_by_driver_data()

2020-10-22 Thread Tom Rini
On Sun, Sep 27, 2020 at 06:46:17PM -0600, Simon Glass wrote: > This function can be called when it is not known whether it will find > anything. This results in confusing log messages if the device is not > found. It is better for the caller to log the failure, if necessary. > > Drop the logging

Re: [PATCH 06/12] bloblist: Place on a 4KB boundary

2020-10-22 Thread Tom Rini
On Sun, Sep 27, 2020 at 06:46:18PM -0600, Simon Glass wrote: > It is much easier to read the bloblist addresses if it starts on a 4KB > boundary. Update it to align it accordingly. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatu

Re: [PATCH 01/12] log: Add missing category names

2020-10-22 Thread Tom Rini
On Sun, Sep 27, 2020 at 06:46:13PM -0600, Simon Glass wrote: > Add some category names that were missed in recent changes. Update the > comment as a reminder. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Kconfig: Use hex values for CONFIG_{SPL,TPL}_SIZE_LIMIT

2020-10-22 Thread Tom Rini
On Fri, Sep 25, 2020 at 09:12:56PM +0300, Ovidiu Panait wrote: > CONFIG_{SPL,TPL}_SIZE_LIMIT are defined as hex (SPL_SIZE_LIMIT was > converted in b51882d0 ("spl: Convert CONFIG_SPL_SIZE_LIMIT to hex"), but > there are still places that reference integer values. Change those to hex > as well. Also

Re: [PATCH] mx6: peripheral clock from oscillator

2020-10-22 Thread Fabio Estevam
On Thu, Oct 22, 2020 at 6:24 PM Jorge Ramirez-Ortiz, Foundries wrote: > um, weird, I just googled "imx Rev 2, 10/2019, ERR007805" and it showed > the document and a link to the errata. The errata document is specific for a SoC. It does not help to add "Rev 2, 10/2019, ERR007805" in the commit l

Re: [PATCH] mx6: peripheral clock from oscillator

2020-10-22 Thread Jorge Ramirez-Ortiz, Foundries
On 22/10/20, Fabio Estevam wrote: > On Mon, Oct 19, 2020 at 11:23 AM Jorge Ramirez-Ortiz > wrote: > > > > In order to be able to run the I2C bus at 400Khz, the chip errata[1] > > recommends that the peripheral clock runs out of the 24MHz oscillator. > > I would suggest adding the optee related m

Re: [PATCH] mx6: peripheral clock from oscillator

2020-10-22 Thread Fabio Estevam
On Mon, Oct 19, 2020 at 11:23 AM Jorge Ramirez-Ortiz wrote: > > In order to be able to run the I2C bus at 400Khz, the chip errata[1] > recommends that the peripheral clock runs out of the 24MHz oscillator. I would suggest adding the optee related motivation that you explained earlier here in the

[PATCH v3 2/2] pwm: Add a driver for Chrome OS EC PWM

2020-10-22 Thread Alper Nebi Yasak
This PWM is used in rk3399-gru-bob and rk3399-gru-kevin to control the display brightness. We can only change the duty cycle, so on set_config() we just try to match the duty cycle that dividing duty_ns by period_ns gives us. To disable, we set the duty cycle to zero while keeping the old value for

[PATCH v3 1/2] video: backlight: Support PWMs without a known period_ns

2020-10-22 Thread Alper Nebi Yasak
The PWM device provided by Chrome OS EC doesn't really support anything other than setting a relative duty cycle. To support it as a backlight, this patch makes the PWM period optional in the device tree and pretends the valid brightness range is its period_ns. Also adds a sandbox test for a PWM c

[PATCH 2/2] rockchip: gru: Allow setting up clocks in U-Boot proper

2020-10-22 Thread Alper Nebi Yasak
Commit fe974716326c ("rockchip: rk3288: Allow setting up clocks in U-Boot proper") fixes some clock issues when chainloading U-Boot on rk3288 chromebooks. Part of that change is still available in veyron's board_early_init_r() function. Since chain-loading U-Boot proper from vendor firmware is poss

[PATCH 1/2] rockchip: rk3399: Re-init clocks in U-Boot proper

2020-10-22 Thread Alper Nebi Yasak
It's possible to chainload U-Boot proper from the vendor firmware in rk3399 chromebooks, but the way the vendor firmware sets up clocks is somehow different than what U-Boot expects. This causes the display to stay devoid of content even though vidconsole claims to work (with patches in process of

[PATCH 2/2] test: unit tests for print_freq(), print_size()

2020-10-22 Thread Heinrich Schuchardt
Provide unit tests for functions print_freq() and print_size(). Signed-off-by: Heinrich Schuchardt --- v2: add missing add missing test/lib/test_print.c --- test/lib/Makefile | 1 + test/lib/test_print.c | 71 +++ 2 files changed, 72 insertion

[PATCH 0/2] lib: print_freq() should output kHz not KHz

2020-10-22 Thread Heinrich Schuchardt
Correct print_freq() for output of kHz. Provide unit tests for print_freq() and print_size(). v2: add missing test/lib/test_print.c Heinrich Schuchardt (2): lib: print_freq() should output kHz not KHz test: unit tests for print_freq(), print_size() include/display_options.h | 2 +-

[PATCH 1/2] lib: print_freq() should output kHz not KHz

2020-10-22 Thread Heinrich Schuchardt
In the International System of Units (SI) the prefix kilo is abbreviated as 'k' not 'K'. 'K' is the symbol for Kelvin. Signed-off-by: Heinrich Schuchardt Reviewed-by: Stefan Roese --- v2: no change --- include/display_options.h | 2 +- lib/display_options.c | 2 +- 2 files changed,

[PATCH] video: rockchip: Restrict EDP, VOP, MIPI files to GPL-2.0

2020-10-22 Thread Alper Nebi Yasak
These files have a lot of code in common with their counterparts in coreboot, especially in their earlier revisions: U-Boot | coreboot --| drivers/video/rock

Pull request: u-boot-sunxi/master

2020-10-22 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - sun8i emac changes (Andre) - SCP firmware (Samuel) Travis-CI: https://travis-ci.org/github/openedev/u-boot/builds/738083734 The following changes since commit 7ec87e4192215815b658c3f8b34e4be010103149: Merge tag 'u-boot-atmel-2021.01-b' of https://gitl

Re: [patch 4/8] RFC: drivers/video/rockchip/rk_edp.c: Change clock rate

2020-10-22 Thread Alper Nebi Yasak
On 25/09/2020 21:36, Arnaud Patard (Rtp) wrote: > The current code is setting the clock rate to 19200, but > due to the current device-tree configuration and linux code, > it should rather be 1. > This looks like it's ACLK_VOP to me. FYI, coreboot sets it to 192 MHz for rk3288 and 200

Re: [PATCH] ARM: dts: stm32: Reinstate card detect behavior on DHSOM

2020-10-22 Thread Marek Vasut
On 10/22/20 7:17 PM, Patrick DELAUNAY wrote: > Hi Marek, Hi, >> From: Marek Vasut >> Sent: lundi 19 octobre 2020 23:38 >> >> The cd-gpios with (GPIO_ACTIVE_LOW | GPIO_PULL_UP) gpio is thus far >> unsupported, reinstate the old cd-gpios behavior until this handling is fully >> implemented. This p

Re: [PATCH 10/10] arm64: versal: Set initrd_high to as high as possible

2020-10-22 Thread Tom Rini
On Thu, Oct 22, 2020 at 12:32:22PM +0200, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > This patch is setting up the initrd_high to as high as possible by leaving > max stack size for u-boot so that bigger rootfs can also be loaded by > u-boot for booting kernel. > > Signed-off-by:

Re: [PATCH] ARM: am335x: Add phyBOARD REGOR support

2020-10-22 Thread Tom Rini
On Thu, Oct 22, 2020 at 04:51:57PM +0200, Parthiban Nallathambi wrote: > phyBOARD-REGOR is based on phyCORE AM335x R2 SoM (PCL060). > > CPU : AM335X-GP rev 2.1 > Model: Phytec AM335x phyBOARD-REGOR > DRAM: 512 MiB > NAND: 512 MiB > MMC: OMAP SD/MMC: 0 > eth0: ethernet@4a10 > > Working:

RE: [PATCH] ARM: dts: stm32: Reinstate card detect behavior on DHSOM

2020-10-22 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: lundi 19 octobre 2020 23:38 > > The cd-gpios with (GPIO_ACTIVE_LOW | GPIO_PULL_UP) gpio is thus far > unsupported, reinstate the old cd-gpios behavior until this handling is fully > implemented. This permits the DHSOM to boot from SD again, without this patc

[PATCH] ARM: am335x: Add phyBOARD REGOR support

2020-10-22 Thread Parthiban Nallathambi
phyBOARD-REGOR is based on phyCORE AM335x R2 SoM (PCL060). CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-REGOR DRAM: 512 MiB NAND: 512 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet@4a10 Working: - Eth0 - i2C - MMC/SD - NAND - UART - USB (host) Device trees were taken from Linux m

Re: [PATCH 4/8] sunxi: board: Add PinePhone DT selection logic

2020-10-22 Thread Maxime Ripard
On Wed, Oct 21, 2020 at 08:38:21PM -0500, Samuel Holland wrote: > On 10/21/20 1:56 PM, Jagan Teki wrote: > > On Thu, Sep 3, 2020 at 10:37 AM Samuel Holland wrote: > >> > >> There are two different publicly-released revisions of the PinePhone > >> hardware, versions 1.1 and 1.2; and they need diffe

Re: [PULL] Pull request for u-boot master = u-boot-stm32-20201021

2020-10-22 Thread Tom Rini
On Thu, Oct 22, 2020 at 07:32:44AM +, Patrick DELAUNAY wrote: > Hi Tom, > > Please pull the STM32 related patches for u-boot/master, v2021.01: > u-boot-stm32-20201021 > > - Activate CMD_EXPORTENV/CMD_IMPORTENV/CMD_ELF for STM32MP15 defconfig > - Fix stm32prog command: parsing of FlashLayout

Re: [GIT PULL] SoCFPGA fix for v2021.01

2020-10-22 Thread Tom Rini
On Thu, Oct 22, 2020 at 03:13:05AM +, Tan, Ley Foon wrote: > Hi Tom > > Please pull one fix for 2021.01. > > Travis CI build: https://travis-ci.org/github/lftan/u-boot/builds/737650124 > > Regards > Ley Foon > > The following changes since commit 7ec87e4192215815b658c3f8b34e4be010103149:

Re: [PATCH] mx6: peripheral clock from oscillator

2020-10-22 Thread Jorge Ramirez-Ortiz, Foundries
On 19/10/20, Jorge Ramirez-Ortiz wrote: > In order to be able to run the I2C bus at 400Khz, the chip errata[1] > recommends that the peripheral clock runs out of the 24MHz oscillator. > > [1] Rev 2, 10/2019, ERR007805 > > Signed-off-by: Jorge Ramirez-Ortiz > --- > arch/arm/mach-imx/mx6/soc.c |

[PATCH v4 12/13] x86: galileo: Use devicetree for SMBIOS settings

2020-10-22 Thread Simon Glass
Add settings and enable the default sysinfo driver so that these can come from the device tree. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/dts/galileo.dts| 18 ++ board/intel/galileo/Kconfig | 11 --- 2 files changed, 18 insertions(+), 11 deletion

[PATCH v4 13/13] smbios: Drop the unused Kconfig options

2020-10-22 Thread Simon Glass
Now that we can use devicetree to specify this information, drop the old CONFIG options. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add onto the sysinfo binding configs/clearfog_gt_8k_defconfig| 2 -- configs/mt7622_rfb_defconfig| 1 - configs/mvebu_db

[PATCH v4 11/13] arm64: mvebu: Use devicetree for SMBIOS settings on uDPU

2020-10-22 Thread Simon Glass
Add settings and enable the default sysinfo driver so that these can come from the device tree. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/armada-3720-uDPU-u-boot.dtsi | 20 configs/uDPU_defconfig| 3 ++- 2 files changed, 22 inse

[PATCH v4 10/13] odroid-c2: Use devicetree for SMBIOS settings

2020-10-22 Thread Simon Glass
Add settings and enable the default sysinfo driver so that these can come from the device tree. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi | 23 configs/odroid-c2_defconfig | 4 ++-- 2 files changed,

[PATCH v4 08/13] rockchip: Use devicetree for SMBIOS settings

2020-10-22 Thread Simon Glass
Add settings and enable the default sysinfo driver so that these can come from the device tree. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/rk3328-roc-cc-u-boot.dtsi| 21 + arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi | 23 +++ arc

[PATCH v4 01/13] board: Rename uclass to sysinfo

2020-10-22 Thread Simon Glass
This uclass is intended to provide a way to obtain information about a U-Boot board. But the concept of a U-Boot 'board' is the whole system, not just one circuit board, meaning that 'board' is something of a misnomer for this uclass. In addition, the name 'board' is a bit overused in U-Boot and w

[PATCH v4 09/13] imx: Use devicetree for SMBIOS settings on MYiR MYS-6ULX

2020-10-22 Thread Simon Glass
Add settings and enable the default sysinfo driver so that these can come from the device tree. Signed-off-by: Simon Glass --- (no changes since v1) .../dts/imx6ull-myir-mys-6ulx-eval-u-boot.dts | 25 +++ configs/myir_mys_6ulx_defconfig | 3 ++- 2 files changed,

[PATCH v4 06/13] smbios: Add documentation and devicetree binding

2020-10-22 Thread Simon Glass
Add information about how to set SMBIOS properties using the devicetree. Signed-off-by: Simon Glass --- (no changes since v1) doc/arch/x86.rst| 8 +++ doc/device-tree-bindings/sysinfo/smbios.txt | 77 + 2 files changed, 85 insertions(+) create

[PATCH v4 07/13] sysinfo: Provide a default driver to set SMBIOS values

2020-10-22 Thread Simon Glass
Some boards want to specify the manuafacture or product name but do not need to have their own sysinfo driver. Add a default driver which provides a way to specify this SMBIOS information in the devicetree, without needing any board-specific functionality. Signed-off-by: Simon Glass --- (no cha

[PATCH v4 04/13] smbios: Allow properties to come from the device tree

2020-10-22 Thread Simon Glass
Support a way to put SMBIOS properties in the device tree. These can be placed in a 'board' device in an 'smbios' subnode. Signed-off-by: Simon Glass --- Changes in v4: - Fix build error with vexpress_ca9x4 Changes in v3: - Use a different binding with subnodes for each table type lib/smbios.

[PATCH v4 03/13] x86: Pass an ofnode into each SMBIOS function

2020-10-22 Thread Simon Glass
As a first step to obtaining SMBIOS information from the devicetree, add an ofnode parameter to the writing functions. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Move dm.h header file to avoid build error on qemu-arm - Deal with boards that don't use of-control incl

[PATCH v4 05/13] smbios: Add more properties

2020-10-22 Thread Simon Glass
The current tables only support a subset of the available fields defined by the SMBIOS spec. Add a few more. Signed-off-by: Simon Glass --- (no changes since v1) lib/smbios.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/smbios.c b/lib/smbios.c index be72a98c49d..87dd4be415d 1006

[PATCH v4 02/13] doc: Add a binding for sysinfo

2020-10-22 Thread Simon Glass
Add a simple binding file for this, so that it is clear what this binding directory is for. Signed-off-by: Simon Glass --- (no changes since v1) doc/device-tree-bindings/sysinfo/sysinfo.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 doc/device-tree-bindings/s

[PATCH v4 00/13] x86: Updates to SMBIOS

2020-10-22 Thread Simon Glass
At present there are a few Kconfig options which allow SMBIOS fields to be specified at build time. Not all fields are supported. Also, defining these at build-time is limiting since a factory system cannot insert values for particular boards or models without rebuilding U-Boot. This series adds

Re: [PATCH 2/2] test: unit tests for print_freq(), print_size()

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 10:23:24PM +0200, Heinrich Schuchardt wrote: > Provide unit tests for functions print_freq() and print_size(). > > Signed-off-by: Heinrich Schuchardt > --- > test/lib/Makefile | 1 + > 1 file changed, 1 insertion(+) > > -- > 2.28.0 > > diff --git a/test/lib/Makefile b/

  1   2   >