[PATCH v2 02/10] test: dm: add test item for ofnode_get_child_count()

2020-03-21 Thread Chunfeng Yun
Add a test item for ofnode_get_child_count() Signed-off-by: Chunfeng Yun --- v2: a new patch to test ofnode_get_child_count() suggested by Simon --- test/dm/ofnode.c | 21 + 1 file changed, 21 insertions(+) diff --git a/test/dm/ofnode.c b/test/dm/ofnode.c index 1c49eaf38

[PATCH v2 06/10] phy: phy-mtk-tphy: add a new reference clock

2020-03-21 Thread Chunfeng Yun
Usually the digital and analog phys use the same reference clock, but some platforms have two separate reference clocks for each of them, so add another optional clock to support them. In order to keep the clock names consistent with PHY IP's, change the da_ref for analog phy and ref clock for digi

[PATCH v2 01/10] dm: core: Add function to get child count of ofnode or device

2020-03-21 Thread Chunfeng Yun
This patch add function used to get the child count of a ofnode or a device Signed-off-by: Chunfeng Yun --- v2: 1. move ofnode_get_child_count() into ofnode.c suggested by Simon 2. add a new macro dev_get_child_count() --- drivers/core/ofnode.c | 11 +++ include/dm/ofnode.h |

[PATCH v2 00/10] Add support for MediaTek xHCI host controller

2020-03-21 Thread Chunfeng Yun
The series of patches are used to support xHCI host controller on MediaTek SoCs which has a glue layer IPPC (IP Port Control), and add USB function on T-PHY including T-PHY V1 and V2; Finally add USB related nodes for MT7629 platform. The files of xhci-mtk.* and phy-mtk-tphy.* are ported from Linu

[PATCH v2 05/10] phy: phy-mtk-tphy: add support new version

2020-03-21 Thread Chunfeng Yun
The new version removes all shared banks between multi-phys Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/phy/phy-mtk-tphy.c | 68 +++--- 1 file changed, 63 insertions(+), 5 deletions(-) diff --git a/drivers/phy/phy-mtk-tphy.c b/drivers/phy/phy-mtk-t

[PATCH v2 09/10] dt-bindings: phy-mtk-tphy: add properties of address mapping and clocks

2020-03-21 Thread Chunfeng Yun
1. add the address mapping related properties; 2. make "ref" clock optional, and add optional clock "da_ref"; 3. add the banks layout of TPHY V1 and V2; Signed-off-by: Chunfeng Yun --- v2: no changes --- doc/device-tree-bindings/phy/phy-mtk-tphy.txt | 78 --- 1 file changed, 68 i

[PATCH v2 04/10] phy: phy-mtk-tphy: add support USB phys

2020-03-21 Thread Chunfeng Yun
Support USB2 and USB3 PHY with shared banks when support multi-phys Signed-off-by: Chunfeng Yun --- v2: 1. get the count of phys by dev_get_child_count() --- drivers/phy/phy-mtk-tphy.c | 227 +++-- 1 file changed, 218 insertions(+), 9 deletions(-) diff --git

[PATCH v2 07/10] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Chunfeng Yun
This patch is used to support the on-chip xHCI controller on MediaTek SoCs, currently only control/bulk transfers are supported. Signed-off-by: Chunfeng Yun --- v2: 1. use clk_bulk to get clocks suggested by Marek 2. use clrsetbits_le32() etc suggeseted by Marek --- drivers/usb/host/Kcon

[PATCH v2 03/10] sandbox: dts: test: add a node for ofnode_get_child_count()

2020-03-21 Thread Chunfeng Yun
Add a node to test ofnode_get_child_count() Signed-off-by: Chunfeng Yun --- v2: a new patch to test ofnode_get_child_count() suggested by Simon --- arch/sandbox/dts/test.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/t

[PATCH v2 10/10] dt-bindings: usb: mtk-xhci: Add binding for MediaTek xHCI host controller

2020-03-21 Thread Chunfeng Yun
Add dt-binding for MediaTek xHCI host controller Signed-off-by: Chunfeng Yun --- v2: no changes --- .../usb/mediatek,mtk-xhci.txt | 40 +++ 1 file changed, 40 insertions(+) create mode 100644 doc/device-tree-bindings/usb/mediatek,mtk-xhci.txt diff --git a/doc/de

[PATCH v2 08/10] arm: dts: mt7629: add usb related nodes

