Re: [PATCH] ARM: atmel: sama5d3xek: fix conflict between w1 and led

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi J,

On 01/21/2015 05:56 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:

On Jan 21, 2015, at 5:41 PM, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:

On Tue, Jan 20, 2015 at 03:31:25PM +0800, Bo Shen wrote:
As the 1-wire and LED d2 use the same pin (PE25) on the EK board.
So, make LED enable only when the 1-wire is disabled.

Signed-off-by: Bo Shen <voice.shen@xxxxxxxxx>
---

arch/arm/boards/sama5d3xek/init.c | 8 ++++++++
1 file changed, 8 insertions(+)


On barebox this does not conflict

As both use gpio mode, which will call gpio request, when LED try to request the same gpio, it will failed. So, the led d2 won't be successfully registered.

as we do not have multi task support

Best Regards,
J.
Applied, thanks

Sascha


--
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


Best Regards,
Bo Shen

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux