[PATCH 10/13] regulator: pv88090: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: c90456e36d9c ("regulator: pv88090: new regulator driver") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/pv88090-regul

[PATCH 09/13] regulator: pv88080: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: 99cf3af5e2d5 ("regulator: pv88080: new regulator driver") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/pv88080-regul

[PATCH 07/13] regulator: ltc3676: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: 37b918a034fe ("regulator: Add LTC3676 support") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/ltc3676.c | 10

[PATCH 13/13] regulator: wm831x ldo: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: d1c6b4fe668b ("regulator: Add WM831x LDO support") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/wm831x-ldo.c | 2 ++ 1 fi

[PATCH 05/13] regulator: lp8755: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: b59320cc5a5e ("regulator: lp8755: new driver for LP8755") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/lp8

[PATCH 08/13] regulator: pv88060: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: f307a7e9b7af ("regulator: pv88060: new regulator driver") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/pv88060-regul

[PATCH 02/13] regulator: da9062: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: 4068e5182ada ("regulator: da9062: DA9062 regulator driver") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/da9062-regul

[PATCH 06/13] regulator: ltc3589: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: 3eb2c7ecb7ea ("regulator: Add LTC3589 support") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/ltc3589.c | 10

[PATCH 01/13] regulator: da9055: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: f6130be652d0 ("regulator: DA9055 regulator driver") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/da9055-regulator.c | 2

[PATCH 03/13] regulator: da9063: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: 69ca3e58d178 ("regulator: da9063: Add Dialog DA9063 voltage regulators support.") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers

[PATCH 04/13] regulator: da9211: Fix notifier mutex lock warning

2019-03-05 Thread Steve Twiss
regulator_notifier_call_chain() when that function call is first made. The mutex can be controlled using the regulator_lock/unlock() API. Fixes: 1028a37daa14 ("regulator: da9211: new regulator driver") Suggested-by: Adam Thomson Signed-off-by: Steve Twiss --- drivers/regulator/da9211-regul

RE: [PATCH 000/100] rtc: remove cargo culted code

2018-03-02 Thread Steve Twiss
ted from other drivers Hi Alexandre, Acked for: rtc: da9063: stop validating rtc_time in .read_time rtc: da9052: stop validating rtc_time in .read_time rtc: da9055: stop validating rtc_time in .read_time Acked-by: Steve Twiss Agreed -- rtc_valid_tm() call is cargo cult for the above. (By

RE: [PATCH 000/100] rtc: remove cargo culted code

2018-03-02 Thread Steve Twiss
On 02 March 2018 08:57, Alexandre Belloni wrote: > To: Steve Twiss > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH 000/100] rtc: remove cargo culted code > > On 02/03/2018 at 08:46:48 +0000, Steve Twiss wrote: > > Hi Alexandre, > &g

