On 21 June 2016 23:30, Rafael J. Wysocki wrote:
> > This patch set converts the da7219 codec driver to use device/fwnode
> > functions
> > to access properties, instead of the DT only of_* functions, allowing ACPI
> > to be used as well.
> >
> > The DT bindings for da7219 have a device node for
On 21 June 2016 23:30, Rafael J. Wysocki wrote:
> > This patch set converts the da7219 codec driver to use device/fwnode
> > functions
> > to access properties, instead of the DT only of_* functions, allowing ACPI
> > to be used as well.
> >
> > The DT bindings for da7219 have a device node for
21 June 2016 12:42, Rafael J. Wysocki wrote:
> > > +static inline bool acpi_data_node_match(struct fwnode_handle *fwnode,
> > > + const char *name)
> > > +{
> > > + return is_acpi_data_node(fwnode) ?
> > > + (!strcasecmp(to_acpi_data_node(fwnode)->name,
21 June 2016 12:42, Rafael J. Wysocki wrote:
> > > +static inline bool acpi_data_node_match(struct fwnode_handle *fwnode,
> > > + const char *name)
> > > +{
> > > + return is_acpi_data_node(fwnode) ?
> > > + (!strcasecmp(to_acpi_data_node(fwnode)->name,
On 20 June 2016 12:39, Adam Thomson wrote:
> For device nodes in both DT and ACPI, it possible to have named
> child nodes which contain properties (an existing example being
> gpio-leds). This adds a function to find a named child node for
> a device which can be used by drivers for property
On 20 June 2016 12:39, Adam Thomson wrote:
> For device nodes in both DT and ACPI, it possible to have named
> child nodes which contain properties (an existing example being
> gpio-leds). This adds a function to find a named child node for
> a device which can be used by drivers for property
On 16 June 2016 02:15, Xing Zheng wrote:
> >> + /* Enable Headset and 4 Buttons Jack detection */
> >> + ret = snd_soc_card_jack_new(rtd->card, "Headset Jack",
> >> + SND_JACK_HEADSET |
> > Should this also include SND_JACK_LINEOUT? da7219
On 16 June 2016 02:15, Xing Zheng wrote:
> >> + /* Enable Headset and 4 Buttons Jack detection */
> >> + ret = snd_soc_card_jack_new(rtd->card, "Headset Jack",
> >> + SND_JACK_HEADSET |
> > Should this also include SND_JACK_LINEOUT? da7219
On 13 June 2016 20:33, Frank Rowand wrote:
> > DT node names are case insensitive. The of.h header does provide a helper
> > macro
> > which is equivalent to this, but that macro is part of the '#ifdef
> > CONFIG_OF'
> > block. If I were to use it then it would cause non-DT builds to fail. I
>
On 13 June 2016 20:33, Frank Rowand wrote:
> > DT node names are case insensitive. The of.h header does provide a helper
> > macro
> > which is equivalent to this, but that macro is part of the '#ifdef
> > CONFIG_OF'
> > block. If I were to use it then it would cause non-DT builds to fail. I
>
On 13 June 2016 09:47, Mark Brown wrote:
> > That's strange. I'm not a subscriber to that mailing list, but I assume that
> > shouldn't matter here? Strangely though the only mailing list these seem to
> > have
> > made it to is the ALSA one. :( Will see if I can find out why as I've not
> >
On 13 June 2016 09:47, Mark Brown wrote:
> > That's strange. I'm not a subscriber to that mailing list, but I assume that
> > shouldn't matter here? Strangely though the only mailing list these seem to
> > have
> > made it to is the ALSA one. :( Will see if I can find out why as I've not
> >
On 10 June 2016 11:16, Adam Thomson wrote:
> This patch set updates the driver to use generic device property & fwnode
> related functions to read in either DT and ACPI data for driver
> initialisation.
>
> Changes are based on v4.6-rc6 Linux Kernel.
>
> Adam Thomson (3):
> ASoC: da7219:
On 10 June 2016 11:16, Adam Thomson wrote:
> This patch set updates the driver to use generic device property & fwnode
> related functions to read in either DT and ACPI data for driver
> initialisation.
>
> Changes are based on v4.6-rc6 Linux Kernel.
>
> Adam Thomson (3):
> ASoC: da7219:
On 10 June 2016 00:11, Rafael J. Wysocki wrote:
> For some reason that didn't make it into the linux-acpi list, or at
> least I can't see it there.
That's strange. I'm not a subscriber to that mailing list, but I assume that
shouldn't matter here? Strangely though the only mailing list these
On 10 June 2016 00:11, Rafael J. Wysocki wrote:
> For some reason that didn't make it into the linux-acpi list, or at
> least I can't see it there.
That's strange. I'm not a subscriber to that mailing list, but I assume that
shouldn't matter here? Strangely though the only mailing list these
On May 06, 2016, 17:06, Mark Brown wrote:
> No, not really - your DT is fairly unusual in how it's done and the lack
> of ACPI helpers is not a good sign on that side. The _DSD things are
> really only supposed to work for simple properties on devices.
It's unusual in that there's a child node
On May 06, 2016, 17:06, Mark Brown wrote:
> No, not really - your DT is fairly unusual in how it's done and the lack
> of ACPI helpers is not a good sign on that side. The _DSD things are
> really only supposed to work for simple properties on devices.
It's unusual in that there's a child node
On May 06, 2016, 13:39, Mark Brown wrote:
> > @@ -27,7 +28,6 @@
> > #include "da7219.h"
> > #include "da7219-aad.h"
> >
> > -
> > /*
> > * Detection control
> > */
>
> Random whitespace change.
Fair point. Will sort it.
>
> > static struct fwnode_handle
On May 06, 2016, 13:39, Mark Brown wrote:
> > @@ -27,7 +28,6 @@
> > #include "da7219.h"
> > #include "da7219-aad.h"
> >
> > -
> > /*
> > * Detection control
> > */
>
> Random whitespace change.
Fair point. Will sort it.
>
> > static struct fwnode_handle
On May 06, 2016, 13:27, Mark Brown wrote:
> > This change converts the driver from using the of_* functions to using
> > the device_* and fwnode_* functions for accssing DT related data.
> > This is in preparation for updates to support ACPI based initialisation.
>
> Is this *really* sensible?
On May 06, 2016, 13:27, Mark Brown wrote:
> > This change converts the driver from using the of_* functions to using
> > the device_* and fwnode_* functions for accssing DT related data.
> > This is in preparation for updates to support ACPI based initialisation.
>
> Is this *really* sensible?
On May 06, 2016, 13:03, Mark Brown wrote:
> > This patch was the 3rd in of a set of 3, and the header you added below was
> > added as part of the 2nd patch of that set, hence why it is missing here. I
> > assume the first 2 patches are still being reviewed by Mark.
>
> Yes. The ID patch should
On May 06, 2016, 13:03, Mark Brown wrote:
> > This patch was the 3rd in of a set of 3, and the header you added below was
> > added as part of the 2nd patch of that set, hence why it is missing here. I
> > assume the first 2 patches are still being reviewed by Mark.
>
> Yes. The ID patch should
On May 06, 2016, 01:58, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> sound/soc/codecs/da7219.c:1964:23: error: implicit declaration of function
> 'ACPI_PTR' [-Werror=implicit-function-declaration]
On May 06, 2016, 01:58, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> sound/soc/codecs/da7219.c:1964:23: error: implicit declaration of function
> 'ACPI_PTR' [-Werror=implicit-function-declaration]
On January 21, 2016 00:50, Axel Lin wrote:
> These drivers can be built as module, so make them depend on I2C rather
> than I2C=y.
>
> Signed-off-by: Axel Lin
For Dialog devices:
Acked-by: Adam Thomson
On January 21, 2016 00:50, Axel Lin wrote:
> These drivers can be built as module, so make them depend on I2C rather
> than I2C=y.
>
> Signed-off-by: Axel Lin
For Dialog devices:
Acked-by: Adam Thomson
On December 23, 2015 00:10, Mark Brown wrote:
> On Tue, Dec 22, 2015 at 06:27:53PM +, Adam Thomson wrote:
> > In current AB silicon, BIAS_EN field is enabled by default in the
> > REFERENCES register, so the regmap default value should reflect
> > this.
>
> This is the sort of thing where a
On December 23, 2015 00:10, Mark Brown wrote:
> On Tue, Dec 22, 2015 at 06:27:53PM +, Adam Thomson wrote:
> > In current AB silicon, BIAS_EN field is enabled by default in the
> > REFERENCES register, so the regmap default value should reflect
> > this.
>
> This is the sort of thing where a
On December 03, 2015 11:37, Takashi Iwai wrote:
> > > > This patch adds support to the codec driver to handle mic level
> > > > detect related IRQs, and report these to user-space using a uevent
> > > > variable.
> > >
> > > Is the uevent the best way for this?
> > >
> > >
> > > thanks,
> > >
> >
On December 03, 2015 10:56, Takashi Iwai wrote:
> > This patch adds support to the codec driver to handle mic level
> > detect related IRQs, and report these to user-space using a uevent
> > variable.
>
> Is the uevent the best way for this?
>
>
> thanks,
>
> Takashi
Well originally I was
On December 03, 2015 10:56, Takashi Iwai wrote:
> > This patch adds support to the codec driver to handle mic level
> > detect related IRQs, and report these to user-space using a uevent
> > variable.
>
> Is the uevent the best way for this?
>
>
> thanks,
>
> Takashi
Well originally I was
On December 03, 2015 11:37, Takashi Iwai wrote:
> > > > This patch adds support to the codec driver to handle mic level
> > > > detect related IRQs, and report these to user-space using a uevent
> > > > variable.
> > >
> > > Is the uevent the best way for this?
> > >
> > >
> > > thanks,
> > >
> >
On November 20, 2015 15:54, Rob Herring wrote:
> > +- dlg,micbias1-lvl-millivolt : Voltage (mV) for Mic Bias 1
> > + [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>, <2600>, <2800>,
> <3000>]
> > +- dlg,micbias2-lvl-millivolt : Voltage (mV) for Mic Bias 2
> > + [<1200>, <1600>, <1800>,
On November 20, 2015 15:54, Rob Herring wrote:
> > +- dlg,micbias1-lvl-millivolt : Voltage (mV) for Mic Bias 1
> > + [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>, <2600>, <2800>,
> <3000>]
> > +- dlg,micbias2-lvl-millivolt : Voltage (mV) for Mic Bias 2
> > + [<1200>, <1600>, <1800>,
On November 17, 2015 17:54, Rob Herring wrote:
> >> > +- dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
> >> > + [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>, <2600>, <2800>,
> >> <3000>]
> >> > +- dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
> >> > + [<1200>, <1600>, <1800>, <2000>,
On November 17, 2015 17:54, Rob Herring wrote:
> >> > +- dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
> >> > + [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>, <2600>, <2800>,
> >> <3000>]
> >> > +- dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
> >> > + [<1200>, <1600>, <1800>, <2000>,
On November 11, 2015 20:20, Rob Herring wrote:
> > +- dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
> > + [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>, <2600>, <2800>,
> <3000>]
> > +- dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
> > + [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>,
On November 11, 2015 20:20, Rob Herring wrote:
> > +- dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
> > + [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>, <2600>, <2800>,
> <3000>]
> > +- dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
> > + [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>,
On November 10, 2015 15:45, Mark Brown wrote:
> > It's to detect the noise level on a mic and raise an event if the captured
> > sound is above a specific threshold level. Apologies if that wasn't clear.
>
> > In the driver code I'm using KEY_VOICECOMMAND, and simulating a press and
> > release
On November 10, 2015 14:15, Mark Brown wrote:
> > > The general userspace expectation is that the detection is always active
> > > and consistent rather than varying at runtime - runtime variability
> > > might be a bit surprising for it, and even then variability in what is
> > > detected based
On November 9, 2015 14:02, Mark Brown wrote:
> > > What I'm trying to figure out here is if this depends on the audio
> > > routing at runtime or if it's got dedicated configuration?
>
> > This feature is available for any/all mics connected. Which mics are enabled
> > is a runtime configuration
On November 10, 2015 15:45, Mark Brown wrote:
> > It's to detect the noise level on a mic and raise an event if the captured
> > sound is above a specific threshold level. Apologies if that wasn't clear.
>
> > In the driver code I'm using KEY_VOICECOMMAND, and simulating a press and
> > release
On November 10, 2015 14:15, Mark Brown wrote:
> > > The general userspace expectation is that the detection is always active
> > > and consistent rather than varying at runtime - runtime variability
> > > might be a bit surprising for it, and even then variability in what is
> > > detected based
On November 9, 2015 14:02, Mark Brown wrote:
> > > What I'm trying to figure out here is if this depends on the audio
> > > routing at runtime or if it's got dedicated configuration?
>
> > This feature is available for any/all mics connected. Which mics are enabled
> > is a runtime configuration
On November 8, 2015 10:34, Mark Brown wrote:
> > > Hang on, is this just recording a DC value with the ADC and then looking
> > > at that?
>
> > The RMS of the Mic signal is taken and compared to the trigger level set. If
> > it's above that level then an IRQ is raised.
>
> What I'm trying to
On November 8, 2015 10:34, Mark Brown wrote:
> > > Hang on, is this just recording a DC value with the ADC and then looking
> > > at that?
>
> > The RMS of the Mic signal is taken and compared to the trigger level set. If
> > it's above that level then an IRQ is raised.
>
> What I'm trying to
On November 6, 2015 11:55, Mark Brown wrote:
> > > > I can envisage in a system you may want to choose which capture
> > > > channels can
> > > > trigger level detection (if any), and this may change depending on the
> > > > use-case
> > > > at the time, so having it as a control makes sense to
On November 6, 2015 11:22, Mark Brown wrote:
> > > > +static int da7218_mic_lvl_det_sw_put(struct snd_kcontrol *kcontrol,
> > > > +struct snd_ctl_elem_value
> > > > *ucontrol)
> > > > +{
>
> > > Why is this a user visible control?
>
> > I can envisage in a
On November 5, 2015 15:28, Mark Brown wrote:
> > +/* ALC */
> > +static void da7218_alc_calib(struct snd_soc_codec *codec)
> > +{
> > + struct da7218_priv *da7218 = snd_soc_codec_get_drvdata(codec);
> > + u8 calib_ctrl;
> > + int i = 0;
> > + bool calibrated = false;
> > +
> > + /*
On November 5, 2015 15:28, Mark Brown wrote:
> > +/* ALC */
> > +static void da7218_alc_calib(struct snd_soc_codec *codec)
> > +{
> > + struct da7218_priv *da7218 = snd_soc_codec_get_drvdata(codec);
> > + u8 calib_ctrl;
> > + int i = 0;
> > + bool calibrated = false;
> > +
> > + /*
On November 6, 2015 11:22, Mark Brown wrote:
> > > > +static int da7218_mic_lvl_det_sw_put(struct snd_kcontrol *kcontrol,
> > > > +struct snd_ctl_elem_value
> > > > *ucontrol)
> > > > +{
>
> > > Why is this a user visible control?
>
> > I can envisage in a
On November 6, 2015 11:55, Mark Brown wrote:
> > > > I can envisage in a system you may want to choose which capture
> > > > channels can
> > > > trigger level detection (if any), and this may change depending on the
> > > > use-case
> > > > at the time, so having it as a control makes sense to
On November 05, 2015 14:59, Mark Brown wrote:
> > +- dlg,ldo-lvl : Required internal LDO voltage (mV) level
> > + [<1050>, <1100>, <1200>, <1400>]
>
> Why would this ever be anything other than the minimum voltage, and
> might we not want to vary it at runtime?
Normally you are correct and
On November 05, 2015 14:59, Mark Brown wrote:
> > +- dlg,ldo-lvl : Required internal LDO voltage (mV) level
> > + [<1050>, <1100>, <1200>, <1400>]
>
> Why would this ever be anything other than the minimum voltage, and
> might we not want to vary it at runtime?
Normally you are correct and
On October 08, 2015 14:16, Rob Herring wrote:
> >> > +- dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
> >> > + [<1600>, <2200>, <2500>, <3000>]
> >> > +- dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
> >> > + [<1600>, <2200>, <2500>, <3000>]
> >>
> >> Please append the units
On October 07, 2015 17:22, Rob Herring wrote:
> > +- dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
> > + [<1600>, <2200>, <2500>, <3000>]
> > +- dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
> > + [<1600>, <2200>, <2500>, <3000>]
>
> Please append the units (-microvolt).
Given
On October 07, 2015 17:22, Rob Herring wrote:
> > +- dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
> > + [<1600>, <2200>, <2500>, <3000>]
> > +- dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
> > + [<1600>, <2200>, <2500>, <3000>]
>
> Please append the units (-microvolt).
Given
On October 08, 2015 14:16, Rob Herring wrote:
> >> > +- dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
> >> > + [<1600>, <2200>, <2500>, <3000>]
> >> > +- dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
> >> > + [<1600>, <2200>, <2500>, <3000>]
> >>
> >> Please append the units
On October 07, 2015 15:11, Mark Brown wrote:
> > Adam Thomson (3):
> > ASoC: da7213: Add DT support to codec driver
> > ASoC: da7213: Add support to handle mclk data provided to driver
> > ASoC: da7213: Add bindings documentation for codec driver
>
> Please remember to send the DT binding
On October 07, 2015 15:11, Mark Brown wrote:
> > Adam Thomson (3):
> > ASoC: da7213: Add DT support to codec driver
> > ASoC: da7213: Add support to handle mclk data provided to driver
> > ASoC: da7213: Add bindings documentation for codec driver
>
> Please remember to send the DT binding
On October 05, 2015 16:56, Mark Brown wrote:
> On Mon, Oct 05, 2015 at 04:40:18PM +0100, Adam Thomson wrote:
>
> > This patch adds support for DT bindings in the codec driver.
> > As part of this support, the mclk data can now be provided and
> > used to control the mclk during codec operation.
On October 05, 2015 16:56, Mark Brown wrote:
> On Mon, Oct 05, 2015 at 04:40:18PM +0100, Adam Thomson wrote:
>
> > This patch adds support for DT bindings in the codec driver.
> > As part of this support, the mclk data can now be provided and
> > used to control the mclk during codec operation.
On September 22, 2015 18:11, Lee Jones wrote:
> On Tue, 22 Sep 2015, Sebastian Reichel wrote:
> > On Fri, Sep 11, 2015 at 11:05:21AM +0100, Adam Thomson wrote:
> > > This patch set adds support for the Dialog DA9150 Fuel-Gauge.
> > >
> > > [...]
> > >
> > > Adam Thomson (6):
> > > mfd: da9150:
On September 22, 2015 18:11, Lee Jones wrote:
> On Tue, 22 Sep 2015, Sebastian Reichel wrote:
> > On Fri, Sep 11, 2015 at 11:05:21AM +0100, Adam Thomson wrote:
> > > This patch set adds support for the Dialog DA9150 Fuel-Gauge.
> > >
> > > [...]
> > >
> > > Adam Thomson (6):
> > > mfd: da9150:
On September 29, 2015 12:26, Javier Martinez Canillas wrote:
> The invoked functions already return zero on success or a negative
> errno code so there is no need to open code the logic in the caller.
>
> Signed-off-by: Javier Martinez Canillas
> ---
Acked-by: Adam Thomson
On September 29, 2015 12:26, Javier Martinez Canillas wrote:
> The invoked function already returns zero on success or a negative
> errno code so there is no need to open code the logic in the caller.
>
> Signed-off-by: Javier Martinez Canillas
> ---
Acked-by: Adam Thomson
On September 29, 2015 12:26, Javier Martinez Canillas wrote:
> The invoked function already returns zero on success or a negative
> errno code so there is no need to open code the logic in the caller.
>
> Signed-off-by: Javier Martinez Canillas
> ---
Acked-by: Adam
On September 29, 2015 12:26, Javier Martinez Canillas wrote:
> The invoked functions already return zero on success or a negative
> errno code so there is no need to open code the logic in the caller.
>
> Signed-off-by: Javier Martinez Canillas
> ---
Acked-by: Adam
On September 21, 2015 18:11, Mark Brown wrote:
> > In a system scenario the likelihood of that happening is small as you
> > cannot use the mic or headphones until they've been inserted. The system is
> > only likely to act after the jack insertion events have occurred. However,
> > it
>
> This
On September 21, 2015 18:11, Mark Brown wrote:
> > In a system scenario the likelihood of that happening is small as you
> > cannot use the mic or headphones until they've been inserted. The system is
> > only likely to act after the jack insertion events have occurred. However,
> > it
>
> This
On September 19, 2015 18:44, Mark Brown wrote:
> > + do {
> > + statusa = snd_soc_read(codec, DA7219_ACCDET_STATUS_A);
> > + if (statusa & DA7219_MICBIAS_UP_STS_MASK)
> > + micbias_up = true;
> > + } while (!micbias_up);
>
> This could go into an
On September 19, 2015 18:10, Mark Brown wrote:
> > +- dlg,io-lvl : Expected voltage level range for digital IO
> > + ["2.5V_3.6V", "1.2V_2.8V"]
>
> If the driver needs to read or set the voltage a supply is at it should
> do that via the regulator API.
This would just be a read for the
On September 19, 2015 18:10, Mark Brown wrote:
> > +- dlg,io-lvl : Expected voltage level range for digital IO
> > + ["2.5V_3.6V", "1.2V_2.8V"]
>
> If the driver needs to read or set the voltage a supply is at it should
> do that via the regulator API.
This would just be a read for the
On September 19, 2015 18:44, Mark Brown wrote:
> > + do {
> > + statusa = snd_soc_read(codec, DA7219_ACCDET_STATUS_A);
> > + if (statusa & DA7219_MICBIAS_UP_STS_MASK)
> > + micbias_up = true;
> > + } while (!micbias_up);
>
> This could go into an
On September 03, 2015 11:56, Luis de Bethencourt wrote:
> This platform driver has a OF device ID table but the OF module
> alias information is not created so module autoloading won't work.
>
> Signed-off-by: Luis de Bethencourt
> ---
Acked-by: Adam Thomson
On September 03, 2015 11:56, Luis de Bethencourt wrote:
> This platform driver has a OF device ID table but the OF module
> alias information is not created so module autoloading won't work.
>
> Signed-off-by: Luis de Bethencourt
> ---
Acked-by: Adam Thomson
On August 04, 2015 17:17, Adam Thomson wrote:
> This adds power supply driver support for the Fuel-Gauge part of
> the DA9150 combined Charger and Fuel-Gauge device.
>
> Signed-off-by: Adam Thomson
> ---
Hi Sebastian,
Just wondered when you might be able to review the power-supply parts of
On August 04, 2015 17:17, Adam Thomson wrote:
This adds power supply driver support for the Fuel-Gauge part of
the DA9150 combined Charger and Fuel-Gauge device.
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com
---
Hi Sebastian,
Just wondered when you might be able to
On August 19, 2015 04:28, Pratyush Anand wrote:
> diff --git a/drivers/watchdog/da9052_wdt.c b/drivers/watchdog/da9052_wdt.c
> index 2e9589652e1e..67e67977bd29 100644
> --- a/drivers/watchdog/da9052_wdt.c
> +++ b/drivers/watchdog/da9052_wdt.c
> @@ -195,6 +195,7 @@ static int
On August 19, 2015 04:28, Pratyush Anand wrote:
diff --git a/drivers/watchdog/da9052_wdt.c b/drivers/watchdog/da9052_wdt.c
index 2e9589652e1e..67e67977bd29 100644
--- a/drivers/watchdog/da9052_wdt.c
+++ b/drivers/watchdog/da9052_wdt.c
@@ -195,6 +195,7 @@ static int da9052_wdt_probe(struct
On August 10, 2015 14:54, Lee Jones wrote:
> On Tue, 04 Aug 2015, Adam Thomson wrote:
>
> > Signed-off-by: Adam Thomson
> > ---
> >
> > Changes in v4:
> > - Update compatible string of fuel-gauge to "dlg, da9150-fuel-gauge". Also
> >made similar change to driver name to keep things
On August 10, 2015 14:54, Lee Jones wrote:
On Tue, 04 Aug 2015, Adam Thomson wrote:
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com
---
Changes in v4:
- Update compatible string of fuel-gauge to dlg, da9150-fuel-gauge. Also
made similar change to driver name to
On August 03, 2015 18:26, Sebastian Reichel wrote:
> > > > +MODULE_LICENSE("GPL");
> > >
> > > MODULE_LICENSE("GPL v2");
> >
> > If I do this then I need to update the file license disclaimer at the top,
> > as
> > right now they match and are correct as far as I can tell. Is this change
> >
On August 03, 2015 18:26, Sebastian Reichel wrote:
+MODULE_LICENSE(GPL);
MODULE_LICENSE(GPL v2);
If I do this then I need to update the file license disclaimer at the top,
as
right now they match and are correct as far as I can tell. Is this change
needed
and if so is this
On July 24, 2015 23:01, Sebastian Reichel wrote:
> Hi,
>
> On Tue, Jul 07, 2015 at 05:34:21PM +0100, Adam Thomson wrote:
> > diff --git a/Documentation/devicetree/bindings/power/da9150-fg.txt
> b/Documentation/devicetree/bindings/power/da9150-fg.txt
> > new file mode 100644
> > index
On July 25, 2015 18:27, Sebastian Reichel wrote:
> Hi Adam,
>
> The driver looks mostly fine. I have a few comments, though:
>
> On Tue, Jul 07, 2015 at 05:34:19PM +0100, Adam Thomson wrote:
> > Signed-off-by: Adam Thomson
>
> Please add a short description to the commit message.
>
Ok, I
On July 24, 2015 23:01, Sebastian Reichel wrote:
Hi,
On Tue, Jul 07, 2015 at 05:34:21PM +0100, Adam Thomson wrote:
diff --git a/Documentation/devicetree/bindings/power/da9150-fg.txt
b/Documentation/devicetree/bindings/power/da9150-fg.txt
new file mode 100644
index 000..c3c76eb
On July 25, 2015 18:27, Sebastian Reichel wrote:
Hi Adam,
The driver looks mostly fine. I have a few comments, though:
On Tue, Jul 07, 2015 at 05:34:19PM +0100, Adam Thomson wrote:
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com
Please add a short description to the
On July 3, 2015 16:22, Lee Jones wrote:
> > +/*
> > + * Function template to provide battery temperature. Should provide
> > + * 0.1 degrees C resolution return values.
> > + */
> > +typedef int (*da9150_read_temp_t)(void *context);
> > +
> > +/* Register temp callback function */
> > +void
On July 3, 2015 16:19, Lee Jones wrote:
> > @@ -22,6 +23,7 @@ Required properties:
> > Sub-devices:
> > - da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-
> gpadc.txt
> > - da9150-charger: See Documentation/devicetree/bindings/power/da9150-
> charger.txt
> > +- da9150-fg:
On July 3, 2015 16:16, Lee Jones wrote:
>
> Changelog v1 => v2?
Is described in the cover letter, but can move that information to the
individual
patches in the future, if that helps.
> >
> > +static struct resource da9150_fg_resources[] = {
> > + {
> > + .name = "FG",
> > +
On July 3, 2015 16:16, Lee Jones wrote:
Changelog v1 = v2?
Is described in the cover letter, but can move that information to the
individual
patches in the future, if that helps.
+static struct resource da9150_fg_resources[] = {
+ {
+ .name = FG,
+ .start =
On July 3, 2015 16:22, Lee Jones wrote:
+/*
+ * Function template to provide battery temperature. Should provide
+ * 0.1 degrees C resolution return values.
+ */
+typedef int (*da9150_read_temp_t)(void *context);
+
+/* Register temp callback function */
+void
On July 3, 2015 16:19, Lee Jones wrote:
@@ -22,6 +23,7 @@ Required properties:
Sub-devices:
- da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-
gpadc.txt
- da9150-charger: See Documentation/devicetree/bindings/power/da9150-
charger.txt
+- da9150-fg: See
On June 22, 2015 17:48, Lee Jones wrote:
> > > The pedant in me noticed that this function is actually added in 3/4. So
> > > this chunk might be moved to 3/4, if you like to entertain pedantry like
> > > that, that is. (But see my remark on 3/4 too.)
> >
> > This is true, but as the header is
On June 22, 2015 17:48, Lee Jones wrote:
The pedant in me noticed that this function is actually added in 3/4. So
this chunk might be moved to 3/4, if you like to entertain pedantry like
that, that is. (But see my remark on 3/4 too.)
This is true, but as the header is part of MFD, I
On June 19, 2015 17:48, Paul Bolle wrote:
> On Thu, 2015-06-18 at 17:06 +0100, Adam Thomson wrote:
> > --- /dev/null
> > +++ b/include/linux/mfd/da9150/fg.h
>
> > +/*
> > + * Function template to provide battery temperature. Should provide
> > + * 0.1 degrees C resolution return values.
> > + */
On June 19, 2015 17:52, Paul Bolle wrote:
> On Thu, 2015-06-18 at 17:06 +0100, Adam Thomson wrote:
> > --- /dev/null
> > +++ b/drivers/power/da9150-fg.c
>
> > +/* Register external function to give battery temperature */
> > +void da9150_fg_register_temp_cb(struct power_supply *psy,
>
1 - 100 of 174 matches
Mail list logo