Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
board/zipitz2/zipitz2.c |8
include/configs/zipitz2.h |5 +++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c
index b093c2f..4075fb6 100644
--- a/board
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
include/configs/zipitz2.h | 83 ++---
1 files changed, 78 insertions(+), 5 deletions(-)
diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h
index 26204af..5560bef 100644
--- a/include
From: Marek Vasut marek.va...@gmail.com
Signed-off-by: Marek Vasut marek.va...@gmail.com
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
[vasily: adapted Marek's old version for newer u-boot]
---
arch/arm/include/asm/arch-pxa/pxa-regs.h |6 +-
drivers/input/Makefile
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before
DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR
to SRAM
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
include/configs/zipitz2.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include
From: Marek Vasut marek.va...@gmail.com
Signed-off-by: Marek Vasut marek.va...@gmail.com
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
[vasily: adapted Marek's old version for newer u-boot]
---
v2: use struct-based access to regs, minor cleanup
arch/arm/include/asm/arch-pxa/pxa-regs.h
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: remove usbtty stuff from EXTRA_ENV_SETTINGS
include/configs/zipitz2.h | 82 ++---
1 files changed, 77 insertions(+), 5 deletions(-)
diff --git a/include/configs/zipitz2.h b/include/configs
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: mmcinfo is necessary to scan card for partitions
board/zipitz2/zipitz2.c |8
include/configs/zipitz2.h |5 +++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before
DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR
to SRAM
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: no changes
include/configs/zipitz2.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: remove usbtty stuff from EXTRA_ENV_SETTINGS
v3: shift+backspace should produce backspace code
include/configs/zipitz2.h | 82 ++---
1 files changed, 77 insertions(+), 5 deletions(-)
diff --git
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: mmcinfo is necessary to scan card for partitions
v3: replace mmcinfo with mmc rescan
board/zipitz2/zipitz2.c |8
include/configs/zipitz2.h | 14 --
2 files changed, 16 insertions(+), 6 deletions(-)
diff
On Fri, 2012-01-13 at 13:41 +0100, Marek Vasut wrote:
+#define KPDK_DK1 (0x1 1)
+#define KPDK_DK0 (0x1 0)
Drop those two spaces here
Two spaces? It's tabs! Btw, it's for good looking formatting and
it was taken from pxa-regs.h. I'd like to preserve it like it is.
+static
On Fri, 2012-01-13 at 13:35 +0100, Marek Vasut wrote:
+ if mmc rescan 0 ext2load mmc 0 0xa000 boot/uboot.script ; \
Why mmc rescan 0 ?
Because otherwise it does nothing to detect card and scan for
partitions? 0 is mmc device index.
Regards
Vasily
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: remove usbtty stuff from EXTRA_ENV_SETTINGS
v3: shift+backspace should produce backspace code
v4: no change
include/configs/zipitz2.h | 82 ++---
1 files changed, 77 insertions(+), 5 deletions
From: Marek Vasut marek.va...@gmail.com
Signed-off-by: Marek Vasut marek.va...@gmail.com
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
[vasily: adapted Marek's old version for newer u-boot,
fixed multiple keypresses handling]
---
v2: use struct-based access to regs, minor cleanup
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: mmcinfo is necessary to scan card for partitions
v3: replace mmcinfo with mmc rescan
v4: mmc rescan does not take extra argument in recent u-boot,
so remove it.
board/zipitz2/zipitz2.c |8
include/configs/zipitz2.h
From: Marek Vasut marek.va...@gmail.com
Signed-off-by: Marek Vasut marek.va...@gmail.com
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: use struct-based access to regs, minor cleanup
v3: fix multiple keypresses handling, minor cleanup
v4: another minor cleanup
v5: fix indentation
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: remove usbtty stuff from EXTRA_ENV_SETTINGS
v3: shift+backspace should produce backspace code
v4: no change
v5: prettify CONFIG_PXA27X_MKP_KEYMAP
include/configs/zipitz2.h | 82 ++---
1 files
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: mmcinfo is necessary to scan card for partitions
v3: replace mmcinfo with mmc rescan
v4: mmc rescan does not take extra argument in recent u-boot,
so remove it.
v5: remove spaces from CONFIG_BOOTCOMMAND
board/zipitz2/zipitz2.c
From: Marek Vasut marek.va...@gmail.com
Signed-off-by: Marek Vasut marek.va...@gmail.com
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
[vasily: adapted Marek's old version for newer u-boot,
fixed multiple keypresses handling]
---
v2: use struct-based access to regs, minor cleanup
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: remove usbtty stuff from EXTRA_ENV_SETTINGS
v3: shift+backspace should produce backspace code
v4: no change
v5: prettify CONFIG_PXA27X_MKP_KEYMAP
v6: no change
include/configs/zipitz2.h | 82
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
---
v2: mmcinfo is necessary to scan card for partitions
v3: replace mmcinfo with mmc rescan
v4: mmc rescan does not take extra argument in recent u-boot,
so remove it.
v5: remove spaces from CONFIG_BOOTCOMMAND
v6: no change
board/zipitz2
2012/1/25 Marek Vasut marek.va...@gmail.com:
From: Marek Vasut marek.va...@gmail.com
Signed-off-by: Marek Vasut marek.va...@gmail.com
Signed-off-by: Vasily Khoruzhick anars...@gmail.com
[vasily: adapted Marek's old version for newer u-boot,
fixed multiple keypresses handling]
Fine
2012/4/20 Marek Vasut ma...@denx.de:
Which doesn't matter, either way you need stack ... and you can have the stack
in cache ;-)
s3c24xx has 4kb of SRAM (steppingstone), you can use it for stack
Btw, using cache for stack looks like awful hack to me.
Regards
Vasily
2012/4/21 Marek Vasut ma...@denx.de:
I agree with Vasily Khoruzhick, it looks like a hack
Please, bother to read the CPU manual and also the ARM Architecture reference
manual before you start with such a wild accusations.
Let me explain my point of view.
Doing SDRAM init very early (even
2012/4/21 Ilya Averyanov averyanovin+ub...@gmail.com:
No have problem.
Available only if you boot from NOR flash.
If you boot from the NAND 4kb of SRAM (steppingstone) not available.
For NAND boot it's mapped at 0x0
For NOR boot it's mapped at 0x4000
NAND controller uses it for booting
2012/4/21 Gabriel Huau cont...@huau-gabriel.fr:
SteppingStone is available ONLY in NAND boot :) and not available in
NOR boot.
It's available at 0x4000 for NOR boot. Check datasheet ;)
Regards
Vasily
___
U-Boot mailing list
U-Boot@lists.denx.de
On Sun, Nov 11, 2012 at 10:10 PM, Andreas Puls a...@gmx.net wrote:
Hello everyone,
i have a problem with the latest stable U-Boot 2012.10 and a Toradex
Colibri PXA270 V2.4a Board and a upating the kernel.
The problem apears when i erase the hole NOR Flash, copy the uboot and
the uImage.
SRAM is used for early stack, but kernel disables its clock on suspend.
Re-enable SRAM clock on startup, otherwise u-boot crashes on resume from
suspend.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/cpu/pxa/start.S | 10 +-
1 file changed, 9 insertions
Tested with OHCI and pxafb drivers - no issues found
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/cpu/pxa/Makefile| 1 +
arch/arm/cpu/pxa/cache.c | 62
arch/arm/cpu/pxa/pxa2xx.c| 10 +++
include/confi
zipitz2 was dropped in 49d8899ba9c26335e4a12e01c18028fc5e40c796
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/Kconfig | 5 ++
board/zipitz2/Kconfig | 9 ++
board/zipitz2/MAINTAINERS | 6 ++
board/zipitz2/Makefile| 10 +++
board/zipitz2/zip
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/pxa_lcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c
index 1809fc6..ba4f897 100644
--- a/drivers/video/pxa_lcd.c
+++ b/drivers/video/pxa
z2's screen is rotated by 270 degrees
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/pxa_lcd.c | 1 +
include/configs/zipitz2.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c
index 2799425..1809fc6
zipitz2 supports DT boot since linux-4.4 (not mainlined yet)
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
include/configs/zipitz2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h
index 169eaf3..f69b52e 100644
--- a/i
3rd port can be used as a device or host.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
include/configs/pxa-common.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/pxa-common.h b/include/configs/pxa-common.h
index f0ecc34..4c1c2c7 100644
--- a/include/c
It speeds up loading kernel from SD or USB a lot.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
board/zipitz2/zipitz2.c | 4
include/configs/zipitz2.h | 3 +--
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
board/zipitz2/zipitz2.c | 21 +
include/configs/zipitz2.h | 1 +
2 files changed, 22 insertions(+)
diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c
index 8fa1261..aefbeee 100644
--- a/board/z
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/pxa_lcd.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/video/pxa_lcd.c b/drivers/video/pxa_lcd.c
index ba4f897..d64c25b 100644
--- a/drivers/video/pxa_lcd.c
+++ b/drivers/video/pxa
Otherwise flash remains in read status mode and it's not possible
to access data on flash.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/mtd/cfi_flash.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 3
On Sun, Mar 20, 2016 at 6:48 PM, Marek Vasut <ma...@denx.de> wrote:
> On 03/21/2016 02:37 AM, Vasily Khoruzhick wrote:
>> Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
>
> What happens if you display picture ? Will the colors be complete mess ?
Yes, inverted
On Mon, Mar 21, 2016 at 9:19 AM, Stefan Roese <s...@denx.de> wrote:
> Hi Vasily,
Hi Stefan,
> On 21.03.2016 02:54, Marek Vasut wrote:
>> On 03/21/2016 02:37 AM, Vasily Khoruzhick wrote:
>>> Otherwise flash remains in read status mode and it's not possible
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/dts/sun50i-a64.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi
index 65a344d9ce..14e94bf00e 100644
--- a/arch/arm/dts/sun50i-a64.dtsi
+++ b/arch/a
This commit adds basic support for PWM found on Allwinner A64 and H3
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/include/asm/arch-sunxi/gpio.h | 1 +
arch/arm/include/asm/arch-sunxi/pwm.h | 12 +++
arch/arm/mach-sunxi/board.c| 11 +++
drivers/pwm/K
u-boot doesn't have dummy regulators, so pwm_backlight probe
will fail if regulator is missing. Make it optional to get this
driver working on platforms where there's no backlight regultor.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/pwm_backlight.
Please discard this, I forgot to include maintainers in CC. Will resend.
On Sun, Sep 17, 2017 at 8:21 PM, Vasily Khoruzhick <anars...@gmail.com> wrote:
> Bridge may have ability to read EDID from panel that is connected to it,
> so add an operation to read EDID.
>
> Sig
Please discard this, I forgot to include maintainers in CC. Will resend.
On Sun, Sep 17, 2017 at 8:28 PM, Vasily Khoruzhick <anars...@gmail.com> wrote:
> This commit adds basic support for PWM found on Allwinner A64 and H3
>
> Signed-off-by: Vasily Khoruzhick <anars...@gmail.
Extend DE2 driver with LCD support
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/mach-sunxi/Kconfig | 2 +-
drivers/video/sunxi/Makefile| 2 +-
drivers/video/sunxi/sunxi_de2.c | 17 +
drivers/video/sunxi/sunxi_lcd.c
This is a eDP bridge similar to ANX9804, it allows to connect eDP panels
to the chips that can output only parallel signal
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/bridge/Kconfig | 8 +
drivers/video/bridge/Makefile | 1 +
drivers/video/bridge/anx
Bridge may have ability to read EDID from panel that is connected to it,
so add an operation to read EDID.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/bridge/video-bridge-uclass.c | 10 ++
include/video_bridge.h | 20 +
It will be reused in new DM LCD driver.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/include/asm/arch-sunxi/lcdc.h | 2 +
drivers/video/sunxi/lcdc.c | 117 ++-
drivers/video/sunxi/sunxi_display.c
This header will be used in anx6345 driver
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/anx9804.c | 54 +--
include/anx98xx-edp.h | 98 +
2 files changed, 99 insertions(+), 53 del
On Tue, Sep 19, 2017 at 1:33 AM, Maxime Ripard
<maxime.rip...@free-electrons.com> wrote:
> On Mon, Sep 18, 2017 at 10:04:21PM -0700, Vasily Khoruzhick wrote:
>> Extend DE2 driver with LCD support
>
> (All) your commit messages could use a bit more details.
OK, will add in v2.
This commit adds basic support for PWM found on Allwinner A64 and H3
It can be used for pwm_backlight driver (e.g. for Pinebook)
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
v2: - move pinmux config into enable function to make driver more friendly
to the boards with et
This series introduces a PWM driver for Allwinner H3 and A64 and makes
some adjustments to pwm_backlight driver that are neccessary to get
backlight working on Pinebook.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
u-boot doesn't have dummy regulators, so pwm_backlight probe
will fail if regulator is missing. Make it optional to get this
driver working on platforms where there's no backlight regultor.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
v2: - no changes
drivers/video/pwm_backl
Add PWM definition to sun50i-a64.dtsi - it's compatible with PWM found on H3
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
v2: - drop 'sun50i-a64-pwm' compatible string and use 'sun8i-h3-pwm' instead,
since A64 PWM is compatible with one on H3
arch/arm/dts/sun50i-a64.dt
This series adds drivers that are necessary to get LCD working on Pinebook:
- ANX6345 eDP bridge driver that allows to connect eDP panels to SoCs that
have parallel LCD interface
- DE2 LCD driver for Allwinner A64. Similar hardware is present in V3s and R40,
but is not supported by this
It will be reused in new DM LCD driver.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
v2: - no changes
arch/arm/include/asm/arch-sunxi/lcdc.h | 2 +
drivers/video/sunxi/lcdc.c | 117 ++-
drivers/video/sunxi/sunxi_display.c
Extend DE2 driver with LCD support. Tested on Pinebook which is based
on A64 and has ANX6345 eDP bridge with eDP panel connected to it.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
v2: - drop redundant clock_set_pll10() call
- fallback to timings from DT if reading EDI
This is a eDP bridge similar to ANX9804, it allows to connect eDP panels
to the chips that can output only parallel signal
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
v2: - no changes
drivers/video/bridge/Kconfig | 8 +
drivers/video/bridge/Makefile | 1 +
drivers
This header will be used in anx6345 driver
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
v2: - no changes
drivers/video/anx9804.c | 54 +--
include/anx98xx-edp.h | 98 +
2 files changed, 99 insertions(
Add an operation to read EDID, since bridge may have ability to read
EDID from the panel that is connected to it, for example LCD<->eDP bridge.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
v2: - no changes
drivers/video/bridge/video-bridge-uclass.c | 10 +++
Hi,
I did few tests, see results inline.
On Tue, Sep 19, 2017 at 12:00 PM, Vasily Khoruzhick <anars...@gmail.com> wrote:
> On Tue, Sep 19, 2017 at 1:33 AM, Maxime Ripard
> <maxime.rip...@free-electrons.com> wrote:
>> On Mon, Sep 18, 2017 at 10:04:21PM -0700, Vasily Khor
Typo in cover letter subject, it's actually v2 series.
On Wed, Sep 20, 2017 at 11:07 PM, Vasily Khoruzhick <anars...@gmail.com> wrote:
> This series introduces a PWM driver for Allwinner H3 and A64 and makes
> some adjustments to pwm_backlight driver that are neccessary to get
> ba
This header will be used in anx6345 driver
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/anx9804.c | 54 +--
include/anx98xx-edp.h | 98 +
2 files changed, 99 insertions(+), 53 del
Extend DE2 driver with LCD support
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/mach-sunxi/Kconfig | 2 +-
drivers/video/sunxi/Makefile| 2 +-
drivers/video/sunxi/sunxi_de2.c | 17 +
drivers/video/sunxi/sunxi_lcd.c
This commit adds basic support for PWM found on Allwinner A64 and H3
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/include/asm/arch-sunxi/gpio.h | 1 +
arch/arm/include/asm/arch-sunxi/pwm.h | 12 +++
arch/arm/mach-sunxi/board.c| 11 +++
drivers/pwm/K
u-boot doesn't have dummy regulators, so pwm_backlight probe
will fail if regulator is missing. Make it optional to get this
driver working on platforms where there's no backlight regultor.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/pwm_backlight.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/dts/sun50i-a64.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi
index 65a344d9ce..14e94bf00e 100644
--- a/arch/arm/dts/sun50i-a64.dtsi
+++ b/arch/a
This is a eDP bridge similar to ANX9804, it allows to connect eDP panels
to the chips that can output only parallel signal
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/bridge/Kconfig | 8 +
drivers/video/bridge/Makefile | 1 +
drivers/video/bridge/anx
It will be reused in new DM LCD driver.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/include/asm/arch-sunxi/lcdc.h | 2 +
drivers/video/sunxi/lcdc.c | 117 ++-
drivers/video/sunxi/sunxi_display.c
Bridge may have ability to read EDID from panel that is connected to it,
so add an operation to read EDID.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/bridge/video-bridge-uclass.c | 10 ++
include/video_bridge.h | 20 +
After discussing it with Maxime in IRC I decided to wait till pinctrl
driver for sunxi is ready.
Please kindly disregard this series.
Regards,
Vasily
On Fri, Sep 22, 2017 at 7:44 AM, Maxime Ripard
<maxime.rip...@free-electrons.com> wrote:
> On Fri, Sep 22, 2017 at 04:42:24AM +000
Hi André,
On Thu, Oct 5, 2017 at 11:44 AM, André Przywara <andre.przyw...@arm.com> wrote:
> On 19/09/17 06:04, Vasily Khoruzhick wrote:
>> This is a eDP bridge similar to ANX9804, it allows to connect eDP panels
>> to the chips that can output only parallel signal
>
These are actually different bits, and since some monitors (Benq BL2420PT)
have modes with different HSYNC and VSYNC polarity, we should set them
independently
Tested on Pine64-LTS with Benq BL2420PT monitor.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video
That can happen if duplicate UDP packet arrived, and that's not uncommon.
Anyway, we ignore packets with rpc_id lower than last we sent for other
requests, so it makes sense to do that for read request as well.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
net/nfs.c | 2 ++
Add PWM definition to sun50i-a64.dtsi
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/dts/sun50i-a64.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi
index 65a344d9ce..a82a3d89af 100644
--- a/ar
Along with using new mode it fixes eMMC instability on Pinebook
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/include/asm/arch-sunxi/mmc.h | 6 +-
drivers/mmc/sunxi_mmc.c | 11 +++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git
That is necessary for using automatic calibration on A64 eMMC.
Signed-off-by: Vasily khoruzhick <anars...@gmail.com>
---
arch/arm/mach-sunxi/Kconfig | 1 +
drivers/mmc/sunxi_mmc.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-sunxi/Kconfig b/ar
eMMC seems to require new clocking mode and calibration on A64,
otherwise it is pretty unstable on some boards (e.g. Pinebook)
with some eMMCs.
v2: - improve comment about calibration for eMMC on A64
- simplify ifdef-s around configuring delays
Vasily Khoruzhick (2):
sunxi-mmc: use new
This commit adds basic support for PWM found on Allwinner A64.
It can be used for pwm_backlight driver (e.g. for Pinebook)
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
arch/arm/include/asm/arch-sunxi/gpio.h | 1 +
arch/arm/include/asm/arch-sunxi/pwm.h | 12 ++
drive
This series introduces a PWM driver for Allwinner A64.
This driver can be used to control backlight on Pinebook
v4: use the same binding as in Linux
Vasily Khoruzhick (2):
pwm: sunxi: add support for PWM found on Allwinner A64
dts: sunxi: add PWM node for sun50i
arch/arm/dts/sun50i-a64
for hsync and vsync
Vasily Khoruzhick (2):
sunxi: video: HDMI: use correct bits for HSYNC and VSYNC polarity.
video: dw_hdmi: fix HSYNC and VSYNC polarity settings
drivers/video/dw_hdmi.c | 4 ++--
drivers/video/sunxi/sunxi_dw_hdmi.c | 4 ++--
2 files changed, 4 insertions(+), 4
HSYNC is bit 8, and VSYNC is bit 9.
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/sunxi/sunxi_dw_hdmi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/sunxi/sunxi_dw_hdmi.c
b/drivers/video/sunxi/sunxi_dw_hdmi.c
index c78e
Currently dw_hdmi configures HSYNC polarity using VSYNC setting from
EDID and vice versa. Fix it, since it breaks displays where HSYNC
and VSYNC polarity differs
Signed-off-by: Vasily Khoruzhick <anars...@gmail.com>
---
drivers/video/dw_hdmi.c | 4 ++--
1 file changed, 2 insertions
On Fri, Jun 8, 2018 at 7:24 AM, Maxime Ripard wrote:
> On Thu, Jun 07, 2018 at 07:23:39PM -0700, Vasily Khoruzhick wrote:
>> We can use compatibles instead.
>>
>> Signed-off-by: Vasily Khoruzhick
>> ---
>> v3: use ehci_sunxi_cfg instead of id
>>
On Wed, Jun 13, 2018 at 11:19 PM, Vasily Khoruzhick wrote:
> struct sunxi_ccm_reg doesn't have ahb_reset0_cfg on sun4i and sun5i,
> thus compilation fails with:
>
> drivers/usb/host/ohci-sunxi.c:96:26: error: 'struct sunxi_ccm_reg' has
> no member named 'ahb_reset0_cfg'
>
>
On Sat, Jun 16, 2018 at 2:47 AM, Jagan Teki wrote:
> On Wed, Jun 6, 2018 at 10:26 AM, Vasily Khoruzhick wrote:
>> eMMC seems to require new clocking mode and calibration on A64,
>> otherwise it is pretty unstable on some boards (e.g. Pinebook)
>> with some eMMCs.
>&g
On Tue, Jun 5, 2018 at 8:39 PM, Vasily Khoruzhick wrote:
> On Tue, Jun 5, 2018 at 12:04 AM, Jagan Teki wrote:
>>
>> Let me look at it and will come back.
>
> I fixed it. See "usb: sunxi: sun50i: enable OHCI0 clock when OHCI1 is
> in use" and "sunxi: clock:
On Mon, Jun 18, 2018 at 12:39 AM, Jagan Teki wrote:
>> >From what I see in the other thread, the USB never worked with the
>> series. If the controller returns 0s as EHCI version, something is
>> obviously broken and I don't even understand how that could be an
>> acceptable positive test result.
On Thu, Jun 7, 2018 at 7:23 PM, Vasily Khoruzhick wrote:
> EHCI0 is bit 24, EHCI1 - 25, OHCI0 - 28, OHCI1 - 29
>
> Fixes commit fef73766d9ad ("sunxi: clock: Fix OHCI clock gating for H3/H5")
>
> Signed-off-by: Vasily Khoruzhick
Any feedback on this patch series?
>
On Wed, Jun 13, 2018 at 8:23 PM, Chen-Yu Tsai wrote:
>> + if (priv->cfg->has_reset) {
>> +#ifdef CONFIG_SUNXI_GEN_SUN6I
>
> The "has_reset" field is supposed to deal with this. Is it not working?
There's no ahb_reset0_cfg in ccm on sun4i and sun5i, so compilation fails with
ohci-hcd casts priv_data pointer to (ohci_t *), thus it must be
the first member in private data struct.
Fixes 831cc98b1 ("usb: sunxi: Simplify ccm reg base code")
Signed-off-by: Vasily Khoruzhick
---
drivers/usb/host/ohci-sunxi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletio
On Sun, Jun 17, 2018 at 11:04 PM, Jagan Teki wrote:
>> Do git pull and make sure you are at least at
>> a715415bb5948c84cc44c601b193188990f7238b.
>
> Yes, I even tried on this, can't see any issue? Let me know If I still miss
> any.
>
> U-Boot 2018.07-rc1-00165-ga715415bb5 (Jun 18 2018 -
On Sun, Jun 17, 2018 at 10:19 PM, Jagan Teki wrote:
Hi Jagan,
> I've plugged keyboard and mouse on so-pine board, couldn't reproduce the
> issue.
> This is on top of master, where this series got merged, is this issue
> reproduces on your recent changes?
> U-Boot 2018.07-rc1-00161-g76d69eb01d
On Wed, Jun 13, 2018 at 10:29 PM, Jagan Teki wrote:
> On Thu, Jun 14, 2018 at 9:01 AM, Vasily Khoruzhick wrote:
>> On Wed, Jun 13, 2018 at 8:23 PM, Chen-Yu Tsai wrote:
>>
>>>> + if (priv->cfg->has_reset) {
>>>> +#ifdef CONFIG_SUNXI_GEN_SU
ehci: get rid of ifdefs")
and commit 56830cee3 ("usb: sunxi: ohci: get rid of ifdefs")
Signed-off-by: Vasily Khoruzhick
---
drivers/usb/host/ehci-sunxi.c | 21 ++---
drivers/usb/host/ohci-sunxi.c | 22 +++---
2 files changed, 37 insertions(+),
CCM in sun4i and sun5i doesn't have reset.
Fixes commit 1ed9c1118 ("usb: sunxi: ehci: get rid of ifdefs")
and commit 56830cee3 ("usb: sunxi: ohci: get rid of ifdefs")
Signed-off-by: Vasily Khoruzhick
---
drivers/usb/host/ehci-sunxi.c | 10 --
drivers/usb/ho
EHCI0 is bit 24, EHCI1 - 25, OHCI0 - 28, OHCI1 - 29
Fixes commit fef73766d9ad ("sunxi: clock: Fix OHCI clock gating for H3/H5")
Signed-off-by: Vasily Khoruzhick
---
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
On A64 OHCI1 clock source is OHCI0 clock, so we need to enable OHCI0
clock when OHCI1 is in use.
Fixes commit dd3228170ad7 ("usb: sunxi: Switch to use generic-phy")
Signed-off-by: Vasily Khoruzhick
---
drivers/usb/host/ohci-sunxi.c | 12 ++--
1 file changed, 10 insert
We can use compatibles instead.
Signed-off-by: Vasily Khoruzhick
---
v3: use ohci_sunxi_cfg instead of id
drivers/usb/host/ohci-sunxi.c | 83 ++-
1 file changed, 63 insertions(+), 20 deletions(-)
diff --git a/drivers/usb/host/ohci-sunxi.c b/drivers/usb/host
1 - 100 of 267 matches
Mail list logo