Re: [PATCH v5 08/11] doc: devicetree: Updates for devicetree-rebasing subtree

2024-02-14 Thread Ian Campbell
On Wed, 2024-02-14 at 19:02 +0530, Sumit Garg wrote: > > > > > Also, is devicetree-rebasing a "forked copy"? A fork would imply some > > difference from upstream. I would guess this is more like a mirror. > > AFAIK, it's a mirror from upstream with a different directory > (Makefile) structure. I

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-20 Thread Ian Campbell
(massively trimmed cc list, leaving the current sunxi custodians and Hans who is a fellow emeritus custodian) On Mon, 2018-11-19 at 14:58 -0700, Simon Glass wrote: > Thank you very much to the many maintainers who have met the deadline > and converted their boards. Apologies to those who converted

Re: [U-Boot] [PATCH] MAINTAINERS: SUNXI: Update maintainership

2016-11-22 Thread Ian Campbell
On Mon, 2016-11-21 at 22:50 +0530, Jagan Teki wrote: > Add Jagan and Maxime as Maintainers for SUNXI > > Cc: Maxime Ripard > Signed-off-by: Jagan Teki > --- >  MAINTAINERS | 3 ++- You most likely want to update doc/git-mailrc too. Ian. ___ U-Boot ma

Re: [U-Boot] [PATCH] MAINTAINERS: mark sunxi status as Orphan

2016-11-14 Thread Ian Campbell
On Mon, 2016-11-14 at 12:53 +0100, Hans de Goede wrote: > Ian has not had any time for sunxi for some time now and I'm > in the same situation now, so I'm stepping down as sunxi > custodian and marking the sunxi support as Orphan. > > Cc: Maxime Ripard > Cc: Chen

Re: [U-Boot] [PATCH] sunxi: Mele_M5_defconfig: Drop non existing STATUSLED setting

2016-11-13 Thread Ian Campbell
On Sun, 2016-11-13 at 19:54 +0100, Hans de Goede wrote: > And also remove it from scripts/config_whitelist.txt as the > Mele_M5_defconfig was the only one defining it. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot ma

Re: [U-Boot] [PATCH] sunxi: musb: Re-init musb controller on repeated probe calls

2016-09-18 Thread Ian Campbell
to ensure proper cleanup. > > While at it also make musb_usb_probe() and musb_usb_remove() static. > > Signed-off-by: Hans de Goede LGTM in so far as it seems like a more normal way to do things, but maybe an Ack from a USB-in-uboot-savvy person might be nice? Anyway: Acked-by: Ian

Re: [U-Boot] [PATCH v2] sunxi: axp2xx: disable ldoio0/1 at boot

2016-09-12 Thread Ian Campbell
this difference between a cold boot and a reboot. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: axp2xx: disable ldoio0/1 at boot

