Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758664AbZJGHOA (ORCPT ); Wed, 7 Oct 2009 03:14:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758576AbZJGHOA (ORCPT ); Wed, 7 Oct 2009 03:14:00 -0400 Received: from mail-px0-f179.google.com ([209.85.216.179]:42061 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757437AbZJGHN7 convert rfc822-to-8bit (ORCPT ); Wed, 7 Oct 2009 03:13:59 -0400 MIME-Version: 1.0 Date: Wed, 7 Oct 2009 17:13:22 +1000 Message-ID: <1d3f23370910070013u6307bc42hf7ab243b52d007df@mail.gmail.com> Subject: Xilinx SYSACE driver and 8-bit attachment From: John Williams To: Linux Kernel list Cc: Grant Likely , Michal Simek , John Linn , David DeBonis , Stephen Neuendorffer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1440 Lines: 41 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/