Re: [U-Boot] [linux-sunxi] Re: [PATCH 02/12] sunxi: simplify ACTLR.SMP bit set #ifdef

2017-01-13 Thread Vishnu Patekar
Even for the single core cortex-a7, SMP bit should be set before enabling MMU and cache. Reference: Cortex A7 r0p5 TRM. section 4.3.31. On Fri, Jan 13, 2017 at 12:41 PM, Icenowy Zheng wrote: > > > 13.01.2017, 09:34, "Andre Przywara" : >> Instead of enumerating all SoC families that need that bit

[U-Boot] [PATCH] sunxi: A83T: fix 32bit overflow warning

2016-03-23 Thread Vishnu Patekar
In mctl_channel_init, (0x50<<26) which overflows 32bit. It was supposed to be 0x50<<16,corrected now. Reported-by: Hans de Goede Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/a

Re: [U-Boot] [PATCH] sunxi:Correct the LDO settings for sinovoip-bpi-m3 board

2016-03-21 Thread Vishnu Patekar
Hello Hans, This patch is base on u-boot-sunxi next. I see it's far behind the u-boot master. Aren't we using u-boot-sunxi next ?( http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=shortlog;h=refs/heads/next) Regards, Vishnu On Mon, Mar 21, 2016 at 10:28 PM, Vishnu Patekar wrot

[U-Boot] [PATCH] sunxi: sinovoip-bpi-m3: drop LDO settings from defconfig

2016-03-21 Thread Vishnu Patekar
Kconfig default settings are same as mentioned Sinovoip Bpi-m3 schematic. As axp818 ALDO support is enabled, it causes bpi-m3 fail to boot if ALDOs are set to 0. Signed-off-by: Vishnu Patekar --- configs/Sinovoip_BPI_M3_defconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/configs

[U-Boot] [PATCH] sunxi:Correct the LDO settings for sinovoip-bpi-m3 board

2016-03-21 Thread Vishnu Patekar
Hello, I forgot to post this patch, Thanks to Kevin Chua Soon Jia who reported that latest mainline u-boot fail to boot and reminded me to post it. For Banana-pi m3, ALDO must not be set to zero, default settings are same as mentioned Sinovoip Bpi-m3 schematic. Vishnu Patekar (1): sunxi

Re: [U-Boot] [PATCH v2 0/4] Add LPDDR3 support for A83T

2016-01-24 Thread Vishnu Patekar
Hello Hans, On Fri, Jan 22, 2016 at 2:12 AM, Hans de Goede wrote: > Hi, > > On 01/11/2016 06:20 PM, Vishnu Patekar wrote: >> >> This adds LPDDR3 support for A83T and support for Banana Pi M3 which has >> LPDDR3. >> These patches are based on u-boot-sunxi next bra

Re: [U-Boot] [PATCH 1/5] power: axp818: Remove duplicate register definition macros

2016-01-14 Thread Vishnu Patekar
Hello Wens, Thanks for correcting it. Regards, Vishnu On Tue, Jan 12, 2016 at 2:42 PM, Chen-Yu Tsai wrote: > Some of the register definitions are duplicated. Drop them. > > Signed-off-by: Chen-Yu Tsai > --- > include/axp818.h | 8 > 1 file changed, 8 deletions(-) > > diff --git a/inc

[U-Boot] [PATCH v2 4/4] sunxi: Add suport for A83T based Banana-pi M3 Board

2016-01-11 Thread Vishnu Patekar
Add dts and defconfig for Banana-pi M3 board. It has 2G LPDDR3, UART, ethernet, USB, HDMI, USB Sata, MIPI DSI, mic, AP6212 Wifi, etc on it. It is paired with AXP813 PMIC which is almost same as AXP818. Signed-off-by: Vishnu Patekar --- arch/arm/dts/Makefile| 3 +- arch

[U-Boot] [PATCH v2 3/4] sunxi: add support for LPDDR3 for A83T

2016-01-11 Thread Vishnu Patekar
Banana-pi M3 has LPDDR3 DRAM. this adds support for LPDDR3 for A83T. Mostly the timing parameters are different from DDR3. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c| 54 --- arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h | 5

[U-Boot] [PATCH v2 2/4] sunxi: groundwork to support new dram type for A83T

