<br><br><div class="gmail_quote">2009/7/4 Stephen Neuendorffer <span dir="ltr"><<a href="mailto:stephen.neuendorffer@xilinx.com">stephen.neuendorffer@xilinx.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
I'm not exactly sure what you're trying to do here, but it doesn't look right to me.<br>
In particular, why would I have to have a separate core for these functions?<br>
Furthermore, I'm sure there must be some generic mechanisms that can/should be used for these kind of things.<br>
In general, we shouldn't reinvent the wheel here..<br>
<br>
CC'ing <a href="mailto:devicetree-discuss@ozlabs.org">devicetree-discuss@ozlabs.org</a>, which is really the best place to ask such questions.</blockquote><div><br><br>Yes, I know - I talked with Grant about too. And I found a solution for heartbeat.<br>
We have there one small problem that led-gpio heartbeat trigger starts when driver is ready (long time from the system start)<br>
Current heartbeat works when timer/intc is setup. That big time gap between current - proposed solution I don't like and <br>
I want to remove it. <br>
I am doing different work now and I'll solve it later. <br>
<br>
Thanks,<br>
Michal<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Steve<br>
<div class="im"><br>
-----Original Message-----<br>
From: Michal Simek [mailto:<a href="mailto:michal.simek@petalogix.com">michal.simek@petalogix.com</a>]<br>
</div><div class="im">Sent: Tue 6/30/2009 4:18 AM<br>
To: John Williams; John Linn; David DeBonis; Stephen Neuendorffer<br>
Subject: Device tree BSP<br>
<br>
</div><div><div></div><div class="h5">Hi all,<br>
<br>
I need to talk to you about names for at least one new compatible<br>
property name.<br>
It is for heartbeat led gpio and (not important now) reset gpio.<br>
Currently linux kernel takes<br>
first gpio for heartbeat led which needn't be led gpio that's why we<br>
need to specify which gpio<br>
node is for it. I think we can't used it aliases because in case you<br>
enable gpio linux driver<br>
heartbeat go away because that node had gpio compatible property.<br>
<br>
Our proposed compatible names are xlnx,heartbeat-gpio-1.00.a and<br>
xlnx,reset-gpio-1.00.a<br>
which replaced all gpio compatible properties. Below are two parts of<br>
fragments.<br>
<br>
LEDs_8Bit: gpio@42000000 {<br>
compatible = "xlnx,heartbeat-gpio-1.00.a";<br>
reg = < 0x42000000 0x10000 >;<br>
xlnx,all-inputs = <0x0>;<br>
<br>
Push_Buttons: gpio@42600000 {<br>
compatible = "xlnx,reset-gpio-1.00.a";<br>
interrupt-parent = <&xps_intc_0>;<br>
interrupts = < 4 2 >;<br>
<br>
If you agree with heartbeat name, I will change it in linux kernel code.<br>
<br>
Thanks,<br>
Michal<br>
<br>
--<br>
Michal Simek, Ing. (M.Eng)<br>
PetaLogix - Linux Solutions for a Reconfigurable World<br>
w: <a href="http://www.petalogix.com" target="_blank">www.petalogix.com</a> p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663<br>
<br>
<br>
<br>
<br>
<br>
</div></div><div><div></div><div class="h5">This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Michal Simek, Ing. (M.Eng)<br>PetaLogix - Linux Solutions for a Reconfigurable World<br>w: <a href="http://www.petalogix.com">www.petalogix.com</a> p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663<br>