Re: [PATCH v2 3/3] ARM: amlogic: add JetHub D1/H1 docs

2021-09-19 Thread Neil Armstrong
Hi, On 19/09/2021 17:52, Vyacheslav Bocharov wrote: > Fix doc/board/amlogic/index.rst: > - Add S905W to S905X column. > - Add JetHub devices to the corresponding columns. > - Fix tabs to spaces for table alignment > > Add doc/board/amlogic files: > - jethub-j100.rst > - jethub-j80.rst > > Signed

Re: [PATCH v2 2/3] ARM: amlogic: add JetHub D1/H1 device support

2021-09-19 Thread Neil Armstrong
Hi, On 19/09/2021 17:52, Vyacheslav Bocharov wrote: > Add support for new home automation devices. While applying I had a few warnings: > > JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation > controller with the following features: > - DIN Rail Mounting case > - Amlogic A113

Re: [PATCH] usb: xhci-dwc3: Add support for USB 3.1 controllers

2021-09-19 Thread Bin Meng
On Mon, Sep 20, 2021 at 6:44 AM Marek Vasut wrote: > > On 9/19/21 10:40 AM, Bin Meng wrote: > > Hi Marek, > > > > On Thu, Sep 16, 2021 at 10:08 PM Bin Meng wrote: > >> > >> On Thu, Sep 16, 2021 at 10:00 PM Mark Kettenis > >> wrote: > >>> > >>> This adds support for the DWC_sub31 controllers suc

Re: [PATCH] pci: Fix configuring io/memory base and limit registers of PCI bridges

2021-09-19 Thread Stefan Roese
Added Bin to cc. On 10.09.21 13:33, Pali Rohár wrote: Lower 4 bits of PCI_MEMORY_BASE and PCI_MEMORY_LIMIT registers are reserved and should be zero. So do not set them to non-zero value. Lower 4 bits of PCI_PREF_MEMORY_BASE and PCI_PREF_MEMORY_LIMIT registers contain information if 64-bit memo

Re: [PATCH] wdt: dw: Fix passing NULL pointer to reset functions

2021-09-19 Thread Stefan Roese
On 11.09.21 21:11, Sean Anderson wrote: reset_*_bulk expects a real pointer. Fixes: 4f7abafe1c ("driver: watchdog: reset watchdog in designware_wdt_stop() function") Signed-off-by: Sean Anderson Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/watchdog/designware_wdt.c | 10 +-

Re: [PATCH] wdt: dw: Fix passing NULL pointer to reset functions

2021-09-19 Thread Stefan Roese
On 20.09.21 01:07, Sean Anderson wrote: Is it possible to get this in 2020.10? Let me check, if I can find my time machine somewhere. ;) But yes, v2021.10 should be possible. I'm just back from vacation and will look into the new patches very soon. Thanks, Stefan Meng's patch breaks boards w

Re: [PATCH] arm: orion5x: edminiv2: change maintainer

2021-09-19 Thread Stefan Roese
On 15.09.21 15:01, Simon Guinot wrote: Since Albert Aribaud is not maintaining anymore the LaCie Ethernet Disk mini V2 board, then I am taking over. Signed-off-by: Simon Guinot Reviewed-by: Stefan Roese Thanks, Stefan --- board/LaCie/edminiv2/MAINTAINERS | 2 +- 1 file changed, 1 inser

Re: [PATCH 10/11] sandbox: mmc: Support a backing file

2021-09-19 Thread Simon Glass
Hi Tom, On Sat, 18 Sept 2021 at 10:31, Simon Glass wrote: > > Hi Tom, > > On Sat, 18 Sept 2021 at 07:16, Tom Rini wrote: > > > > On Sat, Sep 18, 2021 at 03:34:54AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 16 Sept 2021 at 12:40, Tom Rini wrote: > > > > > > > > On Wed, Aug 18,

Re: [PATCH 5/5] doc: board: apple: Add Apple M1 documentation

2021-09-19 Thread Simon Glass
On Sat, 18 Sept 2021 at 07:56, Mark Kettenis wrote: > > Provide preliminary instructions on how to get U-Boot to run on > Apple Silicon Macs. > > Signed-off-by: Mark Kettenis > --- > doc/board/apple/index.rst | 9 +++ > doc/board/apple/m1.rst| 56 +++

Re: [PATCH 4/5] arm: dts: apple: Add preliminary device trees

2021-09-19 Thread Simon Glass
On Sat, 18 Sept 2021 at 07:56, Mark Kettenis wrote: > > Add preliminary device trees for the Apple M1 mini (2020) and > Apple M1 Macbook Pro 13" (2020). Device tree bindings for > the Apple M1 SoC are still being formalized and these device > trees will be synchronized with the Linux kernel as ne

Re: [PATCH 3/5] misc: Add Apple DART driver

2021-09-19 Thread Simon Glass
Hi Mark, On Sat, 18 Sept 2021 at 07:55, Mark Kettenis wrote: > > The DART is an IOMMU that is used on Apple's M1 SoC. This driver > supports the DART in bypass mode as well as in a mode where it > creates a 1:1 mapping of a subset of RAM as not all DARTs support > bypass mode. The USB3 ports in

Re: [PATCH 2/5] serial: s5p: Add Apple M1 support

2021-09-19 Thread Simon Glass
Hi Mark, On Sat, 18 Sept 2021 at 07:55, Mark Kettenis wrote: > > Apple M1 SoCs include an S5L UART which is a variant of the S5P > UART. Add support for this variant and enable it by default > on Apple SoCs. > > Signed-off-by: Mark Kettenis > --- > arch/arm/include/asm/arch-m1/clk.h | 11

Re: [PATCH 1/5] arm: apple: Add initial support for Apple's M1 SoC

2021-09-19 Thread Simon Glass
Hi Mark, On Sat, 18 Sept 2021 at 07:55, Mark Kettenis wrote: > > Add support for Apple's M1 SoC that is used in "Apple Silicon" > Macs. This builds a basic U-Boot that can be used as a payload > for the m1n1 boot loader being developed by the Asahi Linux > project. > > Signed-off-by: Mark Ketten

[PATCH v6 10/11] vpl: Add Kconfig options for VPL

2021-09-19 Thread Simon Glass
Add VPL versions of commonly used Kconfig options. Signed-off-by: Simon Glass --- (no changes since v5) Changes in v5: - Rebase this patch on mainline (for GPIO and MISC Kconfig renames) Changes in v4: - Add options for blk, core, misc and tpl also - Add VPL_SIZE_LIMIT Kconfig

[PATCH v6 08/11] binman: Add VPL support

2021-09-19 Thread Simon Glass
Add support for U-Boot's Verifying Program Loader phase. Signed-off-by: Simon Glass --- Changes in v6: - Fix the missing SPDX tag on test/204... tools/binman/etype/u_boot_vpl.py | 42 tools/binman/etype/u_boot_vpl_bss_pad.py | 44 + tools/binman/etype/u_boot_vpl_

[PATCH v6 11/11] sandbox: Add a build for VPL

2021-09-19 Thread Simon Glass
Add an initial VPL build for sandbox. This includes the flow: TPL (with of-platdata) -> VPL -> SPL -> U-Boot To run it: ./tpl/u-boot-tpl -D The -D is needed to get the default device tree, which includes the serial console info. Add a Makefile check for OF_HOSTFILE which is the option th

[PATCH v6 07/11] Makefile: Tidy up the TPL build rules

2021-09-19 Thread Simon Glass
These should follow the same pattern as SPL, for consistency. Fix them. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ff5b9c3a68e..fefa75ef64b 100644 --- a/Makefile +++ b/Makefi

[PATCH v6 09/11] Introduce Verifying Program Loader (VPL)

2021-09-19 Thread Simon Glass
Add support for VPL, a new phase of U-Boot. This runs after TPL. It is responsible for selecting which SPL binary to run, based on a verified-boot process. Signed-off-by: Simon Glass --- (no changes since v4) Changes in v4: - Update spl_phase_prefix() for VPL - Tidy up some of the Makefile rule

[PATCH v6 04/11] bloblist: Correct Kconfig dependencies