2020-03-21 Thread Chunfeng Yun
Add usb, phy and clock nodes Signed-off-by: Chunfeng Yun --- v2: 1. remove fixed clock clk20m --- arch/arm/dts/mt7629-rfb.dts | 8 arch/arm/dts/mt7629.dtsi| 41 + 2 files changed, 49 insertions(+) diff --git a/arch/arm/dts/mt7629-rfb.dts b/a

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Chunfeng Yun
On Wed, 2020-03-11 at 08:11 +0100, Marek Vasut wrote: > On 3/11/20 7:50 AM, Chunfeng Yun wrote: > [...] > > + * @u3_ctrl_p[x]: ip usb3 port x control register, only low 4bytes are used > > + * @u2_ctrl_p[x]: ip usb2 port x control register, only low 4bytes are used > > + * @u2_phy_pll: usb2 phy pll

Re: [PATCH 1/1] arm: mvebu: dts: Sort Armada series dts alphabetically

2020-03-21 Thread Stefan Roese
On 20.03.20 20:44, luka.kova...@sartura.hr wrote: From: Josip Kelečić Sort the Armada series dts in the Makefile alphabetically prior to adding new board support. Signed-off-by: Josip Kelečić Reviewed-by: Luka Kovacic Cc: Luka Perkov Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Simon Glass
Hi Marek, On Wed, 11 Mar 2020 at 01:11, Marek Vasut wrote: > > On 3/11/20 7:50 AM, Chunfeng Yun wrote: > [...] > > + * @u3_ctrl_p[x]: ip usb3 port x control register, only low 4bytes are used > > + * @u2_ctrl_p[x]: ip usb2 port x control register, only low 4bytes are used > > + * @u2_phy_pll: usb

Re: [PATCH 2/2] patman: Add option to disable combined changelogs

2020-03-21 Thread Simon Glass
Hi Sean, On Thu, 19 Mar 2020 at 23:37, Sean Anderson wrote: > > By default patman generates a combined changelog for the cover letter. This > may not always be desireable. > > Many patches may have the same changes. These can be coalesced with > "Series-process-log: uniq", but this is imperfect.

Re: [PATCH 1/2] patman: Add option to suppress empty changelog entries

2020-03-21 Thread Simon Glass
Hi Sean, On Thu, 19 Mar 2020 at 23:37, Sean Anderson wrote: > > By default, patman outputs a line for every edition of the series in every > patch, regardless of whether any changes were made. This can result in many > redundant lines in patch changelogs, especially when a patch did not exist > b

[PATCH] patman: Update to use absolute imports

2020-03-21 Thread Simon Glass
Use absolute imports in patman so that installing patman is easier and it can run with its modules being in the 'patman' subdirectory. Rename patman.py since Python does not like the Python module name being the same as the module directory. Add the required path to sys.path() so that running pat

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Marek Vasut
On 3/21/20 3:12 PM, Simon Glass wrote: > Hi Marek, > > On Wed, 11 Mar 2020 at 01:11, Marek Vasut wrote: >> >> On 3/11/20 7:50 AM, Chunfeng Yun wrote: >> [...] >>> + * @u3_ctrl_p[x]: ip usb3 port x control register, only low 4bytes are used >>> + * @u2_ctrl_p[x]: ip usb2 port x control register, o

Re: [RFC PATCH 6/9] mkimage_fit_atf.sh: produce working binaries by default

2020-03-21 Thread Petr Štetiar
Michal Simek [2020-03-20 11:20:17]: > I think instead of fixing it on several places we should merge things > together and fix this issue there. What do you mean exactly? Checking for the deps one layer up, like this for example in sunxi? diff --git a/Makefile b/Makefile index 44776b8efcc4.

[PATCH] clk: renesas: Switch to fdtdec_get_addr_size_auto_noparent() on Gen2

2020-03-21 Thread Marek Vasut
The fdtdec_get_addr() does not take into account values set in #address-cells and #size-cells , but assumes them to be 1 for 32bit systems and 2 for 64bit systems. This is true for most DTs, however there are exceptions. Switch to fdtdec_get_addr_size_auto_noparent(), which takes the #address/size-

[PATCH 3/3] ARM: rmobile: Implement PMIC reset on V2H Blanche

2020-03-21 Thread Marek Vasut
Add code to reset the board through PMIC, by writing the required PMIC registers in the CPU reset handler. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/blanche/blanche.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/board/renesas/blanche/blanche.

