On Tue, Mar 28, 2017 at 6:24 PM, Mark Brown wrote:
> On Tue, Mar 28, 2017 at 12:53:06PM +0100, Charles Keepax wrote:
>> On Tue, Mar 28, 2017 at 01:47:04PM +0300, Daniel Baluta wrote:
>
>> > >> - codec_clk = devm_clk_get(_dev->dev, NULL);
>> > >&
On Tue, Mar 28, 2017 at 12:21 PM, Charles Keepax
<ckee...@opensource.wolfsonmicro.com> wrote:
> On Tue, Mar 28, 2017 at 11:58:52AM +0300, Daniel Baluta wrote:
>> Resource managed devm_clk_get only works with platform's device dev.
>>
>
> I feel like this could use an ex
On Tue, Mar 28, 2017 at 12:21 PM, Charles Keepax
wrote:
> On Tue, Mar 28, 2017 at 11:58:52AM +0300, Daniel Baluta wrote:
>> Resource managed devm_clk_get only works with platform's device dev.
>>
>
> I feel like this could use an explaination of why not using devm
> is
WM8962 needs its MCLK when powerup in wm8962_resume(). Thus it's better
to control the MCLK in codec driver. Thus remove the clock enable in
machine driver accordingly.
While at it, get rid of imx_wm8962_remove function since it is now
empty.
Signed-off-by: Daniel Baluta <daniel.bal...@nxp.
Resource managed devm_clk_get only works with platform's device dev.
Reported-by: Nicolin Chen <nicoleots...@gmail.com>
Signed-off-by: Daniel Baluta <daniel.bal...@nxp.com>
---
sound/soc/fsl/imx-wm8962.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sound
WM8962 needs its MCLK when powerup in wm8962_resume(). Thus it's better
to control the MCLK in codec driver. Thus remove the clock enable in
machine driver accordingly.
While at it, get rid of imx_wm8962_remove function since it is now
empty.
Signed-off-by: Daniel Baluta
---
sound/soc/fsl/imx
Resource managed devm_clk_get only works with platform's device dev.
Reported-by: Nicolin Chen
Signed-off-by: Daniel Baluta
---
sound/soc/fsl/imx-wm8962.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sound/soc/fsl/imx-wm8962.c b/sound/soc/fsl/imx-wm8962.c
index 3d894d9
codec_clk cleanup
* fixed prefix subject
Daniel Baluta (2):
ASoC: imx-wm8962: Let codec driver enable/disable its MCLK
ASoC: imx-wm8962: Fix codec_clk cleanup
sound/soc/fsl/imx-wm8962.c | 41 +
1 file changed, 9 insertions(+), 32 deletions
codec_clk cleanup
* fixed prefix subject
Daniel Baluta (2):
ASoC: imx-wm8962: Let codec driver enable/disable its MCLK
ASoC: imx-wm8962: Fix codec_clk cleanup
sound/soc/fsl/imx-wm8962.c | 41 +
1 file changed, 9 insertions(+), 32 deletions
From: Daniel Baluta <daniel.bal...@nxp.com>
WM8962 needs its MCLK when powerup in wm8962_resume(). Thus it's better
to control the MCLK in codec driver. Thus remove the clock enable in
machine driver accordingly.
While at it, get rid of imx_wm8962_remove function since it is now
empty.
From: Daniel Baluta
WM8962 needs its MCLK when powerup in wm8962_resume(). Thus it's better
to control the MCLK in codec driver. Thus remove the clock enable in
machine driver accordingly.
While at it, get rid of imx_wm8962_remove function since it is now
empty.
Signed-off-by: Daniel Baluta
On Fri, Mar 24, 2017 at 6:58 AM, Nicolin Chen <nicoleots...@gmail.com> wrote:
> On Thu, Mar 23, 2017 at 02:01:50PM +0200, Daniel Baluta wrote:
>> From: Nicolin Chen <b42...@freescale.com>
>>
>> WM8962 needs its MCLK when powerup in wm8962_resume(). Thus it's bette
On Fri, Mar 24, 2017 at 6:58 AM, Nicolin Chen wrote:
> On Thu, Mar 23, 2017 at 02:01:50PM +0200, Daniel Baluta wrote:
>> From: Nicolin Chen
>>
>> WM8962 needs its MCLK when powerup in wm8962_resume(). Thus it's better
>> to control the MCLK in codec driver. T
ed-off-by: Nicolin Chen <b42...@freescale.com>
Signed-off-by: Daniel Baluta <daniel.bal...@nxp.com>
---
sound/soc/fsl/imx-wm8962.c | 40
1 file changed, 8 insertions(+), 32 deletions(-)
diff --git a/sound/soc/fsl/imx-wm8962.c b/sound/soc/fsl/
Signed-off-by: Daniel Baluta
---
sound/soc/fsl/imx-wm8962.c | 40
1 file changed, 8 insertions(+), 32 deletions(-)
diff --git a/sound/soc/fsl/imx-wm8962.c b/sound/soc/fsl/imx-wm8962.c
index 1b60958..3d894d9 100644
--- a/sound/soc/fsl/imx-wm8962.c
+++ b/sound
driver fails to configure clocking and aplay fails to run.
Fix this by relaxing bitclk computation, so that when no exact value
can be derived from sysclk pick the closest value greater than
expected bitclk.
Suggested-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com>
Signed-off-by:
driver fails to configure clocking and aplay fails to run.
Fix this by relaxing bitclk computation, so that when no exact value
can be derived from sysclk pick the closest value greater than
expected bitclk.
Suggested-by: Charles Keepax
Signed-off-by: Daniel Baluta
---
Changes since v2
Add a separate function for finding (sysclk, lrclk, bclk)
when the clock is auto or mclk. This makes code easier to
read and reduces the indentation level in wm8960_configure_clocking.
Signed-off-by: Daniel Baluta <daniel.bal...@nxp.com>
Acked-by: Charles Keepax
Add a separate function for finding (sysclk, lrclk, bclk)
when the clock is auto or mclk. This makes code easier to
read and reduces the indentation level in wm8960_configure_clocking.
Signed-off-by: Daniel Baluta
Acked-by: Charles Keepax
---
Changes since v2:
* none
sound/soc/codecs
couldn't be derived from sysclk it chooses the
smalles available bitclk greater than the desired bitclk.
Changes since v2:
* do not differentiate between relaxed and exact match
Changes since v1:
* dropped the RFC tag
* comments in each individual patch
Daniel Baluta (2):
ASoC
couldn't be derived from sysclk it chooses the
smalles available bitclk greater than the desired bitclk.
Changes since v2:
* do not differentiate between relaxed and exact match
Changes since v1:
* dropped the RFC tag
* comments in each individual patch
Daniel Baluta (2):
ASoC
On Tue, Mar 21, 2017 at 4:20 PM, Charles Keepax
<ckee...@opensource.wolfsonmicro.com> wrote:
> On Tue, Mar 21, 2017 at 04:05:15PM +0200, Daniel Baluta wrote:
>> On Tue, Mar 21, 2017 at 2:52 PM, Charles Keepax
>> <ckee...@opensource.wolfsonmicro.com> wrote:
>> >
On Tue, Mar 21, 2017 at 4:20 PM, Charles Keepax
wrote:
> On Tue, Mar 21, 2017 at 04:05:15PM +0200, Daniel Baluta wrote:
>> On Tue, Mar 21, 2017 at 2:52 PM, Charles Keepax
>> wrote:
>> > On Tue, Mar 21, 2017 at 12:09:36PM +0200, Daniel Baluta wrote:
>> >> WM
On Tue, Mar 21, 2017 at 2:52 PM, Charles Keepax
<ckee...@opensource.wolfsonmicro.com> wrote:
> On Tue, Mar 21, 2017 at 12:09:36PM +0200, Daniel Baluta wrote:
>> WM8960 derives bit clock from sysclock using BCLKDIV[3:0] of R8
>> clocking register (See WM8960 datasheet, page 71)
On Tue, Mar 21, 2017 at 2:52 PM, Charles Keepax
wrote:
> On Tue, Mar 21, 2017 at 12:09:36PM +0200, Daniel Baluta wrote:
>> WM8960 derives bit clock from sysclock using BCLKDIV[3:0] of R8
>> clocking register (See WM8960 datasheet, page 71).
>>
>> There are use cases, l
couldn't be derived from sysclk it chooses the
smalles available bitclk greater than the desired bitclk.
Changes since v1:
* dropped the RFC tag
* comments in each individual patch
Daniel Baluta (2):
ASoC: codec: wm8960: Refactor sysclk freq search
ASoC: codec: wm8960: Relax
couldn't be derived from sysclk it chooses the
smalles available bitclk greater than the desired bitclk.
Changes since v1:
* dropped the RFC tag
* comments in each individual patch
Daniel Baluta (2):
ASoC: codec: wm8960: Refactor sysclk freq search
ASoC: codec: wm8960: Relax
Add a separate function for finding (sysclk, lrclk, bclk)
when the clock is auto or mclk. This makes code easier to
read and reduces the indentation level in wm8960_configure_clocking.
Signed-off-by: Daniel Baluta <daniel.bal...@nxp.com>
---
Changes since v1:
driver fails to configure clocking and aplay fails to run.
Fix this by relaxing bitclk computation, so that when no exact value
can be derived from sysclk pick the closest value greater than
expected bitclk.
Suggested-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com>
Signed-off-by:
Add a separate function for finding (sysclk, lrclk, bclk)
when the clock is auto or mclk. This makes code easier to
read and reduces the indentation level in wm8960_configure_clocking.
Signed-off-by: Daniel Baluta
---
Changes since v1:
* made wm8960_configure_sysclk static
driver fails to configure clocking and aplay fails to run.
Fix this by relaxing bitclk computation, so that when no exact value
can be derived from sysclk pick the closest value greater than
expected bitclk.
Suggested-by: Charles Keepax
Signed-off-by: Daniel Baluta
---
Changes since v1
On Wed, Mar 15, 2017 at 7:17 PM, Charles Keepax
<ckee...@opensource.wolfsonmicro.com> wrote:
> On Wed, Mar 15, 2017 at 05:33:06PM +0200, Daniel Baluta wrote:
>> WM8960 derives bit clock from sysclock using BCLKDIV[3:0] of R8
>> clocking register (See WM8960 datasheet, page 71)
On Wed, Mar 15, 2017 at 7:17 PM, Charles Keepax
wrote:
> On Wed, Mar 15, 2017 at 05:33:06PM +0200, Daniel Baluta wrote:
>> WM8960 derives bit clock from sysclock using BCLKDIV[3:0] of R8
>> clocking register (See WM8960 datasheet, page 71).
>>
>> There are use cases, l
On Wed, Mar 15, 2017 at 6:22 PM, Charles Keepax
<ckee...@opensource.wolfsonmicro.com> wrote:
> On Wed, Mar 15, 2017 at 05:33:05PM +0200, Daniel Baluta wrote:
>> Add a separate function for finding (sysclk, lrclk, bclk)
>> when the clock is auto or mclk. This makes c
On Wed, Mar 15, 2017 at 6:22 PM, Charles Keepax
wrote:
> On Wed, Mar 15, 2017 at 05:33:05PM +0200, Daniel Baluta wrote:
>> Add a separate function for finding (sysclk, lrclk, bclk)
>> when the clock is auto or mclk. This makes code easier to
>> read and reduces
driver fails to configure clocking and aplay fails to run.
Fix this by relaxing bitclk computation, so that when no exact value
can be derived from sysclk pick the closest value greater than
expected bitclk.
Suggested-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com>
Signed-off-by:
driver fails to configure clocking and aplay fails to run.
Fix this by relaxing bitclk computation, so that when no exact value
can be derived from sysclk pick the closest value greater than
expected bitclk.
Suggested-by: Charles Keepax
Signed-off-by: Daniel Baluta
---
sound/soc/codecs/wm8960.c
Add a separate function for finding (sysclk, lrclk, bclk)
when the clock is auto or mclk. This makes code easier to
read and reduces the indentation level in wm8960_configure_clocking.
Signed-off-by: Daniel Baluta <daniel.bal...@nxp.com>
---
sound/soc/codecs/wm8960.
Add a separate function for finding (sysclk, lrclk, bclk)
when the clock is auto or mclk. This makes code easier to
read and reduces the indentation level in wm8960_configure_clocking.
Signed-off-by: Daniel Baluta
---
sound/soc/codecs/wm8960.c | 82
width for bclk"
discussion archived here:
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-March/118735.html
Daniel Baluta (2):
ASoC: codec: wm8960: Refactor sysclk freq search
ASoC: codec: wm8960: Relax bit clock computation
sound/soc/codecs/wm89
width for bclk"
discussion archived here:
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-March/118735.html
Daniel Baluta (2):
ASoC: codec: wm8960: Refactor sysclk freq search
ASoC: codec: wm8960: Relax bit clock computation
sound/soc/codecs/wm89
On Wed, Mar 15, 2017 at 3:33 PM, Mark Brown <broo...@kernel.org> wrote:
> On Wed, Mar 15, 2017 at 09:19:01AM +, Charles Keepax wrote:
>> On Tue, Mar 14, 2017 at 06:57:02PM +0200, Daniel Baluta wrote:
>
>> > - wm8960->bclk = snd_soc_params_to_bclk(
On Wed, Mar 15, 2017 at 3:33 PM, Mark Brown wrote:
> On Wed, Mar 15, 2017 at 09:19:01AM +, Charles Keepax wrote:
>> On Tue, Mar 14, 2017 at 06:57:02PM +0200, Daniel Baluta wrote:
>
>> > - wm8960->bclk = snd_soc_params_to_bclk(params);
>> > + wm8960->
On Mi, 2017-03-15 at 09:19 +, Charles Keepax wrote:
> On Tue, Mar 14, 2017 at 06:57:02PM +0200, Daniel Baluta wrote:
> >
> > bclk is derived from sysclk with the help of bclk_divs. Anyhow, for
> > S20_3LE format there is no bclk_divs that could be used to derive
> >
On Mi, 2017-03-15 at 09:19 +, Charles Keepax wrote:
> On Tue, Mar 14, 2017 at 06:57:02PM +0200, Daniel Baluta wrote:
> >
> > bclk is derived from sysclk with the help of bclk_divs. Anyhow, for
> > S20_3LE format there is no bclk_divs that could be used to derive
> >
encoded files at the cost of
some unused BCLK cycles for S20_3LE and S24_LE.
Signed-off-by: Daniel Baluta <daniel.bal...@nxp.com>
---
sound/soc/codecs/wm8960.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index e
encoded files at the cost of
some unused BCLK cycles for S20_3LE and S24_LE.
Signed-off-by: Daniel Baluta
---
sound/soc/codecs/wm8960.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index e1429e3..18ca5fc 100644
On Fri, Feb 17, 2017 at 6:03 PM, Fabrice Gasnier wrote:
> Hi,
>
> I send this as an RFC, as I'm digging to try to get as generic
> as possible GPIO based trigger support, as discussed earlier in
> other patchset "Add EXTI GPIO trigger support to STM32 ADC":
>
On Fri, Feb 17, 2017 at 6:03 PM, Fabrice Gasnier wrote:
> Hi,
>
> I send this as an RFC, as I'm digging to try to get as generic
> as possible GPIO based trigger support, as discussed earlier in
> other patchset "Add EXTI GPIO trigger support to STM32 ADC":
>
This is a relict of 6553bf06a369 ("ASoC: Don't try to register debugfs
entries if the parent does not exist").
Signed-off-by: Daniel Baluta <daniel.bal...@nxp.com>
---
sound/soc/soc-core.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/
This is a relict of 6553bf06a369 ("ASoC: Don't try to register debugfs
entries if the parent does not exist").
Signed-off-by: Daniel Baluta
---
sound/soc/soc-core.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 9b589d6..a110
Could you paste your drivers/iio/pressure/mpl3115.c code into pastebin.com
and send us the result?
thanks,
Daniel.
On Wed, Feb 1, 2017 at 8:50 AM, Jonathan Cameron
wrote:
>
>
> On 1 February 2017 00:42:31 GMT+00:00, "Ken.Lin"
> wrote:
>>
>>
Could you paste your drivers/iio/pressure/mpl3115.c code into pastebin.com
and send us the result?
thanks,
Daniel.
On Wed, Feb 1, 2017 at 8:50 AM, Jonathan Cameron
wrote:
>
>
> On 1 February 2017 00:42:31 GMT+00:00, "Ken.Lin"
> wrote:
>>
>>
>>> -Original Message-
>>> From: Peter Rosin
On Tue, Jan 31, 2017 at 8:19 PM, Ken.Lin wrote:
> Hi,
>
> I find the latest kernel introduces new iio sys attributes.
> https://patchwork.kernel.org/patch/9391771/
> https://patchwork.kernel.org/patch/9391259/
>
> Is there anyone has some ideas about how the new iio sys
On Tue, Jan 31, 2017 at 8:19 PM, Ken.Lin wrote:
> Hi,
>
> I find the latest kernel introduces new iio sys attributes.
> https://patchwork.kernel.org/patch/9391771/
> https://patchwork.kernel.org/patch/9391259/
>
> Is there anyone has some ideas about how the new iio sys attribute -
>
On Mon, Nov 7, 2016 at 1:57 PM, Peter Rosin <p...@axentia.se> wrote:
> On 2016-11-07 12:37, Daniel Baluta wrote:
>> On Mon, Oct 24, 2016 at 1:39 AM, Peter Rosin <p...@axentia.se> wrote:
>>> From: Jonathan Cameron <ji...@kernel.org>
>>>
>>> A la
On Mon, Nov 7, 2016 at 1:57 PM, Peter Rosin wrote:
> On 2016-11-07 12:37, Daniel Baluta wrote:
>> On Mon, Oct 24, 2016 at 1:39 AM, Peter Rosin wrote:
>>> From: Jonathan Cameron
>>>
>>> A large number of attributes can only take a limited range of values.
On Mon, Oct 24, 2016 at 1:39 AM, Peter Rosin wrote:
> From: Jonathan Cameron
>
> A large number of attributes can only take a limited range of values.
> Currently in IIO this is handled by directly registering additional
> *_available attributes thus providing
On Mon, Oct 24, 2016 at 1:39 AM, Peter Rosin wrote:
> From: Jonathan Cameron
>
> A large number of attributes can only take a limited range of values.
> Currently in IIO this is handled by directly registering additional
> *_available attributes thus providing this information to userspace.
>
>
On Fri, Sep 9, 2016 at 6:24 PM, Laura Abbott wrote:
>
> The iio tools have been updated as new event types have been added to
> the kernel. The tools currently use the standard system headers which
> means that the system may not have the newest defintitions. This leads
> to
On Fri, Sep 9, 2016 at 6:24 PM, Laura Abbott wrote:
>
> The iio tools have been updated as new event types have been added to
> the kernel. The tools currently use the standard system headers which
> means that the system may not have the newest defintitions. This leads
> to build failures when
On Tue, Dec 8, 2015 at 4:35 PM, Daniel Baluta <daniel.bal...@intel.com> wrote:
> Running lguest without arguments or with a wrong argument name
> borks the terminal, because the cleanup handler is set up too late
> in the initialization process.
>
> Signed-off-by: Dani
On Tue, Dec 8, 2015 at 4:35 PM, Daniel Baluta wrote:
> Running lguest without arguments or with a wrong argument name
> borks the terminal, because the cleanup handler is set up too late
> in the initialization process.
>
> Signed-off-by: Daniel Baluta
Hi Rusty,
Any chance to pick this up?
On Mon, Mar 28, 2016 at 1:02 PM, Jonathan Cameron wrote:
> On 24/03/16 09:23, Lars-Peter Clausen wrote:
>> On 03/24/2016 10:09 AM, Irina Tirdea wrote:
>>> config structure is set to 0 when updating the buffers, so by
>>> default config->watermark will be 0. When computing the
On Mon, Mar 28, 2016 at 1:02 PM, Jonathan Cameron wrote:
> On 24/03/16 09:23, Lars-Peter Clausen wrote:
>> On 03/24/2016 10:09 AM, Irina Tirdea wrote:
>>> config structure is set to 0 when updating the buffers, so by
>>> default config->watermark will be 0. When computing the minimum
>>> between
ada <srinivas.pandruv...@linux.intel.com>
> Signed-off-by: Crestez Dan Leonard <leonard.cres...@intel.com>
Looks good to me. I had to look into the code to see that
cpm is an alias for buffer.pointer, perhaps this should have been
mentioned in the commit message.
Acked-by: Da
onard
Looks good to me. I had to look into the code to see that
cpm is an alias for buffer.pointer, perhaps this should have been
mentioned in the commit message.
Acked-by: Daniel Baluta
> ---
> drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c | 5 +++--
> 1 file changed, 3 insertions(+), 2
On Fri, Jun 3, 2016 at 3:51 PM, Martin Kepplinger wrote:
> NXP took over Freescale, so add NXP to the driver descriptions
>
Is it worth to bother with these kind of changes? The part number
still remains the same.
We can add a new copyright notice from the new company and
On Fri, Jun 3, 2016 at 3:51 PM, Martin Kepplinger wrote:
> NXP took over Freescale, so add NXP to the driver descriptions
>
Is it worth to bother with these kind of changes? The part number
still remains the same.
We can add a new copyright notice from the new company and that's all.
Daniel.
>
t; +
> + return ret;
> +}
> +
> +static ssize_t al3320a_lux_show(struct device *dev,
> + struct device_attribute *attr,
> + char *buf)
> +{
> + struct al3320a_data *data = iio_priv(dev_to_iio_dev(dev));
> + int val;
> +
>
et64 = ret;
> + ret64 = (ret64 * 32000) / 100;
> + ret = ret64;
> +
> + return ret;
> +}
> +
> +static ssize_t al3320a_lux_show(struct device *dev,
> + struct device_attribute *attr,
> + char *buf)
> +{
> +
On Tue, May 24, 2016 at 10:20 PM, Alison Schofield <amsfiel...@gmail.com> wrote:
> Replace the code that guarantees the device stays in direct mode
> with iio_device_claim_direct_mode() which does same.
>
> Signed-off-by: Alison Schofield <amsfiel...@gmail.com>
> Cc
On Tue, May 24, 2016 at 10:20 PM, Alison Schofield wrote:
> Replace the code that guarantees the device stays in direct mode
> with iio_device_claim_direct_mode() which does same.
>
> Signed-off-by: Alison Schofield
> Cc: Daniel Baluta
Acked-by: Daniel Baluta
> ---
On Tue, May 24, 2016 at 10:19 PM, Alison Schofield <amsfiel...@gmail.com> wrote:
> Replace the code that guarantees the device stays in direct mode
> with iio_device_claim_direct_mode() which does same.
>
> Signed-off-by: Alison Schofield <amsfiel...@gmail.com>
> Cc
On Tue, May 24, 2016 at 10:19 PM, Alison Schofield wrote:
> Replace the code that guarantees the device stays in direct mode
> with iio_device_claim_direct_mode() which does same.
>
> Signed-off-by: Alison Schofield
> Cc: Daniel Baluta
Acked-by: Daniel Baluta
> ---
> d
On Tue, May 24, 2016 at 10:18 PM, Alison Schofield <amsfiel...@gmail.com> wrote:
> Replace the code that guarantees the device stays in direct mode
> with iio_device_claim_direct_mode() which does same.
>
> Signed-off-by: Alison Schofield <amsfiel...@gmail.com>
> Cc
On Tue, May 24, 2016 at 10:18 PM, Alison Schofield wrote:
> Replace the code that guarantees the device stays in direct mode
> with iio_device_claim_direct_mode() which does same.
>
> Signed-off-by: Alison Schofield
> Cc: Daniel Baluta
Acked-by: Daniel Baluta
> ---
> d
On Tue, May 24, 2016 at 10:18 PM, Alison Schofield <amsfiel...@gmail.com> wrote:
> Replace the code that guarantees the device stays in direct mode
> with iio_device_claim_direct_mode() which does same.
>
> Signed-off-by: Alison Schofield <amsfiel...@gmail.com>
> Cc
On Tue, May 24, 2016 at 10:18 PM, Alison Schofield wrote:
> Replace the code that guarantees the device stays in direct mode
> with iio_device_claim_direct_mode() which does same.
>
> Signed-off-by: Alison Schofield
> Cc: Daniel Baluta
Acked-by: Daniel Baluta
> ---
> d
n
> direct mode.
>
> Signed-off-by: Alison Schofield <amsfiel...@gmail.com>
> Cc: Daniel Baluta <daniel.bal...@gmail.com>
Acked-by: Daniel Baluta <daniel.bal...@gmail.com>
> ---
> drivers/iio/adc/ad7793.c | 13 -
> 1 file changed, 4 insertions(+), 9 de
ned-off-by: Alison Schofield
> Cc: Daniel Baluta
Acked-by: Daniel Baluta
> ---
> drivers/iio/adc/ad7793.c | 13 -
> 1 file changed, 4 insertions(+), 9 deletions(-)
>
> diff --git a/drivers/iio/adc/ad7793.c b/drivers/iio/adc/ad7793.c
> index 7b07bb6..3f41cd8
n
> direct mode.
>
> Signed-off-by: Alison Schofield <amsfiel...@gmail.com>
> Cc: Daniel Baluta <daniel.bal...@gmail.com>
Looks good to me. We could use an Acked-by from Lars here.
Acked-by: Daniel Baluta <daniel.bal...@gmail.com>
> ---
> drivers/iio/adc/ad7791.c |
ned-off-by: Alison Schofield
> Cc: Daniel Baluta
Looks good to me. We could use an Acked-by from Lars here.
Acked-by: Daniel Baluta
> ---
> drivers/iio/adc/ad7791.c | 15 ---
> 1 file changed, 4 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/iio/adc
@gmail.com>
> Cc: Daniel Baluta <daniel.bal...@gmail.com>
Acked-by: Daniel Baluta <daniel.bal...@gmail.com>
> ---
> drivers/iio/adc/ad7266.c | 7 +++
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/iio/adc/ad7266.c b/drivers/iio/adc
On Tue, May 24, 2016 at 10:16 PM, Alison Schofield wrote:
> Driver was checking for direct mode but not locking it down.
> Use iio_device_claim_direct_mode() to guarantee device stays
> in direct mode.
>
> Signed-off-by: Alison Schofield
> Cc: Daniel Baluta
Acked
This makes it clear that generic_buffer is an IIO tool
and also complies with filename conventions in tools/iio.
Signed-off-by: Daniel Baluta <daniel.bal...@intel.com>
---
Changes since v1:
* use -M to detect renames and make the patch easier to review
tools/iio/Ma
This makes it clear that generic_buffer is an IIO tool
and also complies with filename conventions in tools/iio.
Signed-off-by: Daniel Baluta
---
Changes since v1:
* use -M to detect renames and make the patch easier to review
tools/iio/Makefile | 6
The new name is in agreement with convention for tools/iio
programs.
Signed-off-by: Daniel Baluta <daniel.bal...@intel.com>
---
tools/iio/Makefile | 6 +-
tools/iio/generic_buffer.c | 581 -
tools/iio/iio_generic_buffer.c
The new name is in agreement with convention for tools/iio
programs.
Signed-off-by: Daniel Baluta
---
tools/iio/Makefile | 6 +-
tools/iio/generic_buffer.c | 581 -
tools/iio/iio_generic_buffer.c | 581
bmc150 driver supports also BMC156 and BMM150 chips.
Signed-off-by: Daniel Baluta <daniel.bal...@intel.com>
---
drivers/iio/magnetometer/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig
index 84e6559..1f842ab
bmc150 driver supports also BMC156 and BMM150 chips.
Signed-off-by: Daniel Baluta
---
drivers/iio/magnetometer/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig
index 84e6559..1f842ab 100644
--- a/drivers/iio
On Wed, May 4, 2016 at 1:26 PM, Jonathan Cameron <ji...@kernel.org> wrote:
> On 27/04/16 15:55, Lucas De Marchi wrote:
>> On Tue, Apr 26, 2016 at 9:39 AM, Daniel Baluta <daniel.bal...@intel.com>
>> wrote:
>>> BMM150 is register compatible with magnetometer p
On Wed, May 4, 2016 at 1:26 PM, Jonathan Cameron wrote:
> On 27/04/16 15:55, Lucas De Marchi wrote:
>> On Tue, Apr 26, 2016 at 9:39 AM, Daniel Baluta
>> wrote:
>>> BMM150 is register compatible with magnetometer part of
>>> BMC156.
>>>
>>> Data
On Tue, May 3, 2016 at 1:43 PM, Jonathan Cameron
<ji...@jic23.retrosnub.co.uk> wrote:
>
>
> On 3 May 2016 09:29:26 CEST, Daniel Baluta <daniel.bal...@intel.com> wrote:
>>On Sun, May 1, 2016 at 9:56 PM, Jonathan Cameron <ji...@kernel.org>
>>wrote:
>&g
On Tue, May 3, 2016 at 1:43 PM, Jonathan Cameron
wrote:
>
>
> On 3 May 2016 09:29:26 CEST, Daniel Baluta wrote:
>>On Sun, May 1, 2016 at 9:56 PM, Jonathan Cameron
>>wrote:
>>> On 29/04/16 13:19, Constantin Musca wrote:
>>>> Minimal impleme
On Sun, May 1, 2016 at 9:56 PM, Jonathan Cameron wrote:
> On 29/04/16 13:19, Constantin Musca wrote:
>> Minimal implementation of an IIO driver for the Freescale
>> MMA7660FC 3-axis accelerometer. Datasheet:
>>
On Sun, May 1, 2016 at 9:56 PM, Jonathan Cameron wrote:
> On 29/04/16 13:19, Constantin Musca wrote:
>> Minimal implementation of an IIO driver for the Freescale
>> MMA7660FC 3-axis accelerometer. Datasheet:
>> http://www.freescale.com.cn/files/sensors/doc/data_sheet/MMA7660FC.pdf
>>
>> Includes:
Format is INT_PLUS_MICRO and micro odr part of ODR should
be parts of a micro.
Also s/8000/800 this is obviously a typo.
Fixes: 77c4ad2d6a9 ("iio: imu: Add initial support for Bosch BMI160")
Signed-off-by: Daniel Baluta <daniel.bal...@intel.com>
---
drivers/iio/imu/bmi160/bm
Format is INT_PLUS_MICRO and micro odr part of ODR should
be parts of a micro.
Also s/8000/800 this is obviously a typo.
Fixes: 77c4ad2d6a9 ("iio: imu: Add initial support for Bosch BMI160")
Signed-off-by: Daniel Baluta
---
drivers/iio/imu/bmi160/bmi160_core.c | 12 ++--
1 fi
First two patches are bugfixes related to sampling frequency and the last
one is adding support for exporting available sampling frequency and scale.
Daniel Baluta (3):
iio: bmi160: Fix output data rate for accel
iio: bmi160: Fix ODR setting
imu: bmi160: Add avail frequency and scale
501 - 600 of 1511 matches
Mail list logo