2016-01-11 Thread Vishnu Patekar
Different A83T boards have different DRAM types. Banapi M3 has LPDDR3, Allwinner Homlet v1.2 has DDR3. This adds groundwork to support for new DRAM type for A83T. Introduce CONFIG_DRAM_TYPE, It'll be 3 for DDR3 and 7 for LPDDR3, must be set in respective board defconfig. Signed-off-by: V

[U-Boot] [PATCH v2 1/4] sunxi: redundant code cleanup from a83t dram init

2016-01-11 Thread Vishnu Patekar
This removes the redundant lines of code from mctl_sys_init. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c b/arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c index

[U-Boot] [PATCH v2 0/4] Add LPDDR3 support for A83T

2016-01-11 Thread Vishnu Patekar
ved DRAM_TYPE from Obsolete SYS_EXTRA_OPTIONS. 2. Cleanup in seperate patch. 3. set rank 2, in mctl_sys_init. Vishnu Patekar (4): sunxi: redundant code cleanup from a83t dram init sunxi: groundwork to support new dram type for A83T sunxi: add support for LPDDR3 for A83T sunxi: Add suport

Re: [U-Boot] [PATCH 2/3] sunxi: add support for LPDDR3 for A83T

2016-01-07 Thread Vishnu Patekar
Hello Hans, On Thu, Jan 7, 2016 at 10:04 PM, Hans de Goede wrote: > Hi, > > > On 06-01-16 17:11, Vishnu Patekar wrote: >> >> Banana-pi M3 has LPDDR3 DRAM. this adds support for LPDDR3 for A83T. >> Mostly the timing parameters are different from DDR3. >&

Re: [U-Boot] [PATCH 1/3] sunxi: groundwork to support new dram type for A83T

2016-01-07 Thread Vishnu Patekar
Hello Hans, On Thu, Jan 7, 2016 at 10:01 PM, Hans de Goede wrote: > Hi, > > On 06-01-16 17:11, Vishnu Patekar wrote: >> >> Different A83T boards have different DRAM types. Banapi M3 has LPDDR3, >> Allwinner Homlet 1.2 has DDR3. >> >> This adds groundwor

[U-Boot] [PATCH 2/3] sunxi: add support for LPDDR3 for A83T

2016-01-06 Thread Vishnu Patekar
Banana-pi M3 has LPDDR3 DRAM. this adds support for LPDDR3 for A83T. Mostly the timing parameters are different from DDR3. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c| 56 ++- arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h | 5

[U-Boot] [PATCH 0/3] Add LPDDR3 support for A83T

2016-01-06 Thread Vishnu Patekar
This adds LPDDR3 support for A83T and support for Banana Pi M3 which has LPDDR3. These patches are based on u-boot-sunxi next branch. These patches tesed on Banana-pi M3. DCDC5 voltage is kept as 1.2V. Vishnu Patekar (3): sunxi: groundwork to support new dram type for A83T sunxi: add support

[U-Boot] [PATCH 3/3] sunxi: Add suport for A83T based Banana-pi M3 Board

2016-01-06 Thread Vishnu Patekar
Add dts and defconfig for Banana-pi M3 board. It has 2G LPDDR3, UART, ethernet, USB, HDMI, USB Sata, MIPI DSI, mic, BLE 4.0, AP6212 Wifi , etc on it. It is paired with AXP813 PMIC which is almost same as AXP818. Signed-off-by: Vishnu Patekar --- arch/arm/dts/Makefile

[U-Boot] [PATCH 1/3] sunxi: groundwork to support new dram type for A83T

2016-01-06 Thread Vishnu Patekar
Different A83T boards have different DRAM types. Banapi M3 has LPDDR3, Allwinner Homlet 1.2 has DDR3. This adds groundwork to support for new DRAM type for A83T. DRAM_TYPE=3 for DDR3 and 7 for LPDDR3 will passed to SYS_EXTRA_OPTIONS from respective board defconfig. Signed-off-by: Vishnu Patekar

Re: [U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-12-10 Thread Vishnu Patekar
Hello Hans, Nice to see it boots from SD, after clock stable changes.:) On Thu, Dec 10, 2015 at 6:22 PM, Hans de Goede wrote: > Hi, > > On 11/30/2015 04:39 PM, Vishnu Patekar wrote: >> >> Hello Hans, >> >> >> >> On Mon, Nov 30, 2015 at 4:13 P

