Re: [RFC PATCH 3/3] i2c: show and change bus frequency via sysfs

2014-10-14 Thread Octavian Purdila
On Tue, Oct 14, 2014 at 4:53 AM, Mark Roszko wrote: > > > If this limitations exists > >they are not introduced by this patch. This patch just exposes the > >frequency so that it can be read or changed in userspace. > > Ah, well right now you can have an i2c bus with driver 1 and 2. Say > the i2c

Re: [RFC PATCH 3/3] i2c: show and change bus frequency via sysfs

2014-10-13 Thread Mark Roszko
> If this limitations exists >they are not introduced by this patch. This patch just exposes the >frequency so that it can be read or changed in userspace. Ah, well right now you can have an i2c bus with driver 1 and 2. Say the i2c bus is configured for 60khz in kernel space which normally can't b

Re: [RFC PATCH 3/3] i2c: show and change bus frequency via sysfs

2014-10-13 Thread Octavian Purdila
On Sun, Oct 12, 2014 at 8:06 PM, Guenter Roeck wrote: > On Sun, Oct 12, 2014 at 12:32:56PM +0300, Octavian Purdila wrote: >> On Sat, Oct 11, 2014 at 11:14 PM, Mark Roszko wrote: >> >> > This seems limiting to arches with peripherals that can support a range of >> > frequencies rather than fixed n

Re: [RFC PATCH 3/3] i2c: show and change bus frequency via sysfs

2014-10-12 Thread Guenter Roeck
On Sun, Oct 12, 2014 at 12:32:56PM +0300, Octavian Purdila wrote: > On Sat, Oct 11, 2014 at 11:14 PM, Mark Roszko wrote: > > > This seems limiting to arches with peripherals that can support a range of > > frequencies rather than fixed numbers. > > Also it creates some portability quirkiness betw

Re: [RFC PATCH 3/3] i2c: show and change bus frequency via sysfs

2014-10-12 Thread Octavian Purdila
On Sat, Oct 11, 2014 at 11:14 PM, Mark Roszko wrote: > This seems limiting to arches with peripherals that can support a range of > frequencies rather than fixed numbers. > Also it creates some portability quirkiness between platforms when all the > i2c bus drivers have different supported freq l