Hi,

No Signed-off-by line?

On Sat, Apr 04, 2015 at 02:15:57PM +0200, Paul Boddie wrote:
> If anyone can see any obvious things that prevent these changes from
> making a bootable kernel, I'd be very pleased to hear about them.

You need a spinlock to prevent a race condition when two processes
want to access the GPIOs at the same time. That's why they introduced
set and clear registers in the 4740.

For reading the battery voltage and powering off the device, you can
use the driver from the following mail. I used it with the 2.6.31
Kernel (after fixing the non-standard API of the I2C driver).

The Linux 2.4 USB gadget driver for the 4730 looks completely different
from the 4740 driver. I don't think is uses the same IP core.

If the plan is to eventually switch to DT, it must be possible to
compile a kernel that can handle both the 4740 and the 4730. So
defining macros to different values depending on the processor is
not an option.

Best regards,

  Daniel

_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to