linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Manuel Stahl <manuel.stahl-GeUHRtUQU7nSyEMIgutvibNAH6kLmebB@public.gmane.org>
To: changgx <changgx-9Onoh4P/yGk@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: about sc16is7x2 drivier
Date: Tue, 14 Dec 2010 11:12:12 +0100	[thread overview]
Message-ID: <4D0742FC.30403@iis.fraunhofer.de> (raw)
In-Reply-To: <4D05B269.1C890F.09519-Qw2Xm1po45t0mzObsfW3tA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2454 bytes --]

Hello Kathy,

this problem has been reported several times now. I'm still not sure
where the error is located. Please CC your mail related to sc16is7x2
also to the serial and spi kernel mailing lists.

Regards,
Manuel Stahl

On 13.12.2010 06:43, changgx wrote:
>     hello,manuel.stahl:
> 
>     excuse me!!
> 
>     I found the sc16is7x2.c driver provided by you on the internet the
>     other day. And I explante it to my board.
> 
>     My develop environment is about :CPU for AT91SAM9260 and kennel for
>     linux-2.6.27.
> 
>     But I found some questions in debugging.
> 
>     In the function of sc16is7x2_startup( ), i add the sentence to read
>     register value after sc16is7x2_spi_async(ts->spi, cmds, 8) sentence
>     and i find that the return value is always 0xff.
> 
>     for example:
> 
>     int uier1,uier2;
> 
>     uier1 = sc16is7x2_read(ts->spi, UART_IER,ch);
>     SC16_PRINTK("+++++++++++++++++++++> %s :%d UART_IER = %x
>     \n",__func__,__LINE__,uier1);
>     uier2 = sc16is7x2_read(ts->spi, UART_IER,ch);
>     SC16_PRINTK("+++++++++++++++++++++> %s :%d UART_IER = %x
>     \n",__func__,__LINE__,uier2);
> 
>     the print result:
> 
>     +++++++++++++++++++++> sc16is7x2_startup : 512 UART_IER = ff
>     +++++++++++++++++++++> sc16is7x2_startup : 515 UART_IER = 0
> 
>     The results is that the first time is 0xff, the secend is 0.
> 
>     And it is same to read other register.
> 
>     please give me some advice for this question.
> 
>     ps: thank you very much for your open souce and look forward to your
>     email.
> 
>     thanks!
> 
>     kathy chang
> 
>     2010-12-13
> 
>     ------------------------------------------------
> 
>     Email:changgx-9Onoh4P/yGk@public.gmane.org <mailto:changgx-9Onoh4P/yGk@public.gmane.org>
> 
>     ------------------------------------------------
> 
> 
> 
> = = = = = = = = = = = = = = = = = = = =
>         致
> 礼!
> changgx
> changgx-9Onoh4P/yGk@public.gmane.org <mailto:changgx-9Onoh4P/yGk@public.gmane.org>
> 2010-12-13
>               


-- 
Manuel Stahl
Fraunhofer-Institut IIS
Leistungsoptimierte Systeme

Nordostpark 93
D90411 Nürnberg
Telefon  +49 (0)911/58061-6419
Fax      +49 (0)911/58061-6398
E-Mail   manuel.stahl-GeUHRtUQU7nSyEMIgutvibNAH6kLmebB@public.gmane.org

http://www.iis.fraunhofer.de
http://www.smart-power.fraunhofer.de

[-- Attachment #2: Type: text/plain, Size: 290 bytes --]

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d

[-- Attachment #3: Type: text/plain, Size: 210 bytes --]

_______________________________________________
spi-devel-general mailing list
spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

       reply	other threads:[~2010-12-14 10:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4D05B269.1C890F.09519@m12-11.163.com>
     [not found] ` <4D05B269.1C890F.09519-Qw2Xm1po45t0mzObsfW3tA@public.gmane.org>
2010-12-14 10:12   ` Manuel Stahl [this message]
     [not found] <4D0F1B6A.0A69AA.31769@m50-133.163.com>
2010-12-20  9:09 ` Fw: about sc16is7x2 drivier Manuel Stahl
2010-12-20 10:03   ` Manuel Stahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D0742FC.30403@iis.fraunhofer.de \
    --to=manuel.stahl-geuhrtuqu7nsyemigutvibnah6klmebb@public.gmane.org \
    --cc=changgx-9Onoh4P/yGk@public.gmane.org \
    --cc=linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).