[PATCH v2 1/2] Input: Add driver for Cypress Generation 5 touchscreen

2017-08-17 Thread Mylène Josserand
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

[PATCH v2 0/2] Input: Add Cypress Gen5 Touchscreen driver

2017-08-17 Thread Mylène Josserand
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

[PATCH v2 2/2] dt-bindings: input: Add documentation for cyttsp5

2017-08-17 Thread Mylène Josserand
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

[PATCH 1/2] Input: Add driver for Cypress Generation 5 touchscreen

2017-05-29 Thread Mylène Josserand
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

[PATCH 2/2] Documentation: DT: bindings: input: Add documentation for cyttsp5

2017-05-29 Thread Mylène Josserand
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

[PATCH 0/2] Input: Add Cypress Gen5 Touchscreen driver

2017-05-29 Thread Mylène Josserand
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

[PATCH] clk: sunxi-ng: a83t: Fix i2c buses bits

2017-11-03 Thread Mylène Josserand
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

[PATCH RESEND] clk: sunxi-ng: a83t: Fix i2c buses bits

2017-11-05 Thread Mylène Josserand
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

Re: [PATCH v4 1/3] Input: edt-ft5x06 - Add support for regulator

2018-08-07 Thread Mylène Josserand
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

Re: [PATCH v6 0/2] Input: Add Cypress Gen5 Touchscreen driver

2018-08-30 Thread Mylène Josserand
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: > > &

Re: [PATCH v6 0/2] Input: Add Cypress Gen5 Touchscreen driver

2018-08-13 Thread Mylène Josserand
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: > > >

[PATCH v3 1/3] Input: edt-ft5x06 - Add support for regulator

2018-07-18 Thread Mylène Josserand
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

[PATCH v3 0/3] sun8i-a83t: Add touchscreen support on TBS A711

2018-07-18 Thread Mylène Josserand
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

[PATCH v3 3/3] arm: dts: sun8i: a83t: a711: Add touchscreen node

2018-07-18 Thread Mylène Josserand
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

[PATCH v3 2/3] Input: edt-ft5x06 - Set wake/reset values on resume/suspend

2018-07-18 Thread Mylène Josserand
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

Re: [PATCH v6 0/2] Input: Add Cypress Gen5 Touchscreen driver

2018-07-24 Thread Mylène Josserand
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

Re: [PATCH v3 1/3] Input: edt-ft5x06 - Add support for regulator

2018-07-24 Thread Mylène Josserand
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

Re: [PATCH v3 1/3] Input: edt-ft5x06 - Add support for regulator

2018-07-24 Thread Mylène Josserand
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

Re: [PATCH v3 1/3] Input: edt-ft5x06 - Add support for regulator

2018-07-24 Thread Mylène Josserand
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: > > >

[PATCH v4 1/3] Input: edt-ft5x06 - Add support for regulator

2018-07-25 Thread Mylène Josserand
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

[PATCH v4 0/3] sun8i-a83t: Add touchscreen support on TBS A711

2018-07-25 Thread Mylène Josserand
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

[PATCH v4 2/3] Input: edt-ft5x06 - Set wake/reset values on resume/suspend

2018-07-25 Thread Mylène Josserand
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

[PATCH v4 3/3] arm: dts: sun8i: a83t: a711: Add touchscreen node

2018-07-25 Thread Mylène Josserand
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

Re: [PATCH v2 1/2] ASoC: codecs: Add support for PCM1789

2018-03-07 Thread Mylène Josserand
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

Re: [PATCH v5 08/13] ARM: sunxi: Add initialization of CNTVOFF

2018-04-08 Thread Mylène Josserand
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: >

Re: [PATCH v5 07/13] ARM: smp: Add initialization of CNTVOFF

2018-04-11 Thread Mylène Josserand
?), 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

Re: [PATCH 1/4] ARM: Allow this header to be included by assembly files

2018-04-10 Thread Mylène Josserand
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

Re: [PATCH v2 2/2] ASoC: Add bindings for PCM1789

2018-03-08 Thread Mylène Josserand
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

[PATCH v6 0/2] Input: Add Cypress Gen5 Touchscreen driver

2018-07-03 Thread Mylène Josserand
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

[PATCH v6 1/2] Input: Add driver for Cypress Generation 5 touchscreen

2018-07-03 Thread Mylène Josserand
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

[PATCH v6 2/2] dt-bindings: input: Add documentation for cyttsp5

2018-07-03 Thread Mylène Josserand
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/