[PATCH 2/3] ARM: dts: rmobile: Enable IIC3 on V2H Blanche

2020-03-21 Thread Marek Vasut
Enable IIC3 to permit access to the PMIC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7792-blanche-u-boot.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/r8a7792-blanche-u-boot.dts b/arch/arm/dts/r8a7792-blanche-u-boot.dts index 3555663d64..30b

[PATCH 1/3] ARM: dts: rmobile: Add IIC3 node on Gen2 R8A7792 V2H

2020-03-21 Thread Marek Vasut
Add IIC3 node from mainline Linux DT. This will be further updated in subsequent DT sync, however adding this node for now is sufficient and minimal change. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7792.dtsi | 17 + 1 file changed, 17 insertions(+) d

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Simon Glass
Hi Marek, On Sat, 21 Mar 2020 at 09:09, Marek Vasut wrote: > > On 3/21/20 3:12 PM, Simon Glass wrote: > > Hi Marek, > > > > On Wed, 11 Mar 2020 at 01:11, Marek Vasut wrote: > >> > >> On 3/11/20 7:50 AM, Chunfeng Yun wrote: > >> [...] > >>> + * @u3_ctrl_p[x]: ip usb3 port x control register, only

[PATCH] ARM: rmobile: Only register ethernet on V2H Blanche if not DM_ETH

2020-03-21 Thread Marek Vasut
If the DM_ETH is enabled, the board-specific ethernet registeration should be disabled, make it so. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/blanche/blanche.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/renesas/blanche/blanche.c b/board/renesas/blanche/

Re: [PATCH 05/12] net: smc911x: Fix potential memleak() in init fail path

2020-03-21 Thread Marek Vasut
On 3/17/20 7:21 AM, Masahiro Yamada wrote: [...] >> @@ -283,15 +283,23 @@ int smc911x_initialize(u8 dev_num, int base_addr) >> #if defined(CONFIG_MII) || defined(CONFIG_CMD_MII) >> int retval; >> struct mii_dev *mdiodev = mdio_alloc(); >> - if (!mdiodev) >> + if (!mdiod

Re: [PATCH 00/12] net: smc911x: Convert to DM

2020-03-21 Thread Marek Vasut
On 3/17/20 7:17 AM, Masahiro Yamada wrote: > Hi Marek, Hi, > On Mon, Mar 16, 2020 at 1:59 AM Marek Vasut wrote: >> >> Perform DM conversion of the SMC911x driver. Note that as I do not have >> any hardware with this chip, I only compile-tested this conversion. But >> it seems Yamada-san has one,

Re: [PATCH 12/12] net: smc911x: Add DM support

2020-03-21 Thread Marek Vasut
On 3/17/20 7:55 AM, Masahiro Yamada wrote: > On Mon, Mar 16, 2020 at 2:01 AM Marek Vasut wrote: >> >> Add support for U-Boot DM and DT probing. Furthermore, build the >> SMC911x standalone EEPROM example only for the non-DM case, as it >> is not converted yet. >> >> Signed-off-by: Marek Vasut >>

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Marek Vasut
On 3/21/20 5:42 PM, Simon Glass wrote: > Hi Marek, Hi, > On Sat, 21 Mar 2020 at 09:09, Marek Vasut wrote: >> >> On 3/21/20 3:12 PM, Simon Glass wrote: >>> Hi Marek, >>> >>> On Wed, 11 Mar 2020 at 01:11, Marek Vasut wrote: On 3/11/20 7:50 AM, Chunfeng Yun wrote: [...] > + * @u

[PATCH V2 01/13] net: smc911x: Remove pkt_data_{push,pull}

2020-03-21 Thread Marek Vasut
These functions are never used and are likely a pre-DM remnant from times long past, just remove them. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: No change --- drivers/net/smc911x.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/dri

[PATCH V2 04/13] net: smc911x: Invert the logic in smc911x_miiphy_{read, write}()

2020-03-21 Thread Marek Vasut
Invert the logic in the aforementioned functions to reduce indent, no functional change. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: No change --- drivers/net/smc911x.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --gi

[PATCH V2 00/13] net: smc911x: Convert to DM

