Re: [U-Boot] [PATCH v5 3/3] ARM: tegra: Add support for nyan-big board

Hi Tom,
On 10 December 2014 at 10:39, Tom Warren TWarren@nvidia.com wrote:
Simon,
The v4 PCIE patch series fails to apply to u-boot-tegra/master after rebasing my repo against both ARM master and U-Boot 'master' master (i.e. FETCH_HEAD = 32fdf0e4d82bdca5d64d86330e461e59685f9959 branch 'master' of git://git.denx.de/u-boot). 3 - 4 patches fail when using git am.
I worked thru the conflicts for both branches (my master rebased against ARM and U-Boot TOT), and did a MAKEALL -s tegra, and jetson-tk1, beaver and cardhu fail to build (jetson err log below). Looks like you developed this with your DM I2C series in place?
To submit a PR from the Tegra repo, I need to either rebase first against ARM master (my SOP), or against U-Boot 'master'. So you patches, if they're bound for the Tegra repo, need to work in one of those scenarios.
Tom
Thanks for looking at it. This series depends on the I2C driver model series. It's available at u-boot-dm/i2c-working if you want to check it out. I plan to apply that very soon.
I'm sorry I didn't make that clear in this series. I mentioned it on the list at one point but should have added it here. If you like, you could ack it and I can apply to u-boot-dm after I2C is in there.
Regards, Simon
drivers/power/as3722.c: In function 'as3722_read': drivers/power/as3722.c:34: warning: passing argument 1 of 'i2c_read' makes integer from pointer without a cast include/i2c.h:235: note: expected 'uint8_t' but argument is of type 'struct udevice *' drivers/power/as3722.c:34: warning: passing argument 3 of 'i2c_read' makes integer from pointer without a cast include/i2c.h:235: note: expected 'int' but argument is of type 'u8 *' drivers/power/as3722.c:34: warning: passing argument 4 of 'i2c_read' makes pointer from integer without a cast include/i2c.h:235: note: expected 'uint8_t *' but argument is of type 'int' drivers/power/as3722.c:34: error: too few arguments to function 'i2c_read' drivers/power/as3722.c: In function 'as3722_write': drivers/power/as3722.c:45: warning: passing argument 1 of 'i2c_write' makes integer from pointer without a cast include/i2c.h:238: note: expected 'uint8_t' but argument is of type 'struct udevice *' drivers/power/as3722.c:45: warning: passing argument 3 of 'i2c_write' makes integer from pointer without a cast include/i2c.h:238: note: expected 'int' but argument is of type 'u8 *' drivers/power/as3722.c:45: warning: passing argument 4 of 'i2c_write' makes pointer from integer without a cast include/i2c.h:238: note: expected 'uint8_t *' but argument is of type 'int' drivers/power/as3722.c:45: error: too few arguments to function 'i2c_write' drivers/power/as3722.c: In function 'as3722_init': drivers/power/as3722.c:245: warning: implicit declaration of function 'i2c_get_chip_for_busnum' make[1]: *** [drivers/power/as3722.o] Error 1 make: *** [drivers/power] Error 2 make: *** Waiting for unfinished jobs....
-----Original Message----- From: Tom Warren Sent: Wednesday, December 10, 2014 8:46 AM To: Simon Glass; U-Boot Mailing List Cc: Allen Martin; Albert Aribaud; Stephen Warren; Stephen Warren Subject: RE: [PATCH v5 3/3] ARM: tegra: Add support for nyan-big board
Simon,
-----Original Message----- From: sjg@google.com [mailto:sjg@google.com] On Behalf Of Simon Glass Sent: Wednesday, December 10, 2014 8:01 AM To: U-Boot Mailing List Cc: Allen Martin; Simon Glass; Albert Aribaud; Tom Warren; Stephen Warren; Stephen Warren Subject: Re: [PATCH v5 3/3] ARM: tegra: Add support for nyan-big board
Hi,
On 4 December 2014 at 06:36, Simon Glass sjg@chromium.org wrote:
From: Allen Martin amartin@nvidia.com
Nyan-big is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the AS3722 PMIC.
This is the Acer Chromebook 13 CB5-311-T7NN (13.3-inch HD, NVIDIA Tegra K1, 2GB). The display is not currently supported, so it should boot on other nyan-based Chromebooks also, but only the device tree for nyan-big is provided here.
The device tree file is from Linux but with features removed which are unlikely to be supported in U-Boot soon (regulators, pinmux). Also the addresses are updated to 32-bit.
Signed-off-by: Allen Martin amartin@nvidia.com Signed-off-by: Simon Glass sjg@chromium.org (rebase, change to 'nyan-big', fix pinmux that resets nyan-big)
Changes in v5:
- Remove call to pinmux_set_tristate_input_clamping()
Any further comments on v5 please?
I would like to apply this patch before the DM I2C series, so that I2C works correct for nyan-big also.
Tom are you looking at the rest of the PCI-e series? I resent it so would like to get that in soon - the patches originally date from August.
I was waiting for Thierry or Stephen to Ack the series, or provide other feedback. I don't have time/boards to test this right now.
If someone can say it looks good, or has been tested on X board, etc. I can apply it.
Tom
Regards, Simon
-- nvpublic
participants (1)
-
Simon Glass