On Wed, Feb 27, 2019 at 10:19:06AM +0100, Uwe Kleine-König wrote:
> $Subject ~= s/porbe/probe/
Yes, I fixed that.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8,
Sascha Hauer writes:
> On Tue, Feb 26, 2019 at 02:05:29PM +0100, Marcin Niestroj wrote:
>> Initially we depended on DDR controller settings for liteSOM and liteboard.
>> With
>> 33fdc89d4cbd ("dts: update to v5.0-rc1") a `device_type = "memory";` property
>> was added to imx6ul-litesom.dtsi
Am Dienstag, den 26.02.2019, 19:16 -0800 schrieb Andrey Smirnov:
> Enable PCIE1 and PCIE2 used on both Zest and RMB3 boards.
>
> > Signed-off-by: Andrey Smirnov
> ---
> arch/arm/dts/imx8mq-zii-ultra.dtsi | 62 ++
> 1 file changed, 62 insertions(+)
>
> diff --git
Am Dienstag, den 26.02.2019, 19:16 -0800 schrieb Andrey Smirnov:
> Add nodes for exposed USB ports as well as USB hub connected to one of
> them.
>
> > Signed-off-by: Andrey Smirnov
> ---
> arch/arm/dts/imx8mq-zii-ultra-rmb3.dts | 4 +++
> arch/arm/dts/imx8mq-zii-ultra.dtsi | 34
On Raspberry Pi, VideoCore firmware creates a device tree that contains
information about peripherals that were initialized by VideoCore based
on settings in config.txt. Normally this device tree is passed to the
Linux kernel via a pointer in the r2 register. A bootloader needs to
pass this device
When booting a Raspberry Pi, it is useful to extract bootargs from the
device tree that was created by the VideoCore firmware. These bootargs
contain for example settings for the framebuffer that the kernel needs
to properly set the video output.
This commit extracts the bootargs in the board
Knowing the address of the end of the memory area used by Barebox is
useful if PBL stores some extra data after it, so that board init code
can later retrieve it from there.
---
arch/arm/cpu/start.c | 8
arch/arm/include/asm/barebox-arm.h | 1 +
2 files changed, 9
Changes from the first patch series:
- Drop of_bootargs command in favour of automatically extracting VideoCore
bootargs to vc.bootargs global in board initialization. Sorry for forgetting
to update the copyright header in of_bootargs.c. This file is gone now.
- Replace printf() with
We can track the stopped status in the I2CR_MSTA bit, no need for an
extra variable. Also we can call i2c_fsl_stop() instead of open coding
it in i2c_fsl_read().
Signed-off-by: Sascha Hauer
---
drivers/i2c/busses/i2c-imx.c | 43 +---
1 file changed, 15
Some small improvements for the i.MX I2C driver.
Sascha Hauer (5):
i2c: i.MX: Do not call i2c_fsl_bus_busy twice
i2c: i.MX: move disabling of controller out of i2c_fsl_stop
i2c: i.MX: Track stopped status in I2CR_MSTA bit
i2c: i.MX: consolidate code
i2c: i.MX: fix variable name
We have to write to FSL_I2C_I2DR and wait for completion/ack three
times in the code. Instead of open coding it each time create a
helper function for it.
Signed-off-by: Sascha Hauer
---
drivers/i2c/busses/i2c-imx.c | 54 ++--
1 file changed, 21 insertions(+), 33
$Subject ~= s/porbe/probe/
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/ |
___
barebox mailing list
barebox@lists.infradead.org
Move disabling of the controller out of i2c_fsl_stop(). This makes the
function reusable in other places in the next patch.
Signed-off-by: Sascha Hauer
---
drivers/i2c/busses/i2c-imx.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/i2c/busses/i2c-imx.c
i2c_fsl_write() and i2c_fsl_read() take exactly one i2c message, not
multiple ones, hence rename the variable from "msgs" to "msg".
Signed-off-by: Sascha Hauer
---
drivers/i2c/busses/i2c-imx.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git
In i2c_fsl_stop() we call i2c_fsl_bus_busy() a second time when it
fails. If it fails once it won't succeed the second time, so drop
the second call.
Signed-off-by: Sascha Hauer
---
drivers/i2c/busses/i2c-imx.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/i2c/busses/i2c-imx.c
On Wed, Feb 27, 2019 at 3:18 AM Lucas Stach wrote:
>
> Am Dienstag, den 26.02.2019, 19:16 -0800 schrieb Andrey Smirnov:
> > Enable PCIE1 and PCIE2 used on both Zest and RMB3 boards.
> >
> > > Signed-off-by: Andrey Smirnov
> > ---
> > arch/arm/dts/imx8mq-zii-ultra.dtsi | 62
On Wed, Feb 27, 2019 at 3:10 AM Lucas Stach wrote:
>
> Am Dienstag, den 26.02.2019, 19:16 -0800 schrieb Andrey Smirnov:
> > Add nodes for exposed USB ports as well as USB hub connected to one of
> > them.
> >
> > > Signed-off-by: Andrey Smirnov
> > ---
> > arch/arm/dts/imx8mq-zii-ultra-rmb3.dts
---
arch/arm/dts/imx8mq-zii-ultra-rmb3.dts | 2 +-
arch/arm/dts/imx8mq-zii-ultra.dtsi | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/dts/imx8mq-zii-ultra-rmb3.dts
b/arch/arm/dts/imx8mq-zii-ultra-rmb3.dts
index 78280029b..dd4379bd5 100644
---
---
arch/arm/dts/imx8mq-zii-ultra.dtsi | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/arch/arm/dts/imx8mq-zii-ultra.dtsi
b/arch/arm/dts/imx8mq-zii-ultra.dtsi
index d46a26d81..0c124a5ec 100644
--- a/arch/arm/dts/imx8mq-zii-ultra.dtsi
+++
19 matches
Mail list logo