2020-03-21 Thread Marek Vasut
Perform DM conversion of the SMC911x driver. Note that the DT compatible is set only for 9115 , so this might need to be changed. Marek Vasut (13): net: smc911x: Remove pkt_data_{push,pull} net: smc911x: Replace malloc()+memset() with calloc() net: smc911x: Rename smc911x_rx() to smc911x_re

[PATCH V2 05/13] net: smc911x: Fix potential memleak() in init fail path

2020-03-21 Thread Marek Vasut
Fix memleak in the init fail path, where if allocation or registration of MDIO bus fails, then ethernet interface is not unregistered and the private data are not freed, yet the probe function reports a failure. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: No chang

[PATCH V2 02/13] net: smc911x: Replace malloc()+memset() with calloc()

2020-03-21 Thread Marek Vasut
Replace combination of malloc()+memset() with calloc() as the behavior is exactly the same and the amount of code is reduced. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: - Use kzalloc() - Return -ENOMEM on alloc fail --- drivers/net/smc911x.c | 8 +++- 1

[PATCH V2 08/13] net: smc911x: Drop weak alias from 32bit accessors

2020-03-21 Thread Marek Vasut
These accessors are not overridden by any board, and even if they were, this is something which should be handled via DM now, so remove the weak alias option. Moreover, drop the inline keyword, as the compiler can decide better. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada

[PATCH V2 03/13] net: smc911x: Rename smc911x_rx() to smc911x_recv()

2020-03-21 Thread Marek Vasut
Rename the function to keep the naming scheme consistent, no functional change. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: No change --- drivers/net/smc911x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/smc911x.c b/drivers

[PATCH V2 06/13] net: smc911x: Pull MII registration into separate function

2020-03-21 Thread Marek Vasut
Pull the MII interface registration into separate function to avoid the ifdeffery in smc911x_initialize(). Moreover, adjust the fail path such that we use goto labels. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: New patch --- drivers/net/smc911x.c | 64 ++

[PATCH V2 07/13] net: smc911x: Inline all functions from header file

2020-03-21 Thread Marek Vasut
Inline all the functions from the header file, as they are not used outside of the driver or the standalone EEPROM example. Note that this does introduce considerable amount of duplication in the standalone EEPROM example, however that one has to be rewritten anyway, roughly such that the SMC911x

[PATCH V2 09/13] net: smc911x: Convert IO accessors to {read, write}{w, l}()

