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

2020-10-25 Thread Oleksandr Andrushchenko
On 10/26/20 8:50 AM, takahiro.aka...@linaro.org wrote: > On Mon, Oct 26, 2020 at 06:18:08AM +, Oleksandr Andrushchenko wrote: >> Hi, >> >> On 10/26/20 7:58 AM, takahiro.aka...@linaro.org wrote: >>> On Fri, Oct 23, 2020 at 08:50:56AM +, Anastasiia Lukianenko wrote: Hello, On

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

2020-10-25 Thread takahiro.aka...@linaro.org
On Mon, Oct 26, 2020 at 06:18:08AM +, Oleksandr Andrushchenko wrote: > Hi, > > On 10/26/20 7:58 AM, takahiro.aka...@linaro.org wrote: > > On Fri, Oct 23, 2020 at 08:50:56AM +, Anastasiia Lukianenko wrote: > >> Hello, > >> > >> On Thu, 2020-10-22 at 18:53 +0900, takahiro.aka...@linaro.org w

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

2020-10-25 Thread Oleksandr Andrushchenko
Hi, On 10/26/20 7:58 AM, takahiro.aka...@linaro.org wrote: > On Fri, Oct 23, 2020 at 08:50:56AM +, Anastasiia Lukianenko wrote: >> Hello, >> >> On Thu, 2020-10-22 at 18:53 +0900, takahiro.aka...@linaro.org wrote: >>> On Thu, Oct 22, 2020 at 09:19:41AM +, Anastasiia Lukianenko >>> wrote: >>

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

2020-10-25 Thread Oleksandr Andrushchenko
Hi, On 10/26/20 8:02 AM, takahiro.aka...@linaro.org wrote: > On Fri, Oct 23, 2020 at 08:53:52AM +, Anastasiia Lukianenko wrote: >> Hi, >> >> On Thu, 2020-10-22 at 18:53 +0900, takahiro.aka...@linaro.org wrote: >>> On Thu, Oct 22, 2020 at 09:19:41AM +, Anastasiia Lukianenko >>> wrote:

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

2020-10-25 Thread takahiro.aka...@linaro.org
On Fri, Oct 23, 2020 at 08:53:52AM +, Anastasiia Lukianenko wrote: > Hi, > > On Thu, 2020-10-22 at 18:53 +0900, takahiro.aka...@linaro.org wrote: > > On Thu, Oct 22, 2020 at 09:19:41AM +, Anastasiia Lukianenko > > wrote: > > > Hi, > > > > > > On Thu, 2020-10-15 at 13:25 +0900, AKASHI Taka

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

2020-10-25 Thread takahiro.aka...@linaro.org
On Fri, Oct 23, 2020 at 08:50:56AM +, Anastasiia Lukianenko wrote: > Hello, > > On Thu, 2020-10-22 at 18:53 +0900, takahiro.aka...@linaro.org wrote: > > On Thu, Oct 22, 2020 at 09:19:41AM +, Anastasiia Lukianenko > > wrote: > > > Hi, > > > > > > On Thu, 2020-10-15 at 13:25 +0900, AKASHI T

[PATCH] pci: layerscape: fix a dead loop issue

2020-10-25 Thread Zhiqiang Hou
From: Hou Zhiqiang The commit 8ec619f8fd84 added the PCIe EP nodes fixup of LX2160A, but it didn't update the condition value when there isn't a property 'apio-wins'. Fixes: 8ec619f8fd84 ("pci: layerscape: Fixup PCIe EP mode DT nodes for LX2160A rev2") Signed-off-by: Hou Zhiqiang --- drivers/

Pull request: u-boot-riscv/master 20201026

2020-10-25 Thread uboot
Hi Tom, Please pull some riscv updates: - No need to check before free in kendryte clk. - Only enable OF_BOARD_FIXUP if U-Boot is configured for S-Mode. - Reduce k210 dts DMA block size - Move timers into drivers/timer - Correct fu540 dts reg size of clint node Thanks Rick https://travis-ci.org

[PATCH v2 11/11] Azure/GitLab/Travis: Add SPL unit tests

2020-10-25 Thread Simon Glass
Run SPL unit tests in all test environments. Signed-off-by: Simon Glass --- (no changes since v1) .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- .travis.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml in

[PATCH v2 10/11] dm: test: Drop of-platdata pytest

2020-10-25 Thread Simon Glass
Now that we have a C version of this test, drop the Python implementation. Signed-off-by: Simon Glass --- (no changes since v1) arch/sandbox/cpu/spl.c | 12 arch/sandbox/cpu/start.c | 9 -- arch/sandbox/include/asm/state.h | 1 - drivers/misc/spltest_sandbox.c

[PATCH v2 09/11] test: Run only the selected SPL test