[RESEND PATCH V5 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver

2017-02-02 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. A MODULE_DEVICE_TABLE() macro is added. If the PMIC's internal junction temperature rises above T_WARN (125 degC) an interrupt is issued. This T_WARN level is defin

[PATCH V1] mfd: da9053: ensure the FAULT_LOG is cleared during MFD driver probe

2016-07-06 Thread Steve Twiss
From: Steve Twiss The function da9052_clear_fault_log() is added to mitigate the case of persistent data being transferred between reboots. Clearance of any the persistent information within the DA9053 FAULT_LOG register must be completed during start-up so the fault-log does not continue with

[PATCH V1] regulator: da9210: addition of device tree support

2016-07-13 Thread Steve Twiss
From: Steve Twiss Addition of device tree support for DA9210. Two files are modified, the driver source file and the binding document. Updates for the regulator source file include an .of_match_table entry, node match checking in the probe() function for a compatible da9210 string, and a new

RE: [PATCH V1] regulator: da9210: addition of device tree support

2016-07-15 Thread Steve Twiss
On 14 July 2016 16:48, Mark Brown wrote: > To: Steve Twiss > Cc: DEVICETREE; LINUXKERNEL; Liam Girdwood; Mark Rutland; Rob Herring; > Support Opensource > Subject: Re: [PATCH V1] regulator: da9210: addition of device tree support > > On Wed, Jul 13, 2016 at 04:41:19PM +0100,

[PATCH V2] regulator: da9210: addition of device tree support

2016-07-15 Thread Steve Twiss
From: Steve Twiss Addition of device tree support for DA9210. Two files are modified, the driver source file and the binding document. Updates for the regulator source file include an .of_match_table entry and node match checking in the probe() function for a compatible da9210 string. Minor

RE: [RFC] regulator: da9052/53: da9052-i2c.txt binding document changes

2016-07-25 Thread Steve Twiss
On 22 July 2016 11:36, Steve Twiss wrote: > The binding file for DA9052/53 exists in the kernel and was originally > submitted by Ying-Chun Liu from Linaro way back in 2012. [...] > > git show 58d114b [...] > regulator names are added to the binding document but not used in the

[PATCH V1] documentation: da9052: Update regulator bindings names to match DA9052/53 DTS expectations

2016-07-25 Thread Steve Twiss
From: Steve Twiss Hi Mark, Buck and LDO binding name changes. The binding names for the regulators have been changed to match the current expectation from existing device tree source files. This fix rectifies the disparity between what currently exists in some .dts[i] board files and what is

[PATCH V3] MAINTAINERS: Add Dialog PMIC search terms for missing documentation and header files

2016-06-02 Thread Steve Twiss
From: Steve Twiss Dialog Semiconductor support would like to follow files by adding to the existing MAINTAINERS search terms. The update will allow us to follow files for PMIC documentation bindings and header files. The full list is: DT bindings - Documentation/devicetree/bindings/mfd/da9052

RE: [PATCH V2 08/10] watchdog: da9062/61: watchdog driver

2016-10-27 Thread Steve Twiss
On 26 October 2016 19:59 Guenter Roeck wrote: > On Wed, Oct 26, 2016 at 05:56:39PM +0100, Steve Twiss wrote: > > From: Steve Twiss > > > > +static const struct of_device_id da9062_compatible_id_table[] = { > > + { .compatible = "dlg,da9062-watchdog

RE: [PATCH V3 8/9] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-11-09 Thread Steve Twiss
n will also include a notify() function and any of these settings could be altered to match the application where appropriate. I've added a comment above these defined variables for the next code patch. > On 31/10/16 16:02, Steve Twiss wrote: > > From: Steve Twiss

RE: [PATCH V1 06/10] Documentation: dt: input: temperature driver

2016-10-11 Thread Steve Twiss
Hi, On 10 October 2016 14:37 Rob Herring wrote: > On Thu, Oct 06, 2016 at 09:43:30AM +0100, Steve Twiss wrote: > > From: Steve Twiss > > The subject is wrong. Copy/paste error -- I will fix that. > > Add binding information for DA9061 onkey. > > > > This pa

[PATCH V1 08/10] Documentation: dt: thermal: da9062/61 TJUNC temperature binding

2016-10-06 Thread Steve Twiss
From: Steve Twiss Device tree binding information for DA9062 and DA9061 thermal junction temperature monitor. Binding descriptions for the DA9061 and DA9062 thermal TJUNC supervisor device driver, using a single THERMAL_TRIP_HOT trip-wire and allowing for a configurable polling period for over

[PATCH V1 07/10] Documentation: dt: watchdog: da9062/61 Watchdog timer binding

2016-10-06 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9062 and DA9061 watchdog. Signed-off-by: Steve Twiss --- This patch applies against linux-next and v4.8 Hi, This patch depends on the acceptance of DA9061 watchdog driver: [PATCH V1 4/10] watchdog: da9061: watchdog driver Regards, Steve

[PATCH V1 06/10] Documentation: dt: input: temperature driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9061 onkey. This patch updates the compatible string "dlg,da9061-onkey" to support DA9061, removes ther reference to KEY_SLEEP (which the driver no longer supports) and fixes a typo in the example. Signed-off-by: Steve Twiss ---

[PATCH V1 09/10] Documentation: dt: mfd: da9062/61 MFD binding

2016-10-06 Thread Steve Twiss
From: Steve Twiss Extend existing DA9062 binding information to include the DA9061 PMIC for MFD core and regulators. Add a da9062-onkey link to the existing onkey binding file. Add a da9062-thermal link to the new temperature monitoring binding file found in [PATCH V1 8/10]. Delete the da9062

[PATCH V1 00/10] da9061: DA9061 driver submission

2016-10-06 Thread Steve Twiss
From: Steve Twiss This patch set adds support for the Dialog DA9061 Power Management IC. Support is made by altering the existing DA9062 device driver. In this patch set the following is provided: [PATCH V1 01/10] MFD core support [PATCH V1 02/10] BUCKs and LDOs [PATCH V1 03/10] Onkey [PATCH

[PATCH V1 05/10] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. If the PMIC's internal junction temperature rises above TEMP_WARN (125 degC) an interrupt is issued. This TEMP_WARN level is defined as the THERMAL_TRIP_HOT trip

[PATCH V1 10/10] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

2016-10-06 Thread Steve Twiss
From: Steve Twiss Hi, Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow files for device tree bindings and source code relating to input onkey drivers, chip thermal monitoring and watchdog timers. Signed-off-by: Steve Twiss

[PATCH V1 03/10] Input: da9061: onkey driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Support for the DA9061 onkey is added into the DA9063 onkey driver. The of_device_id match array is expanded to support "dlg,da9061-onkey" as a valid .compatible string. A new chip configuration register map listed in da9061_regs is added and linked to this d

[PATCH V1 01/10] mfd: da9061: MFD core support

2016-10-06 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a

[PATCH V1 02/10] regulator: da9061: BUCK and LDO regulator driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Regulator support for the DA9061 is added into the DA9062 regulator driver. The regulators for DA9061 differ from those of DA9062. A new DA9061 enumeration list for the LDOs and Bucks supported by this device is added. Regulator information added: the old regulator

[PATCH V1 04/10] watchdog: da9061: watchdog driver

2016-10-06 Thread Steve Twiss
From: Steve Twiss Support for the DA9061 watchdog is added into the DA9062 watchdog driver. The of_device_id match array is expanded to support "dlg,da9061-watchdog" as a valid .compatible string. A new watchdog_info structure is added and linked to this device tree compatible str

Re: [PATCH V1 04/10] watchdog: da9061: watchdog driver (RFC)

2016-10-06 Thread Steve Twiss
Hi Guenter, Thanks for your reply. On 06 October 2016 14:28, Guenter Roeck, wrote: > To: Steve Twiss; LINUX-KERNEL; LINUX-WATCHDOG; Wim Van Sebroeck > Subject: Re: [PATCH V1 04/10] watchdog: da9061: watchdog driver [...] > > @@ -180,6 +180,11 @@ static const struct w

RE: [PATCH V1 01/10] mfd: da9061: MFD core support

2016-10-06 Thread Steve Twiss
Hi, On 06 October 2016 11:38, Keerthy [mailto:a0393...@ti.com], wrote: > > regmap_config which lists the correct readble, writable and volatile > > /s/readble/readable Done [...] > > static struct resource da9062_core_resources[] = { > > DEFINE_RES_NAMED(DA9062_IRQ_VDD_WARN, 1, "VDD_WARN

RE: [PATCH V1 01/10] mfd: da9061: MFD core support

2016-10-07 Thread Steve Twiss
Hi, On 06 October 2016 17:34, Steve Twiss wrote: > On 06 October 2016 11:38, Keerthy [mailto:a0393...@ti.com], wrote: > > + int cell_num; > > No need of cell_num. > > > + cell_num = ARRAY_SIZE(da9061_devs); > > No need of the above assignment > >

RE: [PATCH V1 04/10] watchdog: da9061: watchdog driver (RFC)

2016-10-07 Thread Steve Twiss
On 06 October 2016 19:49, Guenter Roeck wrote: > Subject: Re: [PATCH V1 04/10] watchdog: da9061: watchdog driver (RFC) > > Hi Steve, [...] > On Thu, Oct 06, 2016 at 04:28:14PM +, Steve Twiss wrote: > > I am using the compatible string to pick a different configuratio

RE: [PATCH V1 05/10] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-10-07 Thread Steve Twiss
Hi, On 07 October 2016 06:29, Keerthy [mailto:a0393...@ti.com] wrote: > On Thursday 06 October 2016 02:13 PM, Steve Twiss wrote: > > From: Steve Twiss [...] > > + > > +static int da9062_thermal_get_trip_type(struct thermal_zone_device *z, > > +

RE: [PATCH V1 04/10] watchdog: da9061: watchdog driver (RFC)

2016-10-07 Thread Steve Twiss
On 07 October 2016 18:02, Guenter Roeck wrote: > > On 06 October 2016 19:49, Guenter Roeck wrote: > > > On Thu, Oct 06, 2016 at 04:28:14PM +0000, Steve Twiss wrote: > > > > I am using the compatible string to pick a different configuration > > > > .data blo

RE: [PATCH V1 04/10] watchdog: da9061: watchdog driver (RFC)

2016-10-07 Thread Steve Twiss
On 08 October 2016 01:22, Guenter Roeck wrote: > On 10/07/2016 04:35 PM, Dmitry Torokhov wrote: > > On Fri, Oct 07, 2016 at 06:01:23PM +0000, Steve Twiss wrote: > >> On 07 October 2016 18:02, Guenter Roeck wrote: > >> > >>>> On 06 October 2016 19:49, G

[PATCH V4 3/8] Documentation: devicetree: mfd: da9062/61 MFD binding

2016-11-14 Thread Steve Twiss
From: Steve Twiss Extend existing DA9062 binding information to include the DA9061 PMIC for MFD core and regulators. Add a da9062-onkey link to the existing onkey binding file. Add a da9062-thermal link to the new temperature monitoring binding file. Delete the da9062-watchdog section and

[PATCH V4 0/8] da9061: DA9061 driver submission

2016-11-14 Thread Steve Twiss
From: Steve Twiss This patch set adds support for the Dialog DA9061 Power Management IC. Support is made by altering the existing DA9062 device driver, where appropriate. In this patch set the following is provided: [PATCH V4 1/8] Binding for watchdog [PATCH V4 2/8] Binding for thermal

[PATCH V4 2/8] Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding

2016-11-14 Thread Steve Twiss
From: Steve Twiss Device tree binding information for DA9062 and DA9061 thermal junction temperature monitor. Binding descriptions for the DA9061 and DA9062 thermal TJUNC supervisor device driver, using a single THERMAL_TRIP_HOT trip-wire and allowing for a configurable polling period for over

[PATCH V4 8/8] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

2016-11-14 Thread Steve Twiss
From: Steve Twiss Hi, Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow files for device tree bindings and source code relating to input onkey drivers, chip thermal monitoring and watchdog timers. Signed-off-by: Steve Twiss

[PATCH V4 1/8] Documentation: devicetree: watchdog: da9062/61 watchdog timer binding

2016-11-14 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9062 and DA9061 watchdog. Example bindings for both DA9062 and DA9061 devices are added. For the DA9061 device, a fallback compatible line is added as a valid combination of compatible strings. The original binding for DA9062 (only) used to

[PATCH V4 6/8] watchdog: da9062/61: watchdog driver

2016-11-14 Thread Steve Twiss
From: Steve Twiss The of_device_id match array is added to support "dlg,da9062-watchdog" as a valid .compatible string. A MODULE_DEVICE_TABLE() macro is added. This patch assumes the use of a DA9062 fallback compatible string for the DTS to pick up the DA9062 device driver for us

[PATCH V4 5/8] regulator: da9061: BUCK and LDO regulator driver

2016-11-14 Thread Steve Twiss
From: Steve Twiss Regulator support for the DA9061 is added into the DA9062 regulator driver. The regulators for DA9061 differ from those of DA9062. A new DA9061 enumeration list for the LDOs and Bucks supported by this device is added. Regulator information added: the old regulator

[PATCH V4 4/8] mfd: da9061: MFD core support

2016-11-14 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a

[PATCH V4 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-11-14 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. A MODULE_DEVICE_TABLE() macro is added. If the PMIC's internal junction temperature rises above TEMP_WARN (125 degC) an interrupt is issued. This TEMP_WARN lev

[RFC V1] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-10-20 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. If the PMIC's internal junction temperature rises above TEMP_WARN (125 degC) an interrupt is issued. This TEMP_WARN level is defined as the THERMAL_TRIP_HOT trip

RE: [PATCH V2 05/10] mfd: da9061: MFD core support

2016-11-11 Thread Steve Twiss
On 11 November 2016 10:38, Lee Jones wrote: > > > +static struct resource da9061_core_resources[] = { > > + DEFINE_RES_NAMED(DA9061_IRQ_VDD_WARN, 1, "VDD_WARN", IORESOURCE_IRQ), > > +}; > > + > > +static struct resource da9061_regulators_resources[] = { > > + DEFINE_RES_NAMED(DA9061_IRQ_LDO_LI

[RESEND PATCH V4 4/8] mfd: da9061: MFD core support

2016-11-28 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a

[PATCH V3 5/9] mfd: da9061: MFD core support

2016-10-31 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a

[PATCH V3 3/9] Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding

2016-10-31 Thread Steve Twiss
From: Steve Twiss Device tree binding information for DA9062 and DA9061 thermal junction temperature monitor. Binding descriptions for the DA9061 and DA9062 thermal TJUNC supervisor device driver, using a single THERMAL_TRIP_HOT trip-wire and allowing for a configurable polling period for over

[PATCH V3 1/9] Documentation: devicetree: input: additions for da9061 onkey driver

2016-10-31 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9061 onkey. This patch updates the compatible string "dlg,da9061-onkey" to support DA9061, removes the reference to KEY_SLEEP (which the driver no longer supports) and fixes a typo in the example for DA9063. Supporting KEY_SLEEP w

[PATCH V3 6/9] regulator: da9061: BUCK and LDO regulator driver

2016-10-31 Thread Steve Twiss
From: Steve Twiss Regulator support for the DA9061 is added into the DA9062 regulator driver. The regulators for DA9061 differ from those of DA9062. A new DA9061 enumeration list for the LDOs and Bucks supported by this device is added. Regulator information added: the old regulator

[PATCH V3 4/9] Documentation: devicetree: mfd: da9062/61 MFD binding

2016-10-31 Thread Steve Twiss
From: Steve Twiss Extend existing DA9062 binding information to include the DA9061 PMIC for MFD core and regulators. Add a da9062-onkey link to the existing onkey binding file. Add a da9062-thermal link to the new temperature monitoring binding file. Delete the da9062-watchdog section and

[PATCH V3 9/9] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

2016-10-31 Thread Steve Twiss
From: Steve Twiss Hi, Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow files for device tree bindings and source code relating to input onkey drivers, chip thermal monitoring and watchdog timers. Signed-off-by: Steve Twiss

[PATCH V3 8/9] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-10-31 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. A MODULE_DEVICE_TABLE() macro is added. If the PMIC's internal junction temperature rises above TEMP_WARN (125 degC) an interrupt is issued. This TEMP_WARN lev

[PATCH V3 2/9] Documentation: devicetree: watchdog: da9062/61 watchdog timer binding

2016-10-31 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9062 and DA9061 watchdog. Example bindings for both DA9062 and DA9061 devices are added. For the DA9061 device, a fallback compatible line is added as a valid combination of compatible strings. The original binding for DA9062 (only) used to

[PATCH V3 7/9] watchdog: da9062/61: watchdog driver

2016-10-31 Thread Steve Twiss
From: Steve Twiss The of_device_id match array is added to support "dlg,da9062-watchdog" as a valid .compatible string. A MODULE_DEVICE_TABLE() macro is added. This patch assumes the use of a DA9062 fallback compatible string for the DTS to pick up the DA9062 device driver for us

[PATCH V3 0/9] da9061: DA9061 driver submission

2016-10-31 Thread Steve Twiss
From: Steve Twiss This patch set adds support for the Dialog DA9061 Power Management IC. Support is made by altering the existing DA9062 device driver, where appropriate. In this patch set the following is provided: [PATCH V3 1/9] Binding for onkey [PATCH V3 2/9] Binding for watchdog [PATCH V3

[PATCH V2 01/10] Documentation: devicetree: input: additions for da9061 onkey driver

2016-10-26 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9061 onkey. This patch updates the compatible string "dlg,da9061-onkey" to support DA9061, removes the reference to KEY_SLEEP (which the driver no longer supports) and fixes a typo in the example for DA9063. It also adds two new example

[PATCH V2 06/10] regulator: da9061: BUCK and LDO regulator driver

2016-10-26 Thread Steve Twiss
From: Steve Twiss Regulator support for the DA9061 is added into the DA9062 regulator driver. The regulators for DA9061 differ from those of DA9062. A new DA9061 enumeration list for the LDOs and Bucks supported by this device is added. Regulator information added: the old regulator

[PATCH V2 07/10] Input: da9061: onkey driver

2016-10-26 Thread Steve Twiss
From: Steve Twiss Copyright header is updated to add DA9061 in its description and the module description macro is extended to include DA9061. Minor change to the code, alters dev_dbg() statements to report a generic "PMIC" instead of DA9063. This device driver is compatible with DA90

[PATCH V2 00/10] da9061: DA9061 driver submission

2016-10-26 Thread Steve Twiss
From: Steve Twiss This patch set adds support for the Dialog DA9061 Power Management IC. Support is made by altering the existing DA9062 device driver, where appropriate. In this patch set the following is provided: [PATCH V2 01/10] Binding for onkey [PATCH V2 02/10] Binding for watchdog

[PATCH V2 02/10] Documentation: devicetree: watchdog: da9062/61 watchdog timer binding

2016-10-26 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9062 and DA9061 watchdog. Example bindings for both devices are added. The original binding for DA9062 (only) used to reside inside the Documentation/devicetree/bindings/mfd/da9062.txt MFD document. The da9062-watchdog section was deleted in that

[PATCH V2 10/10] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

2016-10-26 Thread Steve Twiss
From: Steve Twiss Hi, Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow files for device tree bindings and source code relating to input onkey drivers, chip thermal monitoring and watchdog timers. Signed-off-by: Steve Twiss

[PATCH V2 09/10] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-10-26 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. If the PMIC's internal junction temperature rises above TEMP_WARN (125 degC) an interrupt is issued. This TEMP_WARN level is defined as the THERMAL_TRIP_HOT trip

[PATCH V2 08/10] watchdog: da9062/61: watchdog driver

2016-10-26 Thread Steve Twiss
From: Steve Twiss The of_device_id match array is added to support "dlg,da9062-watchdog" as a valid .compatible string. The watchdog_info structure is linked to this device tree compatible string in the .data section. Extra code is added into the probe function to search-for and a

[PATCH V2 05/10] mfd: da9061: MFD core support

2016-10-26 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a

[PATCH V2 03/10] Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding

2016-10-26 Thread Steve Twiss
From: Steve Twiss Device tree binding information for DA9062 and DA9061 thermal junction temperature monitor. Binding descriptions for the DA9061 and DA9062 thermal TJUNC supervisor device driver, using a single THERMAL_TRIP_HOT trip-wire and allowing for a configurable polling period for over

[PATCH V2 04/10] Documentation: devicetree: mfd: da9062/61 MFD binding

2016-10-26 Thread Steve Twiss
From: Steve Twiss Extend existing DA9062 binding information to include the DA9061 PMIC for MFD core and regulators. Add a da9062-onkey link to the existing onkey binding file. Add a da9062-thermal link to the new temperature monitoring binding file found in [PATCH V2 03/10]. Delete the

RE: [PATCH V5 4/8] mfd: da9061: MFD core support

2017-01-04 Thread Steve Twiss
Hi Lee, On 04 January 2017 10:12, Lee Jones wrote: > Subject: Re: [PATCH V5 4/8] mfd: da9061: MFD core support > On Thu, 15 Dec 2016, Steve Twiss wrote: > > From: Steve Twiss [...] > > +static const struct of_device_id da9062_dt_ids[] = { > > + { .compatible = &qu

RE: [PATCH V2 09/10] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-12-15 Thread Steve Twiss
Hi Eduardo, Thank you for your review comments, On 30 November 2016 06:10, Eduardo Valentin wrote, > On Tue, Nov 29, 2016 at 11:11:59AM +0000, Steve Twiss wrote: > > On 29 November 2016 01:24, Eduardo Valentin, wrote: > > > On Wed, Oct 26, 2016 at 05:56:39PM +0100,

[PATCH V5 3/8] Documentation: devicetree: mfd: da9062/61 MFD binding

2016-12-15 Thread Steve Twiss
From: Steve Twiss Extend existing DA9062 binding information to include the DA9061 PMIC for MFD core and regulators. Add a da9062-onkey link to the existing onkey binding file. Add a da9062-thermal link to the new temperature monitoring binding file. Delete the da9062-watchdog section and

[PATCH V5 1/8] Documentation: devicetree: watchdog: da9062/61 watchdog timer binding

2016-12-15 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9062 and DA9061 watchdog. Example bindings for both DA9062 and DA9061 devices are added. For the DA9061 device, a fallback compatible line is added as a valid combination of compatible strings. The original binding for DA9062 (only) used to

[PATCH V5 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-12-15 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. A MODULE_DEVICE_TABLE() macro is added. If the PMIC's internal junction temperature rises above T_WARN (125 degC) an interrupt is issued. This T_WARN level is defin

[PATCH V5 0/8] da9061: DA9061 driver submission

2016-12-15 Thread Steve Twiss
From: Steve Twiss This patch set adds support for the Dialog DA9061 Power Management IC. Support is made by altering the existing DA9062 device driver, where appropriate. In this patch set the following is provided: [PATCH V5 1/8] Binding for watchdog [PATCH V5 2/8] Binding for thermal

[PATCH V5 8/8] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

2016-12-15 Thread Steve Twiss
From: Steve Twiss Hi, Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow files for device tree bindings and source code relating to input onkey drivers, chip thermal monitoring and watchdog timers. Signed-off-by: Steve Twiss

[PATCH V5 6/8] watchdog: da9062/61: watchdog driver

2016-12-15 Thread Steve Twiss
From: Steve Twiss The of_device_id match array is added to support "dlg,da9062-watchdog" as a valid .compatible string. A MODULE_DEVICE_TABLE() macro is added. This patch assumes the use of a DA9062 fallback compatible string for the DTS to pick up the DA9062 device driver for us

[PATCH V5 5/8] regulator: da9061: BUCK and LDO regulator driver

2016-12-15 Thread Steve Twiss
From: Steve Twiss Regulator support for the DA9061 is added into the DA9062 regulator driver. The regulators for DA9061 differ from those of DA9062. A new DA9061 enumeration list for the LDOs and Bucks supported by this device is added. Regulator information added: the old regulator

[PATCH V5 2/8] Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding

2016-12-15 Thread Steve Twiss
From: Steve Twiss Device tree binding information for DA9062 and DA9061 thermal junction temperature monitor. Binding descriptions for the DA9061 and DA9062 thermal TJUNC supervisor device driver, using a single THERMAL_TRIP_HOT trip-wire and allowing for a configurable polling period for over

[PATCH V5 4/8] mfd: da9061: MFD core support

2016-12-15 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a

RE: [PATCH V2 09/10] thermal: da9062/61: Thermal junction temperature monitoring driver

2016-11-29 Thread Steve Twiss
Hi Eduardo, Thanks for your response. On 29 November 2016 01:24, Eduardo Valentin, wrote: > On Wed, Oct 26, 2016 at 05:56:39PM +0100, Steve Twiss wrote: > > +config DA9062_THERMAL > > + tristate "DA9062/DA9061 Dialog Semiconductor thermal driver" > > + depend

RE: [PATCH V2 03/10] Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding

2016-11-29 Thread Steve Twiss
Hi Eduardo, On 29 November 2016 00:59, Eduardo Valentin, wrote: > On Wed, Oct 26, 2016 at 05:56:37PM +0100, Steve Twiss wrote: > > +Optional properties: > > + > > +- dlg,tjunc-temp-polling-period-ms : Specify the polling period, measured > > +in milliseconds,

[PATCH V6 1/7] Documentation: devicetree: watchdog: da9062/61 watchdog timer binding

2017-03-27 Thread Steve Twiss
From: Steve Twiss Add binding information for DA9062 and DA9061 watchdog. Example bindings for both DA9062 and DA9061 devices are added. For the DA9061 device, a fallback compatible line is added as a valid combination of compatible strings. The original binding for DA9062 (only) used to

[PATCH V6 2/7] Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding

2017-03-27 Thread Steve Twiss
From: Steve Twiss Device tree binding information for DA9062 and DA9061 thermal junction temperature monitor. Binding descriptions for the DA9061 and DA9062 thermal TJUNC supervisor device driver, using a single THERMAL_TRIP_HOT trip-wire and allowing for a configurable polling period for over

[PATCH V6 3/7] Documentation: devicetree: mfd: da9062/61 MFD binding

2017-03-27 Thread Steve Twiss
From: Steve Twiss Extend existing DA9062 binding information to include the DA9061 PMIC for MFD core and regulators. Add a da9062-onkey link to the existing onkey binding file. Add a da9062-thermal link to the new temperature monitoring binding file. Delete the da9062-watchdog section and

[PATCH V6 7/7] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

2017-03-27 Thread Steve Twiss
From: Steve Twiss Hi, Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow files for device tree bindings and source code relating to input onkey drivers, chip thermal monitoring and watchdog timers. Signed-off-by: Steve Twiss

[PATCH V6 4/7] mfd: da9061: MFD core support

2017-03-27 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a

[PATCH V6 0/7] da9061: DA9061 driver submission

2017-03-27 Thread Steve Twiss
From: Steve Twiss This patch set adds support for the Dialog DA9061 Power Management IC. Support is made by altering the existing DA9062 device driver, where appropriate. In this patch set the following is provided: [PATCH V5 1/8] Binding for watchdog [PATCH V5 2/8] Binding for thermal

[PATCH V6 5/7] regulator: da9061: BUCK and LDO regulator driver

2017-03-27 Thread Steve Twiss
From: Steve Twiss Regulator support for the DA9061 is added into the DA9062 regulator driver. The regulators for DA9061 differ from those of DA9062. A new DA9061 enumeration list for the LDOs and Bucks supported by this device is added. Regulator information added: the old regulator

[PATCH V6 6/7] thermal: da9062/61: Thermal junction temperature monitoring driver

2017-03-27 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. A MODULE_DEVICE_TABLE() macro is added. If the PMIC's internal junction temperature rises above T_WARN (125 degC) an interrupt is issued. This T_WARN level is defin

RE: [RESEND PATCH V5 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver

2017-03-27 Thread Steve Twiss
On 19 February 2017 01:40, Eduardo Valentin wrote: Hi Eduardo, My apologies in taking so long to reply. There were *no* problems with implementing your requests. See below. I will have sent these changes as PATCH V6. https://lkml.org/lkml/2017/3/27/253 Regards, Steve > To: Steve Tw

RE: [PATCH V3 5/9] mfd: da9061: MFD core support

2016-11-07 Thread Steve Twiss
On 02 November 2016 14:29, Lee Jones wrote: > On Mon, 31 Oct 2016, Steve Twiss wrote: > > From: Steve Twiss > > > > @@ -475,7 +855,25 @@ static int da9062_i2c_probe(struct i2c_client *i2c, > > return -EINVAL; > > } > > > >

RE: [PATCH V3 4/9] Documentation: devicetree: mfd: da9062/61 MFD binding

2016-11-07 Thread Steve Twiss
On 02 November 2016 14:32, Lee Jones wrote: > On Mon, 31 Oct 2016, Steve Twiss wrote: > > From: Steve Twiss > > > > [...] > > > > +- onkey : See ../input/da9062-onkey.txt > > + > > + > > +- watchdog: See ../watchdog/da9062-watchdog.txt

RE: [RESEND PATCH V5 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver

2017-02-20 Thread Steve Twiss
On 19 February 2017 01:40, Eduardo Valentin wrote: > Subject: Re: [RESEND PATCH V5 7/8] thermal: da9062/61: Thermal junction > temperature monitoring driver > > Steve, > > Apologize for the very late answer on your driver. I still have few > minor requests, please check then: > Hi Eduardo, No

<    1   2   3   4   5   >