2016-09-12 Thread Ian Campbell
On Mon, 2016-09-12 at 09:55 +0200, Hans de Goede wrote: > @@ -223,7 +223,14 @@ int axp_init(void) > >   if (!(axp_chip_id == 0x6 || axp_chip_id == 0x7 || axp_chip_id == 0x17)) > >   return -ENODEV; >   > > - return 0; > > + /* > > +  * Turn off LDOIO regulators / tri-state GPIO pi

Re: [U-Boot] [PATCH] sunxi: musb: Power off OTG port VBUS when disabled

2016-09-08 Thread Ian Campbell
On Wed, 2016-09-07 at 14:25 +0800, Chen-Yu Tsai wrote: > The Linux kernel musb driver expects... I don't much like this line of reasoning/explanation for changes to u- boot. I appreciate that it might seem like all the world is Linux (especially in sunxi context) but the right way to descibe these

Re: [U-Boot] [PATCH 1/3] sunxi: Sync h3-orangepi dts files with kernel

2016-09-08 Thread Ian Campbell
s which are still in flight to upstream (so maybe I should ask "...match the intended/eventual state...")? If so then: Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] sunxi: display: Use PWM to drive backlight where applicable

2016-09-08 Thread Ian Campbell
On Fri, 2016-08-26 at 16:21 +0200, Hans de Goede wrote: >  > > > > Reviewed by: Peter Korsgaard > > Thank you. Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sun5i: Add defconfig and dts file for the Empire Electronix M712 tablet

2016-09-08 Thread Ian Campbell
> RTL8188CTV > wifi chip and a DMART06 (1238a4) accelerometer. > > The dts file is identical to the one submitted to the upstream > kernel. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell (sorry for the delay, I was on vacation and this got mixed in with all the oth

Re: [U-Boot] [PATCH] sunxi: Sync dts files with upstream kernel

2016-08-19 Thread Ian Campbell
t also updates configs/MSI_Primo81_defconfig, > adding: "# CONFIG_REQUIRE_SERIAL_CONSOLE is not set", this is necessary > because the tablet does not have a reachable uart so the dts sync > drops its serial0 alias. > > Signed-off-by:

Re: [U-Boot] [PATCH] ARM: dts: sun6i: Add defconfig and dts file for tablets using the inet-q972 PCB

2016-08-19 Thread Ian Campbell
r-barrel and an usb wifi module. > > This has been tested on a 9.7" 1024x768 qware qw tb9718-qhd tablet. > > The dts files are identical to the ones submitted to the upstream kernel. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___

Re: [U-Boot] [PATCH v3] sunxi: On newer SoCs use words 1-3 instead of just word 3 from the SID

2016-07-31 Thread Ian Campbell
lso > have quite a few bits which are the same for some boards, > > This commits switches to using the crc32 of words 1 - 3 to get a > more unique value for the mac-address / serialnr. > > Cc: Chen-Yu Tsai > Cc: Corentin LABBE > Cc: Amit Singh Tomar > Signed-off-by:

Re: [U-Boot] [PATCH v2] sun8i: On H3 Use words 1-3 instead of just word 3 from the SID

2016-07-29 Thread Ian Campbell
On Fri, 2016-07-29 at 11:49 +0200, Hans de Goede wrote: > It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the > SID > are always 0 on H3 making it a poor candidate to use as source for > the > serialnr / mac-address, and the other non constant words (1 and 2) > also > have quite a f

Re: [U-Boot] [PATCH v2] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-29 Thread Ian Campbell
-Yu Tsai > Cc: Corentin LABBE > Cc: Amit Singh Tomar > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-27 Thread Ian Campbell
. > > Cc: Chen-Yu Tsai > Cc: Corentin LABBE > Cc: Amit Singh Tomar > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/4] sunxi: Re-enable h3 emac support

2016-07-27 Thread Ian Campbell
BBE > Cc: Amit Singh Tomar > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/4] sunxi: Ensure that the NIC specific bytes of the mac are not all 0

2016-07-27 Thread Ian Campbell
to ensure this does not happen. > > Cc: Chen-Yu Tsai > Cc: Corentin LABBE > Cc: Amit Singh Tomar > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/4] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: > This fixes the following CACHE warnings when using sun8i_emac: > > => dhcp > BOOTP broadcast 1 > BOOTP broadcast 2 > CACHE: Misaligned operation at range [7bf594a8, 7bf59628] > BOOTP broadcast 3 > CACHE: Misaligned operation at range [7bf59

Re: [U-Boot] [PATCH] sunxi: Disable sun8i emac driver

2016-07-27 Thread Ian Campbell
: Chen-Yu Tsai > Cc: Corentin LABBE > Cc: Amit Singh Tomar > Signed-off-by: Hans de Goede Is someone (in the Cc?) looking into this so we can eventually reenable? Anyway, for now disabling makes sense I guess: Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for the Orange Pi PC Plus SBC

2016-07-27 Thread Ian Campbell
ts for the PC Plus rather then sharing a single dts between the > regular PC and the PC Plus. So add a new orangepi_pc_plus_defconfig > to match. > > The added dts file matches the one submitted to the upstream kernel. > > Signed-off-by: Ha

Re: [U-Boot] [PATCH 29/30] RFC: Use binman for a sunxi board

2016-07-26 Thread Ian Campbell
(adding Hans) On Mon, 2016-07-25 at 18:59 -0600, Simon Glass wrote: > Add an example usage of binman for a sunxi board. This involves adding the > > image definition to the device tree and using it in the Makefile. My concern with this approach is that the *.dts(i) files used for sunxi are sync'd

Re: [U-Boot] [PATCH v2] sunxi: Add support for multiple ethadrr-esses

2016-07-11 Thread Ian Campbell
On Mon, 2016-07-11 at 11:02 +0200, Hans de Goede wrote: > > On Sat, 2016-07-09 at 15:12 +0200, Hans de Goede wrote: > > > > > > [...] > > > +static void setup_environment(const void *fdt) > > > > It might be worth adding a commit to this function noting that it > > must > > remain idempotent. >

Re: [U-Boot] [PATCH 1/4] sunxi: Use BROM stored boot_media value to determine our boot-source

2016-07-10 Thread Ian Campbell
On Sat, 2016-07-09 at 22:22 +0200, Hans de Goede wrote: > Now that we know that the BROM stores a value indicating the boot- > source > at the beginning of SRAM, use that instead of trying to recreate the > BROM's boot probing. > > Signed-off-by: Hans de Goede All 4

Re: [U-Boot] [PATCH v2] sunxi: Add support for multiple ethadrr-esses

2016-07-10 Thread Ian Campbell
boards the wifi does not come with a fixed mac either, so we > need > to also set eth1addr. > > This commit changes the ethaddr setting code to check for ethernet%d > aliases (as fdt_fixup_ethernet does) and set an ethaddr variable for > all present aliases. > > Signed-o

Re: [U-Boot] [PATCH] sunxi: Remove some unnecessary #ifdefs

2016-07-10 Thread Ian Campbell
Orange Pi PC build) the SPL actually becomes > 8 bytes smaller with this patch. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Add support for eth1addr

2016-06-30 Thread Ian Campbell
On Thu, 2016-06-30 at 17:07 +0200, Hans de Goede wrote: > Hi, > > On 30-06-16 15:52, Ian Campbell wrote: > > On Thu, 2016-06-30 at 13:15 +0200, Hans de Goede wrote: > > > Hi, > > > > > > On 30-06-16 12:50, Ian Campbell wrote: > > > >

Re: [U-Boot] [PATCH] sunxi: Add support for eth1addr

2016-06-30 Thread Ian Campbell
On Thu, 2016-06-30 at 13:15 +0200, Hans de Goede wrote: > Hi, > > On 30-06-16 12:50, Ian Campbell wrote: > > On Sun, 2016-06-26 at 13:54 +0200, Hans de Goede wrote: > > > Currently we will already fill ethaddr with a fixed unique address > > > based on the SoCs s

Re: [U-Boot] [PATCH] sunxi: Add support for eth1addr

2016-06-30 Thread Ian Campbell
On Sun, 2016-06-26 at 13:54 +0200, Hans de Goede wrote: > Currently we will already fill ethaddr with a fixed unique address > based on the SoCs serial (from the sid) to make sure that boards which > use the integrated emac / gmac get a fixed mac rather then a random one. > > On some boards (obser

Re: [U-Boot] [PATCH] sunxi: spl: Fix DRAM info printing

2016-06-30 Thread Ian Campbell
On Sun, 2016-06-26 at 13:57 +0200, Hans de Goede wrote: > The switch to simple_printf was causing the SPL dram info to show as: > > DRAM: u MiB > > This fixes this by switching from %lu to %d for printing the DRAM size. > > Signed-off-by: Hans de Goede A

Re: [U-Boot] [PATCH] sunxi: Add defconfig for Olinuxino Lime 2 EMMC version

2016-06-15 Thread Ian Campbell
On Wed, 2016-06-15 at 05:29 +0200, Emmanuel Vadot wrote: Please include a short description of the board, in this case explaining the distinction (and defconfig differences) from the non- EMMC version would be useful. Have a look at some of the previous patches which add defconfig (e.g. those fro

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for inet86dz board

2016-06-12 Thread Ian Campbell
lot, 3.5mm headphone jack and a micro-usb otg connector > which doubles as charging port. > > The dts file this commit adds is identical to the one submitted to > the upstream kernel. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___

Re: [U-Boot] [PATCH 2/2] sunxi: Select USE_TINY_PRINTF

2016-06-12 Thread Ian Campbell
On Fri, 2016-06-10 at 21:04 +0200, Hans de Goede wrote: > This gives us a bit more breathing room wrt our SPL size. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell (and the first one too, FWIW) > --- >  arch/arm/Kconfig | 1 + >  1 file changed, 1 insertion(+) >

Re: [U-Boot] [PATCH] sunxi: musb: Properly turn of musb controller before booting

2016-06-12 Thread Ian Campbell
driver > loads. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Add INITIAL_USB_SCAN_DELAY to Mele_A1000G_quad_defconfig

2016-06-12 Thread Ian Campbell
On Sun, 2016-06-05 at 14:50 +0200, Hans de Goede wrote: > The Mele_A1000G_quad has an onboard usb <-> sata conversion which > needs > longer then the usb-spec allows to connect after getting power. > > Signed-off-by: Hans de Goede Acked-by: Ian Campb

Re: [U-Boot] [PATCH] sunxi: Enable ALDO3 and ALDO4 in Wobo_i5_defconfig

2016-06-12 Thread Ian Campbell
e Goede Acked-by: Ian Campbell (sorry for the lateness on this one) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for Polaroid MID2407PXE03 tablet

2016-06-12 Thread Ian Campbell
-usb otg > connector which doubles as charging port. > > The dts file is identical to the one submitted to the upstream > kernel. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de h

Re: [U-Boot] [PATCH] sunxi: Revert "sunxi: make SoC variant choice mandatory"

2016-06-12 Thread Ian Campbell
a choice is considered the default and hence is omitted by savedefconfig or is something else going on? In any case: > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Enable a bunch of commands by default on sunxi

2016-05-16 Thread Ian Campbell
ly, since they seem like they should be enabled on most boards by default, but that's outside my balliwick. So as far as this sunxi change goes: > Signed-off-by: Hans de Goede Acked-by: Ian Campbell > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 6b65d8e..491577f 100644

Re: [U-Boot] [PATCH] sunxi: Enable USB host in CHIP defconfig

2016-05-13 Thread Ian Campbell
On Thu, 2016-05-12 at 19:29 +0200, Hans de Goede wrote: > Reported-and-tested-by: Dennis Gilmore > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH RESEND] arm/arm64: Move barrier instructions into separate header

2016-05-12 Thread Ian Campbell
/asm/barriers.h| 44 > ++ >  arch/arm/mach-sunxi/dram_helpers.c |  2 +- It's not really our Ack you need, but the overall arm maintainer's (Albert) ack. (AFAIK there is no separate armv8 maintainer.) FIW for the sunxi hunk: Acked-by: Ian Campbell Although it is so

Re: [U-Boot] [PATCH] sunxi: mctl_mem_matches: Add missing memory barrier

2016-04-22 Thread Ian Campbell
ation and the heads up! > > > > > > On 22/04/16 11:48, Hans de Goede wrote: > > > > > > > > Hi, > > > > > > > > On 22-04-16 11:32, Ian Campbell wrote: > > > > > > > > > > On Fri, 2016-04-15 at 09:34 +02

Re: [U-Boot] [PATCH] sunxi: Enable LDO3 at 3.3V on A13-OLinuXino board

2016-04-22 Thread Ian Campbell
On Thu, 2016-04-14 at 16:51 +0200, Hans de Goede wrote: > LDO3 is used for the VGA output, this fixes a regression where the > VGA > output on these boards would no longer work. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___

Re: [U-Boot] [PATCH] sunxi: mctl_mem_matches: Add missing memory barrier

2016-04-22 Thread Ian Campbell
On Fri, 2016-04-15 at 09:34 +0200, Hans de Goede wrote: > > I wonder if what you are observing could be possibly explained by just > > a usual data corruption problem? Which may be happening when the DRAM > > clock speed is set higher than this particular device is able to handle > > in a reliable

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for Orange Pi One SBC

2016-04-10 Thread Ian Campbell
e dts submitted to the upstream kernel. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: H3: Do not clear usb companion clk-gate / reset on remove

2016-04-10 Thread Ian Campbell
lack of expressiveness) in the DM clk bindings to me, but I can see why we want to do it this way shirt term: > Signed-off-by: Hans de Goede Acked-by: Ian Campbell > --- >  drivers/usb/host/ehci-sunxi.c | 10 +++--- >  drivers/usb/host/ohci-sunxi.c | 10 +++--- >  2 file

Re: [U-Boot] [PATCH 3/3] sunxi: Enable usb ports on the Sinovoip BPI M3

2016-04-05 Thread Ian Campbell
On Tue, 2016-04-05 at 11:51 +0200, Hans de Goede wrote: > Hi, > > On 05-04-16 11:44, Ian Campbell wrote: > > > > On Sat, 2016-04-02 at 21:10 +0200, Hans de Goede wrote: > > > > > > DLDO3 is used to provide Port-D power and PD is used for the > > &g

Re: [U-Boot] [PATCH] sunxi: Enable CMD_GPIO on all sunxi boards

2016-04-05 Thread Ian Campbell
nt user experience and simpler > defconfig files. > > Signed-off-by: Hans de Goede Regardless of the question above (which is just curiosity really): Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3] sunxi: Enable usb ports on the Sinovoip BPI M3

2016-04-05 Thread Ian Campbell
yes: > Signed-off-by: Hans de Goede Acked-by: Ian Campbell If you also want to mention the kernel sync in the commit message, you can also retain the ack (of course). ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3] sunxi: Set DCDC1 to 3.3V on the Sinovoip BPI M3

2016-04-05 Thread Ian Campbell
On Sat, 2016-04-02 at 21:10 +0200, Hans de Goede wrote: > This is the value used in the fex file of the manufacturer images, > and also the DCDC1 default. Sometimes lower values are used to save > battery power, but that does not apply to a SBC. > > Signed-off-by: Hans de Goede

Re: [U-Boot] [PATCH 1/3] sunxi: Add INITIAL_USB_SCAN_DELAY Kconfig option

2016-04-05 Thread Ian Campbell
ption which > when non 0 adds an extra delay before the first usb bus scan. > > Signed-off-by: Hans de Goede Apart from that: Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] musb: sunxi: Do not allocate musb struct multiple times

2016-04-05 Thread Ian Campbell
c data, but this > > data > >   > gets free-ed on a probe failure or on removal, so we must safe > > the > >   > pointer elsewhere. > > > > s/safe/save/ (twice). > Thanks, fixed in my tree. Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 7/6] sunxi: Reserve ATF memory space on A64

2016-04-01 Thread Ian Campbell
On Fri, 2016-04-01 at 13:08 +0200, Alexander Graf wrote: > > On 01.04.16 13:06, Ian Campbell wrote: > > > > On Wed, 2016-03-30 at 17:53 +0200, Alexander Graf wrote: > > > > > > On the A64 we usually boot with ATF running in EL3. ATF as it is available >

Re: [U-Boot] [PATCH 7/6] sunxi: Reserve ATF memory space on A64

2016-04-01 Thread Ian Campbell
On Wed, 2016-03-30 at 17:53 +0200, Alexander Graf wrote: > On the A64 we usually boot with ATF running in EL3. ATF as it is available > today resides in the first 16MB of RAM. So we should make sure we reserve > that space in our memory maps. Would using fdt_add_mem_rsv() be better than fiddling w

Re: [U-Boot] [PATCH 1/2] sunxi: Add conditional magic sram poke for A33

2016-03-24 Thread Ian Campbell
On Fri, 2016-03-25 at 01:10 +0100, Karsten Merker wrote:  > > - if ((version & 0x) == 0x1650) > > + /* > > +  * Ideally this would be a switch case, bit we do not know exactly > > s/bit/but/ Other than that, both patches: Acked-by: Ian Campb

Re: [U-Boot] [PATCH v3] sunxi: Select CONFIG_OF_BOARD_SETUP from arch/arm/Kconfig

2016-03-23 Thread Ian Campbell
ys enabling CONFIG_OF_BOARD_SETUP on sunxi + fix the compile >  warning in ft_board_setup when CONFIG_VIDEO_DT_SIMPLEFB is not set I agree this approach is better: Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts for Orange Pi 2 SBC

2016-03-23 Thread Ian Campbell
TG, > HDMI, > a TRRS headphone jack for stereo out and composite out, a microphone, > an IR receiver, a CSI connector, 2 LEDs, a 3 pin UART header > and a 40-pin GPIO header. > > The added dts file is identical to the one submitted to the upstream > kernel. > > Signed

Re: [U-Boot] [PATCH v2] sunxi: Select CONFIG_OF_BOARD_SETUP from CONFIG_VIDEO

2016-03-23 Thread Ian Campbell
On Tue, 2016-03-22 at 23:08 +0100, Hans de Goede wrote: > Select OF_BOARD_SETUP when CONFIG_VIDEO is set, rather then having it > in > almost all our defconfigs. This also fixes it missing from some > recently > added defconfigs. > > Signed-off-by: Hans de Goede > --- > Changes in v2: > -Only sel

Re: [U-Boot] [PATCH] sunxi: Select OF_BOARD_SETUP from arch/arm/Kconfig

2016-03-22 Thread Ian Campbell
On Tue, 2016-03-22 at 22:56 +0100, Hans de Goede wrote: > Select OF_BOARD_SETUP from arch/arm/Kconfig when building for sunxi, > rather then having it in all our defconfigs. This also fixes it > missing > from some recently added defconfigs. > > Signed-off-by: Hans de Goe

Re: [U-Boot] [PATCH 1/2] sunxi: Turn satapwr on from board_init

2016-03-22 Thread Ian Campbell
SUNXI SCSI INIT\n") AHCI init is > noisy enough by itself. > > Signed-off-by: Hans de Goede Both: Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Fix 2nd usb controller on sun4i/sun7i no longer working

2016-03-22 Thread Ian Campbell
sb1 and usb2. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Enable support for the eMMC found on the orangepi plus

2016-03-22 Thread Ian Campbell
;> +CONFIG_MMC0_CD_PIN="PF6" > >> +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 > > > > Does CONFIG_MMC2_PINS also need to be set? > > No there only is one pinmux option for MMC2 on H8, so there is no > need to set this. Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] sunxi: Add support for USB vbus pin for USB3

2016-03-22 Thread Ian Campbell
On Fri, 2016-03-18 at 08:55 +0100, Hans de Goede wrote: > The H3 has USB0 - USB3, add support for having a USB vbus pin for > USB3. > > Signed-off-by: Hans de Goede All three of these patches: Acked-by: Ian Campbell ___ U-Boot mailing

Re: [U-Boot] [PATCH] sunxi: Fix gmac not working due to cpu_eth_init no longer being called

2016-03-19 Thread Ian Campbell
On Thu, 2016-03-17 at 15:38 +0100, Hans de Goede wrote: > Hi, > > On 17-03-16 14:21, Ian Campbell wrote: > > > > On Thu, 2016-03-17 at 14:02 +0100, Hans de Goede wrote: > > > > > > cpu_eth_init is no longer called for dm enabled eth drivers, this > >

Re: [U-Boot] [PATCH] sunxi: Enable realtek phy support

2016-03-19 Thread Ian Campbell
On Wed, 2016-03-16 at 15:23 +0100, Hans de Goede wrote: > Enable building of drivers/net/phy/realtek.c so that realtek phys > get properly initialized. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing

Re: [U-Boot] [PATCH 1/3] sunxi: Fix clock_twi_onoff for sun6i

2016-03-19 Thread Ian Campbell
On Wed, 2016-03-16 at 21:07 +0100, Hans de Goede wrote: > The clock_sun6i.c implementation was not deasserting the reset for > the regular i2c controllers, this commit fixes this. > > Signed-off-by: Hans de Goede All 3 patches: Acked-by: Ian Campbell > --- >  arch/a

Re: [U-Boot] [PATCH] include/dt-bindings: Sync some files with the kernel

2016-03-19 Thread Ian Campbell
essary for > > newer > > sunxi dts files to build. > > > > Signed-off-by: Hans de Goede > Reviewed-by: Tom Rini Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Fix gmac not working due to cpu_eth_init no longer being called

2016-03-19 Thread Ian Campbell
On Thu, 2016-03-17 at 14:02 +0100, Hans de Goede wrote: > cpu_eth_init is no longer called for dm enabled eth drivers, this > was causing the sunxi gmac eth controller to no longer work in u- > boot. > > This commit fixes this by moving the gpio setup to gpio_init() and by > calling the clock, res

Re: [U-Boot] [PATCH 1/2] sunxi: Sync dts files with the upstream kernel

2016-03-15 Thread Ian Campbell
rd dts files. I've asked the > authors of the kernel commits adding these to submit a matching defconfig > to u-boot. > > Signed-off-by: Hans de Goede Both patches here: Acked-by: Ian Campbell Do you have a script or something which (semi-)automates these imports, o

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts for Difrence DIT4350 tablet

2016-03-11 Thread Ian Campbell
gt; and > rtl8188etv wifi. > > The dts file is identical to the one submitted to the upstream > kernel. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] sunxi: A23: Fix some revisions needing a different magic sram poke

2016-03-11 Thread Ian Campbell
cond one: Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/5] kbuild: use $(call cmd, ) rather than $(call if_changed, ) where possible

2016-02-05 Thread Ian Campbell
On Fri, 2016-02-05 at 14:33 +0900, Masahiro Yamada wrote: > >> These build commands are constant (mostly, just concatenating > images, > >> or just copying). No need to use $(call if_changed,...) for them. > > > > > > I disagree, since I believe this change means that if someone /does/ change > >

Re: [U-Boot] ARMv8: Use U-Boot to boot Xen?

2016-01-29 Thread Ian Campbell
On Fri, 2016-01-29 at 16:54 +0100, Dirk Behme wrote: > On 29.01.2016 10:18, Ian Campbell wrote: > > On Fri, 2016-01-29 at 12:04 +0800, Peng Fan wrote: > > > Hi Dirk, > > > > > > Cc Ian xen experts. > > > > > > On Thu, Jan 28,

Re: [U-Boot] ARMv8: Use U-Boot to boot Xen?

2016-01-29 Thread Ian Campbell
On Fri, 2016-01-29 at 12:04 +0800, Peng Fan wrote: > Hi Dirk, > > Cc Ian xen experts. > > On Thu, Jan 28, 2016 at 08:06:30PM +0100, Dirk Behme wrote: > > Hi, > > > > are there any U-Boot examples/patches to boot Xen on an ARMv8/aarch64 > > system? > > > > I've found > > > > http://lists.denx.d

Re: [U-Boot] [PATCH] sunxi: Remove Orangepi PC RAM speed to 624 MHz

2015-12-24 Thread Ian Campbell
In any case, this... > So reduce the DRAM speed to 624MHz which seems to be reliable > everywhere. ...seems reasonable to me. > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] [PATCH] sunxi: Select DM_KEYBOARD

2015-12-21 Thread Ian Campbell
On Mon, 2015-12-21 at 20:23 +0100, Hans de Goede wrote: > We need to select DM_KEYBOARD now that the usb-kbd code has been > converted > to this, otherwise usb keyboards do not work. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell __

Re: [U-Boot] [PATCH] sun5i: Add defconfig and dts file for the Empire Electronix D709 tablet

2015-12-21 Thread Ian Campbell
On Mon, 2015-12-21 at 20:38 +0100, Hans de Goede wrote: > Hi, > > On 20-12-15 21:12, Ian Campbell wrote: > > On Sun, 2015-12-20 at 12:44 +0100, Hans de Goede wrote: > >> The Empire Electronix D709 tablet is a fairly standard 7" A13 > tablet, > >> featuring

Re: [U-Boot] [PATCH 0/4] Add a new poweroff command and implement it for sunxi

2015-12-20 Thread Ian Campbell
ng usb kbd > support), when I'm then done testing having a poweroff command would > be useful, esp. on devices with builtin batteries like tablets where > one cannot just pull the powerplug. Patches #2..#4: Acked-by: Ian Campbell #1 looks fine to m

Re: [U-Boot] [PATCH] sun5i: Add defconfig and dts file for the Empire Electronix D709 tablet

2015-12-20 Thread Ian Campbell
gt; model > info can be found in the about tablet menu in android. > > The PCB has no markings to speak of. > > This dts file is identical to the one submitted to the upstream > kernel. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___

Re: [U-Boot] ATAGS for Tegra, Sunxi, etc.

2015-12-17 Thread Ian Campbell
On Thu, 2015-12-17 at 07:40 +0100, Karsten Merker wrote: > On Thu, Dec 17, 2015 at 01:59:57PM +0900, Masahiro Yamada wrote: > > 2015-12-17 13:58 GMT+09:00 Masahiro Yamada > om>: > > > Hi, > > > > > > I noticed some well-maintained new SoC families still > > > define CONFIG_CMDLINE_TAG. > > > > >

Re: [U-Boot] [PATCH] sunxi: Set AHB1 clock to PLL6/3 on all clock_sun6i.h using SoCs

2015-11-23 Thread Ian Campbell
On Mon, 2015-11-23 at 14:47 +0800, Chen-Yu Tsai wrote: > Hi, > > On Sun, Nov 22, 2015 at 11:40 PM, Hans de Goede > wrote: > > Hi, > > > > On 22-11-15 15:14, Chen-Yu Tsai wrote: > >> > >> On Sat, Nov 21, 2015 at 11:48 PM, Ian Campbell < > ij

Re: [U-Boot] [PATCH] sunxi: Set AHB1 clock to PLL6/3 on all clock_sun6i.h using SoCs

2015-11-21 Thread Ian Campbell
igned-off-by: Hans de Goede I suppose you've tested this on at least one such board? In that case: Acked-by: Ian Campbell > --- > arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 4 > 1 file changed, 4 deletions(-) > > diff --git a/arch/arm/include/asm/arch-sunxi/clock

Re: [U-Boot] [PATCH 2/2] musb: sunxi: Implement dfu_usb_get_reset()

2015-10-26 Thread Ian Campbell
On Sun, 2015-10-25 at 22:16 +0100, Albert ARIBAUD wrote: > Hello Ian, > > On Sun, 25 Oct 2015 19:22:00 +0000, Ian Campbell > wrote: > > On Sun, 2015-10-25 at 14:22 +0100, Albert ARIBAUD wrote: > > > On Sun, 25 Oct 2015 12:40:45 +, Ian Campbell > > > &g

Re: [U-Boot] [PATCH 2/2] musb: sunxi: Implement dfu_usb_get_reset()

2015-10-25 Thread Ian Campbell
On Sun, 2015-10-25 at 16:46 +0200, Siarhei Siamashka wrote: > replace "#include " with "typedef int bool;" and try it > again. So don't do that then. In u-boot the "bool" type comes from stdbool.h and it is therefore completely reasonable to assume that bool in u-boot has the properties which thi

Re: [U-Boot] [PATCH 2/2] musb: sunxi: Implement dfu_usb_get_reset()

2015-10-25 Thread Ian Campbell
On Sun, 2015-10-25 at 14:22 +0100, Albert ARIBAUD wrote: > On Sun, 25 Oct 2015 12:40:45 +0000, Ian Campbell > > Doesn't the bool return type already cause that to happen? (from the > > PoV of the caller at least) > > When all is said and done, a C bool is a C int,

Re: [U-Boot] [PATCH 2/2] musb: sunxi: Implement dfu_usb_get_reset()

2015-10-25 Thread Ian Campbell
On Sun, 2015-10-25 at 12:46 +0100, Albert ARIBAUD wrote: > > > +static u8 last_int_usb; > > > + > > > +bool dfu_usb_get_reset(void) > > > +{ > > > + return !!(last_int_usb & MUSB_INTR_RESET); > > > > The !! is not needed. > > Except if you want to be sure that you return 0 or 1 rather than 0 or >

Re: [U-Boot] [PATCH] arm: sunxi: Add icnova-a20-swac defconfig and dts file

2015-10-20 Thread Ian Campbell
On Mon, 2015-10-19 at 13:44 +0200, Hans de Goede wrote: > > Okay. Hans, do you want me to change this (and potential other > > changes as well - see file naming above) via a follow-up patch > > once its available in mainline U-Boot? > > Actually I would prefer to get this right in one go, esp. the

Re: [U-Boot] [PATCH] arm: sunxi: Add icnova-a20-swac defconfig and dts file

2015-10-20 Thread Ian Campbell
On Mon, 2015-10-19 at 13:42 +0200, Hans de Goede wrote: > > I'm sorry but I'm not going to budge on this one, having > CONFIG_OLD_SUNXI_KERNEL_COMPAT=y in a defconfig is simply not acceptable > IMHO. It is not a board specific thing, and there are very good reasons > why it defaults to n in board/

Re: [U-Boot] [PATCH v2 12/14] sunxi: Add support for android boot image

2015-10-15 Thread Ian Campbell
> so we need it in our configuration. > > Signed-off-by: Maxime Ripard Acked-by: Ian Campbell > --- > include/configs/sunxi-common.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi > -common.h > i

Re: [U-Boot] [PATCH v2 2/2] sunxi: Add defconfig for the Sinovoip BPI-M2 board

2015-10-15 Thread Ian Campbell
entical to the dts files submitted upstream. > > A few notes on the use if dldo and aldo regulators. DLDO1 is used > for Vdd for the ethernet phy, ALDO2 is used for AVdd for the ethernet > phy. ALDO1 is used to power the sdio wifi module. > > Signed-off-by: Hans de Goede Acked-b

Re: [U-Boot] [PATCH 3/7] sunxi: power: Unify axp pmic function names

2015-10-11 Thread Ian Campbell
On Sat, 2015-10-03 at 16:26 +0200, Hans de Goede wrote: > Stop prefixing the axp functions for setting voltages, etc. with the > model number, there ever is only one pmic driver built into u-boot, > this allows simplifying the callers. > > Signed-off-by: Hans de Goede Acked-b

Re: [U-Boot] [PATCH v2] sunxi: Add a bootcmd_sunxi_compat to the default environment to boot old kernels

2015-10-11 Thread Ian Campbell
t; bootcmd_sunxi_compat" > rather then needing to have 2 separate setups / sdcards for old and > new kernels. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sunxi: Add a bootcmd_old to the default environment to boot old kernels

2015-10-11 Thread Ian Campbell
On Fri, 2015-10-09 at 18:15 +0200, Hans de Goede wrote: > Add a bootcmd_old value to the default environment when building with > CONFIG_OLD_SUNXI_KERNEL_COMPAT, this way people who occasionally want > to boot an old kernel can do so by simply typing "run bootcmd_old" > rather then needing to have

Re: [U-Boot] [PATCH 1/3] sunxi: power: Add support for disabling axp209 regulators

2015-10-11 Thread Ian Campbell
On Sat, 2015-10-10 at 14:40 +0200, Hans de Goede wrote: > Add support for disabling the regulators found on the axp209 pmic. > > Signed-off-by: Hans de Goede All 3 patches in this series: Acked-by: Ian Campbell ___ U-Boot mailing li

Re: [U-Boot] [PATCH v2] sunxi: Kconfig-ify CONFIG_AXP152_POWER and _AXP209_POWER

2015-10-11 Thread Ian Campbell
] > + Select this to enable support for the axp221/axp223 pmic found on most > sun6i (A31) / sun8i (A23) boards. Some inconsistency with the SoC naming ["Axx" vs "sunxi (Axx)"], but nonetheless: Acked-by: Ian Campbell Feel free to retain if adding the appropria

Re: [U-Boot] [PATCH 3/7] sunxi: power: Unify axp pmic function names

2015-10-09 Thread Ian Campbell
On Fri, 2015-10-09 at 15:44 +0200, Hans de Goede wrote: > > In which case what we would want is a set of choice options for primary and > > a separate set choice options for secondary (with a none option too in this > > case) and there would be no duplication of any specific AXPxxx option > > betw

Re: [U-Boot] [PATCH 3/7] sunxi: power: Unify axp pmic function names

2015-10-09 Thread Ian Campbell
On Fri, 2015-10-09 at 13:24 +0200, Hans de Goede wrote: > Hi, > > On 09-10-15 10:31, Ian Campbell wrote: > > On Sat, 2015-10-03 at 22:16 +0200, Hans de Goede wrote: > > > Hi, > > > > > > On 03-10-15 16:32, Chen-Yu Tsai wrote: > > &g

Re: [U-Boot] [PATCH 7/7] sunxi: power: Drop protection against multiple calls from axp221 axp_init()

2015-10-09 Thread Ian Campbell
ff-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

  1   2   3   4   5   6   7   8   9   10   >