2020-10-25 Thread Simon Glass
Use the new -k option to select the test to run. Signed-off-by: Simon Glass --- Changes in v2: - Separate out this patch from the next series and include it here test/py/tests/test_spl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/tests/test_spl.py b/test/py/te

[PATCH v2 08/11] sandbox: Allow selection of SPL unit tests

2020-10-25 Thread Simon Glass
Now that we have more than one test, add a way to select the test to run. Signed-off-by: Simon Glass --- (no changes since v1) arch/sandbox/cpu/spl.c | 2 +- arch/sandbox/cpu/start.c | 9 + arch/sandbox/include/asm/state.h | 1 + 3 files changed, 11 insertions(+), 1 d

[PATCH v2 06/11] pytest: Collect SPL unit tests

2020-10-25 Thread Simon Glass
Add a new test_spl fixture to handle running SPL unit tests. Signed-off-by: Simon Glass --- Changes in v2: - Drop debug print() - Restart U-Boot after each SPL test test/py/conftest.py | 13 - test/py/tests/test_spl.py | 34 ++ 2 files changed,

[PATCH v2 07/11] test: Run SPL unit tests

2020-10-25 Thread Simon Glass
Update the 'run' script to include SPL unit tests. Signed-off-by: Simon Glass --- (no changes since v1) test/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run b/test/run index de87e7530b1..735628e7e37 100755 --- a/test/run +++ b/test/run @@ -28,7 +28,7 @@ fi #

[PATCH v2 05/11] Makefile: Generate a symbol file for u-boot-spl

2020-10-25 Thread Simon Glass
Add a rule to generate u-boot-spl.sym so that pytest can discover the available unit tests. Signed-off-by: Simon Glass --- (no changes since v1) scripts/Makefile.spl | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index 2e3a

[PATCH v2 04/11] dm: test: Add a very simple of-platadata test

2020-10-25 Thread Simon Glass
At present we have a pytest that covers of-platadata. Add a very simple unit test that just checks that a device can be found. This shows the ability to write these tests in C. Signed-off-by: Simon Glass --- (no changes since v1) test/dm/Makefile | 4 +++- test/dm/of_platdata.c | 19

[PATCH v2 03/11] dm: test: Add a way to run SPL tests

2020-10-25 Thread Simon Glass
Add a -u flag for U-Boot SPL which requests that unit tests be run. To make this work, export dm_test_main() and update it to skip test features that are not used with of-platdata. To run the tests: $ spl/u-boot-spl -u U-Boot SPL 2020.10-rc5 (Oct 01 2020 - 07:35:39 -0600) Running 0 drive

[PATCH v2 01/11] dm: test: Build tests for SPL

2020-10-25 Thread Simon Glass
We want to run unit tests in SPL. Add a new Kconfig to control this and enable it for sandbox_spl Signed-off-by: Simon Glass --- (no changes since v1) configs/sandbox_spl_defconfig | 2 +- scripts/Makefile.spl | 1 + test/Kconfig | 10 ++ 3 files changed, 12

[PATCH v2 02/11] dm: test: Update the test runner to support of-platdata

2020-10-25 Thread Simon Glass
At present DM tests assume that a devicetree is available. This is not the case with of-platadata. Update the code to add this condition. Signed-off-by: Simon Glass --- (no changes since v1) test/dm/test-main.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-

[PATCH v2 00/11] dm: test: Add unit tests for SPL

2020-10-25 Thread Simon Glass
U-Boot has about 700 tests but only a handful of these target SPL. This is partly because SPL has limited functionality and does not have a command interface to initiate tests. The current SPL tests are targeted at sandbox_spl and are initiated from pytest. With SPL tests written in C, we can che

[PATCH v2 1/3] riscv: Move Andes PLMT driver to drivers/timer

2020-10-25 Thread Sean Anderson
This is a regular timer driver, and should live with the other timer drivers. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass Reviewed-by: Rick Chen --- (no changes since v1) MAINTAINERS| 1 + arch/riscv/Kconfig

[PATCH v2 3/3] riscv: Move timer portions of SiFive CLINT to drivers/timer

2020-10-25 Thread Sean Anderson
Half of this driver is a DM-based timer driver, and half is RISC-V-specific IPI code. Move the timer portions in with the other timer drivers. The KConfig is not moved, since it also enables IPIs. It could also be split into two configs, but no boards use the timer but not the IPI atm, so I haven't

[PATCH v2 2/3] timer: Add _TIMER suffix to Andes PLMT Kconfig

2020-10-25 Thread Sean Anderson
This matches the naming scheme of other timer drivers. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass Reviewed-by: Rick Chen --- (no changes since v1) arch/riscv/cpu/ax25/Kconfig | 2 +- drivers/timer/Kconfig | 2 +- drivers/timer/Makefile | 2 +- 3 files changed, 3 inserti

[PATCH v2 0/3] riscv: Move timers into drivers/timer

2020-10-25 Thread Sean Anderson
Now that mtime sources are regular timers, they can go in with the rest of the timer drivers. I have assigned maintenance of these drivers to Rick Chen, as they were previous under his purview. Passing CI (for v1) located at [1]. [1] https://dev.azure.com/seanga2/9603e4b8-6f49-4106-b8fc-46e66a86

RE: [PATCHv2] pci: layerscape: Fixup PCIe EP mode DT nodes for LX2160A rev2

2020-10-25 Thread Z.q. Hou
Hi Priyanka, > -Original Message- > From: Priyanka Jain (OSS) > Sent: 2020年10月23日 18:49 > To: Z.q. Hou ; u-boot@lists.denx.de; Wasim Khan > > Cc: Z.q. Hou > Subject: RE: [PATCHv2] pci: layerscape: Fixup PCIe EP mode DT nodes for > LX2160A rev2 > > >-Original Message- > >From:

Re: [PATCH 3/3] riscv: Move timer portions of SiFive CLINT to drivers/timer

2020-10-25 Thread Rick Chen
Hi Sean > On 10/13/20 8:43 PM, Rick Chen wrote: > >> Half of this driver is a DM-based timer driver, and half is RISC-V-specific > >> IPI code. Move the timer portions in with the other timer drivers. The > >> KConfig is not moved, since it also enables IPIs. It could also be split > >> into two c

Re: [PATCH v2 21/30] patman: Require tags to be before sign-off

2020-10-25 Thread Sean Anderson
On 10/25/20 9:04 PM, Simon Glass wrote: > At present it is possible to put sign-off tags before the change log. This > works but then it is hard for patman to add its own tags to a commit. Also > if the commit has a Change-Id (e.g. for Gerrit) the commit becomes invalid > if there is anything after

[PATCH v2 30/30] patman: Support listing comments from patchwork

2020-10-25 Thread Simon Glass
While reviewing feedback it is helpful to see the review comments on the command line to check that each has been addressed. Add an option to support that. Update the workflow documentation to describe the new features. Signed-off-by: Simon Glass --- Changes in v2: - Many changes to the whole s

[PATCH v2 28/30] patman: Support updating a branch with review tags

2020-10-25 Thread Simon Glass
It is tedious to add review tags into the local branch and errors can sometimes be made. Add an option to create a new branch with the review tags obtained from patchwork. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/README | 17 ++- tools/patman/control.py |

[PATCH v2 29/30] patman: Support parsing of review snippets

2020-10-25 Thread Simon Glass
Add support for parsing the contents of a patchwork 'patch' web page containing comments received from reviewers. This allows patman to show these comments in a simple 'snippets' format. A snippet is some quoted code plus some unquoted comments below it. Each review is from a unique person/email a

[PATCH v2 27/30] patman: Support checking for review tags in patchwork

2020-10-25 Thread Simon Glass
Before sending out a new version of a series for review, it is important to add any review tags (e.g. Reviewed-by, Acked-by) collected by patchwork. Otherwise people waste time reviewing the same patch repeatedly, become frustrated and stop reviewing your patches. To help with this, add a new 'sta

[PATCH v2 20/30] patman: Convert testBasic() to use an interator

2020-10-25 Thread Simon Glass
On balance it is easier to use an iterator here, particularly if we need to insert lines due to new functionality. The only niggle is the need to keep the previous iterator value around in one case. Convert this test to use iter(). Signed-off-by: Simon Glass --- (no changes since v1) tools/pa

[PATCH v2 24/30] patman: Allow showing a Commit as a string

2020-10-25 Thread Simon Glass
Use the subject of the Commit object when printing it out. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/commit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/patman/commit.py b/tools/patman/commit.py index e49bf87dfc8..5bf2b940299 100644 --- a/tools/patman

[PATCH v2 21/30] patman: Require tags to be before sign-off

2020-10-25 Thread Simon Glass
At present it is possible to put sign-off tags before the change log. This works but then it is hard for patman to add its own tags to a commit. Also if the commit has a Change-Id (e.g. for Gerrit) the commit becomes invalid if there is anything after it. Report a warning if patman tags are in the

[PATCH v2 25/30] patman: Improve handling of files

2020-10-25 Thread Simon Glass
Sometimes warnings are associated with a file and sometimes with the patch as a whole. Update the regular expression to handle both cases, even in emacs mode. Also add support for detecting new files. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/checkpatch.py | 11

[PATCH v2 26/30] patman: Detect missing upstream in CountCommitsToBranch

2020-10-25 Thread Simon Glass
At present if we fail to find the upstream then the error output is piped to wc, resulting in bogus results. Avoid the pipe and check the output directly. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/func_test.py | 19 +++ tools/patman/gitutil.py | 10 +++