Re: [U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-11-30 Thread Vishnu Patekar
Hello Hans, On Mon, Nov 30, 2015 at 4:13 PM, Hans de Goede wrote: > Hi Vishnu, > >> This patch v2 of series that adds basic support for Allwinner A83T SOC >> with >> review comments addressed. > > Can you provide some quick instructions on how to test this on the > A83T HomletV2 ? > > With v1 o

[U-Boot] [PATCH v2 8/9] sunxi: dts: sun8i: Add Allwinner A83T dtsi

2015-11-28 Thread Vishnu Patekar
Allwinner A83T is new octa-core cortex-a7 SOC. This adds the basic dtsi, the clocks differs from earlier sun8i SOCs. This is not yet included in kernel. Signed-off-by: Vishnu Patekar --- arch/arm/dts/sun8i-a83t.dtsi | 247 +++ 1 file changed, 247

[U-Boot] [PATCH v2 9/9] sunxi: Add suport for A83T HomletV2 Board by Allwinner

2015-11-28 Thread Vishnu Patekar
. Enabled UART0 Header(PB9, PB10 pins). Signed-off-by: Vishnu Patekar --- arch/arm/dts/Makefile | 2 + arch/arm/dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 64 +++ board/sunxi/MAINTAINERS | 5 ++ configs

[U-Boot] [PATCH v2 7/9] sunxi: Add support for Allwinner A83T DRAM

2015-11-28 Thread Vishnu Patekar
Add support for A83T dram. Register are different from sun8i A33. init code is similar to A33 dram init. hope we'll shift duplicate code in dram_sun8i_* to dram helper in future. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/Makefile | 2 + arch/arm/cpu/

[U-Boot] [PATCH v2 6/9] sunxi: clk: add basic clocks for A83T

2015-11-28 Thread Vishnu Patekar
Add basic clocks pll1, pll5, and some default values from allwinner u-boot. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/Makefile | 4 + arch/arm/cpu/armv7/sunxi/clock_sun8i_a83t.c| 133 + arch/arm/include/asm/arch-sunxi/clock.h| 4

[U-Boot] [PATCH v2 1/9] sunxi: Add Machine Support for A83T SOC

2015-11-28 Thread Vishnu Patekar
Allwinner A83T is octa-core cortex-a7 SOC. This enables support for A83T. SMP is not yet supported. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/cpu_info.c | 2 ++ board/sunxi/Kconfig | 9 - include/configs/sun8i.h | 4 3 files changed, 14

[U-Boot] [PATCH v2 0/9] basic support for Allwinner A83T SOC.

2015-11-28 Thread Vishnu Patekar
V7_HAS_NONSEC, CPU_V7_HAS_VIRT, ARMV7_BOOT_SEC_DEFAULT as no smo support is added yet. 2. added AXP818 voltages description. 3. used AXP223 address for AXP818. 4. corrected the reg filed in dtsi(100 to 0x100). Vishnu Patekar (9): sunxi: Add Machine Support for A83T SOC sunxi: Add support for UA

[U-Boot] [PATCH v2 2/9] sunxi: Add support for UART0 in PB pin group on A83T

2015-11-28 Thread Vishnu Patekar
On A83T, PB9,PB10 are UART0 pins. On allwinner A83T Dev board(h8homlet), this uart0 serial connector is exposed. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/board.c | 4 arch/arm/include/asm/arch-sunxi/gpio.h | 1 + 2 files changed, 5 insertions(+) diff --git a/arch

[U-Boot] [PATCH v2 4/9] sunxi: power: enabled support for axp818

2015-11-28 Thread Vishnu Patekar
Enabled support for AXP818 in SPL and u-boot. DCDC1, DCDC2, DCDC3 and DCSC5 are enabled. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/Makefile | 1 + arch/arm/cpu/armv7/sunxi/pmic_bus.c | 7 --- board/sunxi/board.c | 13 - include/configs/sunxi

[U-Boot] [PATCH v2 5/9] sunxi: do not enable smp for A83T

2015-11-28 Thread Vishnu Patekar
When smp is enabled for A83T, intermittent hang is observed after booting kernel. for now do not enable the smp for CPU0. This has to be fixed. Also, fixed the space at line start warning at these two lines. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/board.c | 4 ++-- 1 file

[U-Boot] [PATCH v2 3/9] sunxi: power: axp818: add support for axp818 driver

2015-11-28 Thread Vishnu Patekar
sheet is uploaded to wiki: http://linux-sunxi.org/File:AXP818_datasheet_Revision1.0.pdf Signed-off-by: Vishnu Patekar --- drivers/power/Kconfig | 44 - drivers/power/Makefile | 1 + drivers/power/axp818.c | 132 + include/axp

Re: [U-Boot] [PATCH 06/10] sunxi: clk: add basic clocks for A83T

2015-11-14 Thread Vishnu Patekar
Hello, On Sat, Nov 14, 2015 at 1:25 AM, Hans de Goede wrote: > Hi, > > On 12-11-15 19:09, Vishnu Patekar wrote: >> >> Add basic clocks pll1, pll5, and some default values from allwinner >> u-boot. >> >> Signed-off-by: Vishnu Patekar > > > This

Re: [U-Boot] [PATCH 04/10] sunxi: power: enabled support for axp818

2015-11-14 Thread Vishnu Patekar
Hello, On Sat, Nov 14, 2015 at 1:24 AM, Hans de Goede wrote: > Hi, > > > On 12-11-15 19:09, Vishnu Patekar wrote: >> >> Enabled support for AXP818 in SPL and u-boot. >> DCDC1, DCDC2, DCDC3 and DCSC5 are enabled. >> >> Signed-off-by: Vishnu Patekar >

Re: [U-Boot] [PATCH 01/10] sunxi: Add Machine Support for A83T SOC

2015-11-14 Thread Vishnu Patekar
Hello, On Sat, Nov 14, 2015 at 1:19 AM, Hans de Goede wrote: > Hi, > > > On 12-11-15 19:09, Vishnu Patekar wrote: > >> Allwinner A83T is octa-core cortex-a7 SOC. >> >> This enables support for A83T. >> >> Signed-off-by: Vishnu Patekar >>

Re: [U-Boot] [PATCH 00/10] basic support for Allwinner A83T SOC.

2015-11-14 Thread Vishnu Patekar
Hello Hans, Thanks for the review. On Sat, Nov 14, 2015 at 12:52 AM, Hans de Goede wrote: > Hi, > > On 12-11-15 19:09, Vishnu Patekar wrote: > >> This patch series adds basic support for Allwinner A83T SOC. >> >> Allwinner A83T is octa-core cortex-a7 based SoC.

[U-Boot] [PATCH 08/10] sunxi: do not include display for A83T

2015-11-12 Thread Vishnu Patekar
Currently, there no display support for A83T. Signed-off-by: Vishnu Patekar --- board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index ea69bf7..8dc3499 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -376,6 +376,7

[U-Boot] [PATCH 07/10] sunxi: Add support for Allwinner A83T DRAM

2015-11-12 Thread Vishnu Patekar
Add support for A83T dram. Register are different from sun8i A33. init code is similar to A33 dram init. hope we'll shift duplicate code in dram_sun8i_* to dram helper in future. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/Makefile | 2 + arch/arm/cpu/

[U-Boot] [PATCH 10/10] sunxi: Add suport for A83T HomletV2 Board by Allwinner

2015-11-12 Thread Vishnu Patekar
PF4. Enabled UART0 Header(PB9, PB10 pins). Signed-off-by: Vishnu Patekar --- arch/arm/dts/Makefile | 2 + arch/arm/dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 64 +++ board/sunxi/MAINTAINERS | 5 ++ configs

[U-Boot] [PATCH 09/10] sunxi: dts: sun8i: Add Allwinner A83T dtsi

2015-11-12 Thread Vishnu Patekar
Allwinner A83T is new octa-core cortex-a7 SOC. This adds the basic dtsi, the clocks differs from earlier sun8i SOCs. This is not yet included in kernel. Signed-off-by: Vishnu Patekar --- arch/arm/dts/sun8i-a83t.dtsi | 247 +++ 1 file changed, 247

[U-Boot] [PATCH 04/10] sunxi: power: enabled support for axp818

2015-11-12 Thread Vishnu Patekar
Enabled support for AXP818 in SPL and u-boot. DCDC1, DCDC2, DCDC3 and DCSC5 are enabled. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/Makefile | 1 + arch/arm/cpu/armv7/sunxi/pmic_bus.c | 15 +++ board/sunxi/board.c | 8 include/configs

[U-Boot] [PATCH 05/10] sunxi: do not enable smp for A83T

2015-11-12 Thread Vishnu Patekar
When smp is enabled for A83T, intermittent hang is observed after booting kernel. for now do not enable the smp for CPU0. This has to be fixed. Also, fixed the space at line start warning at these two lines. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/board.c | 4 ++-- 1 file

[U-Boot] [PATCH 06/10] sunxi: clk: add basic clocks for A83T

2015-11-12 Thread Vishnu Patekar
Add basic clocks pll1, pll5, and some default values from allwinner u-boot. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/Makefile | 4 + arch/arm/cpu/armv7/sunxi/clock_sun8i_a83t.c| 133 + arch/arm/include/asm/arch-sunxi/clock.h| 4

[U-Boot] [PATCH 00/10] basic support for Allwinner A83T SOC.

2015-11-12 Thread Vishnu Patekar
s are enabled pll1, pll5, pll6. SMP, display, other peripherals support is not yet supported. This enables booting kernel with initramfs, kernel patch v1 have been sent. I'll send v2 with comments addressed. Vishnu Patekar (10): sunxi: Add Machine Support for A83T SOC sunxi: Add support fo

[U-Boot] [PATCH 03/10] sunxi: power: axp818: add support for axp818 driver

2015-11-12 Thread Vishnu Patekar
sheet is uploaded to wiki: http://linux-sunxi.org/File:AXP818_datasheet_Revision1.0.pdf Signed-off-by: Vishnu Patekar --- drivers/power/Kconfig | 34 - drivers/power/Makefile | 1 + drivers/power/axp818.c | 132 + include/axp

[U-Boot] [PATCH 02/10] sunxi: Add support for UART0 in PB pin group on A83T

2015-11-12 Thread Vishnu Patekar
On A83T, PB9,PB10 are UART0 pins. On allwinner A83T Dev board(h8homlet), this uart0 serial connector is exposed. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/board.c | 4 arch/arm/include/asm/arch-sunxi/gpio.h | 1 + 2 files changed, 5 insertions(+) diff --git a/arch

[U-Boot] [PATCH 01/10] sunxi: Add Machine Support for A83T SOC

2015-11-12 Thread Vishnu Patekar
Allwinner A83T is octa-core cortex-a7 SOC. This enables support for A83T. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/cpu_info.c | 2 ++ board/sunxi/Kconfig | 11 ++- include/configs/sun8i.h | 2 ++ 3 files changed, 14 insertions(+), 1

Re: [U-Boot] Basic A33 support including dram init available in my personal repo

2015-04-06 Thread Vishnu Patekar
Hello Hans, I wish I could have spent more time working on it. however, I could not. Thanks for taking this up. On Mon, Apr 6, 2015 at 2:46 PM, Hans de Goede wrote: > Hi Vishnu, > > On 01-03-15 19:42, Vishnu Patekar wrote: > >> Allwinner A33 tablets comes with the libdram b

Re: [U-Boot] [linux-sunxi] Re: Basic A33 support including dram init available in my personal repo

2015-03-09 Thread Vishnu Patekar
Yes, except couple of additional clocks for A33, others seem to be same as A23 including PIO. I think, it's possible to overlay over A23. On Mon, Mar 9, 2015 at 2:35 PM, Hans de Goede wrote: > Hi, > > On 09-03-15 10:04, Chen-Yu Tsai wrote: >> >> Hi, >> >>

Re: [U-Boot] [linux-sunxi] Re: Basic A33 support including dram init available in my personal repo

2015-03-09 Thread Vishnu Patekar
un, Mar 8, 2015 at 5:33 AM, Siarhei Siamashka wrote: > > On Sat, 07 Mar 2015 20:06:27 +0100 > Hans de Goede wrote: > > > Hi, > > > > On 02-03-15 11:25, Hans de Goede wrote: > > > Hi, > > > > > > On 01-03-15 19:42, Vishnu Patekar wrote: >

Re: [U-Boot] Basic A33 support including dram init available in my personal repo

2015-03-02 Thread Vishnu Patekar
Hello Hans, Thank you for the comments. On Mon, Mar 2, 2015 at 3:55 PM, Hans de Goede wrote: > Hi, > > On 01-03-15 19:42, Vishnu Patekar wrote: > >> Allwinner A33 tablets comes with the libdram binary, fortunately I've >> found the libdram code at >

[U-Boot] Basic A33 support including dram init available in my personal repo

2015-03-01 Thread Vishnu Patekar
linux-sunxi.org/Softwinner_astar-rda Regards, Vishnu Patekar ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot