mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Xilinx SYSACE driver and 8-bit attachment
@ 2009-10-07  7:13 John Williams
  2009-10-07 13:34 ` Grant Likely
  0 siblings, 1 reply; 12+ messages in thread
From: John Williams @ 2009-10-07  7:13 UTC (permalink / raw)
  To: Linux Kernel list
  Cc: Grant Likely, Michal Simek, John Linn, David DeBonis,
	Stephen Neuendorffer

Hi Grant (it's your driver :) and David D ( and your DTS generator :)

I've just debugged a failure on a board with an 8-bit sysAce
connection - I had an infinite "kicking stalled FSM" loop on driver
load.

Turns out that the way the driver probes for an 8-bit connection:

if (of_find_property(op->node, "8-bit", NULL))
 ...

doesn't match the properties generated by Xilinx's device tree generator:

               SysACE_CompactFlash: sysace@83600000 {
                        compatible = "xlnx,xps-sysace-1.01.a",
"xlnx,xps-sysace-1.00.a";
                        interrupt-parent = <&Interrupt_Cntlr>;
                        interrupts = < 5 2 >;
                        reg = < 0x83600000 0x10000 >;
                        xlnx,family = "spartan6";
                        xlnx,mem-width = <0x8>;

So, the question is, which should change?

A temporary hard-code to 8-bit width fixes the bug for me, so I'm
certain it's just this OF property binding problem.

Let me know if we should link the DTS list into this as well.

Thanks,

John
--
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com  p: +61-7-30090663  f: +61-7-30090663

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-10-07 23:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-07  7:13 Xilinx SYSACE driver and 8-bit attachment John Williams
2009-10-07 13:34 ` Grant Likely
2009-10-07 14:24   ` John Linn
2009-10-07 23:41     ` John Williams
2009-10-07 23:44       ` John Linn
2009-10-07 23:46         ` John Williams
2009-10-07 14:42   ` John Linn
2009-10-07 14:52     ` Grant Likely
2009-10-07 16:18       ` Stephen Neuendorffer
2009-10-07 23:44   ` John Williams
2009-10-07 23:47     ` John Linn
2009-10-07 23:48     ` Stephen Neuendorffer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®