[PATCH v2 22/30] patman: Fix spelling of plural for warning

2020-10-25 Thread Simon Glass
Tidy up the extra 's' when there is only a single warning. Fix the empty print statement also. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/func_test.py | 5 +++-- tools/patman/patchstream.py | 9 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/t

[PATCH v2 23/30] patman: Don't ignore lines starting with hash

2020-10-25 Thread Simon Glass
These lines can indicate a continuation of an error and should not be ignored. Fix this. Fixes: 666eb15e923 ("patman: Handle checkpatch output with notes and code") Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/checkpatch.py | 7 +-- 1 file changed, 5 insertions(+), 2

[PATCH v2 17/30] patman: Drop unused signoff member

2020-10-25 Thread Simon Glass
This is not used. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/func_test.py | 1 + tools/patman/patchstream.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index bdeccafda0b..2290ba95e9

[PATCH v2 16/30] patman: Convert 'Series-xxx' tag errors into warnings

2020-10-25 Thread Simon Glass
If the Series-xxx tag is not recognised patman currently reports a fatal error. This is inconvenient if a new feature is later added to patman that an earlier version does not support. Report a warning instead, to allow the user to take action if needed, but still allow operation to proceed. Sign

[PATCH v2 18/30] patman: Add a test for PatchStream tags

2020-10-25 Thread Simon Glass
The current functional tests run most of patman. Add a smaller test that just checks tag handling with the PatchStream class. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/func_test.py | 26 +- tools/patman/patchstream.py | 23 +

[PATCH v2 19/30] patman: Add some tests for warnings

2020-10-25 Thread Simon Glass
Add tests that check that warnings are generated when expected. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/func_test.py | 111 +--- tools/patman/main.py| 16 +- tools/patman/patchstream.py | 2 +- 3 files changed, 116 inse

[PATCH v2 15/30] patman: Attach warnings to individual patches

2020-10-25 Thread Simon Glass
At present warnings are produced across the whole set of patches when parsing them. It is more useful to associate each warning with the patch (or commit) that generated it. Attach warnings to the Commit object and move them out of PatchStream. Also avoid generating duplicate warnings for the same

[PATCH v2 13/30] patman: Fix up argument/return docs in patchstream

2020-10-25 Thread Simon Glass
Add missing documentation and type information. Fix up some missing docs on exceptions also. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/patchstream.py | 82 ++--- 1 file changed, 50 insertions(+), 32 deletions(-) diff --git a/tools/patman

[PATCH v2 12/30] patman: Drop unused args in patchstream

2020-10-25 Thread Simon Glass
Drop a few arguments that are not used in functions. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/patchstream.py | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py index 3a057fbd6c4..c5402dd

[PATCH v2 14/30] patman: Move warning collection to a function

2020-10-25 Thread Simon Glass
Add a new function in PatchStream to collect the warnings generated while parsing the stream. This will allow us to adjust the logic, such as dealing with per-commit warnings. Two of the warnings are in fact internal errors, so change them to raise and exception. Signed-off-by: Simon Glass ---

[PATCH v2 10/30] patman: Rename functions in patchstream

2020-10-25 Thread Simon Glass
Rename these functions to lower case as per PEP8. Signed-off-by: Simon Glass --- (no changes since v1) tools/buildman/control.py | 6 +-- tools/patman/control.py | 6 +-- tools/patman/func_test.py | 6 +-- tools/patman/patchstream.py | 88

[PATCH v2 11/30] patman: Rename variables in patchstream

2020-10-25 Thread Simon Glass
Some variables are too short or shadow other variables or types. Fix these to keep pylint3 happy. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/patchstream.py | 52 ++--- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/tools/p

[PATCH v2 09/30] patman: Fix constant style in patchstream

2020-10-25 Thread Simon Glass
These constants should use upper case. Update them to keep pylint3 happy. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/patchstream.py | 44 ++--- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/tools/patman/patchstream.py b/t

[PATCH v2 08/30] patman: Fix indenting in patchstream

2020-10-25 Thread Simon Glass
Update the indenting to keep pylint3 happy. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/patchstream.py | 29 - 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py index ba0a1

[PATCH v2 07/30] patman: Allow linking a series with patchwork

2020-10-25 Thread Simon Glass
Add a new Series-links tag to tell patman how to find the series in patchwork. Each item is the series ID optionally preceded by the series version that the link refers to. An empty version indicates this is the latest series. For example: Series-links: 209816 1:203302 Documentation is added

[PATCH v2 06/30] patman: Fix remaining pylint3 warnings in func_test

2020-10-25 Thread Simon Glass
This fixes all but the ones about too many variables/statements. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/func_test.py | 76 +-- 1 file changed, 58 insertions(+), 18 deletions(-) diff --git a/tools/patman/func_test.py b/tools/patman

