[LinuxPPS] ARM GPSPPS

Rodolfo Giometti giometti at enneenne.com
Wed Nov 10 13:44:28 CET 2010


On Wed, Nov 10, 2010 at 05:31:50PM +0530, driver init wrote:

>                I am new to PPS ,I am working arm SOC + GPS PPS,I went through 
>    Doc Readme file and wiki, I am trying to write the client char driver to   
>    sync upwith GPS PPS,I went through ktime,Now the real world example during 
>    pps registration  in struct linuxpps_source_info_s ,path as /dev/gps0      
>                                                                               
>                                                                               
>    My Question's:                                                             
>    1. How do I read the GPSPPS(using readl()),if there is support for GPIO    
>    can use it.                                                                

In userland you should read PPS events by using the PPS API. See how
ntpd does.

On Wed, Nov 10, 2010 at 05:45:54PM +0530, driver init wrote:

>             sorry I missed on more point with does in need do dynamic memory  
>    map(ioremap() ,Base address + offset) ,Need help.                          

Are you talking about the kernel? In this case you need writing a PPS
client for your hardware. See pps_ktimer example.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti at enneenne.com
Linux Device Driver                          giometti at linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it



More information about the LinuxPPS mailing list