Re: [PATCH v6 0/2] Input: Add Cypress Gen5 Touchscreen driver

2018-07-18 Thread Mylène Josserand
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

Re: [PATCH v1 1/4] ASoC: codecs: pcm179x: Add PCM1789 id

2018-02-28 Thread Mylène Josserand
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

Re: [PATCH v1 2/4] ASoC: codecs: pcm179x: Add support for PCM1789

2018-02-28 Thread Mylène Josserand
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

Re: [PATCH v1 3/4] ASoC: codecs: pcm179x: Add reset gpio

2018-02-28 Thread Mylène Josserand
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

Re: [PATCH v1 3/4] ASoC: codecs: pcm179x: Add reset gpio

2018-03-01 Thread Mylène Josserand
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); > > +

Re: [PATCH v4 08/10] ARM: sunxi: smp: Move assembly code into a file

2018-03-01 Thread Mylène Josserand
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

Re: [alsa-devel] [PATCH v1 1/4] ASoC: codecs: pcm179x: Add PCM1789 id

2018-03-01 Thread Mylène Josserand
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

Re: [PATCH v5 05/13] ARM: dts: sun8i: Add R_CPUCFG device node for the A83T dtsi

2018-04-03 Thread Mylène Josserand
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

Re: [PATCH v5 08/13] ARM: sunxi: Add initialization of CNTVOFF

2018-04-03 Thread Mylène Josserand
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 &

Re: [PATCH v5 11/13] ARM: sun9i: smp: Add is_sun9i field

2018-04-03 Thread Mylène Josserand
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 > >>

Re: [PATCH v5 12/13] ARM: sun8i: smp: Add support for A83T

2018-04-03 Thread Mylène Josserand
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: >

Re: [PATCH v5 01/13] ARM: move cputype definitions into another file

2018-04-04 Thread Mylène Josserand
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

Re: [PATCH v5 07/13] ARM: smp: Add initialization of CNTVOFF

2018-04-04 Thread Mylène Josserand
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

Re: [PATCH v7 06/11] ARM: sunxi: Add initialization of CNTVOFF

2018-04-27 Thread Mylène Josserand
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

Re: [PATCH v7 08/11] ARM: sun9i: smp: Add is_a83t field

2018-04-27 Thread Mylène Josserand
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. > >

[PATCH v8 01/12] ARM: Allow this header to be included by assembly files

2018-05-01 Thread Mylène Josserand
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

[PATCH v8 07/12] ARM: sunxi: Add initialization of CNTVOFF

2018-05-01 Thread Mylène Josserand
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

[PATCH v8 11/12] ARM: dts: sun8i: Add enable-method for SMP support for the A83T SoC

2018-05-01 Thread Mylène Josserand
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

[PATCH v8 00/12] Sunxi: Add SMP support on A83T

2018-05-01 Thread Mylène Josserand
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

[PATCH v8 09/12] ARM: sun9i: smp: Add is_a83t field

2018-05-01 Thread Mylène Josserand
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

[PATCH v8 12/12] ARM: shmobile: Convert file to use cntvoff

2018-05-01 Thread Mylène Josserand
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

[PATCH v8 10/12] ARM: sun8i: smp: Add support for A83T