2021-09-19 Thread Simon Glass
This feature is not available in SPL unless common/ and lib/ are built. Update the Kconfig to avoid build errors. Signed-off-by: Simon Glass --- (no changes since v4) Changes in v4: - Add new patch to correct bloblist Kconfig dependencies common/Kconfig | 4 ++-- 1 file changed, 2 insertions(

[PATCH v6 05/11] avb: Don't build in SPL

2021-09-19 Thread Simon Glass
This feature is not used in SPL at present. Update the Makefile to avoid it being built. Signed-off-by: Simon Glass --- (no changes since v4) Changes in v4: - Add new patch to avoid building avb in SPL common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/

[PATCH v6 06/11] Makefile: Simplify devicetree rules for SPL/TPL

2021-09-19 Thread Simon Glass
The current logic checks several options to decide whether SPL/TPL need the U-Boot devicetree to be built. In fact we can check OF_CONTROL, which is enabled in all cases that matter. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 7 ++- 1 file changed, 2 insertions(+), 5 d

[PATCH v6 03/11] test: Tidy up test building with SPL

2021-09-19 Thread Simon Glass
We can in principle add tests to any SPL build, e.g. TPL or VPL. Update the build rules to handle this. Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 2 +- scripts/Makefile.spl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makef

[PATCH v6 02/11] doc: Expand SPL docs to explain the phase and config

2021-09-19 Thread Simon Glass
Add a bit more information about how to use SPL. Signed-off-by: Simon Glass --- (no changes since v1) doc/develop/spl.rst | 34 ++ 1 file changed, 34 insertions(+) diff --git a/doc/develop/spl.rst b/doc/develop/spl.rst index c7d08d22bf2..0fb1e1d9784 100644 ---

[PATCH v6 00/11] vpl: Introduce a verifying program loader

2021-09-19 Thread Simon Glass
U-Boot provides a verified-boot feature based around FIT, but there is no standard way of implementing it for a board. At present the various required pieces must be built up separately, to produce a working implementation. In particular, there is no built-in support for selecting A/B boot or recov

[PATCH v6 01/11] doc: Convert SPL documentation to ReST

2021-09-19 Thread Simon Glass
Move this documentation over to .rst format. Signed-off-by: Simon Glass --- (no changes since v1) doc/develop/index.rst | 1 + doc/{README.SPL => develop/spl.rst} | 36 +++-- 2 files changed, 20 insertions(+), 17 deletions(-) rename doc/{README.SPL => de

Re: [PATCH] wdt: dw: Fix passing NULL pointer to reset functions

2021-09-19 Thread Sean Anderson
Is it possible to get this in 2020.10? Meng's patch breaks boards which use this watchdog. --Sean On 9/11/21 3:11 PM, Sean Anderson wrote: reset_*_bulk expects a real pointer. Fixes: 4f7abafe1c ("driver: watchdog: reset watchdog in designware_wdt_stop() function") Signed-off-by: Sean Anderso

Re: [PATCH] usb: xhci-dwc3: Add support for USB 3.1 controllers

2021-09-19 Thread Marek Vasut
On 9/19/21 10:40 AM, Bin Meng wrote: Hi Marek, On Thu, Sep 16, 2021 at 10:08 PM Bin Meng wrote: On Thu, Sep 16, 2021 at 10:00 PM Mark Kettenis wrote: This adds support for the DWC_sub31 controllers such as those found on Apple's M1 SoC. This version of the controller seems to work fine wi

Re: [PATCH v4 2/2] doc: Add documentation about devicetree usage

2021-09-19 Thread Simon Glass
Hi François, On Sun, 19 Sept 2021 at 16:16, François Ozog wrote: > Hi Simon > > The DT use is connected to the issues we said we will invest time. > So in the same spirit that we are reverting EFI patch, I would appreciate > you defer this patch series after the forthcoming discussions. > That'

Re: [PATCH v4 2/2] doc: Add documentation about devicetree usage

2021-09-19 Thread François Ozog
Hi Simon The DT use is connected to the issues we said we will invest time. So in the same spirit that we are reverting EFI patch, I would appreciate you defer this patch series after the forthcoming discussions. Cheers FF Le dim. 19 sept. 2021 à 23:51, Simon Glass a écrit : > At present some

[PATCH v4 2/2] doc: Add documentation about devicetree usage

2021-09-19 Thread Simon Glass
At present some of the ideas and techniques behind devicetree in U-Boot are assumed, implied or unsaid. Add some documentation to cover how devicetree is build, how it can be modified and the rules about using the various CONFIG_OF_... options. Signed-off-by: Simon Glass Reviewed-by: Marcel Ziswi

[PATCH v4 1/2] doc: Add mention of the /config binding

2021-09-19 Thread Simon Glass
The devicetree binding files are in their own directory and use a simple text format. Add a link for the binding for the /config node, since it is otherwise hard to find. Suggested-by: Heinrich Schuchardt Signed-off-by: Simon Glass --- Changes in v4: - Add a patch to refer to the /config bindin

[PATCH v4 0/2] doc: Clarify how U-Boot makes use of devicetree

2021-09-19 Thread Simon Glass
This series includes a documentation update to clarify how U-Boot makes use of devicetree and its requirements when working with other firmware projects. Once agreed it should provide more clarity in this area, which seems to have devolved into a confusing mire recently. My goal here is to sort o

[PATCH v4 4/5] sf: doc: Add documentation for the 'sf' command

2021-09-19 Thread Simon Glass
This command is fairly complicated so documentation is useful. Unfortunately I an not sure how the MTD side of things works and cannot find information about that. Signed-off-by: Simon Glass Acked-by: Pratyush Yadav --- Changes in v4: - Split out the 'const' change into a separate patch - Show

[PATCH v4 5/5] sf: Provide a command to access memory-mapped SPI

2021-09-19 Thread Simon Glass
Add a new 'sf mmap' function to show the address of a SPI offset, if the hardware supports it. This is useful on x86 systems. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add configuration and return value also arch/Kconfig | 2 ++ cmd/Kconfig | 8 ++ c

[PATCH v4 3/5] sf: Tidy up code to avoid #ifdef

2021-09-19 Thread Simon Glass
Update this code to use IS_ENABLED() instead. Signed-off-by: Simon Glass Reviewed-by: Pratyush Yadav --- (no changes since v1) cmd/sf.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/cmd/sf.c b/cmd/sf.c index 15361a4bddf..72246d912fe 1006

[PATCH v4 2/5] sf: Use const for the stage name

2021-09-19 Thread Simon Glass
This is not updated at runtime so should be marked const. Update the code accordingly. Signed-off-by: Simon Glass --- (no changes since v1) cmd/sf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/sf.c b/cmd/sf.c index eac27ed2d77..15361a4bddf 100644 --- a/cmd/sf.c +++

[PATCH v4 1/5] command: Use a constant pointer for the help

2021-09-19 Thread Simon Glass
This text should never change during execution, so it makes sense to use a const char * so that it can be declared as const in the code. Update struct cmd_tbl with a const char * pointer for 'help'. We cannot make usage const because of the bmode command, used on mx53ppd for example. Signed-off-b

[PATCH v4 0/5] sf: Add documentation and an 'sf mmap' command

2021-09-19 Thread Simon Glass
This little series adds documentation and a few other tidy-ups to the 'sf' command. It also provides a way to access memory-mapped SPI via the command line. Changes in v4: - Split out the 'const' change into a separate patch - Show the 'sf probe' output in the examples Changes in v3: - Add confi

[RESEND PATCH v2 3/4] test: Allow tpm2 tests to run in parallel

2021-09-19 Thread Simon Glass
These tests currently run in a particular sequence, with some of them depending on the actions of earlier tests. Add a check for sandbox and reset to a known state at the start of each test, so that all tests can run in parallel. Signed-off-by: Simon Glass --- (no changes since v1) test/py/te

[RESEND PATCH v2 4/4] doc: test: Explain how to run pytests in parallel

2021-09-19 Thread Simon Glass
Add documentation for this so people can try it out. At present it does not fully work. Signed-off-by: Simon Glass --- Changes in v2: - Add documentation for how to run parallel tests doc/develop/py_testing.rst | 30 ++ 1 file changed, 30 insertions(+) diff --git a

[RESEND PATCH v2 2/4] test: Allow hush tests to run in parallel

2021-09-19 Thread Simon Glass
The -z tests don't really need to be part of the main set. Separate them out so we can drop the test setup/cleans functions and thus run all tests in parallel. Signed-off-by: Simon Glass --- (no changes since v1) test/py/tests/test_hush_if_test.py | 20 ++-- 1 file changed, 6 i

[RESEND PATCH v2 1/4] test: Allow vboot tests to run in parallel

2021-09-19 Thread Simon Glass
Update the tests to use separate working directories, so we can run them in parallel. It also makes it possible to see the individual output files after the tests have completed. Signed-off-by: Simon Glass --- (no changes since v1) test/py/tests/test_vboot.py | 29 -

[RESEND PATCH v2 0/4] test: Try to deal with some co-dependent tests

2021-09-19 Thread Simon Glass
Tests are supposed to be independent. With driver model tests, the environment is reset before each test, which ensures that. With Python tests there is no reset of the board between tests, since we want to run all the tests as quickly as possible and without needing the external scripts running c

Re: [PATCH 1/5] arm: apple: Add initial support for Apple's M1 SoC

2021-09-19 Thread Mark Kettenis
> From: Bin Meng > Date: Sun, 19 Sep 2021 09:17:07 +0800 > > Hi Mark, > > On Sun, Sep 19, 2021 at 9:04 AM Bin Meng wrote: > > > > Hi Mark, > > > > On Sat, Sep 18, 2021 at 9:55 PM Mark Kettenis wrote: > > > > > > Add support for Apple's M1 SoC that is used in "Apple Silicon" > > > Macs. This b

Re: [PATCH 2/5] serial: s5p: Add Apple M1 support

2021-09-19 Thread Mark Kettenis
> From: Bin Meng > Date: Sun, 19 Sep 2021 09:11:06 +0800 > > Hi Mark, > > On Sat, Sep 18, 2021 at 9:55 PM Mark Kettenis wrote: > > > > Apple M1 SoCs include an S5L UART which is a variant of the S5P > > UART. Add support for this variant and enable it by default > > on Apple SoCs. > > > > Sign

Re: [PATCH 1/5] arm: apple: Add initial support for Apple's M1 SoC

2021-09-19 Thread Mark Kettenis
> From: Bin Meng > Date: Sun, 19 Sep 2021 09:04:56 +0800 Hi Bin, Thanks for taking a look. > Hi Mark, > > On Sat, Sep 18, 2021 at 9:55 PM Mark Kettenis wrote: > > > > Add support for Apple's M1 SoC that is used in "Apple Silicon" > > Macs. This builds a basic U-Boot that can be used as a pay

[PATCH v4 2/5] doc: Move environment documentation to rST

2021-09-19 Thread Simon Glass
Move this from the README to rST format. Drop i2cfast since it is obviously obsolete and breaks the formatting. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch to move environment documentation to rST README| 328 doc/usage/en

[PATCH v4 5/5] sandbox: Use a text-based environment

2021-09-19 Thread Simon Glass
Use a text file for the environment instead of the #define settings. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to use a text-based environment for sandbox board/sandbox/env/sandbox.env | 25 + include/configs/sandbox.h | 29

[PATCH v4 3/5] env: Allow U-Boot scripts to be placed in a .env file

2021-09-19 Thread Simon Glass
At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text to this file and dealing with quoting and newlines is harder than it should be. It would be better if we could just type the script into a text file and ha

[PATCH v4 0/5] env: Allow environment in text files

2021-09-19 Thread Simon Glass
One barrier to completing the 7-year-long Kconfig migration is that the default environment is implemented using ad-hoc CONFIG options. At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS. It is not really feasible to move the environment to Kconfig

[PATCH v4 4/5] env: Allow environment files to use the C preprocessor

2021-09-19 Thread Simon Glass
In many cases environment variables need access to the U-Boot CONFIG variables to select different options. Enable this so that the environment scripts can be as useful as the ones currently in the board config files. Also support += to allow variables to be appended to. This is needed when using

[PATCH v4 1/5] sandbox: Drop distro_boot

2021-09-19 Thread Simon Glass
This is a complicated set of #defines and it is painful to convert to a text file. We can (once pending patches are applied) provide the same functionality with bootmethod. Drop this for sandbox to allow conversion to a text-file environment. Signed-off-by: Simon Glass --- (no changes since v1)

Re: Please pull u-boot-dm

2021-09-19 Thread Tom Rini
On Sat, Sep 18, 2021 at 05:34:38AM -0600, Simon Glass wrote: > Hi Tom, > > This is a revert of the EFI patches as mentioned on the mailing list. > I believe this is the best way forward and avoids the current, flawed > approach from getting into an official release and making it difficult > to ba

[PATCH v2 3/3] ARM: amlogic: add JetHub D1/H1 docs

2021-09-19 Thread Vyacheslav Bocharov
Fix doc/board/amlogic/index.rst: - Add S905W to S905X column. - Add JetHub devices to the corresponding columns. - Fix tabs to spaces for table alignment Add doc/board/amlogic files: - jethub-j100.rst - jethub-j80.rst Signed-off-by: Vyacheslav Bocharov Reviewed-by: Neil Armstrong --- doc/board

[PATCH v2 2/3] ARM: amlogic: add JetHub D1/H1 device support

2021-09-19 Thread Vyacheslav Bocharov
Add support for new home automation devices. JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation controller with the following features: - DIN Rail Mounting case - Amlogic A113X (ARM Cortex-A53) quad-core up to 1.5GHz - no video out - 512Mb/1GB DDR3 - 8/16GB eMMC flash - 1 x USB

[PATCH v2 0/3] ARM: meson: add support for JetHub D1/H1

2021-09-19 Thread Vyacheslav Bocharov
Add support for new home automation devices manufactured by JetHome. Patches prepared for use with the "ARM: meson: Sync Amlogic DT from Linux 5.14" patch series by Neil Armstrong JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation controller with the following features: - DIN R

[PATCH v2 1/3] ARM: amlogic: add JetHub common config header

2021-09-19 Thread Vyacheslav Bocharov
JetHub devices uses its own boot sequence with "rescue" button Signed-off-by: Vyacheslav Bocharov --- include/configs/jethub.h | 40 1 file changed, 40 insertions(+) create mode 100644 include/configs/jethub.h diff --git a/include/configs/jethub.h b/inc

[PATCH] board: fsl_validate: Fix Double free Issue

2021-09-19 Thread Kshitiz Varshney
Remove Double free issue from calc_img_key_hash() and calc_esbchdr_esbc_hash() function. Verified the secure boot changes using lx2162aqds board. Signed-off-by: Kshitiz Varshney --- board/freescale/common/fsl_validate.c | 28 ++- drivers/crypto/fsl/fsl_hash.c | 14

Re: [PATCH 3/3] ARM: amlogic: add JetHub D1/H1 docs

2021-09-19 Thread Neil Armstrong
Hi, Le 19/09/2021 à 10:18, Vyacheslav Bocharov a écrit : > Fix doc/board/amlogic/index.rst: > - Add S905W to S905X column. > - Add JetHub devices to the corresponding columns. > - Fix tabs to spaces for table alignment > > Add doc/board/amlogic files: > - jethub-j100.rst > - jethub-j80.rst > > S

Re: [PATCH 2/3] ARM: amlogic: add JetHub D1/H1 device support

2021-09-19 Thread Neil Armstrong
Hi, Le 19/09/2021 à 10:18, Vyacheslav Bocharov a écrit : > Add support for new home automation devices. > > JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation > controller with the following features: > - DIN Rail Mounting case > - Amlogic A113X (ARM Cortex-A53) quad-core up to

Re: [PATCH 1/3] ARM: amlogic: add JetHub common config header

2021-09-19 Thread Neil Armstrong
Hi, Le 19/09/2021 à 10:18, Vyacheslav Bocharov a écrit : > JetHub devices uses its own boot sequence with "rescue" button. > Add custom config header file that corrects boot order. > > Signed-off-by: Vyacheslav Bocharov > --- > include/configs/jethub.h | 40 +

Re: [PATCH] usb: xhci-dwc3: Add support for USB 3.1 controllers

2021-09-19 Thread Bin Meng
Hi Marek, On Thu, Sep 16, 2021 at 10:08 PM Bin Meng wrote: > > On Thu, Sep 16, 2021 at 10:00 PM Mark Kettenis wrote: > > > > This adds support for the DWC_sub31 controllers such as those > > found on Apple's M1 SoC. This version of the controller > > seems to work fine with the existing driver.

[PATCH 2/3] ARM: amlogic: add JetHub D1/H1 device support

2021-09-19 Thread Vyacheslav Bocharov
Add support for new home automation devices. JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation controller with the following features: - DIN Rail Mounting case - Amlogic A113X (ARM Cortex-A53) quad-core up to 1.5GHz - no video out - 512Mb/1GB DDR3 - 8/16GB eMMC flash - 1 x USB

[PATCH 3/3] ARM: amlogic: add JetHub D1/H1 docs

2021-09-19 Thread Vyacheslav Bocharov
Fix doc/board/amlogic/index.rst: - Add S905W to S905X column. - Add JetHub devices to the corresponding columns. - Fix tabs to spaces for table alignment Add doc/board/amlogic files: - jethub-j100.rst - jethub-j80.rst Signed-off-by: Vyacheslav Bocharov --- doc/board/amlogic/index.rst | 12

[PATCH 0/3] ARM: meson: add support for JetHub D1/H1

2021-09-19 Thread Vyacheslav Bocharov
Add support for new home automation devices manufactured by JetHome. Patches prepared for use with the "ARM: meson: Sync Amlogic DT from Linux 5.14" patch series by Neil Armstrong JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation controller with the following features: - DIN R

[PATCH 1/3] ARM: amlogic: add JetHub common config header

2021-09-19 Thread Vyacheslav Bocharov
JetHub devices uses its own boot sequence with "rescue" button. Add custom config header file that corrects boot order. Signed-off-by: Vyacheslav Bocharov --- include/configs/jethub.h | 40 1 file changed, 40 insertions(+) create mode 100644 include/conf

Re: [PATCH v3 1/1] x86: tangier: acpi: Add GPIO card detection to SDHCI #2

2021-09-19 Thread Bin Meng
On Sun, Sep 12, 2021 at 2:27 AM Andy Shevchenko wrote: > > On Intel Tangier the SDHCI #2 provides SD card connection. > Add GPIO card detection for it. > > Fixes: 39665beed6f7 ("x86: tangier: Enable ACPI support for Intel Tangier") > BugLink: https://github.com/edison-fw/meta-intel-edison/issues/1

Re: [PATCH v1 1/1] x86: edison: Mark eMMC non-removable

2021-09-19 Thread Bin Meng
On Fri, Sep 10, 2021 at 7:35 PM Bin Meng wrote: > > On Fri, Sep 10, 2021 at 3:59 PM Andy Shevchenko > wrote: > > > > eMMC is non-removable on Intel Edison board. Fix the DTS accordingly. > > > > Signed-off-by: Andy Shevchenko > > --- > > arch/x86/dts/edison.dts | 1 + > > 1 file changed, 1 inse

Re: [PATCH 2/2] net: tsec: read the phy-mode property as fallback to phy-connection-type

2021-09-19 Thread Bin Meng
On Sat, Sep 18, 2021 at 8:47 PM Vladimir Oltean wrote: > > The two should be equivalent, but at the moment some platforms > (ls1021a-tsn.dts) use phy-mode only, which is not parsed. > > Signed-off-by: Vladimir Oltean > --- > drivers/net/tsec.c | 2 ++ > 1 file changed, 2 insertions(+) > Reviewe

Re: [PATCH 1/2] net: tsec: only call tsec_get_interface as fallback to DT-specified PHY mode

2021-09-19 Thread Bin Meng
On Sat, Sep 18, 2021 at 8:47 PM Vladimir Oltean wrote: > > Currently the init_phy function may overwrite the priv->interface > property, since it calls tsec_get_interface which tries to determine it > dynamically based on default register values in ECNTRL. > > Let's do that only if phy-connection-