[PATCH v2 02/30] azure/gitLab/travis: Add pygit2 as a dependency for tests

2020-10-25 Thread Simon Glass
This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by: Simon Glass --- (no changes since v1) .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- .travis.yml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.ym

[PATCH v2 01/30] patman: Correct operation of -n

2020-10-25 Thread Simon Glass
This operation was unfortunately broken by a recent change. It is now necessary to use -i in addition to -n, if there are errors or warnings in the patches. Correct this by always showing the summary information. Fixes: f3653759758 ("patman: Move main code out to a control module") Signed-off-by:

[PATCH v2 00/30] patman: Collect review tags and comments from Patchwork

2020-10-25 Thread Simon Glass
Patman is a useful tool for creating, checking sending out patches. It automates the creation of patches, simplifies checking them and handles cover letters and change logs. However once patches are sent and reviewers add Reviewed-by tags, etc., these must be manually added into the commits using

[PATCH v2 04/30] patman: Fix whitespace errors in func_test

2020-10-25 Thread Simon Glass
Fix up various indentation and other minor things to make pylint3 happier. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/func_test.py | 37 +++-- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/tools/patman/func_test.py b/tool

[PATCH v2 05/30] patman: Use capture_sys_output() consistently

2020-10-25 Thread Simon Glass
One test still uses its own function for capturing output. Modify it to use the standard one in test_util Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/func_test.py | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/tools/patman/func_t

[PATCH v2 03/30] patman: Update how tests are run

2020-10-25 Thread Simon Glass
The current instructions are out-of-date. Fix them. Signed-off-by: Simon Glass --- (no changes since v1) tools/patman/README | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/patman/README b/tools/patman/README index 52b2cf70bd0..7ede1068ee1 100644 --- a/tools/p

