handles
button and multitouch events.
Signed-off-by: Mylène Josserand
---
drivers/input/touchscreen/Kconfig | 15 +
drivers/input/touchscreen/Makefile |1 +
drivers/input/touchscreen/cyttsp5.c | 1110 +++
3 files changed, 1126 insertions(+)
create mode 100644
x-keycodes and removed properties'
description that comes from touchscreen's binding.
Patch 01: Add the basis of the driver for Cypress Gen5 Touchscreen.
Patch 02: Add the binding documentation for this driver.
If you have any remarks, let me know.
Thank you in advance,
Mylène
ned-off-by: Mylène Josserand
---
.../bindings/input/touchscreen/cypress,cyttsp5.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644
Documentation/devicetree/bindings/input/touchscreen/cypress,cyttsp5.txt
diff --git
a/Documentation/devicetree/bindings/input/t
handles
button and multitouch events.
Signed-off-by: Mylène Josserand
---
drivers/input/touchscreen/Kconfig | 15 +
drivers/input/touchscreen/Makefile |1 +
drivers/input/touchscreen/cyttsp5.c | 1174 +++
3 files changed, 1190 insertions(+)
create mode 100644
uot; sub-node can be used.
Signed-off-by: Mylène Josserand
---
.../bindings/input/touchscreen/cyttsp5.txt | 55 ++
1 file changed, 55 insertions(+)
create mode 100644
Documentation/devicetree/bindings/input/touchscreen/cyttsp5.txt
diff --git a/Documentation/devic
Touchscreen.
Patch 02: Add the binding documentation for this driver.
If you have any remarks, let me know.
Thank you in advance,
Mylène
Mylène Josserand (2):
Input: Add driver for Cypress Generation 5 touchscreen
Documentation: DT: bindings: input: Add documentation for cyttsp5
.../bindings
i2c1 and i2c2 bits for CCU are not bit 0 but bit 1 and bit 2.
Because of that, the i2c0 (bit 0) was not correctly configured.
Fixed the correct bits for i2c1 and i2c2.
Signed-off-by: Mylène Josserand
---
drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 4 ++--
1 file changed, 2 insertions(+), 2
i2c1 and i2c2 bits for CCU are not bit 0 but bit 1 and bit 2.
Because of that, the i2c0 (bit 0) was not correctly configured.
Fixed the correct bits for i2c1 and i2c2.
Fixes: 05359be1176b ("clk: sunxi-ng: Add driver for A83T CCU")
Signed-off-by: Mylène Josserand
---
drivers/clk/su
Hello Dmitry,
Thank you again for the review.
On Wed, 25 Jul 2018 17:47:32 -0700
Dmitry Torokhov wrote:
> Hi Mylène,
>
> On Wed, Jul 25, 2018 at 09:34:08AM +0200, Mylène Josserand wrote:
> > Add the support of regulator to use it as VCC source.
> >
> > Sign
Hello Dmitry,
On Mon, 13 Aug 2018 08:36:32 -0700
Dmitry Torokhov wrote:
> Hi Mylène,
>
> On Mon, Aug 13, 2018 at 8:24 AM Mylène Josserand
> wrote:
> >
> > Hi Dmitry,
> >
> > On Tue, 24 Jul 2018 10:40:53 -0700
> > Dmitry Torokhov wrote:
> >
&
Hi Dmitry,
On Tue, 24 Jul 2018 10:40:53 -0700
Dmitry Torokhov wrote:
> Hi Mylène,
>
> On Tue, Jul 24, 2018 at 03:00:46PM +0200, Mylène Josserand wrote:
> > Hello Dmitry,
> >
> > On Wed, 4 Jul 2018 16:21:58 +
> > Dmitry Torokhov wrote:
> >
>
Add the support of regulator to use it as VCC source.
Signed-off-by: Mylène Josserand
---
.../bindings/input/touchscreen/edt-ft5x06.txt | 1 +
drivers/input/touchscreen/edt-ft5x06.c | 29 ++
2 files changed, 30 insertions(+)
diff --git a/Documentation
touchscreen's node for A711 TBS tablet.
Thank you in advance for any review.
Best regards,
Mylène
Mylène Josserand (3):
Input: edt-ft5x06 - Add support for regulator
Input: edt-ft5x06 - Set wake/reset values on resume/suspend
arm: dts: sun8i: a83t: a711: Add touchscreen node
.../bindings
Tha A711 tablet has a FocalTech EDT-FT5x06 Polytouch touchscreen.
It is connected via I2C0. The reset line is PD5, the interrupt
line is PL7 and the VCC supply is the ldo_io0 regulator.
Signed-off-by: Mylène Josserand
---
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 16
1 file
On resume and suspend, set the value of wake and reset gpios
to be sure that we are in a know state after suspending/resuming.
Signed-off-by: Mylène Josserand
---
drivers/input/touchscreen/edt-ft5x06.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/input/touchscreen
Hello Dmitry,
On Wed, 4 Jul 2018 16:21:58 +
Dmitry Torokhov wrote:
> Hi Mylène,
>
> On Tue, Jul 03, 2018 at 11:43:07AM +0200, Mylène Josserand wrote:
> > Hello,
> >
> > Here is a V6 series to add the driver of the touchscreen Cypress,
> > TrueTouch Gen
Hello,
On Fri, 20 Jul 2018 07:43:55 -0600
Rob Herring wrote:
> On Wed, Jul 18, 2018 at 08:27:17PM +0200, Mylène Josserand wrote:
> > Add the support of regulator to use it as VCC source.
> >
> > Signed-off-by: Mylène Josserand
> > ---
> > .../bindings
Hello,
Thank you for your review.
On Thu, 19 Jul 2018 00:46:45 +0200
Ondřej Jirman wrote:
> Hello Mylène,
>
> On Wed, Jul 18, 2018 at 08:27:17PM +0200, Mylène Josserand wrote:
> > Add the support of regulator to use it as VCC source.
> >
> > Sign
Hello Dmitry,
Thank you for your review!
On Mon, 23 Jul 2018 15:39:26 -0700
Dmitry Torokhov wrote:
> On Thu, Jul 19, 2018 at 12:46:45AM +0200, Ondřej Jirman wrote:
> > Hello Mylène,
> >
> > On Wed, Jul 18, 2018 at 08:27:17PM +0200, Mylène Josserand wrote:
> > >
Add the support of regulator to use it as VCC source.
Signed-off-by: Mylène Josserand
Reviewed-by: Rob Herring
---
.../bindings/input/touchscreen/edt-ft5x06.txt | 1 +
drivers/input/touchscreen/edt-ft5x06.c | 43 ++
2 files changed, 44 insertions(+)
diff
in one patch (see patch 02).
Patch 01: Add support for regulator in the FocalTech touchscreen driver
because A711 tablet is using a regulator to power-up the touchscreen.
Patch 02: Add a set wake/reset values on resume and suspend.
Patch 03: Add i2c0 and touchscreen's node for A711 TBS tabl
On resume and suspend, set the value of wake and reset gpios
to be sure that we are in a know state after suspending/resuming.
Signed-off-by: Mylène Josserand
---
drivers/input/touchscreen/edt-ft5x06.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/input/touchscreen
Tha A711 tablet has a FocalTech EDT-FT5x06 Polytouch touchscreen.
It is connected via I2C0. The reset line is PD5, the interrupt
line is PL7 and the VCC supply is the ldo_io0 regulator.
Signed-off-by: Mylène Josserand
---
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 16
1 file
gt; C++ comment, the documentation has:
>
> Sure, so make the entire thing a C++ comment then.
Ok, I saw other drivers with this mix C++/C comment code so I wrote it
like this but no problem using only C++ comment.
I will send a v3 with this modification only (except if I have other
Hello Maxime,
On Wed, 4 Apr 2018 09:45:15 +0200
Maxime Ripard wrote:
> On Tue, Apr 03, 2018 at 10:06:28PM +0200, Mylène Josserand wrote:
> > Hello,
> >
> > Thank you for the review.
> >
> > On Tue, 3 Apr 2018 11:12:18 +0200
> > Maxime Ripard wrote:
>
?), it is okay for me to refactor this
> >> code :)
> >
> > I guess you could Cc the shmobile folks (Geert Uytterhoeven, Simon
> > Horman), and get them to review/test the changes.
>
> Correct. I can test on a remote R-Car E2 ALT board that needs it.
Great, thank yo
fine cpuid_feature_extract(reg, field) \
> cpuid_feature_extract_field(read_cpuid_ext(reg), field)
>
> +#endif /* __ASSEMBLY__ */
> +
> #endif
Tested-by: Mylène Josserand
Thanks!
Best regards,
--
Mylène Josserand, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
Hello Rob,
Thank you for the review.
On Wed, 7 Mar 2018 16:30:48 -0600
Rob Herring wrote:
> On Mon, Mar 05, 2018 at 01:48:17PM +0100, Mylène Josserand wrote:
> > Add a device-tree binding for Texas Instrument's PCM1789 codec.
> > For the moment, only I2C bus is supported bu
n that comes from touchscreen's binding.
Patch 01: Add the basis of the driver for Cypress Gen5 Touchscreen.
Patch 02: Add the binding documentation for this driver.
Thank you,
Best regards,
Mylène
Mylène Josserand (2):
Input: Add driver for Cypress Generation 5 touchscreen
dt-bindin
handles
button and multitouch events.
Reviewed-by: Maxime Ripard
Signed-off-by: Mylène Josserand
---
drivers/input/touchscreen/Kconfig | 16 +
drivers/input/touchscreen/Makefile |1 +
drivers/input/touchscreen/cyttsp5.c | 1110 +++
3 files changed, 1127
ed-by: Rob Herring
Signed-off-by: Mylène Josserand
---
.../bindings/input/touchscreen/cypress,cyttsp5.txt | 39 ++
1 file changed, 39 insertions(+)
create mode 100644
Documentation/devicetree/bindings/input/touchscreen/cypress,cyttsp5.txt
diff --git
a/Documentation/
Hello Dmitry,
On Wed, 4 Jul 2018 16:21:58 +
Dmitry Torokhov wrote:
> Hi Mylène,
>
> On Tue, Jul 03, 2018 at 11:43:07AM +0200, Mylène Josserand wrote:
> > Hello,
> >
> > Here is a V6 series to add the driver of the touchscreen Cypress,
> > TrueTouch Gen
Hello,
Thank you for the review.
On Tue, 27 Feb 2018 22:51:40 +0100
Thomas Petazzoni wrote:
> Hello,
>
> On Tue, 27 Feb 2018 22:24:30 +0100, Mylène Josserand wrote:
> > To prepare the support for the PCM1789, add a new compatible
> > and use the i2c_id to handle, l
Hello,
On Tue, 27 Feb 2018 22:56:29 +0100
Thomas Petazzoni wrote:
> Hello,
>
> On Tue, 27 Feb 2018 22:24:31 +0100, Mylène Josserand wrote:
>
> > diff --git a/sound/soc/codecs/pcm179x-i2c.c b/sound/soc/codecs/pcm179x-i2c.c
> > index 795a0657c097..83a2e1508df8 100644
&g
Hello,
On Tue, 27 Feb 2018 23:02:00 +0100
Thomas Petazzoni wrote:
> Hello,
>
> On Tue, 27 Feb 2018 22:24:32 +0100, Mylène Josserand wrote:
> > Add a reset gpio to be able to reset this line at startup.
> >
> > Signed-off-by: Mylène Josserand
>
> This n
Hello Fabio,
Thank you for the review!
On Tue, 27 Feb 2018 19:30:11 -0300
Fabio Estevam wrote:
> On Tue, Feb 27, 2018 at 6:24 PM, Mylène Josserand
> wrote:
>
> > + pcm179x->reset = of_get_named_gpio(np, "reset-gpios", 0);
> > +
Hello,
On Fri, 23 Feb 2018 16:09:49 +0100
Maxime Ripard wrote:
> On Fri, Feb 23, 2018 at 02:37:40PM +0100, Mylène Josserand wrote:
> > Move the assembly code for cluster cache enabling
> > into an assembly file instead of having it directly in C code.
> >
> > Cre
Hello,
On Thu, 1 Mar 2018 10:04:11 +0100
Michael Nazzareno Trimarchi wrote:
> Hi
>
> On Thu, Mar 1, 2018 at 8:43 AM, Mylène Josserand
> wrote:
> > Hello,
> >
> > Thank you for the review.
> >
> > On Tue, 27 Feb 2018 22:51:40 +0100
> > Thomas
Hello,
On Tue, 3 Apr 2018 17:07:06 +0800
Chen-Yu Tsai wrote:
> On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand
> wrote:
> > The R_CPUCFG is a collection of registers needed for SMP bringup
> > on clusters and cluster's reset.
> > For the moment, documentation ab
Hello,
Thank you for the review.
On Tue, 3 Apr 2018 11:12:18 +0200
Maxime Ripard wrote:
> On Tue, Apr 03, 2018 at 08:18:31AM +0200, Mylène Josserand wrote:
> > Add the initialization of CNTVOFF for sun8i-a83t.
> >
> > For boot CPU, Create a new machine that handles this
&
Hi,
On Tue, 3 Apr 2018 16:48:41 +0800
Chen-Yu Tsai wrote:
> On Tue, Apr 3, 2018 at 4:46 PM, Maxime Ripard
> wrote:
> > On Tue, Apr 03, 2018 at 08:18:34AM +0200, Mylène Josserand wrote:
> >> To prepare the support of sun8i-a83t, add a field in the smp_data
> >>
Hello Chen-Yu,
Thanks for your review.
On Tue, 3 Apr 2018 16:47:53 +0800
Chen-Yu Tsai wrote:
> On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand
> wrote:
> > Add the support for A83T.
> >
> > A83T SoC has an additional register than A80 to handle CPU configurations:
>
Hello Florian,
On Tue, 3 Apr 2018 12:56:30 -0700
Florian Fainelli wrote:
> On 04/02/2018 11:52 PM, Chen-Yu Tsai wrote:
> > On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand
> > wrote:
> >> To add the support for SMP on sun8i-a83t, we will use some
> >> defini
Hi Marc,
Thank you for the review.
On Wed, 4 Apr 2018 14:01:48 +0100
Marc Zyngier wrote:
> Hi Mylène,
>
> On 03/04/18 07:18, Mylène Josserand wrote:
> > The CNTVOFF register from arch timer is uninitialized.
> > It should be done by the bootloader but it is currently n
Hello Maxime,
Thanks for your review.
On Mon, 23 Apr 2018 10:16:09 +0200
Maxime Ripard wrote:
> On Fri, Apr 20, 2018 at 11:10:17PM +0200, Mylène Josserand wrote:
> > Add the initialization of CNTVOFF for sun8i-a83t.
> >
> > For boot CPU, create a new machine that handle
Hello,
On Mon, 23 Apr 2018 10:14:23 +0200
Maxime Ripard wrote:
> On Fri, Apr 20, 2018 at 11:10:19PM +0200, Mylène Josserand wrote:
> > To prepare the support of sun8i-a83t, add a field in the smp_data
> > structure to know if we are on sun9i-a80 or sun8i-a83t.
> >
don't need to be defined in multiple places.
Signed-off-by: Doug Berger
Signed-off-by: Florian Fainelli
Signed-off-by: Mylène Josserand
---
arch/arm/include/asm/cputype.h | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/include/asm/cputype.h b/arc
ls to boot correctly.
Because of that, this function can't be called in SMP's early_initcall
function which is called after timer's init.
For secondary CPUs, add this function into secondary_startup
assembly entry.
Signed-off-by: Mylène Josserand
Acked-by: Maxime Ripard
---
arch/arm/ma
Add the use of enable-method property for SMP support which allows
to handle the SMP support for this specific SoC.
This commit adds enable-method properties to all CPU nodes.
Signed-off-by: Mylène Josserand
---
arch/arm/boot/dts/sun8i-a83t.dtsi | 8
1 file changed, 8 insertions
addresses, remove unused label and fix registers' sizes.
Update the commit log and commit title of my last patch (see
patch 05).
Doug Berger (1):
ARM: Allow this header to be included by assembly files
Mylène Josserand (11):
ARM: sunxi: smp: Move assembly code into a file
ARM
To prepare the support of sun8i-a83t, add a field in the smp_data
structure to know if we are on sun9i-a80 or sun8i-a83t.
Add also a global variable to retrieve which architecture we are
having.
Signed-off-by: Mylène Josserand
---
arch/arm/mach-sunxi/mc_smp.c | 4
1 file changed, 4
Now that a common function is available for CNTVOFF's
initialization, let's convert shmobile-apmu code to use
this function.
Signed-off-by: Mylène Josserand
Reviewed-by: Geert Uytterhoeven
Tested-by: Geert Uytterhoeven
---
arch/arm/mach-shmobile/common.h | 1 -
arc
BIT(0) in case of SUN8I-A83T.
There is also a bit swap between sun8i-a83t and sun9i-a80 that must be
handled.
Signed-off-by: Mylène Josserand
---
arch/arm/mach-sunxi/Kconfig | 2 +-
arch/arm/mach-sunxi/mc_smp.c | 151 ++-
2 files changed, 137 insertions(+
To prepare the support for sun8i-a83t, rename the macro that handles
the power-off of clusters because it is different from sun9i-a80 to
sun8i-a83t.
The power off register for clusters are different from a80 and a83t.
Signed-off-by: Mylène Josserand
Acked-by: Maxime Ripard
Reviewed-by: Chen-Yu
The R_CPUCFG is a collection of registers needed for SMP bringup
on clusters and cluster's reset.
For the moment, documentation about this register is found in
Allwinner's code only.
Signed-off-by: Mylène Josserand
Reviewed-by: Chen-Yu Tsai
---
arch/arm/boot/dts/sun8i-a83t.dtsi |
Move the assembly code for cluster cache enabling and resuming
into an assembly file instead of having it directly in C code.
Remove the CFLAGS because we are using the ARM directive "arch"
instead.
Signed-off-by: Mylène Josserand
---
arch/arm/mach-sunxi/Makefile | 2 +-
arch/arm/
very well.
Add assembly code used for boot CPU and secondary CPU cores to make
sure that the CNTVOFF register is initialized. Because this code can
be used by different platforms, add this assembly file in ARM's common
folder.
Signed-off-by: Mylène Josserand
Reviewed-by: Geert Uytterhoeven
Add CCI-400 node and control-port on CPUs needed by SMP bringup.
Signed-off-by: Mylène Josserand
Reviewed-by: Chen-Yu Tsai
---
arch/arm/boot/dts/sun8i-a83t.dtsi | 41 +++
1 file changed, 41 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi
b
As we found in sun9i-a80, CPUCFG is a collection of registers that are
mapped to the SoC's signals from each individual processor core and
associated peripherals.
These registers are used for SMP bringup and CPU hotplugging.
Signed-off-by: Mylène Josserand
Reviewed-by: Chen-Yu Tsai
---
Hi Maxime,
On Wed, 2 May 2018 15:08:42 +0200
Maxime Ripard wrote:
> On Tue, May 01, 2018 at 02:31:26PM +0200, Mylène Josserand wrote:
> > Add the initialization of CNTVOFF for sun8i-a83t.
> >
> > For boot CPU, create a new machine that handles this
> > functi
x27;s handle that by
Bootloaders
Best regards,
Mylène Josserand
[1]
https://github.com/rockchip-linux/kernel/blob/develop-4.4/drivers/clk/rockchip/clk-rk3288.c#L960..L964
[2]
https://github.com/rockchip-linux/u-boot/blob/next-dev/arch/arm/mach-rockchip/rk3288/rk3288.c#L378..L388
Mylène Jos
ore. If the compatible is
"rockchip,rk3288w-cru", we will apply the difference according to this
version of this SoC.
Noticed that this new device-tree compatible must be handled by
bootloader.
Signed-off-by: Mylène Josserand
---
drivers/clk/rockchip/clk-rk3288.c | 20 ++--
AE_x to 1.
It also fixes others alarms issues :
- month and weekday errors : it was performing -1 instead of +1.
- wrong use of bit mask with bin2bcd
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 25 +
1 file changed, 17 insertions(+), 8 deletions
To add support of rv3049, the current driver is converted to use regmap.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 275 +++--
1 file changed, 142 insertions(+), 133 deletions(-)
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc
To prepare the use of regmap to add the support of RV-3049, all the
'i2c' in functions's names are removed.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 132 -
1 file changed, 57 insertions(+), 75 deletions(-)
diff
bin2bcd
Mylène Josserand (6):
rtc: rv3029: remove 'i2c' in functions names
rtc: rv3029: convert to use regmap
rtc: rv3029: Add support of RV3049
rtc: rv3029: Removes some checks and warnings
rtc: rv3029: fix alarm support
rtc: rv3029: add alarm IRQ
drivers/rtc/Kconfig
Add the alarm IRQ functionality.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 114 -
1 file changed, 93 insertions(+), 21 deletions(-)
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c
index 916bbc2..c2ef64f
Add support of Microcrystal RV3049 RTC (SPI) using regmap on the
RV3029 (I2C) driver.
Signed-off-by: Mylène Josserand
---
drivers/rtc/Kconfig| 37
drivers/rtc/rtc-rv3029c2.c | 108 +++--
2 files changed, 124 insertions(+), 21
Removes some checks from checkpatch such as spaces around arithmetic
operations or prefer "unsigned int".
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 68 +++---
1 file changed, 34 insertions(+), 34 deletions(-)
diff --git
Add the alarm IRQ functionality.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 114 -
1 file changed, 93 insertions(+), 21 deletions(-)
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c
index 916bbc2..c2ef64f
The bin2bcd function in set_time is uncorrect on weekdays as the
bit mask should be done at the end of arithmetic operations.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers
Remove some checks from checkpatch such as spaces around arithmetic
operations or prefer "unsigned int".
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 68 +++---
1 file changed, 34 insertions(+), 34 deletions(-)
diff --git
Add support of Microcrystal RV3049 RTC (SPI) using regmap on the
RV3029 (I2C) driver.
Signed-off-by: Mylène Josserand
---
drivers/rtc/Kconfig| 37
drivers/rtc/rtc-rv3029c2.c | 108 +++--
2 files changed, 124 insertions(+), 21
AE_x to 1.
It also fixes others alarms issues :
- month and weekday errors : it was performing -1 instead of +1.
- wrong use of bit mask with bin2bcd
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 23 ---
1 file changed, 16 insertions(+), 7 deletions
To prepare the use of regmap to add the support of RV-3049, all the
'i2c' in functions's names are removed.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 132 -
1 file changed, 57 insertions(+), 75 deletions(-)
diff
from checkpatch
- Fix the alarm support with a wrong use of bit mask on bin2bcd
Mylène Josserand (7):
rtc: rv3029: remove 'i2c' in functions names
rtc: rv3029: convert to use regmap
rtc: rv3029: Add support of RV3049
rtc: rv3029: Remove some checks and warnings
rtc: rv3029:
To add support of rv3049, the current driver is converted to use regmap.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 275 +++--
1 file changed, 142 insertions(+), 133 deletions(-)
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc
To add support of rv3049, the current driver is converted to use regmap.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 275 +++--
1 file changed, 142 insertions(+), 133 deletions(-)
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc
To prepare the use of regmap to add the support of RV-3049, all the
'i2c' in functions's names are removed.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 132 -
1 file changed, 57 insertions(+), 75 deletions(-)
diff
The current patchset adds the support of the microcrystal RV-3049 (spi).
This RTC will use the same driver than RV-3029 by updating it to use regmap.
It also adds the alarm IRQ functionality.
Mylène Josserand (6):
rtc: rv3029: remove 'i2c' in functions names
rtc: rv3029: conv
Add the alarm IRQ functionality.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 114 -
1 file changed, 93 insertions(+), 21 deletions(-)
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c
index 42de1a3..152ca9d
Removes some checks from checkpatch such as spaces around arithmetic
operations.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 66 ++
1 file changed, 32 insertions(+), 34 deletions(-)
diff --git a/drivers/rtc/rtc-rv3029c2.c b
Add support of Microcrystal RV3049 RTC (SPI) using regmap on the
RV3029 (I2C) driver.
Signed-off-by: Mylène Josserand
---
drivers/rtc/Kconfig| 37 +++
drivers/rtc/rtc-rv3029c2.c | 110 +++--
2 files changed, 126 insertions(+), 21
AE_x to 1.
It also fixes month and weekday errors : it was performing -1 instead
of +1.
Signed-off-by: Mylène Josserand
---
drivers/rtc/rtc-rv3029c2.c | 23 ---
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c
in device-tree.
If you have any feedbacks on it, I will be pleased to read them!
Best regards,
Mylène
Mylène Josserand (3):
iio: afe: rescale: Move scale conversion to new function
iio: afe: rescale: Add support of CHAN_INFO_PROCESSED
dt-bindings: iio: afe: Add hwmon example
.../bindings
With the support of CHAN_INFO_PROCESSED in voltage-divider,
it is possible to read the processed values directly from iio's
sysfs entries or by using iio-hwmon. Add an example for this last
use case.
Signed-off-by: Mylène Josserand
---
.../bindings/iio/afe/voltage-divider.txt
To prepare the support of processed value, create a function
to convert the scale according to the voltage-divider node
used in the device-tree.
Signed-off-by: Mylène Josserand
---
drivers/iio/afe/iio-rescale.c | 54 +--
1 file changed, 31 insertions
Add the support of the CHAN_INFO_PROCESSED to have directly
the processed value (raw * scale). It will be exported as
in_voltage0_input in sysfs.
Signed-off-by: Mylène Josserand
---
drivers/iio/afe/iio-rescale.c | 42 +-
1 file changed, 41 insertions
atch 13: Enable the smp support on sun8i-a83t by adding enable-method.
If you have any remarks/questions, let me know.
Thank you in advance,
Mylène
Mylène Josserand (13):
ARM: move cputype definitions into another file
ARM: sunxi: smp: Move assembly code into a file
ARM: sunxi: smp: Move
Add the use of enable-method property for SMP support which allows
to handle the SMP support for this specific SoC.
This commit adds enable-method properties to all CPU nodes.
Signed-off-by: Mylène Josserand
---
arch/arm/boot/dts/sun8i-a83t.dtsi | 8
1 file changed, 8 insertions
BIT(0) in case of SUN8I-A83T.
There is also a bit swap between sun8i-a83t and sun9i-a80 that must be
handled.
Signed-off-by: Mylène Josserand
---
arch/arm/mach-sunxi/mc_smp.c | 120 +--
1 file changed, 117 insertions(+), 3 deletions(-)
diff --git a/arch/arm
To prepare the support for sun8i-a83t, rename the variable name
that handles the power-off of clusters because it is different from
sun9i-a80 to sun8i-a83t.
The power off register for clusters are different from a80 and a83t.
Signed-off-by: Mylène Josserand
Acked-by: Maxime Ripard
---
arch
To prepare the support of sun8i-a83t, add a field in the smp_data
structure to enable the case of sun9i.
Start to handle the differences between sun9i-a80 and sun8i-a83t
by using this variable.
Add an index to retrieve which structures we are using.
Signed-off-by: Mylène Josserand
---
arch/arm
Move the assembly code for cluster cache enabling
into an assembly file instead of having it directly in C code.
Remove the CFLAGS because we are using the ARM directive "arch"
instead.
Signed-off-by: Mylène Josserand
---
arch/arm/mach-sunxi/Makefile | 4 +--
arch/arm/mach-sunxi
To prepare the support for sun8i-a83t, move some structures
at the beginning of the file.
Signed-off-by: Mylène Josserand
---
arch/arm/mach-sunxi/mc_smp.c | 48 +++-
1 file changed, 25 insertions(+), 23 deletions(-)
diff --git a/arch/arm/mach-sunxi
Move the CPU resume assembly function into the assembly file
to remove all assembly code from C code.
Signed-off-by: Mylène Josserand
---
arch/arm/mach-sunxi/headsmp.S | 5 +
arch/arm/mach-sunxi/mc_smp.c | 11 +--
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a
To add the support for SMP on sun8i-a83t, we will use some
definitions in an assembly file so move definitions into
another file to separate C functions and macro defintions.
Signed-off-by: Mylène Josserand
---
arch/arm/include/asm/cputype.h | 94 +---
arch
Add the initialization of CNTVOFF for sun8i-a83t.
For boot CPU, Create a new machine that handles this
function's call in an "init_early" callback.
For secondary CPUs, add this function into secondary_startup
assembly entry.
Signed-off-by: Mylène Josserand
---
arch/arm/mach-
very well.
Add assembly code used for boot CPU and secondary CPU cores to make
sure that the CNTVOFF register is initialized. Because this code can
be used by different platforms, add this assembly file in ARM's common
folder.
Signed-off-by: Mylène Josserand
---
arch/arm/common/Makefile
Add CCI-400 node and control-port on CPUs needed by SMP bringup.
Signed-off-by: Mylène Josserand
---
arch/arm/boot/dts/sun8i-a83t.dtsi | 41 +++
1 file changed, 41 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi
b/arch/arm/boot/dts/sun8i
1 - 100 of 302 matches
Mail list logo