2018-05-01 Thread Mylène Josserand
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(+

[PATCH v8 08/12] ARM: sun9i: smp: Rename clusters's power-off

2018-05-01 Thread Mylène Josserand
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

[PATCH v8 04/12] ARM: dts: sun8i: Add R_CPUCFG device node for the A83T dtsi

2018-05-01 Thread Mylène Josserand
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 |

[PATCH v8 02/12] ARM: sunxi: smp: Move assembly code into a file

2018-05-01 Thread Mylène Josserand
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/

[PATCH v8 06/12] ARM: smp: Add initialization of CNTVOFF

2018-05-01 Thread Mylène Josserand
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

[PATCH v8 05/12] ARM: dts: sun8i: a83t: Add CCI-400 node

2018-05-01 Thread Mylène Josserand
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

[PATCH v8 03/12] ARM: dts: sun8i: Add CPUCFG device node for A83T dtsi

2018-05-01 Thread Mylène Josserand
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 ---

Re: [PATCH v8 07/12] ARM: sunxi: Add initialization of CNTVOFF

2018-05-02 Thread Mylène Josserand
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

[PATCH v3 0/1] ARM: Add Rockchip rk3288w support

2020-06-01 Thread Mylène Josserand
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

[PATCH v3 1/1] clk: rockchip: rk3288: Handle clock tree for rk3288w

2020-06-01 Thread Mylène Josserand
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 ++--

[PATCH V2 5/6] rtc: rv3029: fix alarm support

2016-04-28 Thread Mylène Josserand
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

[PATCH V2 2/6] rtc: rv3029: convert to use regmap

2016-04-28 Thread Mylène Josserand
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

[PATCH V2 1/6] rtc: rv3029: remove 'i2c' in functions names

2016-04-28 Thread Mylène Josserand
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

[PATCH V2 0/6] add support for Microcrystal RV-3049

2016-04-28 Thread Mylène Josserand
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

[PATCH V2 6/6] rtc: rv3029: add alarm IRQ

2016-04-28 Thread Mylène Josserand
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

[PATCH V2 3/6] rtc: rv3029: Add support of RV3049

2016-04-28 Thread Mylène Josserand
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

[PATCH V2 4/6] rtc: rv3029: Removes some checks and warnings

2016-04-28 Thread Mylène Josserand
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

[PATCH V3 7/7] rtc: rv3029: add alarm IRQ

2016-05-03 Thread Mylène Josserand
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

[PATCH V3 6/7] rtc: rv3029: fix set_time function

2016-05-03 Thread Mylène Josserand
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

[PATCH V3 4/7] rtc: rv3029: Remove some checks and warnings

2016-05-03 Thread Mylène Josserand
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

[PATCH V3 3/7] rtc: rv3029: Add support of RV3049

2016-05-03 Thread Mylène Josserand
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

[PATCH V3 5/7] rtc: rv3029: fix alarm support

2016-05-03 Thread Mylène Josserand
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

[PATCH V3 1/7] rtc: rv3029: remove 'i2c' in functions names

2016-05-03 Thread Mylène Josserand
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

[PATCH V3 0/7] add support for Microcrystal RV-3049

2016-05-03 Thread Mylène Josserand
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:

[PATCH V3 2/7] rtc: rv3029: convert to use regmap

2016-05-03 Thread Mylène Josserand
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

[PATCH 2/6] rtc: rv3029: convert to use regmap

2016-04-21 Thread Mylène Josserand
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

[PATCH 1/6] rtc: rv3029: remove 'i2c' in functions names

2016-04-21 Thread Mylène Josserand
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

[PATCH 0/6] add support for Microcrystal RV-3049

2016-04-21 Thread Mylène Josserand
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

[PATCH 6/6] rtc: rv3029: add alarm IRQ

2016-04-21 Thread Mylène Josserand
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

[PATCH 4/6] rtc: rv3029: Removes some checks and warnings

2016-04-21 Thread Mylène Josserand
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

[PATCH 3/6] rtc: rv3029: Add support of RV3049

2016-04-21 Thread Mylène Josserand
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

[PATCH 5/6] rtc: rv3029: enable AE_x bits on set_alarm

2016-04-21 Thread Mylène Josserand
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

[PATCH v1 0/3] iio: afe: rescale: Add INFO_PROCESSED support

2019-06-11 Thread Mylène Josserand
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

[PATCH v1 3/3] dt-bindings: iio: afe: Add hwmon example

2019-06-11 Thread Mylène Josserand
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

[PATCH v1 1/3] iio: afe: rescale: Move scale conversion to new function

2019-06-11 Thread Mylène Josserand
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

[PATCH v1 2/3] iio: afe: rescale: Add support of CHAN_INFO_PROCESSED

2019-06-11 Thread Mylène Josserand
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

[PATCH v5 00/13] Sunxi: Add SMP support on A83T

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 13/13] ARM: dts: sun8i: Add enable-method for SMP support for the A83T SoC

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 12/13] ARM: sun8i: smp: Add support for A83T

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 09/13] ARM: sun9i: smp: Rename clusters's power-off

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 11/13] ARM: sun9i: smp: Add is_sun9i field

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 02/13] ARM: sunxi: smp: Move assembly code into a file

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 10/13] ARM: sun9i: smp: Move structures

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 03/13] ARM: sunxi: smp: Move cpu_resume assembly entry into file

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 01/13] ARM: move cputype definitions into another file

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 08/13] ARM: sunxi: Add initialization of CNTVOFF

2018-04-02 Thread Mylène Josserand
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-

[PATCH v5 07/13] ARM: smp: Add initialization of CNTVOFF

2018-04-02 Thread Mylène Josserand
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

[PATCH v5 06/13] ARM: dts: sun8i: a83t: Add CCI-400 node

2018-04-02 Thread Mylène Josserand
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   2   3   4   >