Re: [maemo-leste] [PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-25 Thread Tom Rini
On Mon, Oct 26, 2020 at 01:19:43AM +0100, Pali Rohár wrote: > On Sunday 25 October 2020 19:55:28 Tom Rini wrote: > > On Mon, Oct 26, 2020 at 12:04:54AM +0100, Pali Rohár wrote: > > > On Saturday 24 October 2020 08:19:31 Tom Rini wrote: > > > > Let me add in the TI folks that might be able to look i

Re: [maemo-leste] [PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-25 Thread Pali Rohár
On Sunday 25 October 2020 19:55:28 Tom Rini wrote: > On Mon, Oct 26, 2020 at 12:04:54AM +0100, Pali Rohár wrote: > > On Saturday 24 October 2020 08:19:31 Tom Rini wrote: > > > Let me add in the TI folks that might be able to look in to any of this > > > today. But the next problem is that the rx51

Re: [maemo-leste] [PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-25 Thread Anatolij Gustschin
On Mon, 26 Oct 2020 00:04:54 +0100 Pali Rohár p...@kernel.org wrote: ... > Maybe I'm doing something wrong that I do not see it? Or is there any > other way to "list all issues for N900" which needs to be addressed? $ ./tools/buildman/buildman nokia_rx51 Building current source for 1 boards (1 thr

Re: [maemo-leste] [PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-25 Thread Tom Rini
On Mon, Oct 26, 2020 at 12:04:54AM +0100, Pali Rohár wrote: > On Saturday 24 October 2020 08:19:31 Tom Rini wrote: > > Let me add in the TI folks that might be able to look in to any of this > > today. But the next problem is that the rx51 needs to be converted to > > use DM in U-Boot. It's throw

Re: [maemo-leste] [PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-25 Thread Pali Rohár
On Saturday 24 October 2020 08:19:31 Tom Rini wrote: > Let me add in the TI folks that might be able to look in to any of this > today. But the next problem is that the rx51 needs to be converted to > use DM in U-Boot. It's throwing up a ton of "you need to convert to X > by or this board may be

[PATCH 6/7] ARM: dts: at91: gurnard: fix SPI bus unit address

2020-10-25 Thread Eugen Hristev
w+arch/arm/dts/.at91sam9g45-gurnard.dtb.pre.tmp:118.21-122.7: Warning (spi_bus_reg): /ahb/apb/spi@fffa4000/mtd_dataflash@0: SPI bus unit address format error, expected "1" Signed-off-by: Eugen Hristev --- arch/arm/dts/at91sam9g45-gurnard.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH 5/7] ARM: dts: at91: at91sam9g25ek: fix I2C bus unit address

2020-10-25 Thread Eugen Hristev
w+arch/arm/dts/.at91sam9g25ek.dtb.pre.tmp:28.25-47.7: Warning (i2c_bus_reg): /ahb/apb/i2c@f801/camera@0x30: I2C bus unit address format error, expected "30" Signed-off-by: Eugen Hristev --- arch/arm/dts/at91sam9g25ek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a

[PATCH 4/7] ARM: dts: at91: at91sam9g20ek_common: fix SPI bus unit address

2020-10-25 Thread Eugen Hristev
w+arch/arm/dts/at91sam9g20ek_common.dtsi:100.21-104.7: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1" Signed-off-by: Eugen Hristev --- arch/arm/dts/at91sam9g20ek_common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 7/7] ARM: dts: at91: sama5d3xmb: fix I2C bus unit address

2020-10-25 Thread Eugen Hristev
w+arch/arm/dts/sama5d3xmb.dtsi:64.25-83.7: Warning (i2c_bus_reg): /ahb/apb/i2c@f0018000/camera@0x30: I2C bus unit address format error, expected "30" Signed-off-by: Eugen Hristev --- arch/arm/dts/sama5d3xmb.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/s

[PATCH 3/7] ARM: dts: at91: at91sam9g20-taurus: fix SPI bus unit address

2020-10-25 Thread Eugen Hristev
w+arch/arm/dts/.at91sam9g20-taurus.dtb.pre.tmp:79.18-83.4: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1" Signed-off-by: Eugen Hristev --- arch/arm/dts/at91sam9g20-taurus.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 1/7] ARM: dts: at91: vinco: fix I2C warning bus unit address

2020-10-25 Thread Eugen Hristev
w+arch/arm/dts/.at91-vinco.dtb.pre.tmp:131.18-134.7: Warning (i2c_bus_reg): /ahb/apb/i2c@f8024000/rtc@64: I2C bus unit address format error, expected "32" Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-vinco.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dt

[PATCH 0/7] ARM: dts: at91: DTC 1.6.0+ warning fixes

2020-10-25 Thread Eugen Hristev
This series fixes warnings when moving to DTC 1.6.0+. Anyone who still has these boards and is willing to test them, it's appreciated. I do not have any of the boards listed here at the moment. Thanks ! Eugen Eugen Hristev (7): ARM: dts: at91: vinco: fix I2C warning bus unit address ARM: d

[PATCH 2/7] ARM: dts: at91: at91sam9261ek: fix SPI unit address warning

2020-10-25 Thread Eugen Hristev
w+arch/arm/dts/.at91sam9261ek.dtb.pre.tmp:124.15-144.7: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/tsc2046@0: SPI bus unit address format error, expected "2" Signed-off-by: Eugen Hristev --- arch/arm/dts/at91sam9261ek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arc

[PATCH 2/2] pinctrl: k210: Rename power domains to match datasheet

2020-10-25 Thread Sean Anderson
This renames power domains to match the names on the k210 datasheet. Signed-off-by: Sean Anderson Reported-by: Damien Le Moal --- .../pinctrl/kendryte,k210-fpioa.txt| 2 +- drivers/pinctrl/pinctrl-kendryte.c | 10 +- 2 files changed, 6 insertion

[PATCH 1/2] pinctrl: k210: Fix inverted IE and OE for I2C

2020-10-25 Thread Sean Anderson
I2C and SCCB previously shared defaults. However, SCCB needs OE_INV and IE_INV set, but I2C cannot have those bits set. This adds a separate default for SCCB. Signed-off-by: Sean Anderson Reported-by: Damien Le Moal --- drivers/pinctrl/pinctrl-kendryte.c | 10 ++ 1 file changed, 6 inse

Re: [PATCH v4 00/13] riscv: Add SPI support for Kendryte K210

2020-10-25 Thread Sean Anderson
On 10/24/20 10:58 AM, Jagan Teki wrote: > On Sat, Oct 24, 2020 at 12:14 AM Jagan Teki > wrote: >> >> On Sat, Oct 17, 2020 at 4:28 AM Sean Anderson wrote: >>> >>> This series adds support for SPI on the Kendryte K210. This covers the MMC >>> slot and SPI flash on the Sipeed Maix Bit. >>> >>> This

Re: [PATCH v2 2/4] spi: Remove uses of #ifndef __U_BOOT__ from spi-mem.c

2020-10-25 Thread Sean Anderson
On 10/23/20 2:26 PM, Jagan Teki wrote: > On Fri, Aug 7, 2020 at 10:43 PM Sean Anderson wrote: >> >> Preprocessing out large sections of the file is confusing and makes it >> difficult to follow the control flow. Presumably these were initially added >> to make porting easier, but this code has not

Re: [PATCH] fs/squashfs: fix memory leak in sqfs_read()

2020-10-25 Thread João Marcos Costa
Reviewed-by: João Marcos Costa Em dom., 25 de out. de 2020 às 14:46, Barbaros Tokaoglu < btokao...@airspan.com> escreveu: > data_buffer should be freed on each iteration > > Signed-off-by: Barbaros Tokaoglu > --- > fs/squashfs/sqfs.c | 21 +++-- > 1 file changed, 11 insertions(

Re: [PATCH v5 1/2] arm: rmobile: Add RZ/G2[HMNE] SoC support

2020-10-25 Thread Marek Vasut
On 10/8/20 10:59 AM, Biju Das wrote: [...] > +static const struct udevice_id tfa_cpu_info[] = { > + { .compatible = "renesas,r8a774a1", .data = RMOBILE_CPU_TYPE_R8A774A1 }, > + { .compatible = "renesas,r8a774b1", .data = RMOBILE_CPU_TYPE_R8A774B1 }, > + { .compatible = "renesas,r8a774

Re: [PATCH v5 2/2] mmc: renesas-sdhi: Add R8A774A1 SDHI quirks

2020-10-25 Thread Marek Vasut
On 10/8/20 10:59 AM, Biju Das wrote: > Add various SDHI quirks for R8A774A1 SoC. > > Signed-off-by: Biju Das > Reviewed-by: Lad Prabhakar > --- > v5 : New Patch > --- > drivers/mmc/renesas-sdhi.c | 18 -- > 1 file changed, 12 insertions(+), 6 deletions(-) > > diff --git a/driv

Re: [PATCHv2] mx6: peripheral clock from oscillator

2020-10-25 Thread Fabio Estevam
On Fri, Oct 23, 2020 at 4:18 PM 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. > > Systems running I2C from OP-TEE before Linux executes - for example to > access a Secure

[PATCH v5 25/27] video: omap: split the legacy code from the DM code

2020-10-25 Thread Dario Binacchi
The schedule for deprecating the features of the pre-driver-model puts 2019.17 as the deadline for the video subsystem. Furthermore, the latest patches applied to the am335x-fb.c module have decreased the amount of code shared with the pre-driver-model implementation. Splitting the two implementati

[PATCH v5 27/27] board: ti: am335x-ice: get CDCE913 clock device

2020-10-25 Thread Dario Binacchi
With support for other clock drivers, the potentially supported CDCE913 device can no longer be probed without specifying its DT node name. Signed-off-by: Dario Binacchi --- (no changes since v1) board/ti/am335x/board.c | 2 +- board/ti/am43xx/board.c | 2 +- 2 files changed, 2 insertions(+),

[PATCH v5 24/27] video: omap: set LCD clock rate through DM API

2020-10-25 Thread Dario Binacchi
The patch configures the display DPLL using the functions provided by the driver model API for the clock. The device tree contains everything needed to get the DPLL clock. The round rate function developed for calculating the DPLL multiplier and divisor and the platform routines for accessing the D

[PATCH v5 23/27] video: omap: drop domain clock enabling by SOC api

2020-10-25 Thread Dario Binacchi
Enabling the domain clock is performed by the sysc interconnect target module driver during the video device probing. Signed-off-by: Dario Binacchi --- (no changes since v3) Changes in v3: - Remove clock domain enabling/disabling. - Update the commit message. arch/arm/mach-omap2/am33xx/clock

[PATCH v5 21/27] dm: core: add a function to decode display timings

2020-10-25 Thread Dario Binacchi
The patch adds a function to get display timings from the device tree node attached to the device. Signed-off-by: Dario Binacchi Reviewed-by: Simon Glass --- (no changes since v1) arch/sandbox/dts/test.dts | 46 ++ drivers/core/read.c | 6 +++ include/dm/read.h

[PATCH v5 26/27] video: omap: move drivers to 'ti' directory

2020-10-25 Thread Dario Binacchi
Add drivers/video/ti/ folder and move all TI's code in this folder for better maintenance. Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/video/Kconfig | 5 + drivers/video/Makefile| 4 +--- drivers/video/ti/Kconfig | 8 +

[PATCH v5 22/27] video: omap: add panel driver

2020-10-25 Thread Dario Binacchi
The previous version of am335x-fb.c contained the functionalities of two drivers that this patch has split. It was a video type driver that used the same registration compatible string that now registers a panel type driver. The proof of this is that two compatible strings were referred to within t

[PATCH v5 16/27] fdt: translate address if #size-cells = <0>

2020-10-25 Thread Dario Binacchi
The __of_translate_address routine translates an address from the device tree into a CPU physical address. A note in the description of the routine explains that the crossing of any level with #size-cells = <0> is to be considered an error not by specification but since inherited from IBM. This doe

[PATCH v5 17/27] omap: timer: fix the rate setting

2020-10-25 Thread Dario Binacchi
The prescaler (PTV) setting must be taken into account even when the timer input clock frequency has been set. Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/timer/omap-timer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/timer/omap-timer.c

[PATCH v5 18/27] misc: am33xx: add control module driver

2020-10-25 Thread Dario Binacchi
The implementation of this driver was needed to bind the device tree sub-nodes of the 'clocks' node. In fact, the lack of the compatible property in the 'clocks' node does not allow the generic 'syscon' or 'simple-bus' drivers linked to the 'scm_conf@0' node to bind the 'clocks' node and in turn it

[PATCH v5 20/27] bus: ti: am33xx: add pwm subsystem driver

2020-10-25 Thread Dario Binacchi
The TI PWMSS driver is a simple bus driver for providing clock and power management for the PWM peripherals on TI AM33xx SoCs, namely eCAP, eHRPWM and eQEP. For DT binding details see Linux doc: - Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt Signed-off-by: Dario Binacchi --- (no chang

[PATCH v5 19/27] pwm: ti: am33xx: add enhanced pwm driver

2020-10-25 Thread Dario Binacchi
Enhanced high resolution PWM module (EHRPWM) hardware can be used to generate PWM output over 2 channels. This commit adds PWM driver support for EHRPWM device present on AM33XX SOC. The code is based on the drivers/pwm/pwm-tiehrpwm.c driver of the Linux kernel version 5.9-rc7. For DT binding deta

[PATCH v5 15/27] clk: move clk-ti-sci driver to 'ti' directory

2020-10-25 Thread Dario Binacchi
The patch moves the clk-ti-sci.c file to the 'ti' directory along with all the other TI's drivers, and renames it clk-sci.c. Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/clk/Kconfig| 8 drivers/clk/Makefile | 1 - driver

[PATCH v5 00/27] Add DM support for omap PWM backlight

2020-10-25 Thread Dario Binacchi
The series was born from the need to manage the PWM backlight of the display connected to my beaglebone board. To hit the target, I had to develop drivers for PWM management which in turn relied on drivers for managing timers and clocks, all developed according to the driver model. My intention w

[PATCH v5 13/27] clk: ti: omap4: add clock manager driver

2020-10-25 Thread Dario Binacchi
This minimal driver is only used to bind child devices. For DT binding details see Linux doc: - Documentation/devicetree/bindings/arm/omap/prcm.txt Signed-off-by: Dario Binacchi --- (no changes since v3) Changes in v3: - doc/device-tree-bindings/arm/omap,prcm.txt. - Add to commit message the

[PATCH v5 14/27] clk: ti: am335x: add clock manager driver

2020-10-25 Thread Dario Binacchi
The implementation of this driver was needed to bind the sub-nodes of the 'clocks' node. In fact, the lack of the compatible property in the 'clocks' node does not allow the generic 'simple-bus' driver to bind the 'clocks' node and in turn its sub-nodes. The 'prcm@20' node is therefore the node

[PATCH v5 04/27] arm: dts: sync am33xx with Linux 5.9-rc7

2020-10-25 Thread Dario Binacchi
There have been several changes to the am33xx.dtsi, so this patch re-syncs it with Linux. Let's add proper interconnect hierarchy for l4 interconnect instances with the related ti-sysc interconnect module data as documented in Documentation/devicetree/bindings/bus/ti-sysc.txt of the Linux kernel.

[PATCH v5 12/27] clk: ti: add support for clkctrl clocks

2020-10-25 Thread Dario Binacchi
Until now the clkctrl clocks have been enabled/disabled through platform routines. Thanks to this patch they can be enabled and configured directly by the probed devices that need to use them. For DT binding details see Linux doc: - Documentation/devicetree/bindings/clock/ti-clkctrl.txt Signed-of

[PATCH v5 11/27] ti: am33xx: fix do_enable_clocks() to accept NULL parameters

2020-10-25 Thread Dario Binacchi
Up till this commit passing NULL as input parameter was allowed, but not handled properly. When a NULL parameter was passed to the function a data abort was raised. Signed-off-by: Dario Binacchi Reviewed-by: Simon Glass --- (no changes since v1) arch/arm/mach-omap2/am33xx/clock.c | 10 ++-

[PATCH v5 06/27] clk: ti: add mux clock driver

2020-10-25 Thread Dario Binacchi
The driver manages a register-mapped multiplexer with multiple input clock signals or parents, one of which can be selected as output. It uses routines provided by the common clock framework (ccf). The code is based on the drivers/clk/ti/mux.c driver of the Linux kernel version 5.9-rc7. For DT bin

[PATCH v5 10/27] clk: ti: add gate clock driver

2020-10-25 Thread Dario Binacchi
The patch adds support for TI gate clock binding. The code is based on the drivers/clk/ti/gate.c driver of the Linux kernel version 5.9-rc7. For DT binding details see: - Documentation/devicetree/bindings/clock/ti/gate.txt Signed-off-by: Dario Binacchi --- Changes in v5: - Move the clk-ti-gate.

  1   2   >