According to rk3288 spec, the pwm register order is:
PWM_PWM0_CNT,
PWM_PWM0_PERIOD_HPR,
PWM_PWM0_DUTY_LPR,
PWM_PWM0_CTRL
but the source code's order is:
struct rk3288_pwm {
u32 cnt;
u32 duty_lpr;
u32 period_hpr;
u32 ctrl;
};
So, correct it here. It is the same as R
Hi,
On Tue, 13 Jun 2017 10:11:17 +0800 Kever Yang wrote:
> Hi Simon,
>
>
> On 06/09/2017 08:28 PM, Simon Glass wrote:
> > On 7 June 2017 at 19:20, Kever Yang wrote:
> >> According to MMC spec, the write_counter is 4-byte length,
> >> use 'int' instead of 'long' type for the 'long' is not 4-byte
Add rk3288 soc specific driver for mipi dsi.
Signed-off-by: Eric Gao
---
Changes in v1:
-Change function name from rk_display_enable to rk_mipi_enable.
-Use IS_ERR to judge the return status.
-Use dev_read_addr to replace devfdt_get_addr.
drivers/video/rockchip/rk3288_mipi.c | 191 +++
Signed-off-by: Eric Gao
---
Changes in v1: None
drivers/video/rockchip/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile
index 600743c..8005003 100644
--- a/drivers/video/rockchip/Makefile
+++ b/drivers/video/rockchip/
Add support for rk3288 mipi dsi.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v1:
-Make the subject more intelligible.
configs/evb-rk3288_defconfig | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288
Changes in v1:
-Change function name from rk_display_enable to rk_mipi_enable.
-Use IS_ERR to judge the return status.
-Use dev_read_addr to replace devfdt_get_addr.
-Make the subject more intelligible.
Eric Gao (3):
rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi
rockchip
> -Original Message-
> From: York Sun
> Sent: Wednesday, June 14, 2017 1:55 AM
> To: Sumit Garg ; u-boot@lists.denx.de
> Cc: Ruchika Gupta ; Prabhakar Kushwaha
> ; Vini Pillai ; Udit
> Agarwal
> Subject: Re: [PATCH] SECURE_BOOT: Unify memory map for Layerscape based
> platforms
>
> On 05/
> -Original Message-
> From: York Sun
> Sent: Wednesday, June 14, 2017 2:13 AM
> To: Sumit Garg ; u-boot@lists.denx.de
> Cc: Ruchika Gupta ; Prabhakar Kushwaha
> ; Mingkai Hu ;
> Shengzhou Liu
> Subject: Re: [PATCH] arm64: ls1043ardb: Add distro secure boot support
>
> On 06/04/2017 11:54
Hi Kever,
On 7 May 2017 at 19:45, Kever Yang wrote:
> Hi Heiko,
>
>
> Thanks for your comments.
>
>
> On 05/05/2017 09:10 PM, Heiko Stuebner wrote:
>>
>> Hi Kever,
>>
>> Am Freitag, 5. Mai 2017, 10:39:35 CEST schrieb Kever Yang:
>>>
>>> ARM64 is using 64bit address which address cell is 2 instead
Unfortunately I neglected to run pylint on this tool with its initial
submission. Fix the warnings.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 261 -
tools/dtoc/dtoc.py | 14 +--
2 files changed, 144 insertions(+), 131 deleti
Collect the main logic of dtoc into a function and put it into
dtb_platdata. This will allow tests to use this function instead of
duplicating the code themselves.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 29 +
tools/dtoc/dtoc.py | 19 ++---
This function uses several separate string replaces where a regular
expression might seem more reasonable. Add a comment justifying the way it
is currently done.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/dtoc/dtb_platd
This option is the only one actually used by the dtb_platdata class. Pass
it explicitly to avoid needing to pass the whole option object to the
constructor.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 8
tools/dtoc/dtoc.py | 2 +-
2 files changed, 5 insertions(+
Add some tests of dtoc's functionality to make it easier to expand and
enhance the tool.
Signed-off-by: Simon Glass
---
tools/dtoc/dtoc.py | 31 -
tools/dtoc/dtoc_test.dts | 12 ++
tools/dtoc/dtoc_test_aliases.dts | 18 +++
tools/dtoc/dtoc_test_empty.dts | 12 ++
Add a description of the dtoc tool at the top of the file.
Signed-off-by: Simon Glass
---
tools/dtoc/dtoc.py | 20
1 file changed, 20 insertions(+)
diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/dtoc.py
index 056f5157c9..79779477d9 100755
--- a/tools/dtoc/dtoc.py
+++ b/tools
This conversion appears to not be needed as it does not occur in practice.
Drop it.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py
index 75adf48dea..d86651b9aa 100644
--- a/tool
Rather than using static functions within the class, move them out of the
class. This will make it slightly easier for tests to call them.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 125 +++--
1 file changed, 63 insertions(+), 62 deletion
Currently we have code which prints out platform data at the start of SPL.
Now that we have tests for dtoc this is probably not necessary. Drop it.
Update test_ofplatdata to check for empty output since it is useful to
check that sandbox_spl works as expected.
Signed-off-by: Simon Glass
---
arc
This class should use the options object passed to it rather than finding
the global one. Fix it.
Signed-off-by: Simon Glass
---
tools/dtoc/dtoc.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/dtoc.py
index c0ab13ad34..056f5157c9 100755
To simplify running tests we should move this class into its own file.
This allows the tests to import it without having to import dtoc.py, which
runs the tests.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 411 +
tools/dtoc/dtoc.py
When dtoc was originally written it was an idea without much expectation
(on my part at least) that it would be widely used. However there have
been several features requests and it is being relied on for several
rockchip boards.
At present dtoc has no tests of its own. It relies on sandbox_spl wh
I am curious if there is a possibility to recover a wrongly flashed NVIDIA
SHIELD TV device by flashing u-boot instead of cboot and mounting the emmc
in uboot to do some repairs. If I lose keys for widevine I won't care I
just would like to know if this or any remedy is possible when stuck in APX
The following changes since commit b9f7d8817424bb328d5eac9b16196a1189b8b6f5:
powerpc, 5xx: remove some "5xx" remains (2017-06-16 10:14:56 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to b9203429a04402bd03c48fa87670686ef7e
On 06/18/2017 09:16 PM, Lukasz Majewski wrote:
> Dear Marek,
>
> Please find pull request for dfu repository:
Would be nice if you specified the branch next time. Pulled.
> The following changes since commit
> 9000eddbae0d292331ef403b0a1ff7ec7a983a79:
>
> drivers/usb/ehci: Use platform-specif
Dear Marek,
Please find pull request for dfu repository:
The following changes since commit
9000eddbae0d292331ef403b0a1ff7ec7a983a79:
drivers/usb/ehci: Use platform-specific accessors (2017-06-17
17:59:03 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
f
Dear Tom,
In message <20170612145646.GY10782@bill-the-cat> you wrote:
>
> Looking at the man page for atoi:
> The atoi() function converts the initial portion of the string pointed
> to by nptr to int. The behavior is the same as
>
> strtol(nptr, NULL, 10);
>
> So we should just re-work
Dear Alison,
In message
you wrote:
>
> The idea behind the 'swap' mode is that a storage device can have two sets
> of partitions, one set all named 'primary' and one set all named 'backup'.
> The software updater in userspace can then simply rename the partitions
> with sgdisk in order to pic
27 matches
Mail list logo