Signed-off-by: Alexander Shiyan
---
arch/arm/mach-imx/include/mach/iomux-mx51.h | 48 +-
1 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/iomux-mx51.h
b/arch/arm/mach-imx/include/mach/iomux-mx51.h
index c7f5169..36c8989 10
This patch adds support for ConnectCore® i.MX51 board from Digi International.
A separate option includes support for debugging board for this module.
Some code taken from the bootloader U-Boot and patch from Digi.
Functional of Ethernet not tested yet.
barebox 2012.05.0-00316-g4024d9c-dirty #0 We
On Wed, Jun 13, 2012 at 11:43:06PM +0400, Antony Pavlov wrote:
> This patch series adds the ability to turn power off on
> Ritmix RZX-50 game console.
>
> The Ritmix RZX-50 game console is a battery-powered device.
> So I you keep it running barebox it can to use up the battery
> in 14-16 hours. S
On Thu, Jun 14, 2012 at 10:59:37AM +0400, Alexander Shiyan wrote:
>
> Signed-off-by: Alexander Shiyan
Applied to -next.
Thanks
Sascha
> ---
> arch/arm/mach-imx/include/mach/iomux-mx51.h | 48 +-
> 1 files changed, 24 insertions(+), 24 deletions(-)
>
> diff --git a/
On Wed, Jun 13, 2012 at 12:01:50PM +0200, Steffen Trumtrar wrote:
> Add a command to sleep for n milliseconds.
>
> Signed-off-by: Steffen Trumtrar
Applied, thanks
Sascha
> ---
> commands/Kconfig |4
> commands/Makefile |1 +
> commands/msleep.c | 40 +++
On Tue, May 08, 2012 at 09:53:58AM +0200, Wolfram Sang wrote:
> Needed for ocotp write.
>
> +
> +int imx_set_vddio(int new_voltage)
You should add the unit to the parameter name, i.e. new_voltage_uv
Sascha
--
Pengutronix e.K. | |
Industria
On Tue, May 08, 2012 at 09:54:01AM +0200, Wolfram Sang wrote:
>
> +static ssize_t mxs_ocotp_cdev_write(struct cdev *cdev, const void *buf,
> size_t count,
> + ulong offset, ulong flags)
> +{
> + struct ocotp_priv *priv = cdev->priv;
> + void __iomem *base = priv->base;
> +
Signed-off-by: Wolfram Sang
---
V2: rewrote code according to Sascha's style guide ;)
arch/arm/boards/freescale-mx28-evk/mx28-evk.c | 30 +++--
arch/arm/mach-mxs/Kconfig |1 +
2 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/arch/arm/
Needed for ocotp write.
Signed-off-by: Wolfram Sang
---
arch/arm/mach-mxs/include/mach/power.h |2 ++
arch/arm/mach-mxs/power.c | 38
2 files changed, 40 insertions(+)
diff --git a/arch/arm/mach-mxs/include/mach/power.h
b/arch/arm/mach-mxs/in
Because OCOTP write needs to change HCLK and VDDIO, some preparations are
needed before we can finally write to OCOTP. Tested with a custom board and a
TX28.
V2:
Patch 5/8: - add unit "uV" to function parameter name
Patch 8/8: - get rid of #ifdefs by using IS_ENABLED
- only populate wr
needed for writing the One-Time-Prgorammable
Signed-off-by: Wolfram Sang
---
arch/arm/mach-mxs/include/mach/clock-imx23.h |1 +
arch/arm/mach-mxs/include/mach/clock-imx28.h |1 +
arch/arm/mach-mxs/speed-imx23.c | 21 +
arch/arm/mach-mxs/speed-imx28.c
To avoid getting a different divider due to rounding errors when using
set_hclk later, use DIV_ROUND_UP for the returned value.
Signed-off-by: Wolfram Sang
---
arch/arm/mach-mxs/speed-imx23.c |5 +++--
arch/arm/mach-mxs/speed-imx28.c |5 +++--
2 files changed, 6 insertions(+), 4 deletion
Signed-off-by: Wolfram Sang
---
arch/arm/mach-mxs/include/mach/imx28-regs.h |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-mxs/include/mach/imx28-regs.h
b/arch/arm/mach-mxs/include/mach/imx28-regs.h
index 9a2052c..23ac306 100644
--- a/arch/arm/mach-mxs/include/mach/imx28-re
usbphy initializaion needs to access the power supply and has this
embedded. Refactor to a seperate power.c, since we need other accesses
in the future.
Signed-off-by: Wolfram Sang
---
arch/arm/mach-mxs/Makefile |2 +-
arch/arm/mach-mxs/include/mach/power.h |6 +
arch/arm
Will the code more readable, especially since future additions are
planned.
Signed-off-by: Wolfram Sang
---
arch/arm/mach-mxs/ocotp.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/arm/mach-mxs/ocotp.c
index 7f9107a..f18d0
Let's keep the timeout routine in a central place. We will need it more
often when we add write support.
Signed-off-by: Wolfram Sang
---
arch/arm/mach-mxs/ocotp.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/arch/arm/mach-mxs/ocotp.c b/arch/a
Since we now can change HCLK and VDDIO, we can now support writing to
OCOTP. Writing is done via a special data register. This is u32, so we
need to fill a temporary buffer when offset or count is not aligned. The
write is also protected by a special device variable.
Signed-off-by: Wolfram Sang
-
On Thu, Jun 14, 2012 at 03:13:03PM +0200, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang
> ---
>
> V2: rewrote code according to Sascha's style guide ;)
>
> arch/arm/boards/freescale-mx28-evk/mx28-evk.c | 30
> +++--
> arch/arm/mach-mxs/Kconfig |
On Thu, Jun 14, 2012 at 04:10:16PM +0200, Sascha Hauer wrote:
> On Thu, Jun 14, 2012 at 03:13:03PM +0200, Wolfram Sang wrote:
> > Signed-off-by: Wolfram Sang
> > ---
> >
> > V2: rewrote code according to Sascha's style guide ;)
> >
> > arch/arm/boards/freescale-mx28-evk/mx28-evk.c | 30
> > +
19 matches
Mail list logo