2020-03-21 Thread Marek Vasut
Convert the IO accessors to standard ones instead of using volatile void pointers, as those do not cover all the bus access details. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: No change --- drivers/net/smc911x.c | 13 +++-- 1 file changed, 7 insertions(+

[PATCH V2 12/13] net: smc911x: Split non-DM specific bits from common code

2020-03-21 Thread Marek Vasut
Split network handling functions into non-DM specific parts and common code in preparation for conversion to DM. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada Acked-by: Joe Hershberger --- V2: Add AB from Joe --- drivers/net/smc911x.c | 57

[PATCH V2 10/13] net: smc911x: Pass around driver private data

2020-03-21 Thread Marek Vasut
Introduce a private data structure for this driver with embedded struct eth_device and pass it around. This prepares the driver to work with both DM and non-DM systems. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: No change --- drivers/net/smc911x.c | 230

[PATCH V2 11/13] net: smc911x: Clean up the status handling in smc911x_recv()

2020-03-21 Thread Marek Vasut
Invert the status handling logic in smc911x_recv(), to make the function easier to read, no functional change. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: Simplify RX_FIFO_INF_RXSUSED mask handling s@Invest@Invert@ --- drivers/net/smc911x.c | 30 +

[PATCH V2 13/13] net: smc911x: Add DM support

2020-03-21 Thread Marek Vasut
Add support for U-Boot DM and DT probing. Furthermore, build the SMC911x standalone EEPROM example only for the non-DM case, as it is not converted yet. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Masahiro Yamada --- V2: Drop the board-specific bits Hide SMC911X_BASE from Kconfig if

[PATCH v8 03/12] serial: actions: add compatible string

2020-03-21 Thread Amit Singh Tomar
This patch adds "actions,owl-uart" string to the owl uart driver. It is also defined in Linux kernel. Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar --- Changes since v7: * No changes. Changes since v6: * Added Reviewd-by tag. Changes since v5: * Moved it to

[PATCH v8 00/12] Actions S700 SoC support

2020-03-21 Thread Amit Singh Tomar
This adds Cubieboard7[1] support based on Action Semi's S700 SoC[2], It's Quad-core ARMv8 SoC with Cortex-A53 cores. Peripheral like UART seems to be compatible with S900 SoC(basic support for it is alreay present in u-boot). This series(v8) removes the SoC specific include instead just uses owl

[PATCH v8 05/12] arm: dts: actions: s900: add u-boot specific dtsi file

2020-03-21 Thread Amit Singh Tomar
Devices like uart and clk are needed to be enabled before relocation. This patch adds u-boot.dtsi file that mark these device as dm-pre-reloc. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v7: * No changes. Changes since v6: * No changes. Ch

[PATCH v8 06/12] clk: actions: Add common clock driver

2020-03-21 Thread Amit Singh Tomar
This patch converts S900 clock driver to something common that can be used for other SoCs, for instance S700(few of clk registers are same). Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar --- Changes since v7: * No changes. Changes since v6: * Fixed the bug that brea

[PATCH v8 02/12] arm: actions: rename sysmap-s900 to sysmap-owl

2020-03-21 Thread Amit Singh Tomar
Now that memory maps(for both S700 and S900 SoCs) can be managed using a common file, rename sysmap-s900 to sysmap-owl to reflect the same. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v7: * No changes. Changes since v6: * No changes. Chang

[PATCH v8 01/12] arm: actions: Add common framework for Actions Owl Semi SoCs

2020-03-21 Thread Amit Singh Tomar
This commit adds common arch support for Actions Semi Owl series SoCs and removes the Bubblegum96 board files. Signed-off-by: Amit Singh Tomar --- Changes since v7: * Removed S900 specific include file. * Removed the file list entry in MAINTAINERS file. Changes since v6: *

[PATCH v8 10/12] actions: Move defconfig options to Kconfig

2020-03-21 Thread Amit Singh Tomar
This patch moves some of the config options from bubblegum_96_defconfig to platform specific Kconfig file. Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar --- Changes since v7: * No changes. Changes since v6: * remove unnecessary string from SYS_PROMPT. Changes since

[PATCH v8 09/12] arm: add support Actions Semi S700

2020-03-21 Thread Amit Singh Tomar
This patch adds basic support for Actions Semi based S700 SoC, which is driven by common owl framework. Signed-off-by: Amit Singh Tomar --- Changes since v7: * Removed S700 include file. Changes since v6: * No changes. Changes since v5: * Added reviewed-by tag. Changes sin

[PATCH v8 08/12] arm: dts: actions: s700: add u-boot specific dtsi file

2020-03-21 Thread Amit Singh Tomar
Devices like uart and clk are needed to be enabled before relocation. this patch adds u-boot.dtsi file that mark these device as dm-pre-reloc. Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar --- Changes since v7: * No changes. Changes since v6: * No changes. Changes s

[PATCH v8 04/12] arm: dts: sync dts for Action Semi S900

2020-03-21 Thread Amit Singh Tomar
Synchronize device tree bindings with v5.5-rc6 tag with commit id "b3a987b0264d". Also, it removes older clock binding defined for S900 along with undocumented compatible string "actions,s900-serial" from serial driver and adapts clock driver to cater to new bindings. Reviewed-by: Andre Przywara

[PATCH v8 11/12] arm: add Cubieboard7 board support

2020-03-21 Thread Amit Singh Tomar
The Cubieboard is a single board computer containing a Actions S700 SoC(with 4 ARMv8 Cortex-A53 cores). This patch adds respective defconfig alongwith .dts(copied from Linux v5.5-rc6 with hash "b3a987b0264d"). Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar --- Changes since v7:

[PATCH v8 12/12] doc: boards: add Cubieboard7 documentation

2020-03-21 Thread Amit Singh Tomar
This adds build and flash steps for Actions S700 based Cubieboard7 board. Signed-off-by: Amit Singh Tomar --- Changes since v7: * No changes. Changes since v6: * No changes. Changes since v5: * No changes. Changes since v4: * No changes. Changes since v3: *

[PATCH v8 07/12] arm: actions: add S700 SoC device tree

2020-03-21 Thread Amit Singh Tomar
This patch adds .dtsi file(sync with Linux 5.5-rc6 with hash "b3a987b0264d") and required binding for S700 SoC that is a 64-bit Quad-core ARM Cortex-A53 cores. It also provisions dts file to be built based on selected platform(CONFIG_MACH_S900/S700). Reviewed-by: Andre Przywara Signed-off-by: Am

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Simon Glass
Hi Marek, On Sat, 21 Mar 2020 at 11:00, Marek Vasut wrote: > > On 3/21/20 5:42 PM, Simon Glass wrote: > > Hi Marek, > > Hi, > > > On Sat, 21 Mar 2020 at 09:09, Marek Vasut wrote: > >> > >> On 3/21/20 3:12 PM, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On Wed, 11 Mar 2020 at 01:11, Marek Vasu

Re: [PATCH 1/2] patman: Add option to suppress empty changelog entries

2020-03-21 Thread Sean Anderson
On 3/21/20 10:42 AM, Simon Glass wrote: > Hi Sean, > > I can see the value here, particularly for the 'new' case. But I > actually appreciate the positive confirmation that nothing changed. > Sometimes people send patches and fail to add a change log. Hm, I don't know if this patch would affect t

Re: [PATCH 2/2] patman: Add option to disable combined changelogs

2020-03-21 Thread Sean Anderson
On 3/21/20 10:43 AM, Simon Glass wrote: > Hi Sean, > > On Thu, 19 Mar 2020 at 23:37, Sean Anderson wrote: >> >> By default patman generates a combined changelog for the cover letter. This >> may not always be desireable. >> >> Many patches may have the same changes. These can be coalesced with >>

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Marek Vasut
On 3/21/20 7:41 PM, Simon Glass wrote: > Hi Marek, Hi, > On Sat, 21 Mar 2020 at 11:00, Marek Vasut wrote: >> >> On 3/21/20 5:42 PM, Simon Glass wrote: >>> Hi Marek, >> >> Hi, >> >>> On Sat, 21 Mar 2020 at 09:09, Marek Vasut wrote: On 3/21/20 3:12 PM, Simon Glass wrote: > Hi Marek,

Re: [U-Boot] Sharing a hardware lab

2020-03-21 Thread Simon Glass
Hi Harald, On Mon, 24 Feb 2020 at 06:27, Harald Seiler wrote: > > Hello Simon, > > On Sun, 2020-02-23 at 19:34 -0700, Simon Glass wrote: > > Hi Heiko, > > > > Thanks for the hints! I pushed your things here: > > > > https://github.com/sglass68/tbot/tree/simon > > > > Then I try: > > tbot -l kea.p

Re: [PATCH 1/2] patman: Add option to suppress empty changelog entries

2020-03-21 Thread Simon Glass
Hi Sean, On Sat, 21 Mar 2020 at 12:44, Sean Anderson wrote: > > On 3/21/20 10:42 AM, Simon Glass wrote: > > Hi Sean, > > > > I can see the value here, particularly for the 'new' case. But I > > actually appreciate the positive confirmation that nothing changed. > > Sometimes people send patches a

Re: [PATCH 2/2] patman: Add option to disable combined changelogs

2020-03-21 Thread Simon Glass
Hi Sean, On Sat, 21 Mar 2020 at 12:57, Sean Anderson wrote: > > On 3/21/20 10:43 AM, Simon Glass wrote: > > Hi Sean, > > > > On Thu, 19 Mar 2020 at 23:37, Sean Anderson wrote: > >> > >> By default patman generates a combined changelog for the cover letter. This > >> may not always be desireable.

Re: [PATCH 1/2] patman: Add option to suppress empty changelog entries

2020-03-21 Thread Sean Anderson
On 3/21/20 3:17 PM, Simon Glass wrote: > Hi Sean, > > On Sat, 21 Mar 2020 at 12:44, Sean Anderson wrote: >> >> On 3/21/20 10:42 AM, Simon Glass wrote: >>> Hi Sean, >>> >>> I can see the value here, particularly for the 'new' case. But I >>> actually appreciate the positive confirmation that nothi

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Simon Glass
Hi Marek, On Sat, 21 Mar 2020 at 13:01, Marek Vasut wrote: > > On 3/21/20 7:41 PM, Simon Glass wrote: > > Hi Marek, > > Hi, > > > On Sat, 21 Mar 2020 at 11:00, Marek Vasut wrote: > >> > >> On 3/21/20 5:42 PM, Simon Glass wrote: > >>> Hi Marek, > >> > >> Hi, > >> > >>> On Sat, 21 Mar 2020 at 09:0

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Marek Vasut
On 3/21/20 8:34 PM, Simon Glass wrote: > Hi Marek, Hi, > On Sat, 21 Mar 2020 at 13:01, Marek Vasut wrote: >> >> On 3/21/20 7:41 PM, Simon Glass wrote: >>> Hi Marek, >> >> Hi, >> >>> On Sat, 21 Mar 2020 at 11:00, Marek Vasut wrote: On 3/21/20 5:42 PM, Simon Glass wrote: > Hi Marek,

Re: [PATCH v8 09/12] arm: add support Actions Semi S700

2020-03-21 Thread André Przywara
On 21/03/2020 17:30, Amit Singh Tomar wrote: > This patch adds basic support for Actions Semi based S700 > SoC, which is driven by common owl framework. > > Signed-off-by: Amit Singh Tomar Reviewed-by: Andre Przywara Cheers, Andre > --- > Changes since v7: > * Removed S700 include file.

Re: [PATCH v8 01/12] arm: actions: Add common framework for Actions Owl Semi SoCs

2020-03-21 Thread André Przywara
On 21/03/2020 17:30, Amit Singh Tomar wrote: > This commit adds common arch support for Actions Semi Owl > series SoCs and removes the Bubblegum96 board files. > > Signed-off-by: Amit Singh Tomar Reviewed-by: Andre Przywara Cheers, Andre > --- > Changes since v7: > * Removed S900 specif

Re: [PATCH v8 00/12] Actions S700 SoC support

2020-03-21 Thread André Przywara
On 21/03/2020 17:30, Amit Singh Tomar wrote: Hi Mani, > This adds Cubieboard7[1] support based on Action Semi's S700 SoC[2], It's > Quad-core ARMv8 SoC > with Cortex-A53 cores. Peripheral like UART seems to be compatible with S900 > SoC(basic support > for it is alreay present in u-boot). I re

Re: [PATCH v1 5/8] spi: dw: Speed up transfer loops

2020-03-21 Thread Marek Vasut
On 3/5/20 8:19 PM, Sean Anderson wrote: > The transfer loops are very tight on some platforms (especially on higher > speeds). If we don't read/write fast enough we can run into over-/under- > flow problems. This patch removes several divisions and log statements, > and simplifies the read logic. >

Re: [PATCH v1 2/8] spi: dw: Add device tree properties for fields in CTRL0

2020-03-21 Thread Marek Vasut
On 3/5/20 8:19 PM, Sean Anderson wrote: > Some devices have different layouts for the fields in CTRL0 (e.g. the > Kendryte K210). Allow this layout to be configurable from the device tree. > The documentation has been taken from Linux. > > Signed-off-by: Sean Anderson > Reviewed-by: Simon Glass

Re: [PATCH v1 1/8] doc: Fix typo in FIT documentation

2020-03-21 Thread Marek Vasut
On 3/5/20 8:19 PM, Sean Anderson wrote: > u_boot should be u-boot > > Signed-off-by: Sean Anderson > Reviewed-by: Bin Meng > --- > > doc/uImage.FIT/source_file_format.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/uImage.FIT/source_file_format.txt > b/doc/uI

Re: [PATCH v1 7/8] riscv: Add device tree bindings for SPI

2020-03-21 Thread Marek Vasut
On 3/5/20 8:19 PM, Sean Anderson wrote: > This patch adds bindings for the MMC slot and SPI flash on the Sipeed Maix > Bit. The mail subject should say this is for specific SoC. [...] > +&wdt0 { > + status = "okay"; > }; This shouldn't be here I guess ? You should split this into the .dtsi

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Simon Glass
Hi Marek, I think at this point we've covered all the ground and mentioned the pros and cons of each method, so I'll leave the discussion where it is. [..] Regards, Simon

Re: [PATCH 5/8] xhci: mediatek: Add support for MTK xHCI host controller

2020-03-21 Thread Marek Vasut
On 3/22/20 3:08 AM, Simon Glass wrote: > Hi Marek, Hi, > I think at this point we've covered all the ground and mentioned the > pros and cons of each method, so I'll leave the discussion where it > is. Great, so let's remove the struct-based access from the driver and use regular #define REGISTE

Re: [PATCH v1 2/8] spi: dw: Add device tree properties for fields in CTRL0

2020-03-21 Thread Sean Anderson
On 3/21/20 9:51 PM, Marek Vasut wrote: > On 3/5/20 8:19 PM, Sean Anderson wrote: >> Some devices have different layouts for the fields in CTRL0 (e.g. the >> Kendryte K210). Allow this layout to be configurable from the device tree. >> The documentation has been taken from Linux. >> >> Signed-off-by

Re: [PATCH v1 7/8] riscv: Add device tree bindings for SPI

2020-03-21 Thread Sean Anderson
On 3/21/20 9:55 PM, Marek Vasut wrote: > On 3/5/20 8:19 PM, Sean Anderson wrote: >> This patch adds bindings for the MMC slot and SPI flash on the Sipeed Maix >> Bit. > > The mail subject should say this is for specific SoC Oh, whoops. This will be fixed in the next revision. > [...] > >> +&wdt0

Re: [PATCH v1 2/8] spi: dw: Add device tree properties for fields in CTRL0

2020-03-21 Thread Marek Vasut
On 3/22/20 3:36 AM, Sean Anderson wrote: > On 3/21/20 9:51 PM, Marek Vasut wrote: >> On 3/5/20 8:19 PM, Sean Anderson wrote: >>> Some devices have different layouts for the fields in CTRL0 (e.g. the >>> Kendryte K210). Allow this layout to be configurable from the device tree. >>> The documentation

Re: [PATCH v1 2/8] spi: dw: Add device tree properties for fields in CTRL0

2020-03-21 Thread Sean Anderson
On 3/21/20 11:04 PM, Marek Vasut wrote: > On 3/22/20 3:36 AM, Sean Anderson wrote: >> On 3/21/20 9:51 PM, Marek Vasut wrote: >>> On 3/5/20 8:19 PM, Sean Anderson wrote: Some devices have different layouts for the fields in CTRL0 (e.g. the Kendryte K210). Allow this layout to be configurab

Re: [PATCH v1 2/8] spi: dw: Add device tree properties for fields in CTRL0

2020-03-21 Thread Marek Vasut
On 3/22/20 4:08 AM, Sean Anderson wrote: > On 3/21/20 11:04 PM, Marek Vasut wrote: >> On 3/22/20 3:36 AM, Sean Anderson wrote: >>> On 3/21/20 9:51 PM, Marek Vasut wrote: On 3/5/20 8:19 PM, Sean Anderson wrote: > Some devices have different layouts for the fields in CTRL0 (e.g. the > Ke

Re: [PATCH v1 2/8] spi: dw: Add device tree properties for fields in CTRL0

2020-03-21 Thread Sean Anderson
On 3/21/20 11:13 PM, Marek Vasut wrote: > On 3/22/20 4:08 AM, Sean Anderson wrote: >> On 3/21/20 11:04 PM, Marek Vasut wrote: >>> Could be a different revision of the IP. This is usually handled by >>> using SoC-specific compatible strings, see e.g. Linux >>> Documentation/devicetree/bindings/usb/r

Re: [PATCH v1 5/8] spi: dw: Speed up transfer loops

2020-03-21 Thread Sean Anderson
On 3/21/20 9:49 PM, Marek Vasut wrote: > On 3/5/20 8:19 PM, Sean Anderson wrote: >> The transfer loops are very tight on some platforms (especially on higher >> speeds). If we don't read/write fast enough we can run into over-/under- >> flow problems. This patch removes several divisions and log st

Re: [PATCH v8 00/12] Actions S700 SoC support

2020-03-21 Thread Manivannan Sadhasivam
Hi Andre, On 22 March 2020 5:31:11 AM IST, "André Przywara" wrote: >On 21/03/2020 17:30, Amit Singh Tomar wrote: > >Hi Mani, > >> This adds Cubieboard7[1] support based on Action Semi's S700 SoC[2], >It's Quad-core ARMv8 SoC >> with Cortex-A53 cores. Peripheral like UART seems to be compatible

Re: [PATCH v1 2/8] spi: dw: Add device tree properties for fields in CTRL0

2020-03-21 Thread Marek Vasut
On 3/22/20 4:33 AM, Sean Anderson wrote: > On 3/21/20 11:13 PM, Marek Vasut wrote: >> On 3/22/20 4:08 AM, Sean Anderson wrote: >>> On 3/21/20 11:04 PM, Marek Vasut wrote: Could be a different revision of the IP. This is usually handled by using SoC-specific compatible strings, see e.g. Li