On 2 November 2018 at 09:15, Ryder Lee wrote:
> This patch adds support for MTK boot image generation.
>
> Signed-off-by: Weijie Gao
> Signed-off-by: Ryder Lee
> ---
> Makefile | 20 ++
> common/image.c | 1 +
> include/image.h | 1 +
> scripts/Makefile.spl | 11 +
>
On 2 November 2018 at 09:15, Ryder Lee wrote:
> This adds a general board file based on MT7629 SoCs from MediaTek.
>
> Apart from the generic parts (cpu) we add some low level init codes
> and initialize the early clocks.
>
> Signed-off-by: Ryder Lee
> Signed-off-by: Weijie Gao
> ---
> arch/arm
Hi Vabhav,
On 2 November 2018 at 02:28, Vabhav Sharma wrote:
> Hello Maintainer/Owners,
>
> Please provide your valuable input
>
>
>
> Referring ‘[PATCH] drivers: serial: probe all serial devices’ email
> regarding unified way to probe device during boot using DM model
>
> I would like to take th
Hi Bin,
On 1 November 2018 at 20:25, Bin Meng wrote:
> On Sun, Oct 28, 2018 at 9:31 PM Adam Ford wrote:
>>
>> On Wed, Oct 24, 2018 at 8:32 AM Bin Meng wrote:
>> >
>> > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
>> > bound before relocation. However due to a bug in the DM cor
On 24 October 2018 at 06:10, Patrice Chotard wrote:
> Add get_pin_mux ops support to display the pin muxing
> description of the sandbox_pins[]
>
> Signed-off-by: Patrice Chotard
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
> drivers/pinctrl/pinctrl-sandbox.c | 18
On 26 October 2018 at 05:14, Jean-Jacques Hiblot wrote:
> The possible filters are "arch", "vendor", "soc", "cpu" and "arch".
>
> The list of all the defconfigs is read from boards.cfg. If this file
> doesn't exist, then tools/genboardscfg.py is called to generate it.
>
> Signed-off-by: Jean-Jacqu
On 30 October 2018 at 06:55, Lukas Auer wrote:
> Signed-off-by: Lukas Auer
> ---
>
> Changes in v2:
> - Move prototype location to match the location of the function in
> ofnode.c
>
> include/dm/ofnode.h | 10 ++
> 1 file changed, 10 insertions(+)
>
Reviewed-by: Simon Glass
Thanks.
__
On 2 November 2018 at 14:28, Simon Goldschmidt
wrote:
> Add possibility to update the serial parity used.
>
> Signed-off-by: Simon Goldschmidt
> ---
>
> drivers/serial/ns16550.c | 43 ++--
> 1 file changed, 41 insertions(+), 2 deletions(-)
>
Reviewed-by: Simo
On 2 November 2018 at 09:15, Ryder Lee wrote:
> This patch adds pinctrl support for MT7629 SoC. The IO core found on
> the SoC has the registers for pinctrl, pinconf and gpio mixed up in
> the same register range. Hence the driver also implements the gpio
> functionality through UCLASS_GPIO.
>
>
On 26 October 2018 at 05:14, Jean-Jacques Hiblot wrote:
> configs2csv.py is tool that allow to check how some options are used for a
> particular subset of platforms.
> The purpose is to identify the targets that are actually using one or more
> options of interest.
> For example, it can tell what
On 2 November 2018 at 14:08, Simon Goldschmidt
wrote:
> The comment on this function prototype describes nonexistent
> parameters. It seems to be copied from 'setparity'.
>
> Update it to match its the parameter list.
>
> Signed-off-by: Simon Goldschmidt
> ---
>
> include/serial.h | 4 +---
> 1
Hi Ryder,
On 25 October 2018 at 00:08, Ryder Lee wrote:
> Hi Simon,
>
> On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote:
>> Hi Ryder,
>>
>> On 12 October 2018 at 01:00, Ryder Lee wrote:
>> > This patch adds pinctrl support for MT7629 SoC. The IO core found on
>> > the SoC has the registers
On 26 October 2018 at 05:14, Jean-Jacques Hiblot wrote:
> "moveconfig -b" will build a database of config options based on the
> content of include/config/auto.conf that reflects the .config
>
> Add a new option '-B' that does essentially the same, except that it uses
> the content of u-boot.cfg,
Hi Ryder,
On 2 November 2018 at 09:15, Ryder Lee wrote:
> This patch adds clock modules for MediaTek SoCs:
> - Shared part: a common driver which contains the general operations
> for plls, muxes, dividers and gates so that we can reuse it in future.
>
> - Specific SoC part: the group of structur
On 24 October 2018 at 06:10, Patrice Chotard wrote:
> Add uclass_foreach_dev_probe() which iterates through
> devices of a given uclass. Devices are probed if necessary
> and are ready to use.
>
> Signed-off-by: Patrice Chotard
> ---
>
> Changes in v4:
> - Replace respectively uclass_first_devic
Hi Ryder,
On 25 October 2018 at 00:37, Ryder Lee wrote:
> On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote:
>> Hi Ryder,
>>
>> On 12 October 2018 at 01:00, Ryder Lee wrote:
>> > This patch adds clock modules for MediaTek SoCs:
>> > - Shared part: a common driver which contains the general op
Hi Ryder,
On 2 November 2018 at 09:15, Ryder Lee wrote:
> This patch adds an extra operation in ns16550.c to suuport MediaTek
> SoCs as we have a highspeed register which influences the calcualtion
> of the divisor.
>
> Note that we don't support the baudrate greater than 115200 currently.
>
> Si
On 2 November 2018 at 14:49, Simon Goldschmidt
wrote:
> Tiny printf does not support %.*s and %lX. Since tiny printf should
> be very common in SPL, replace these by %32s (for printing image
> name) and %lx.
>
> Signed-off-by: Simon Goldschmidt
> ---
>
> common/spl/spl.c | 14 ++
> 1
On 24 October 2018 at 06:10, Patrice Chotard wrote:
> Add pinmux test which test the following commands:
> - pinmux list
> - pinmux dev
> - pinmux status
>
> Signed-off-by: Patrice Chotard
> ---
>
> Changes in v4:
> - Update sandbox_get_pin_muxing() due to get_pin_muxing()
>prototype c
Hi Ryder,
On 25 October 2018 at 00:13, Ryder Lee wrote:
> On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote:
>> Hi Ryder,
>>
>> On 12 October 2018 at 01:01, Ryder Lee wrote:
>> > This patch adds pinctrl support for MT7623 SoC. And most of the
>> > structures are used to hold the hardware conf
On 25 October 2018 at 03:29, Philippe Reynes
wrote:
> Signed-off-by: Philippe Reynes
> ---
> configs/sandbox_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> Changelog:
> v2:
> - new patch in the serie
Reviewed-by: Simon Glass
___
U-Boot mailing
On 25 October 2018 at 03:29, Philippe Reynes
wrote:
> The padding pss is now supported for rsa signature.
> This add test with padding pss on vboot test.
>
> Signed-off-by: Philippe Reynes
> ---
> test/py/tests/test_vboot.py | 10 +++---
> test/py/tests/vboot/sign-configs-sha
On 25 October 2018 at 03:29, Philippe Reynes
wrote:
> We add the support of the padding pss for rsa signature.
> This new padding is often recommended instead of pkcs-1.5.
>
> Signed-off-by: Philippe Reynes
> ---
> Kconfig | 8 +++
> common/image-sig.c | 6 ++
> include/image.
On 21 October 2018 at 20:43, Peng Ma wrote:
> Enable related configs to support sata DM feature.
>
> Signed-off-by: Peng Ma
> ---
> configs/ls2080aqds_defconfig |5 +
> configs/ls2080ardb_defconfig |5 +
> 2 files changed, 10 insertions(+), 0 deletions(-)
Reviewed-by: Simon Glas
Hi Ryder,
On 2 November 2018 at 09:15, Ryder Lee wrote:
> Add a few notes on how to try out the MediaTek support so far.
>
> Signed-off-by: Ryder Lee
> ---
> doc/README.mediatek | 54
> +
> 1 file changed, 54 insertions(+)
> create mode 1006
On 24 October 2018 at 06:10, Patrice Chotard wrote:
> Add get_pin_muxing() which allows to display the muxing
> of a given pin belonging to a pin-controller.
>
> Signed-off-by: Patrice Chotard
> ---
>
> Changes in v4:
> - Update get_pin_muxing() prototype by adding buffer and buffer's size
>
On 2 November 2018 at 09:15, Ryder Lee wrote:
> This patch adds pinctrl support for MT7623 SoC. And most of the
> structures are used to hold the hardware configuration for each
> pin.
>
> Signed-off-by: Ryder Lee
> Tested-by: Matthias Brugger
> ---
> drivers/pinctrl/mediatek/Kconfig
On 24 October 2018 at 06:10, Patrice Chotard wrote:
> Add get_pins_count ops to obtain the number of pins
> owns by a pin-controller.
> On STM32 SoCs bindings, each pin-controller owns
> several gpio banks. Each GPIO bank can own up to 16 pins.
>
> To obtain the total pins count, walk through each
On 24 October 2018 at 06:10, Patrice Chotard wrote:
> pinmux command allows to :
> - list all pin-controllers available on platforms
> - select a pin-controller
> - display the muxing of all pins of the current pin-controller
>or all pin-controllers depending of given options
>
> Signed-off
On 24 October 2018 at 06:10, Patrice Chotard wrote:
> Similarly to uclass_first_device_err(), add uclass_next_device_err()
> which returns an error if there are no next devices in that uclass.
>
> Signed-off-by: Patrice Chotard
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2:
On 24 October 2018 at 06:10, Patrice Chotard wrote:
> Add get_pin_name ops to obtain a pin name given a
> pin index of a specified pin-controller.
>
> Signed-off-by: Patrice Chotard
> ---
>
> Changes in v4:
> - Use define PINNAME_SIZE from include/dm/pinctrl.h instead of
>driver's local one
On 24 October 2018 at 06:10, Patrice Chotard wrote:
> Add get_pin_muxing() ops to obtain the pin muxing description
> a given pin index.
>
> Signed-off-by: Patrice Chotard
> ---
>
> Changes in v4:
> - Update get_pin_muxing() prototype by adding buffer and buffer's size as
>parameters
>
> Cha
On 21 October 2018 at 20:39, Peng Ma wrote:
> Enable related configs to support sata DM feature.
>
> Signed-off-by: Peng Ma
> ---
> configs/ls1088aqds_defconfig |5 +
> configs/ls1088ardb_qspi_defconfig |5 +
> 2 files changed, 10 insertions(+), 0 deletions(-)
Reviewed-by:
Hi Jean-Jacques,
On 22 October 2018 at 08:12, Jean-Jacques Hiblot wrote:
> i2c_get_chip_for_busnum() really should check the presence of the chip on
> the bus. Most of the users of this function assume that this is done.
>
> Signed-off-by: Jean-Jacques Hiblot
>
> ---
>
> Changes in v3:
> - remov
On 22 October 2018 at 08:12, Jean-Jacques Hiblot wrote:
> In some cases it may be useful to be able to change the fdt we have been
> using and use another one instead. For example, the TI platforms uses an
> EEPROM to store board information and, based on the type of board,
> different dtbs are us
On 21 October 2018 at 20:43, Peng Ma wrote:
> One ls2080a, there is one SATA 3.0 advanced host controller interface
> which is a high-performance SATA solution that delivers comprehensive
> and fully-compliant generation 3 (1.5 Gb/s - 6.0 Gb/s) serial ATA
> capabilities, in accordance with the ser
On 21 October 2018 at 20:39, Peng Ma wrote:
> One ls1088a, there is one SATA 3.0 advanced host controller interface
> which is a high-performance SATA solution that delivers comprehensive
> and fully-compliant generation 3 (1.5 Gb/s - 6.0 Gb/s) serial ATA
> capabilities, in accordance with the ser
On 21 October 2018 at 20:39, Peng Ma wrote:
>
> Add ahci compatible support for ls1088a soc.
>
> Signed-off-by: Peng Ma
> ---
> depend on:
> - https://patchwork.ozlabs.org/patch/982386/
>
> drivers/ata/sata_ceva.c | 22 ++
> 1 files changed, 18 insertions(+), 4 dele
Am 23.09.18 um 19:15 schrieb Daniel Schwierzeck:
> Use the global MIPS specific u-boot.lds for linking standalone programs
> instead of the outdated ones in examples/standalone/. Also pass --gc-sections
> in LDFLAGS_STANDALONE to optimize the size of standalone programs.
> Finally remove the depr
Am 23.09.18 um 19:15 schrieb Daniel Schwierzeck:
> Currently the OBJCOPYFLAGS are cleared when assigning "-O srec"
> or "-O binary" for standalone programs. All flags set by arch-specific
> Makefiles are lost. This is bad if an arch demands arch-specific
> flags for the objcopy step.
>
> Signed-
Am 23.09.18 um 19:15 schrieb Daniel Schwierzeck:
> Introduce a new Makefile variable for passing LDFLAGS to standalone
> programs. Currently the variable CONFIG_STANDALONE_LOAD_ADDR is
> misued on some archs to pass a specific linker script.
>
> Signed-off-by: Daniel Schwierzeck
> ---
>
> arc
This fixes two small typos in mxsimage.txt.
Signed-off-by: Michael Heimpold
---
doc/imx/mkimage/mxsimage.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/imx/mkimage/mxsimage.txt b/doc/imx/mkimage/mxsimage.txt
index c3975ee5e6..9159f93a97 100644
--- a/doc/imx/mkima
Signed-off-by: Michael Heimpold
---
doc/imx/mkimage/imximage.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/imx/mkimage/imximage.txt b/doc/imx/mkimage/imximage.txt
index 803682f558..f2cf23c5da 100644
--- a/doc/imx/mkimage/imximage.txt
+++ b/doc/imx/mkimage/imximage.tx
Am Dienstag, 30. Oktober 2018, 11:35:25 CET schrieb Marek Vasut:
> On 10/29/2018 08:21 PM, Michael Heimpold wrote:
> > This prevents the warning message
> > "No arch specific invalidate_icache_all available!"
> > during boot.
>
> Can you implement it ? The cache support worked on MX23.
Hm, I had
Am Fr., 2. Nov. 2018, 01:08 hat Marek Vasut geschrieben:
> On 11/01/2018 08:26 PM, Simon Goldschmidt wrote:
> > On 31.10.2018 11:00, Marek Vasut wrote:
> >> On 10/31/2018 06:44 AM, Simon Goldschmidt wrote:
> >>> On Tue, Oct 30, 2018 at 11:02 PM Marek Vasut
> >>> wrote:
> On 10/30/2018 10:30
On Wed, Oct 31, 2018 at 4:26 PM Grygorii Strashko
wrote:
>
> Convert DRIVER_TI_KEYSTONE_NET to Kconfig.
>
> Reviewed-by: Tom Rini
> Acked-by: Joe Hershberger
> Signed-off-by: Grygorii Strashko
[ ... ]
> diff --git a/drivers/net/ti/Kconfig b/drivers/net/ti/Kconfig
> index 35a6b5d..c38e273 1006
Tiny printf does not support %.*s and %lX. Since tiny printf should
be very common in SPL, replace these by %32s (for printing image
name) and %lx.
Signed-off-by: Simon Goldschmidt
---
common/spl/spl.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/common/spl
On Fri, Nov 02, 2018 at 07:51:09PM +0530, Lokesh Vutla wrote:
> Add R5 specific dts for am654-evm.
>
> Signed-off-by: Lokesh Vutla
> Signed-off-by: Andreas Dannenberg
> Signed-off-by: Keerthy
> Signed-off-by: Schuyler Patton
> Signed-off-by: James Doublesin
Reviewed-by: Tom Rini
--
Tom
On Mon, Oct 29, 2018 at 11:41:35AM +0100, Jens Wiklander wrote:
> Fixes possible resource leak in dm_test_tee() reported by Coverity.
>
> Reported-by: Coverity (CID: 184175)
> Signed-off-by: Jens Wiklander
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
On Mon, Oct 22, 2018 at 06:31:07PM +0200, Martin Fuzzey wrote:
> Data abort was occurring when using "w1 bus" with a DS24B33 present.
>
> The abort occurred in the ds24xxx_probe() because the struct w1_device
> pointer was NULL. This is because that structure is allocated by
> the parent device
On Thu, Oct 25, 2018 at 04:54:42PM +0200, Patrick Delaunay wrote:
> This line is no more needed and can be removed.
>
> Only CONFIG_CMD_SOURCE is defined in Kconfig and
> used in defconfig files.
>
> CONFIG_SOURCE if not defined in source code and
> "config SOURCE" is not present in any Kconfig.
On Tue, Oct 23, 2018 at 07:41:33AM +, eugen.hris...@microchip.com wrote:
> The default bootcommand needs to be accurate w.r.t the nand memory map
> at
> http://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91sam9x5ekMainPage#NAND_Flash_demo_Memory_map
>
> Updated to load kernel + dtb at right
On Thu, Nov 01, 2018 at 08:41:46PM +, Alexey Brodkin wrote:
> Hi Tom,
>
> The following changes since commit fdaccfeb5e03e18c05be386b8a7c6be02be2cf15:
>
> Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2018-10-31
> 17:15:55 -0400)
>
> are available in the Git repository at:
>
On Mon, Oct 22, 2018 at 04:24:58PM -0500, Grygorii Strashko wrote:
> Add a sandbox DMA driver implementation (provider) and corresponding DM
> test.
>
> Signed-off-by: Grygorii Strashko
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
On Wed, Oct 24, 2018 at 11:47:14AM +0530, Keerthy wrote:
> Currently the base is 3 fix it 10 so that IDs follow decimal system.
>
> Signed-off-by: Keerthy
> Reviewed-by: Lokesh Vutla
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
_
On Wed, Oct 24, 2018 at 09:06:50PM +0530, Lokesh Vutla wrote:
> The Makefile already tests for SPL_DM_REGULATOR_GPIO, but Kconfig
> does not provide it. This adds SPL_DM_REGULATOR_GPIO to Kconfig.
>
> Signed-off-by: Lokesh Vutla
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Descrip
On Tue, Oct 30, 2018 at 07:57:48PM +0200, Sam Protsenko wrote:
> This part should've been remove in commit 88d60db01168 ("arm: ti: boot:
> Remove environment partition"), but I missed it somehow. Remove reading
> dtb file from environment partition on eMMC, as we don't have it
> anymore.
>
> Sign
On Mon, Oct 22, 2018 at 06:31:08PM +0200, Martin Fuzzey wrote:
> When the "w1 bus" command is used with no bus master present
> a data abort may occur.
>
> This is because uclass_first_device() returns zero, but sets the output
> struct udevice pointer to NULL in the no device found case.
>
> Fi
On Tue, Oct 23, 2018 at 08:13:35AM +, andrei.stefane...@microchip.com wrote:
> On our demo setup for SD card boot, the u-boot environment
> is in a FAT partition.
>
> This patch changes the default configuration, specifing that
> the u-boot environment is in a FAT partition instead of raw MMC
On Mon, Oct 22, 2018 at 04:24:57PM -0500, Grygorii Strashko wrote:
> From: Álvaro Fernández Rojas
>
> This adds channels support for dma controllers that have multiple channels
> which can transfer data to/from different devices (enet, usb...).
>
> DMA channel API:
> dma_get_by_index()
> dma_
On Mon, Oct 22, 2018 at 04:24:56PM -0500, Grygorii Strashko wrote:
> From: Álvaro Fernández Rojas
>
> Move dma_ops to a separate header file, following other uclass
> implementations. While doing so, this patch also improves dma_ops
> documentation.
>
> Reviewed-by: Simon Glass
> Signed-off-by
Add possibility to update the serial parity used.
Signed-off-by: Simon Goldschmidt
---
drivers/serial/ns16550.c | 43 ++--
1 file changed, 41 insertions(+), 2 deletions(-)
diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c
index f9041aa626..88b
The comment on this function prototype describes nonexistent
parameters. It seems to be copied from 'setparity'.
Update it to match its the parameter list.
Signed-off-by: Simon Goldschmidt
---
include/serial.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/include/seria
On 9/26/18 4:10 AM, Ashish Kumar wrote:
> Enable AHB support for Flexspi controller interface meaning
> memory can be accessed via md command using absolute addresses
>
> Signed-off-by: Yogesh Gaur
> Signed-off-by: Rajat Srivastava
> Signed-off-by: Ashish Kumar
> ---
> v2:
> 1. Rename FSPI to
This patch adds a DDR3 driver for MT7629 SoC.
Signed-off-by: Wu Zou
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
drivers/ram/Makefile | 1 +
drivers/ram/mediatek/Makefile | 7 +
drivers/ram/mediatek/ddr3-mt7629.c | 766 +
3 fi
Add a few notes on how to try out the MediaTek support so far.
Signed-off-by: Ryder Lee
---
doc/README.mediatek | 54 +
1 file changed, 54 insertions(+)
create mode 100644 doc/README.mediatek
diff --git a/doc/README.mediatek b/doc/README.medi
From: Weijie Gao
This patch adds MT7623 host controller driver for accessing SD/MMC.
Cc: Jaehoon Chung
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
drivers/mmc/Kconfig | 11 +
drivers/mmc/Makefile |1 +
drivers/mmc/mtk-s
This patch adds support for MTK boot image generation.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
---
Makefile | 20 ++
common/image.c | 1 +
include/image.h | 1 +
scripts/Makefile.spl | 11 +
tools/Makefile | 1 +
tools/mtk_image.c| 749 +++
This adds a general board file based on MT7629 SoCs from MediaTek.
Apart from the generic parts (cpu) we add some low level init codes
and initialize the early clocks.
Signed-off-by: Ryder Lee
Signed-off-by: Weijie Gao
---
arch/arm/Kconfig | 16
arch/arm/Make
This patch adds MT7629 device tree and the includes it needs.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
arch/arm/dts/Makefile| 3 +
arch/arm/dts/mt7629-rfb-u-boot.dtsi | 24 +++
arch/arm/dts/mt7629-rfb.dts | 70 +
arch/arm/dts/mt7629
This adds device tree for MT7623 development board - Bananapi R2
Detailed hardware information for BPI-R2 which could be found on
http://wiki.banana-pi.org/Banana_Pi_BPI-R2.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
arch/arm/dts/Makefile
This patch adds a driver for MT7623 clock blocks.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt7623.c | 870 ++
2 files changed, 871 insertions(+)
cre
Hello,
This is the new round to add U-Boot support for MediaTek SoCs - MT7623n &
MT7629,
and the most of the drivers are based on mainline Linux, such as clock, timer,
mmc,
pinctrl, watchdog, power domain and device tree.
Current implementation was validated via the FIT image.
Thanks,
Ryder
R
This patch adds a common driver for the Mediatek SoC integrated
watchdog.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
drivers/watchdog/Kconfig | 8 +++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/mtk_wdt.c | 135 +++
This patch adds an entry for MediaTek.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
MAINTAINERS | 20
1 file changed, 20 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index cf8f73f..9940200 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -157,6 +157,26 @@ T:
This adds power domain (scpsys) support for MT7623 SoC.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
drivers/power/domain/mtk-power-domain.c | 80 +
1 file changed, 80 insertions(+)
diff --git a/drivers/power/domain/mtk-power-domain.c
b/drivers/power/d
This patch adds clock source and clock event for the timer found
on the Mediatek SoCs.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
drivers/timer/Kconfig | 7
drivers/timer/Makefile| 1 +
drivers/timer/mtk_timer.c | 85 +++
This patch adds pinctrl support for MT7623 SoC. And most of the
structures are used to hold the hardware configuration for each
pin.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/pinctrl/mediatek/Kconfig |4 +
drivers/pinctrl/mediatek/Makefile |
This patch adds clock modules for MediaTek SoCs:
- Shared part: a common driver which contains the general operations
for plls, muxes, dividers and gates so that we can reuse it in future.
- Specific SoC part: the group of structures used to hold the hardware
configuration for each SoC.
We take M
From: Weijie Gao
This adds a general board file based on MT7623 SoCs from MediaTek.
As this u-boot is loaded by MTK proprietary preloader, there is no
low level initializtion codes.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
arch/arm/mach-mediatek/Kco
This patch adds pinctrl support for MT7629 SoC. The IO core found on
the SoC has the registers for pinctrl, pinconf and gpio mixed up in
the same register range. Hence the driver also implements the gpio
functionality through UCLASS_GPIO.
This also creates a common file as there might be other ch
This patch adds an extra operation in ns16550.c to suuport MediaTek
SoCs as we have a highspeed register which influences the calcualtion
of the divisor.
Note that we don't support the baudrate greater than 115200 currently.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simo
This adds a power domain driver for the Mediatek SCPSYS unit.
The System Control Processor System (SCPSYS) has several power
management related tasks in the system. The tasks include thermal
measurement, dynamic voltage frequency scaling (DVFS), interrupt
filter and lowlevel sleep control. The Sys
When the bus switches to 1.8V mode of operation, it is necessary to
verify that the card correctly initiated and completed the voltage
switch. This is done by reading out the state of DATA0 line.
This patch implement support for reading out the state of the DATA0
line, so the MMC core code can cor
Switch the driver to using clk_get_rate()/clk_set_rate() instead of
caching the mclk frequency in it's private data. This is required on
the SDHI variant of the controller, where the upstream mclk need to
be adjusted when using UHS modes.
Platforms which do not support clock framework or do not su
The TMIO core has a quirk where divider == 1 must not be set in DDR modes.
Handle this by setting divider to 2, as suggested in the documentation.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
---
V2: No change
V3: No change
---
drivers/mmc/tmio-common.c | 4
1 file changed, 4 insertions(
It is perfectly fine to write th DTCNTL TAP count and enable the
SCC sampling clock operation in the same write.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
---
V2: No change
V3: No change
---
drivers/mmc/renesas-sdhi.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --g
The TMIO core has a feature where it can automatically disable clock output
when the bus is not in use. While this is useful, it also interferes with
switching the bus to 1.8V and other background tasks of the SD/MMC cards,
which require clock to be enabled.
This patch respects the mmc->clk_disabl
Preinitialize the SD card signals regulator to 3.3V, which is the
default post-reset setting, to be sure the regulator is set to a
valid value.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
---
V2: No change
V3: No change
---
drivers/mmc/tmio-common.c | 2 ++
1 file changed, 2 insertions(+)
d
Add check to avoid touching the SCC tuning registers in case the IP
doesn't support them or if the support isn't in place yet.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
---
V2: No change
V3: No change
---
drivers/mmc/renesas-sdhi.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Make sure to clear HS400 configuration when resetting the SCC block.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
---
V2: No change
V3: No change
---
drivers/mmc/renesas-sdhi.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c
i
Switch CPG settings when transitioning between HS200/HS400/SDR104
and regular modes. This is required for the SCC block to operate
correctly.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
---
V2: No change
V3: No change
---
drivers/mmc/renesas-sdhi.c | 28 +++-
1 file c
Configure the clock settings before reconfiguring any other IO settings.
This is required when the clock must be stopped before changing eg. the
pin configuration or any of the other properties of the bus. Running the
clock configuration first allows the MMC core to do just that.
Signed-off-by: Ma
Properly handle return values and abort operations when they are
non-zero. This is a minor improvement, which fixes two remaining
unchecked return values.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
---
V2: No change
V3: No change
---
drivers/mmc/tmio-common.c | 7 ---
1 file changed, 4
In case the controller performs card tuning, that is, sends MMC
command 19 or 21, silence possible CRC error warning prints. The
warnings are bound to happen, since the tuning will fail for some
settings while searching for the optimal configuration of the bus
and that is perfectly OK.
This patch
On 10/12/18 4:01 AM, Pramod Kumar wrote:
> ls1012afrwy and ls1012afrdm both boards are variant
> of ls1012a based SoC, by default board and board_name
> uboot env variables are set as ls1012afrdm. whenever board
> is detected as ls1012afrwy, uboot env variables are updated to
> ls1012afrwy if it se
The SD UHS SDR12, SDR25, SDR50, SDR104, DDR50 and MMC HS200, HS400
modes all use 1.8V signaling, while all the legacy modes use 3.3V
signaling. While there are extra modes which use 1.2V signaling,
the existing hardware does not support those.
Simplify the pinmux such that 3.3V signaling implies l
On 11/02/2018 03:24 AM, Masahiro Yamada wrote:
> On Thu, Nov 1, 2018 at 6:39 PM Marek Vasut wrote:
>>
>> Switch the driver to using clk_get_rate()/clk_set_rate() instead of
>> caching the mclk frequency in it's private data. This is required on
>> the SDHI variant of the controller, where the upst
On 11/02/2018 03:19 AM, Masahiro Yamada wrote:
> On Thu, Nov 1, 2018 at 8:38 PM Masahiro Yamada
> wrote:
>>
>> On Thu, Nov 1, 2018 at 6:39 PM Marek Vasut wrote:
>>>
>>> Switch the driver to using clk_get_rate()/clk_set_rate() instead of
>>> caching the mclk frequency in it's private data. This is
On 10/25/18 7:01 PM, Xiaowei Bao wrote:
> Add the dts fixup when PCI controller work diffferent mode.
>
> Signed-off-by: Xiaowei Bao
> ---
> drivers/pci/pcie_layerscape_fixup.c | 25 +++--
> 1 files changed, 23 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/pci/pci
1 - 100 of 133 matches
Mail list logo