RE: new driver for drivers/virt/?

2016-05-19 Thread Sell, Timothy C
linux- > d...@vger.kernel.org; driverdev-de...@linuxdriverproject.org; *S-Par- > Maintainer; Greg KH; Jes Sorensen > Subject: RE: new driver for drivers/virt/? > > > -Original Message- > > From: Thomas Gleixner [mailto:t...@linutronix.de] > > Sent: Wednesd

RE: new driver for drivers/virt/?

2016-05-18 Thread Sell, Timothy C
com; linux-kernel@vger.kernel.org; linux- > d...@vger.kernel.org; driverdev-de...@linuxdriverproject.org; *S-Par- > Maintainer; Jes Sorensen > Subject: Re: new driver for drivers/virt/? > > On Thu, May 19, 2016 at 12:11:46AM +0200, Thomas Gleixner wrote: > > On Wed, 18 May 2

RE: new driver for drivers/virt/?

2016-05-18 Thread Sell, Timothy C
ernel@vger.kernel.org; linux- > d...@vger.kernel.org; driverdev-de...@linuxdriverproject.org; *S-Par- > Maintainer; Greg KH; Jes Sorensen > Subject: Re: new driver for drivers/virt/? > > On Wed, 18 May 2016, Sell, Timothy C wrote: > > We have a bus driver currently in drivers/staging

Re: new driver for drivers/virt/?

2016-05-18 Thread Greg KH
On Thu, May 19, 2016 at 12:11:46AM +0200, Thomas Gleixner wrote: > On Wed, 18 May 2016, Sell, Timothy C wrote: > > We have a bus driver currently in drivers/staging/unisys/visorbus/ that > > we are trying to get out of staging and into the kernel proper. Since > > "visorbus" is a driver to host a

Re: new driver for drivers/virt/?

2016-05-18 Thread Thomas Gleixner
On Wed, 18 May 2016, Sell, Timothy C wrote: > We have a bus driver currently in drivers/staging/unisys/visorbus/ that > we are trying to get out of staging and into the kernel proper. Since > "visorbus" is a driver to host a virtual bus presented to a Linux guest > in a hypervisor environment (ref

Re: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2016-03-23 Thread Alexandre Belloni
Hi, On 23/03/2016 at 17:47:38 +, Opensource [Steve Twiss] wrote : > > On 23 March 2016, Alexandre Belloni wrote: > > > Subject: Re: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new > > > driver > > > > > > Hi Anthony, Steve, > > &g

RE: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2016-03-23 Thread Opensource [Steve Twiss]
> On 23 March 2016, Alexandre Belloni wrote: > > Subject: Re: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new > > driver > > > > Hi Anthony, Steve, > > > > This driver has been submitted a while ago and reached v6 but still had > > a few

RE: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2016-03-23 Thread Opensource [Steve Twiss]
On 23 March 2016, Alexandre Belloni wrote: > To: Opensource [Anthony Olech]; Opensource [Steve Twiss] > Subject: Re: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new > driver > > Hi Anthony, Steve, > > This driver has been submitted a while ago and reached v6

Re: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2016-03-22 Thread Alexandre Belloni
Hi Anthony, Steve, This driver has been submitted a while ago and reached v6 but still had a few comments. Do you still have some interest in seeing it being accepted? On 19/04/2013 at 17:56:29 +0100, Anthony Olech wrote : > This is submission attempt number 6 to have this driver included in > th

Re: new driver: w1_ds2406

2014-06-06 Thread g...@kroah.com
On Fri, Jun 06, 2014 at 10:35:29PM +0400, Evgeniy Polyakov wrote: > Hi everyone > > Greg, please pull this patch into the tree Will do after 3.16-rc1 is out, thanks. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ker

Re: new driver: w1_ds2406

2014-06-06 Thread Evgeniy Polyakov
Hi everyone Greg, please pull this patch into the tree 06.06.2014, 21:47, "Scott Alfter" : > On Thu, June 5, 2014 10:44, Evgeniy Polyakov wrote: >>  04.06.2014, 08:25, "Scott Alfter" : >>>  I have a project for which I needed support for the DS2406 addressable >>>  switch, so I started with an ex

Re: new driver: w1_ds2406

2014-06-06 Thread Scott Alfter
On Thu, June 5, 2014 10:44, Evgeniy Polyakov wrote: > 04.06.2014, 08:25, "Scott Alfter" : >> I have a project for which I needed support for the DS2406 addressable >> switch, so I started with an existing driver and modified it as needed. >> It allows the switch outputs to be controlled over the bu

RE: [NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver

2013-05-03 Thread Opensource [Anthony Olech]
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 03 May 2013 12:59 > To: Opensource [Anthony Olech] > Cc: Grant Likely; Linus Walleij; Mark Brown; LKML; Lee Jones > Subject: Re: [NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver &

Re: [NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver

2013-05-03 Thread Linus Walleij
On Tue, Apr 30, 2013 at 6:17 PM, Opensource [Anthony Olech] wrote: > [Me] >> > +struct da9058_gpio { >> > + struct da9058 *da9058; >> > + struct platform_device *pdev; >> > + struct gpio_chip gp; >> > + struct mutex lock; >> > + int irq_0; >> > + int irq_1; >>

RE: [NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver

2013-04-30 Thread Opensource [Anthony Olech]
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 24 April 2013 14:15 > To: Opensource [Anthony Olech] > Cc: Grant Likely; Linus Walleij; Mark Brown; LKML; David Dajun Chen; Lee Jones > Subject: Re: [NEW DRIVER V6 5/7] drivers/gpio:

Re: [NEW DRIVER V6 5/7] drivers/gpio: DA9058 GPIO driver

2013-04-24 Thread Linus Walleij
On Fri, Apr 19, 2013 at 6:56 PM, Anthony Olech wrote: > This patch is relative to next-20130419 of linux-next > > This is the GPIO component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE component driver of the DA90

Re: [NEW DRIVER V6 1/7] drivers/mfd: DA9058 MFD core driver

2013-04-23 Thread Mark Brown
On Tue, Apr 23, 2013 at 05:08:12AM +, Opensource [Anthony Olech] wrote: > > No, you're totally missing the point here. Your regulator driver needs > > to be generic and work on any machine using the device. This means you > > can't specify any constraints, the constraints need to come from t

RE: [NEW DRIVER V6 1/7] drivers/mfd: DA9058 MFD core driver

2013-04-22 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: 22 April 2013 14:34 > To: Opensource [Anthony Olech] > Cc: Samuel Ortiz; Arnd Bergmann; Mauro Carvalho Chehab; Steven Toth; > Michael Krufky; LKML; David Dajun Chen > Subject: Re: [NEW DRIVE

Re: [NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-21 Thread Guenter Roeck
rk Brown; Randy Dunlap; > > lm-sens...@lm-sensors.org; LKML; David Dajun Chen > > Subject: Re: [NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver > > On Fri, Apr 19, 2013 at 08:25:02PM +0200, Lars-Peter Clausen wrote: > > > Same comment as before, I'd like to s

RE: [NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-21 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 20 April 2013 18:35 > To: Lars-Peter Clausen > Cc: Opensource [Anthony Olech]; Jean Delvare; Mark Brown; Randy Dunlap; > lm-sens...@lm-sensors.org; LKML; David Dajun Chen > Subject: R

Re: [NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-20 Thread Guenter Roeck
On Fri, Apr 19, 2013 at 08:25:02PM +0200, Lars-Peter Clausen wrote: > Same comment as before, I'd like to see this using the generic IIO to HWMON > bridge instead of recreating it. > ... and I agree. Seems we are getting more and more of those, and at some point it makes really sense to find a gen

Re: [NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-19 Thread Lars-Peter Clausen
Same comment as before, I'd like to see this using the generic IIO to HWMON bridge instead of recreating it. On 04/19/2013 06:56 PM, Anthony Olech wrote: > This patch is relative to next-20130419 of linux-next > > This is the HWMON component driver of the Dialog DA9058 PMIC. > This driver is just

Re: [NEW DRIVER V6 2/7] drivers/iio/adc: DA9058 ADC driver

2013-04-19 Thread Lars-Peter Clausen
Same issues as in v5 plus one more ... On 04/19/2013 06:56 PM, Anthony Olech wrote: > This patch is relative to next-20130419 of linux-next > > This is the ADC component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC > driver. It depends on the DA9

Re: [NEW DRIVER V5 2/7] drivers/iio/adc: DA9058 ADC driver

2013-04-18 Thread Lars-Peter Clausen
Hi, Looks almost good. The patch subject prefix should be 'iio:adc:'. Different subsystems use different styles for the subject prefix, so it's always to run a short git log on the subsystems folder and take a look at what was used in the past. On 04/17/2013 06:33 PM, Anthony Olech wrote: > This

Re: [NEW DRIVER V5 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-17 Thread Guenter Roeck
On Wed, Apr 17, 2013 at 05:33:36PM +0100, Anthony Olech wrote: > This patch is relative to linux next-20130417 > > This is the HWMON component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE and ADC component drivers o

Re: [NEW DRIVER V5 7/7] drivers/regulator: DA9058 REGULATOR driver

2013-04-17 Thread Mark Brown
On Wed, Apr 17, 2013 at 05:33:37PM +0100, Anthony Olech wrote: > + reg->init.constraints.name = rpdata->regulator_name; > + reg->init.constraints.min_uv = rpdata->min_uv; > + reg->init.constraints.max_uv = rpdata->max_uv; > + reg->init.constraints.valid_ops_mask = rpdata->valid_ops

Re: [NEW DRIVER V5 1/7] drivers/mfd: DA9058 MFD core driver

2013-04-17 Thread Mark Brown
On Wed, Apr 17, 2013 at 05:33:33PM +0100, Anthony Olech wrote: > +static struct regulator_consumer_supply platform_vddarm_consumers[] = { > + {.supply = "vcc",} > +}; > + This looks very system specific and should be done by the system integration for the board not the MFD. > +static struct

Re: [NEW DRIVER V5 4/7] drivers/rtc: DA9058 RTC driver

2013-04-17 Thread Andrew Morton
On Wed, 17 Apr 2013 17:33:35 +0100 Anthony Olech wrote: > This patch is relative to linux next-20130417 > > This is the RTC component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE component driver of the DA9058 MF

Re: [NEW DRIVER V4 2/7] DA9058 ADC driver

2013-04-16 Thread Lars-Peter Clausen
On 04/16/2013 04:22 PM, Opensource [Anthony Olech] wrote: >> [...] >> please always test your drivers against the latest upstream version before >> submitting them. >> [...] > > Hi Lars, > > The driver was tested against linux mainline tag v3.9-rc6, because that was > the most recent > tagged c

Re: [NEW DRIVER V4 3/7] DA9058 ONKEY driver

2013-04-16 Thread Randy Dunlap
ric >> Andersson; Andrew Jones; linux-in...@vger.kernel.org; LKML; David Dajun Chen >> Subject: Re: [NEW DRIVER V4 3/7] DA9058 ONKEY driver >> >> On 04/12/13 06:05, Anthony Olech wrote: >>> This is the ONKEY component driver of the Dialog DA9058 PMIC. >>> T

RE: [NEW DRIVER V4 2/7] DA9058 ADC driver

2013-04-16 Thread Opensource [Anthony Olech]
> [...] > please always test your drivers against the latest upstream version before > submitting them. > [...] Hi Lars, The driver was tested against linux mainline tag v3.9-rc6, because that was the most recent tagged commit in git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 16 April 2013 14:36 > To: Opensource [Anthony Olech] > Cc: LKML > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver > > On Tue, Apr 16, 2013 at 09:17:27AM +, Opensource

Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-16 Thread Guenter Roeck
On Tue, Apr 16, 2013 at 09:17:27AM +, Opensource [Anthony Olech] wrote: > > -Original Message- > > From: Guenter Roeck [mailto:li...@roeck-us.net] > > Sent: 15 April 2013 18:46 > > To: Opensource [Anthony Olech] > > Cc: LKML > > Subject: Re: [NEW DR

RE: [NEW DRIVER V4 3/7] DA9058 ONKEY driver

2013-04-16 Thread Opensource [Anthony Olech]
; David Dajun Chen > Subject: Re: [NEW DRIVER V4 3/7] DA9058 ONKEY driver > > On 04/12/13 06:05, Anthony Olech wrote: > > This is the ONKEY component driver of the Dialog DA9058 PMIC. > > This driver is just one component of the whole DA9058 PMIC driver. > > It depends o

Re: [NEW DRIVER V4 0/7] DA9058 PMIC - please comment on this new driver

2013-04-16 Thread Mark Brown
On Tue, Apr 16, 2013 at 09:18:41AM +, Opensource [Anthony Olech] wrote: > The reason why they are separate is that they are probed with different data > structures and they use a different wrapper to access the "regmap" API. > However, that is not a blocking issue, but it would mean re-writing

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: 12 April 2013 14:27 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR

RE: [NEW DRIVER V4 0/7] DA9058 PMIC - please comment on this new driver

2013-04-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 12 April 2013 19:07 > To: Opensource [Anthony Olech] > Cc: LKML; Alessandro Zummo > Subject: Re: [NEW DRIVER V4 0/7] DA9058 PMIC - please comment on this new > driver > On Frid

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 15 April 2013 18:46 > To: Opensource [Anthony Olech] > Cc: LKML > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver > > On Mon, Apr 15, 2013 at 05:29:13PM +, Opensource

Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-15 Thread Guenter Roeck
On Mon, Apr 15, 2013 at 05:29:13PM +, Opensource [Anthony Olech] wrote: > > -Original Message- > > From: Guenter Roeck [mailto:li...@roeck-us.net] > > Sent: 15 April 2013 17:36 > > To: Opensource [Anthony Olech] > > Cc: LKML > > Subject: Re: [NEW DR

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-15 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 15 April 2013 17:36 > To: Opensource [Anthony Olech] > Cc: LKML > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver > > On Mon, Apr 15, 2013 at 03:00:58PM +, Opensource

Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-15 Thread Guenter Roeck
od; Jean Delvare; Randy Dunlap; LKML; David > > Dajun Chen > > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver > > > > On Fri, Apr 12, 2013 at 02:05:28PM +0100, Anthony Olech wrote: > > > This is the REGULATOR component driver of the Dialog DA9058 PMIC. &g

RE: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-15 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 12 April 2013 14:32 > To: Opensource [Anthony Olech] > Cc: Mark Brown; Liam Girdwood; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V4 7/7] DA9058 REGULAT

Re: [NEW DRIVER V4 6/7] DA9058 HWMON driver

2013-04-12 Thread Guenter Roeck
On Fri, Apr 12, 2013 at 05:53:48PM +0200, Lars-Peter Clausen wrote: > On 04/12/2013 03:05 PM, Anthony Olech wrote: > > This is the HWMON component driver of the Dialog DA9058 PMIC. > > This driver is just one component of the whole DA9058 PMIC driver. > > It depends on the CORE and ADC component dr

Re: [NEW DRIVER V4 5/7] DA9058 GPIO driver

2013-04-12 Thread Linus Walleij
On Fri, Apr 12, 2013 at 3:05 PM, Anthony Olech wrote: > This is the GPIO component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE component driver of the DA9058 MFD. > The meaning of the PMIC register 21 bits 1 and 5

Re: [NEW DRIVER V4 3/7] DA9058 ONKEY driver

2013-04-12 Thread Randy Dunlap
On 04/12/13 06:05, Anthony Olech wrote: > This is the ONKEY component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE component driver of the DA9058 MFD. > > Signed-off-by: Anthony Olech > Signed-off-by: David Dajun C

Re: [NEW DRIVER V4 0/7] DA9058 PMIC - please comment on this new driver

2013-04-12 Thread Dmitry Torokhov
On Friday, April 12, 2013 02:05:29 PM Anthony Olech wrote: > This is submission attempt number 4 to have this driver included in > the linux kernel source tree. This is the driver for the Dialog DA9058. > > The DA9058 is a low power Power Management Integrated Circuit with extra > functionality. I

Re: [NEW DRIVER V4 2/7] DA9058 ADC driver

2013-04-12 Thread Lars-Peter Clausen
On 04/12/2013 03:05 PM, Anthony Olech wrote: > This is the ADC component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC > driver. It depends on the DA9058 CORE component driver. > The HWMON component driver depends on this ADC component driver. > > T

Re: [NEW DRIVER V4 6/7] DA9058 HWMON driver

2013-04-12 Thread Lars-Peter Clausen
On 04/12/2013 03:05 PM, Anthony Olech wrote: > This is the HWMON component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE and ADC component drivers of the DA9058 MFD. > > Signed-off-by: Anthony Olech > Signed-off-by:

Re: [NEW DRIVER V4 6/7] DA9058 HWMON driver

2013-04-12 Thread Guenter Roeck
On Fri, Apr 12, 2013 at 02:05:28PM +0100, Anthony Olech wrote: > This is the HWMON component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE and ADC component drivers of the DA9058 MFD. > > Signed-off-by: Anthony Olech

Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-12 Thread Guenter Roeck
On Fri, Apr 12, 2013 at 02:05:28PM +0100, Anthony Olech wrote: > This is the REGULATOR component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE component driver of the DA9058 MFD. > > There are 6 warnings from scripts

Re: [NEW DRIVER V4 7/7] DA9058 REGULATOR driver

2013-04-12 Thread Mark Brown
On Fri, Apr 12, 2013 at 02:05:28PM +0100, Anthony Olech wrote: This looks good, I assume there's some dependencies on the MFD or other earlier patches so I won't apply it, let me know if there aren't any and I will: Acked-by: Mark Brown Please use subject lines reflecting the subsystem. > +sta

Re: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-18 Thread Mark Brown
On Mon, Sep 17, 2012 at 12:07:11PM +, Opensource [Anthony Olech] wrote: > > > Can you suggest a future proofed way of using the new regulator API > > > that would solve my problem? > > As I said you should set the voltage as part of the set voltage operation. > So I will have to write my own

RE: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 17 September 2012 12:33 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V3

Re: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Mark Brown
On Mon, Sep 17, 2012 at 11:23:54AM +, Opensource [Anthony Olech] wrote: > Can you suggest a future proofed way of using the new regulator API that > would solve my problem? As I said you should set the voltage as part of the set voltage operation. -- To unsubscribe from this list: send the li

RE: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 17 September 2012 12:16 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V3

Re: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Mark Brown
On Mon, Sep 17, 2012 at 10:49:22AM +, Opensource [Anthony Olech] wrote: > I thought that the set_voltage_sel = regulator_set_voltage_sel_regmap > callback first > set the target voltage, and that the set_voltage_time_sel = > da9058_buck_ramp_voltage > callback was called afterwards? > was I

RE: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 17 September 2012 11:40 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V3

Re: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Mark Brown
On Mon, Sep 17, 2012 at 10:29:43AM +, Opensource [Anthony Olech] wrote: > > Why is this function writing to the hardware, especially writing the same > > value > > every time? > the ramp_register is DA9058_SUPPLY_REG and it is marked as volitile. > Writing to the ramp enable bit starts the v

RE: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-09-17 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 27 August 2012 17:51 > To: Opensource [Anthony Olech] > Cc: Liam Girdwood; Guenter Roeck; Jean Delvare; Randy Dunlap; LKML; David > Dajun Chen > Subject: Re: [NEW DRIVER V3

Re: [NEW DRIVER V3 8/8] DA9058 REGULATOR driver

2012-08-27 Thread Mark Brown
On Wed, Aug 15, 2012 at 04:05:25PM +0100, Anthony Olech wrote: > +static int da9058_buck_ramp_voltage(struct regulator_dev *rdev, > + unsigned int old_selector, > + unsigned int new_selector) > +{ > + ret = da9058_set_bit

Re: [NEW DRIVER V3 3/8] DA9058 ONKEY driver

2012-08-21 Thread Dmitry Torokhov
On Wed, Aug 15, 2012 at 04:05:22PM +0100, Anthony Olech wrote: > This is the ONKEY component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE component driver of the DA9058 MFD. > > Signed-off-by: Anthony Olech > Signe

Re: [NEW DRIVER V3 1/8] DA9058 MFD core driver

2012-08-16 Thread Mark Brown
On Thu, Aug 16, 2012 at 11:34:56AM +, Opensource [Anthony Olech] wrote: Fix your mail configuration to word wrap at something less than 80 columns within paragraphs, your mails are currently extremely hard to read. > The only other interpretation of your comment is that the h/w IRQ line setup

RE: [NEW DRIVER V3 1/8] DA9058 MFD core driver

2012-08-16 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 15 August 2012 19:53 > To: Opensource [Anthony Olech] > Cc: Samuel Ortiz; Arnd Bergmann; Mauro Carvalho Chehab; Steven Toth; > Michael Krufky; LKML; David Dajun Chen > Subject:

Re: [NEW DRIVER V3 7/8] DA9058 HWMON driver

2012-08-15 Thread Guenter Roeck
On Wed, Aug 15, 2012 at 04:05:24PM +0100, Anthony Olech wrote: > This is the HWMON component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE and ADC component drivers of the DA9058 MFD. > If so, please state as depende

Re: [NEW DRIVER V3 1/8] DA9058 MFD core driver

2012-08-15 Thread Mark Brown
On Wed, Aug 15, 2012 at 04:05:21PM +0100, Anthony Olech wrote: > > if HAS_IOMEM > + > menu "Multifunction device drivers" This random change is still present from the first version > + /* > + * the init_board_irq() call-back function should be defined in > + * the machine d

Re: [NEW DRIVER V3 5/8] DA9058 RTC driver

2012-08-15 Thread Lars-Peter Clausen
On 08/15/2012 05:05 PM, Anthony Olech wrote: > This is the RTC component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the CORE component driver of the DA9058 MFD. How much is this one actually different from the da9052 rtc c

Re: [NEW DRIVER V3 2/8] DA9058 ADC driver

2012-08-15 Thread Lars-Peter Clausen
On 08/15/2012 05:05 PM, Anthony Olech wrote: > This is the ADC component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC > driver. It depends on the DA9058 CORE component driver. > The HWMON and BATTERY component drivers depend on this ADC > component

Re: [NEW DRIVER V2 5/7] DA9058 GPIO driver

2012-08-15 Thread Linus Walleij
On Wed, Aug 15, 2012 at 12:08 PM, Opensource [Anthony Olech] wrote: > [Me] >> > + if (offset > 1) >> > + return -EINVAL; >> So there are two GPIO pins, 0 and 1? That seems odd, but OK. > > That is a feature of the hardware. I believe that calling them "0" and > "1" is the corr

RE: [NEW DRIVER V2 5/7] DA9058 GPIO driver

2012-08-15 Thread Opensource [Anthony Olech]
> -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 13 August 2012 14:10 > To: Opensource [Anthony Olech] > Cc: Grant Likely; Linus Walleij; Mark Brown; LKML; David Dajun Chen; Samuel > Ortiz; Lee Jones > Subject: Re: [NEW DRIVER V2 5/

Re: [NEW DRIVER V2 5/7] DA9058 GPIO driver

2012-08-13 Thread Mark Brown
On Mon, Aug 13, 2012 at 03:09:31PM +0200, Linus Walleij wrote: > On Sun, Aug 5, 2012 at 10:43 PM, Anthony Olech > > +#include > If you're using regmap you better select it in Kconfig > too, but it appears you don't. You should be using regmap in the > main MFD driver in this case (I haven't look

Re: [NEW DRIVER V2 5/7] DA9058 GPIO driver

2012-08-13 Thread Linus Walleij
Hi Anthony, sorry for delayed reply... On Sun, Aug 5, 2012 at 10:43 PM, Anthony Olech wrote: > This is the GPIO component driver of the Dialog DA9058 PMIC. > This driver is just one component of the whole DA9058 PMIC driver. > It depends on the core DA9058 MFD driver. OK > +config GPIO_DA9058

RE: [NEW DRIVER V1 5/7] DA9058 GPIO driver

2012-08-08 Thread Opensource [Anthony Olech]
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 07 August 2012 18:15 > To: Opensource [Anthony Olech] > Cc: LKML > Subject: Re: [NEW DRIVER V1 5/7] DA9058 GPIO driver > On Mon, Aug 06, 2012 at 03:15:17PM +, Opensource [A

Re: [NEW DRIVER V1 5/7] DA9058 GPIO driver

2012-08-07 Thread Mark Brown
On Mon, Aug 06, 2012 at 03:15:17PM +, Opensource [Anthony Olech] wrote: > I do realize that REGMAP does locking on individual register accesses, > however, the each GPIO line is controlled by 4-bits in a register, with > the meaning of the most significant bit depending on the GPIO direction,

RE: [NEW DRIVER V2 1/7] DA9058 MFD core and ADC driver

2012-08-07 Thread Opensource [Anthony Olech]
al Message- From: Venu Byravarasu [mailto:vbyravar...@nvidia.com] Sent: 06 August 2012 09:38 To: Opensource [Anthony Olech]; Samuel Ortiz Cc: Mark Brown; Arnd Bergmann; Mauro Carvalho Chehab; Steven Toth; Michael Krufky; LKML; David Dajun Chen Subject: RE: [NEW DRIVER V2 1/7] DA9058 MFD core and

RE: [NEW DRIVER V1 5/7] DA9058 GPIO driver

2012-08-06 Thread Opensource [Anthony Olech]
why a driver mutex is required in addition to the regmap's register access mutex Tony Olech -Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: 02 August 2012 11:20 To: Opensource [Anthony Olech] Cc: LKML Subject: Re: [NEW DRIVER V1 5/7] DA9058 GPIO d

Re: [NEW DRIVER V2 7/7] DA9058 REGULATOR driver

2012-08-06 Thread Mark Brown
On Sun, Aug 05, 2012 at 09:43:44PM +0100, Anthony Olech wrote: > This is the REGULATOR component driver of the Dialog DA9058 PMIC. Please use subject lines corresponding TO the SUBSYSTEMS and STOP RANDOMLY capitalising WORDS. > +static int da9058_buck_ramp_voltage(struct regulator_dev *rdev, > +

Re: [NEW DRIVER V2 1/7] DA9058 MFD core and ADC driver

2012-08-06 Thread Mark Brown
On Sun, Aug 05, 2012 at 09:43:42PM +0100, Anthony Olech wrote: > @@ -3,6 +3,7 @@ > # > > if HAS_IOMEM > + > menu "Multifunction device drivers" Hrm? > +static int da9058_automatic_adc_conversion(struct da9058 *da9058, > + const int channel, int *value) > +{ I se

RE: [NEW DRIVER V2 4/7] DA9058 RTC driver

2012-08-06 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Anthony Olech > Sent: Monday, August 06, 2012 2:14 AM > To: Andrew Morton > Cc: Mark Brown; Paul Gortmaker; Samuel Ortiz; Alessandro Zummo; rtc- > li...@googlegroups.

RE: [NEW DRIVER V2 1/7] DA9058 MFD core and ADC driver

2012-08-06 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Anthony Olech > Sent: Monday, August 06, 2012 2:14 AM > To: Samuel Ortiz > Cc: Mark Brown; Arnd Bergmann; Mauro Carvalho Chehab; Steven Toth; > Michael Krufky; LKML; D

Re: [NEW DRIVER V1 0/7] please comment on this new PMIC driver

2012-08-03 Thread Andi Shyti
Hi Tony, > for your very helpful comments on all on the patches in this first submission > attempt, I will digest and regurgitate a second attempt as soon as I can. once you have digested and regurgitated :), you could also split the patchset in smaller patches, I would say at least one patch pe

Re: [NEW DRIVER V1 4/7] DA9058 RTC driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:56AM +0100, Anthony Olech wrote: > -comment "I2C RTC drivers" > - depends on I2C > - > -if I2C > - > config RTC_DRV_88PM860X > tristate "Marvell 88PM860x" > depends on RTC_CLASS && I2C && MFD_88PM860X > @@ -135,6 +130,21 @@ config RTC_DRV_88PM860X >

RE: [NEW DRIVER V1 0/7] please comment on this new PMIC driver

2012-08-02 Thread Opensource [Anthony Olech]
August 2012 11:17 To: Opensource [Anthony Olech] Cc: LKML Subject: Re: [NEW DRIVER V1 0/7] please comment on this new PMIC driver On Thu, Aug 02, 2012 at 09:48:58AM +0100, Anthony Olech wrote: > This is submission attempt number 1 to have this driver included in > the linux kernel source tree. T

Re: [NEW DRIVER V1 7/7] DA9058 REGULATOR driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:58AM +0100, Anthony Olech wrote: Overall the big issue here is that the driver isn't making much use of framework features, there should be a *lot* less code here. > +static unsigned int da9058_regulator_val_to_mvolts(unsigned int val, > +

Re: [NEW DRIVER V1 5/7] DA9058 GPIO driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:57AM +0100, Anthony Olech wrote: > + mutex_lock(&gpio->lock); > + ret = da9058_reg_read(da9058, DA9058_STATUSC_REG, &gpio_level); > + mutex_unlock(&gpio->lock); regmap already does locking for you. > + ret = da9058_reg_read(da9058, DA9058_GPIO0001_RE

Re: [NEW DRIVER V1 0/7] please comment on this new PMIC driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:58AM +0100, Anthony Olech wrote: > This is submission attempt number 1 to have this driver included in > the linux kernel source tree. This is the driver for the Dialog DA9058. I just noticed that you haven't CCed the maintainers for most of this stuff on your patches

Re: [NEW DRIVER V1 1/7] DA9058 MFD core and ADC driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:55AM +0100, Anthony Olech wrote: > +#if 0 > + return regmap_bulk_read(da9058->regmap, reg, val, val_count); > +#else > + int ret = regmap_bulk_read(da9058->regmap, reg, val, val_count); > + return ret; > +#endif This shouldn't be going into mainline... >

Re: New driver for FarSite synchronous cards

2001-04-23 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: > > Hi, > > I've just completed the first draft of a new device driver for the FarSite > Communications, FarSync T2P and T4P cards. These cards are intelligent > synchronous serial cards supporting 2 or 4 ports running at up to 8Mbps with > X.21, V.35 or V.24 signalling

Re: New driver

2000-12-28 Thread Pixel
> > On Thu, 28 Dec 2000 22:19:37 +0100 (CET), > [EMAIL PROTECTED] wrote: > >I wanted to share what I've done but since I'm very new to kernel hacking > >I don't know what to do with my patch. Could you give me some hints? > > linux/Documentation/SubmittingPatches > Ok. Since it's a new catego

Re: New driver

2000-12-28 Thread Keith Owens
On Thu, 28 Dec 2000 22:19:37 +0100 (CET), [EMAIL PROTECTED] wrote: >I wanted to share what I've done but since I'm very new to kernel hacking >I don't know what to do with my patch. Could you give me some hints? linux/Documentation/SubmittingPatches - To unsubscribe from this list: send the lin

Re: [NEW DRIVER] firestream

2000-11-23 Thread Rogier Wolff
Bartlomiej Zolnierkiewicz wrote: > You may also consider processing firestream.[ch] through indent because > spacing is inconsistent - sometimes tabs, sometimes 8*space (it would > be nice too have tabs everywhere). As far as I know the tabs/spaces are exactly the way I want them. There are tab

Re: [NEW DRIVER] firestream

2000-11-23 Thread Bartlomiej Zolnierkiewicz
Hi! Just a few hints on __init/__exit stuff... On Wed, 22 Nov 2000, Patrick van de Lageweg wrote: > +struct reginit_item PHY_NTC_INIT[] = { Can be marked __initdata > +void undocumented_pci_fix (struct pci_dev *pdev) Can be marked __init > +void write_phy (struct fs_dev *dev, int regnum, i

Re: [NEW DRIVER] firestream

2000-11-23 Thread Rogier Wolff
Peter Samuelson wrote: > > [Rogier Wolff] > > > > +MODULE_PARM(fs_debug, "i"); > > > > > > There's no reason to wrap these "MODULE_PARM"s inside an "#ifdef MODULE". > > anymore in 2.4 >^^^2.2 > > Verified in 2.2.0 (the oldest tree I hav

Re: [NEW DRIVER] firestream

2000-11-23 Thread Peter Samuelson
[Rogier Wolff] > > > +MODULE_PARM(fs_debug, "i"); > > > > There's no reason to wrap these "MODULE_PARM"s inside an "#ifdef MODULE". > anymore in 2.4 ^^^2.2 Verified in 2.2.0 (the oldest tree I have). Peter - To unsubscribe from this lis

Re: [NEW DRIVER] firestream

2000-11-23 Thread Werner Almesberger
Mitchell Blank Jr wrote: > * I don't like header files that define the registers of the chip - since > the header file is only included in the driver's .c For a non-hypothetical case why it makes sense to have such things in their own header file: if you dig out some older versions of the A

Re: [NEW DRIVER] firestream

2000-11-23 Thread Rogier Wolff
Mitchell Blank Jr wrote: > > +MODULE_PARM(fs_debug, "i"); > > There's no reason to wrap these "MODULE_PARM"s inside an "#ifdef MODULE". anymore in 2.4 OK. > > +#define MIN(a,b) (((a)<(b))?(a):(b)) > > You don't seem to ever use this definition. H. Used to though..

Re: [NEW DRIVER] firestream

2000-11-23 Thread Vojtech Pavlik
On Thu, Nov 23, 2000 at 09:22:09AM +0100, Rogier Wolff wrote: > Peter Samuelson wrote: > > > > +int loopback = 0; > > > +int fs_debug = 0; > > > +struct fs_dev *fs_boards = NULL; > > > Aside from the 'static' issue already mentioned, these should be left > > uninitialized. ('gcc -fassume-bss-z

Re: [NEW DRIVER] firestream

2000-11-23 Thread Peter Samuelson
[Rogier Wolff <[EMAIL PROTECTED]>] > However, if my code assumes that the compiler needs to initialize the kernel > variable one way or another, I want to put in the initialization, > even if that means an "= 0;" which is already the default. Well,

Re: [NEW DRIVER] firestream

2000-11-23 Thread Rogier Wolff
Peter Samuelson wrote: > > +int loopback = 0; > > +int fs_debug = 0; > > +struct fs_dev *fs_boards = NULL; > Aside from the 'static' issue already mentioned, these should be left > uninitialized. ('gcc -fassume-bss-zero' would be nice, but then again > in userspace it rarely matters.) Hi Pete

Re: [NEW DRIVER] firestream

2000-11-22 Thread Peter Samuelson
[Patrick van de Lageweg] > diff -u -r --new-file linux-2.4.0-test11.clean/drivers/atm/firestream.c >linux-2.4.0-test11.fs50+atmrefcount/drivers/atm/firestream.c Since you are submitting in the form of a source patch, you ought to include the relevent bits of drivers/atm/Makefile drivers/at

Re: [NEW DRIVER] firestream

2000-11-22 Thread Jeff Garzik
Jes Sorensen wrote: > I think the most important issue is when doing header files to make > sure they go with the driver code and not in include/linux unless > there really is a reason to expose them to user space. No reason to > export register definitions for Ethernet cards down there. Agreed,

  1   2   >