my response inlined..<br />
<br />
On Tue, 19 Jan 2010 22:41:25 +0530  wrote<br />
>nanda wrote:<br />
> <br />
> We had merged the 2.6.24 <br />
<br />
That's pretty old...<br />
>> We were using 2.6.24 as this kernel version this is the references used by us for MPC8321E.<br />
> with the FSL based NAND driver,<br />
<br />
Which one? Which chip are you using, and how is NAND attached to it?<br />
>> MPC8321E processor connected to STM NAND Flash. Port C PIN 15 of the processor connected to the R/B# ( Ready/Busy PIN) of the STM NAND Flash. <br />
<br />
> we observed that gpio library is mandatory to be included. We have not included the <br />
> gpios configured in the dts file as the we don’t have the separate GPIO <br />
> chip(arch/powepc/boot/dts/board.dts).<br />
<br />
What separate GPIO chip? Which "board.dts" are you looking at?<br />
>> dts file I was refering is mpc832x_rdb.dts file, which we assumed that GPIO controller is not required. ( Correct me if my assumption is correct)  <br />
<br />
> After executing the image in the board, we observed the below<br />
> 1) The device ID and manufacture Id was printed as "c0" and "c0" and the <br />
> error message "No NAND device found!!!". Does it mean it is not <br />
> accessing the NAND flash and the values read are junk one?<br />
> 2) Processor of the board doesn’t connect the Ready/Busy of the NAND <br />
> flash through the separate GPIO chip. I mean it is directly connected <br />
> from GPIO Port C of PIN 15 to the Ready/Busy PIN of the NAND flash. <br />
> Hence is it necessary to port the gpio specific functions like <br />
> gpio_request/gpio_free(specified in fsl_upm.c file), instead should we <br />
> need to configure the PIN par_io_config_pin() for configuration of the <br />
> PORT C with 15th PIN and set the data value using par_io_data_set() <br />
> (specified arch/powerpc/sysdev/qe_lib/qe_io.c)<br />
<br />
Have you tried pointing the "gpios" property at pin 15 of port C? The <br />
whole point of this abstraction is that these connections are described <br />
in the data, not in the code.<br />
>> Iam not sure how to specify the <gpios> in the mpc832x_rdb.dts for the pin 15 port C of the MPc8321E processor. Please help us on the same.<br />
Some reference which I made was mpc836x_rdk.dts file which mandates the GPIO controller, hence I felt not required(Correct me if Iam wrong)<br />
<br />
-Nanda<br />
<br><Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style="font-family:Verdana;font-size:11px;line-height:15px;"><TR><td><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A></td></TR></Table>