truct da9063_compatible_rtc accesses to
> generic registers/masks instead of using defines from registers.h
> - Re-work of da9063_rtc_probe() to use of_match_node() and dev_get_regmap()
> to provide initialisation of generic registers and masks and access to
> regmap
>
> S
ot;Real time clock device driver for Dialog DA9063");
> -MODULE_LICENSE("GPL v2");
> +MODULE_LICENSE("GPL");
This should be part of the license change.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electro
e proper way to handle it is to have tow different compatible
> > strings because obviously, the BB and AD variants are not compatible.
>
> I think I understand what you are saying about modifying the mfd_cell in the
> DA9063 core driver at run-time so that it changes the of_compatible st
On 20/07/2015 at 17:57:50 +, Opensource [Steve Twiss] wrote :
> On 18 July 2015 00:45, Alexandre Belloni wrote:
> > On 09/07/2015 at 08:45:53 +0100, S Twiss wrote :
> > > - Addition of a re-try when reading the RTC inside da9063_rtc_read_time()
> >
> > Can you s
for the DA9062 compatibility.
> The RTC compatible = "dlg,da9062-rtc" is essential in this case.
>
You are right. Disregard my comment.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: s
ould add a new compatible and change the of_compatible string of
the mfd_cell in drivers/mfd/da9063-core.c onc you know the variant.
> + struct da9063 *chip = dev_get_drvdata(pdev->dev.parent);
> +
> + if (chip->variant_code == PMIC_DA9063_AD)
> +
bnodes even parsed? As the parent node is not compatible
with "simple-bus" or "simple-mfd", I guess not. You driver is probed
from the mfd_cells in da9063-core.c
> watchdog {
> compatible = "dlg,da9062-watchdog";
>
ase read http://groups.google.com/group/rtc-linux/web/checklist
> before submitting a driver.
> ---
> You received this message because you are subscribed to the Google Groups
> "rtc-linux" group.
> To unsubscribe from this group and stop receiving emails from it, send
On 27/05/2015 at 00:25:57 +0800, frank...@freescale.com wrote :
> From: Frank Li
>
> snvs included rtc, on/off key, power-off module
> change to syscon to access register
>
> Signed-off-by: Frank Li
Acked-by: Alexandre Belloni
Shawn, when applying could you please change t
t;
Actually, I was thinking you could take the whole series in your tree
(at least, I'm speaking for the RTC part).
Else, I'm wondering who should take the documentation changes.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.c
pr_warning("snvs rtc: you use old dts file, please update
> it\n");
This should be pr_warn()
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe
LDO regulator driver
> - [PATCH V2 3/4]: Watchdog driver
> - [PATCH V2 4/4]: Add bindings for all DA9062 components
This patch should actually be the first one to go in, else checkpatch
will complain about compatibles not being found.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel a
st working
fine.
> I guess it would be possible to rename the da9063-rtc to something more
> sensible like
> da9xxx-rtc.c if this goes ahead?
>
Sure, that can be done but this means that the module name will change.
if you feel that your current users can cope with that, I'm fine
num_channels and registers are not used anymore since they are defined inside
the driver and assigned by matching the id_table.
Also, struct at91_adc_reg_desc is now only used inside the driver.
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
drivers/iio/adc/at91_adc.c
handlers in patch 4 as suggested by Dmitry and Thomas
- ts_bufferedmeasure is now a bool
- the multiline comment is now correctly formatted
- improved commit log for patch 5
Alexandre Belloni (15):
ARM: at91: sam9g45: remove unused platform_data
ARM: at91: sam9260: remove unused
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
drivers/iio/adc/at91_adc.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index a51b8badbf8e..3b5bacd4d8da 100644
--- a/drivers/iio/adc/at91_adc.c
speed used by atmel_tsadcc.
It lowers the maximum throughput rate from 44 samples per second to 12958
samples per second. It shouldn't be an issue as the CPU is not able to keep up
reading samples at that frequency.
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
arc
Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register
and the touchscreen support should be handled differently.
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
arch/arm/mach-at91/include/mach/at91_adc.h | 13 ++
drivers/iio/adc/at91_
That include file is now only used by the at91_adc driver, remove it from
include/mach for better driver separation.
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
arch/arm/mach-at91/include/mach/at91_adc.h | 120 -
drivers/iio/adc/at91_adc.c
num_channels and registers are not used anymore since they are defined inside
the at91_adc driver and assigned by matching the id_table.
Also, remove the mach/at91_adc.h include that is not necessary anymore.
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
arch/arm/mach-at91
The ADC clock needs to be defined to enable the at91_adc driver. It is defined
to the same speed that is used for atmel_tsadcc.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/at91sam9rl.c | 7 +++
arch/arm/mach-at91/at91sam9rl_devices.c | 85
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc
does. Completely switch to at91_adc and remove the tsadcc platform_data for
at91sam9g45 and at91sam9g45 based boards.
Signed-off-by: Alexandre Belloni
---
arch/arm/configs/at91sam9g45_defconfig | 3 +-
arch/arm
num_channels and registers are not used anymore since they are defined inside
the at91_adc driver and assigned by matching the id_table.
Also, remove the mach/at91_adc.h include that is not necessary anymore.
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
arch/arm/mach-at91
atmel_tsadcc has been removed, stop selecting it.
Signed-off-by: Alexandre Belloni
---
arch/arm/configs/sama5_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index dc3881e07630..869fa18ebeb2 100644
--- a/arch/arm
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc
does. Completely switch to at91_adc and remove the tsadcc platform_data for
at91sam9rl and at91sam9rl based boards.
Signed-off-by: Alexandre Belloni
---
arch/arm/configs/at91sam9rl_defconfig | 3 +-
arch/arm/mach
at91_adc now supports reading a touchscreen for ADCs without a TSMR register.
Enable touchscreen support through at91_adc. This allows to use both a
touchscreen and the remaining ADC channel at the same time.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/board-sam9rlek.c | 14
The atmel_tsadcc driver is not used anymore, it has been replaced by at91_adc so
remove it.
Signed-off-by: Alexandre Belloni
Acked-by: Dmitry Torokhov
---
MAINTAINERS | 6 -
drivers/input/touchscreen/Kconfig| 12 --
drivers/input/touchscreen/Makefile
The tsadcc node is useless as it doesn't refer to anything and the touchscreen
is handled by the adc0 node.
Signed-off-by: Alexandre Belloni
Acked-by: Rodolfo Giometti
---
arch/arm/boot/dts/at91-cosino_mega2560.dts | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/arm/boot/dts
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/board.h | 3 ---
include/linux/platform_data/atmel.h | 7 ---
2 files changed, 10 deletions(-)
diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h
index 6c08b341167d..4e773b55bc2d 100644
--- a/arch/arm/mach
pio_lock_as_irq() helper function to
> mark a GPIO pin as already used as a IRQ line and only allowing to
> request a GPIO as input if is already marked as an IRQ.
>
> Please take a look to commit 2f56e0a ("gpio/omap: use gpiolib API to
> mark a GPIO used as an IRQ")
On 22/03/2014 at 12:39:16 +, Jonathan Cameron wrote :
> On 17/03/14 13:57, Alexandre Belloni wrote:
> >Signed-off-by: Alexandre Belloni
> See below.
> >---
> > arch/arm/mach-at91/board.h | 3 ---
> > include/linux/platform_data/atmel.h | 7 ---
>
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc
does. Completely switch to at91_adc and remove the tsadcc platform_data for
at91sam9rl and at91sam9rl based boards.
Signed-off-by: Alexandre Belloni
---
arch/arm/configs/at91sam9rl_defconfig | 3 +-
arch/arm/mach
num_channels and registers are not used anymore since they are defined inside
the driver and assigned by matching the id_table.
Also, struct at91_adc_reg_desc is now only used inside the driver.
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
drivers/iio/adc/at91_adc.c
num_channels and registers are not used anymore since they are defined inside
the at91_adc driver and assigned by matching the id_table.
Also, remove the mach/at91_adc.h include that is not necessary anymore.
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
arch/arm/mach-at91
num_channels and registers are not used anymore since they are defined inside
the at91_adc driver and assigned by matching the id_table.
Also, remove the mach/at91_adc.h include that is not necessary anymore.
Signed-off-by: Alexandre Belloni
Acked-by: Jonathan Cameron
---
arch/arm/mach-at91
Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register
and the touchscreen support should be handled differently.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/include/mach/at91_adc.h | 13 ++
drivers/iio/adc/at91_adc.c
speed used by atmel_tsadcc.
It lowers the maximum throughput rate from 44 samples per second to 12958
samples per second. It shouldn't be an issue as the CPU is not able to keep up
reading samples at that frequency.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/at91sam9
Signed-off-by: Alexandre Belloni
---
drivers/iio/adc/at91_adc.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index a51b8badbf8e..3b5bacd4d8da 100644
--- a/drivers/iio/adc/at91_adc.c
+++ b/drivers/iio/adc
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc
does. Completely switch to at91_adc and remove the tsadcc platform_data for
at91sam9g45 and at91sam9g45 based boards.
Signed-off-by: Alexandre Belloni
---
arch/arm/configs/at91sam9g45_defconfig | 3 +-
arch/arm
at91_adc now supports reading a touchscreen for ADCs without a TSMR register.
Enable touchscreen support through at91_adc. This allows to use both a
touchscreen and the remaining ADC channel at the same time.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/board-sam9rlek.c | 14
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/board.h | 3 ---
include/linux/platform_data/atmel.h | 7 ---
2 files changed, 10 deletions(-)
diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h
index 6c08b341167d..4e773b55bc2d 100644
--- a/arch/arm/mach
The ADC clock needs to be defined to enable the at91_adc driver. It is defined
to the same speed that is used for atmel_tsadcc.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/at91sam9rl.c | 7 +++
arch/arm/mach-at91/at91sam9rl_devices.c | 85
That include file is now only used by the at91_adc driver, remove it from
include/mach for better driver separation.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/include/mach/at91_adc.h | 120 -
drivers/iio/adc/at91_adc.c | 103
atmel_tsadcc has been removed, stop selecting it.
Signed-off-by: Alexandre Belloni
---
arch/arm/configs/sama5_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index dc3881e07630..869fa18ebeb2 100644
--- a/arch/arm
The tsadcc node is useless as it doesn't refer to anything and the touchscreen
is handled by the adc0 node.
Signed-off-by: Alexandre Belloni
Cc: Rodolfo Giometti
---
arch/arm/boot/dts/at91-cosino_mega2560.dts | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/arm/boot/dts
The atmel_tsadcc driver is not used anymore, it has been replaced by at91_adc so
remove it.
Signed-off-by: Alexandre Belloni
Acked-by: Dmitry Torokhov
---
MAINTAINERS | 6 -
drivers/input/touchscreen/Kconfig| 12 --
drivers/input/touchscreen/Makefile
commit log for patch 5
Alexandre Belloni (15):
ARM: at91: sam9g45: remove unused platform_data
ARM: at91: sam9260: remove unused platform_data
iio: adc: at91: cleanup platform_data
iio: adc: at91_adc: Add support for touchscreens without TSMR
ARM: at91: sam9m10g45ek: Add touchscreen support
On 16/03/2014 at 18:18:41 +, Jonathan Cameron wrote :
> On 05/03/14 17:35, Alexandre Belloni wrote:
> >at91_adc now supports reading a touchscreen for ADCs without a TSMR register.
> >Enable touchscreen support through at91_adc. This allows to use both a
> >touchscreen
Hi,
On 16/03/2014 at 18:30:07 +, Jonathan Cameron wrote :
> On 05/03/14 17:35, Alexandre Belloni wrote:
> >This patch set is a followup of my previous series: iio: adc: at91 fixes
> >
> >I'm sorry it is so long, I made sure this is bissectable.
> It's a nice
On 16/03/2014 at 18:16:54 +, Jonathan Cameron wrote :
> On 05/03/14 17:35, Alexandre Belloni wrote:
> >Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register
> >and the touchscreen support should be handled differently.
> >
> >Signed-
atmel_tsadcc has been removed, stop selecting it.
Signed-off-by: Alexandre Belloni
---
arch/arm/configs/sama5_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index dc3881e07630..869fa18ebeb2 100644
--- a/arch/arm
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc
does. Completely switch to at91_adc and remove the tsadcc platform_data for
at91sam9g45 and at91sam9g45 based boards.
Signed-off-by: Alexandre Belloni
---
arch/arm/configs/at91sam9g45_defconfig | 3 +-
arch/arm
The ADC clock needs to be defined to enable the at91_adc driver. It is defined
to the same speed that is used for atmel_tsadcc.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/at91sam9rl.c | 7 +++
arch/arm/mach-at91/at91sam9rl_devices.c | 85
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/board.h | 3 ---
include/linux/platform_data/atmel.h | 7 ---
2 files changed, 10 deletions(-)
diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h
index 6c08b341167d..4e773b55bc2d 100644
--- a/arch/arm/mach
at91_adc now supports reading a touchscreen for ADCs without a TSMR register.
Enable touchscreen support through at91_adc. This allows to use both a
touchscreen and the remaining ADC channel at the same time.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/board-sam9rlek.c | 14
num_channels and registers are not used anymore since they are defined inside
the driver and assigned by matching the id_table.
Also, struct at91_adc_reg_desc is now only used inside the driver.
Signed-off-by: Alexandre Belloni
---
drivers/iio/adc/at91_adc.c | 19
Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register
and the touchscreen support should be handled differently.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/include/mach/at91_adc.h | 13 ++
drivers/iio/adc/at91_adc.c
am9rl
based boards.
10-11) Prepare the atmel_tsadcc removal by switching sam9rl and sam9g45 to use
only at91_adc instead of atmel_tsadcc.
12-15) atmel_tsadcc removal
Alexandre Belloni (15):
ARM: at91: sam9g45: remove unused platform_data
ARM: at91: sam9260: remove unused platform_data
speed used by atmel_tsadcc.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/at91sam9g45.c| 2 +-
arch/arm/mach-at91/board-sam9m10g45ek.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c
index
That include file is now only used by the at91_adc driver, remove it from
include/mach for better driver separation.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/include/mach/at91_adc.h | 120 -
drivers/iio/adc/at91_adc.c | 103
Signed-off-by: Alexandre Belloni
---
drivers/iio/adc/at91_adc.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index c3ea34025749..c47dcbaa56ef 100644
--- a/drivers/iio/adc/at91_adc.c
+++ b/drivers/iio/adc
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc
does. Completely switch to at91_adc and remove the tsadcc platform_data for
at91sam9rl and at91sam9rl based boards.
Signed-off-by: Alexandre Belloni
---
arch/arm/configs/at91sam9rl_defconfig | 3 +-
arch/arm/mach
The atmel_tsadcc driver is not used anymore, it has been replaced by at91_adc so
remove it.
Signed-off-by: Alexandre Belloni
---
MAINTAINERS | 6 -
drivers/input/touchscreen/Kconfig| 12 --
drivers/input/touchscreen/Makefile | 1 -
drivers/input
The tsadcc node is useless as it doesn't refer to anything and the touchscreen
is handled by the adc0 node.
Signed-off-by: Alexandre Belloni
Cc: Rodolfo Giometti
---
arch/arm/boot/dts/at91-cosino_mega2560.dts | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/arm/boot/dts
num_channels and registers are not used anymore since they are defined inside
the at91_adc driver and assigned by matching the id_table.
Also, remove the mach/at91_adc.h include that is not necessary anymore.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/at91sam9g45_devices.c | 10
num_channels and registers are not used anymore since they are defined inside
the at91_adc driver and assigned by matching the id_table.
Also, remove the mach/at91_adc.h include that is not necessary anymore.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/at91sam9260_devices.c | 10
e correct state when waiting
> for the next touchscreen event.
>
> Signed-off-by: Juergen Beisert
>
Tested-by: Alexandre Belloni
> diff --git a/drivers/staging/iio/adc/mxs-lradc.c
> b/drivers/staging/iio/adc/mxs-lradc.c
> index 7fc66a6..514844e 100644
> --- a/driv
gt; Regards,
> Juergen
>
> --
> Pengutronix e.K. | Juergen Beisert |
> Linux Solutions for Science and Industry | Phone: +49-5121-206917-5128 |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Fax: +49-5121-206917- |
> Amtsger
X23 and
> i.MX28 must be handled
>
> Comments are welcome.
>
> Juergen
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.
69 matches
Mail list logo