RE: [PATCH] i2c pca954x: support channel selection in sysfs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rodolfo,

Do I have problems with subscribing linux-i2c mailing list if my
messages are not published?

The need of setting and getting the channel out of the shell is for
debugging use only. Ok, if everything works properly, this is an
unessential attribute. I thought, maybe someone else is also interested,
so I _tried_ to publish this patch to Linux-i2c. Another reason, why
I've published this patch is, getting feedback from Linux community -
what is good, what is amiss, how implementation is better...

My plan is, loading adapters and devices on the basis of a flattened
device tree (Documentation/powerpc/booting-without-of.txt). At the time,
I don't know where to tackle this problem. Any hints for me?

Christian

-----Original Message-----
From: giometti@xxxxxxxxxxxx [mailto:giometti@xxxxxxxxxxxx] 
Sent: Saturday, August 15, 2009 9:37 AM
To: Herzig, Christian
Cc: linux-i2c@xxxxxxxxxxxxxxx; chris@xxxxxxxxxxx
Subject: Re: [PATCH] i2c pca954x: support channel selection in sysfs.

On Sat, Aug 15, 2009 at 01:10:19AM +0200, Christian Herzig wrote:
> I'm a newbie in kernel hacking, and also in programming. All
beginnings are difficult, so let's go ;-)
> 
> As groundwork i'll take the patches from Rodolfo Giometti
(git://git.enneenne.com/linux-i2c-mux).
> 
> My patch doesn't contains the last one from Rodolfo
(http://gitweb.enneenne.com/?p=linux-i2c-mux;a=commit;h=c597d7a621f705e6
d2a3db7a551655346872e46c). With Rodolfos patch, my kernel doesn't
compile anymore. In all probability, it's a mistake by my side.


I have to update my patches to the latest kernel as weel. :)

> I've added a channel attribute to pca954x driver, because i'd like
getting and setting the channel from userspace by the use of sysfs.

Why do you need it?

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti@xxxxxxxxxxxx
Linux Device Driver                          giometti@xxxxxxxx
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux