[RFC PATCH] led: add Cycle LED trigger.

2013-06-18 Thread Gaël PORTAY
* control: used to control the cycle trigger + "start"/"stop": to start/stop the cycle + "reset" to clear the cycle counter and the internal plot point index + "pause"/"resume" to pause/resume the cycle Signed-off-by: Gaël PORTA

Re: [RFC PATCH] led: add Cycle LED trigger.

2013-06-20 Thread Gaël PORTAY
On 19/06/2013 00:05, Joe Perches wrote: On Tue, 2013-06-18 at 18:24 +0200, Gaël PORTAY wrote: Currently, none of available triggers supports playing with the LED brightness level. The cycle trigger provides a way to define custom brightness cycle. For example, it is easy to customize the cycle

Re: [RFC PATCH] led: add Cycle LED trigger.

2013-06-27 Thread Gaël PORTAY
On 22/06/2013 21:45, Pavel Machek wrote: On Sat 2013-06-22 18:43:01, Sebastian Reichel wrote: On Sat, Jun 22, 2013 at 01:26:20PM +0200, Pavel Machek wrote: On Tue 2013-06-18 18:24:23, Gaël PORTAY wrote: Currently, none of available triggers supports playing with the LED brightness level. The

Re: [RFC PATCH] led: add Cycle LED trigger.

2013-06-27 Thread Gaël PORTAY
On Jun 20, 2013, at 7:58 PM, Bryan Wu wrote: On Thu, Jun 20, 2013 at 2:44 AM, Gaël PORTAY wrote: On 19/06/2013 00:05, Joe Perches wrote: On Tue, 2013-06-18 at 18:24 +0200, Gaël PORTAY wrote: Currently, none of available triggers supports playing with the LED brightness level. The cycle

[PATCH] ARM: at91/dt: drop deprecated mainck node from pmc

2015-04-16 Thread Gaël PORTAY
The clock-frequency property became obsolete since the rework of the main clock driver in 3.16 (see commit 27cb1c2083373a44130d50d4d2fb64cf7eff2d90). It now get and uses the clock-frequency from the main_xtal node. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6

[PATCH v4 2/2] ARM: at91/dt: add support for kizboxmini

2015-04-16 Thread Gaël PORTAY
Add DT file for Kizbox mini board. This board is based on Atmel's AT91SAM9G25 SoC. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon Acked-by: Alexandre Belloni --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-kizboxmini.dts

[PATCH v4 0/2] ARM: at91/dt: add support for at91-kizboxmini

2015-04-16 Thread Gaël PORTAY
tible machine - add at91sam9g25 board to compatible machine Changes since v2: - update to v4.0 - fix alphabetical order between gpio_keys and pwm_leds Changes since v3: - add num-ports = <1> attribute to ohci node PS: My apologies for this last minute update. Gaël PORTAY (2): ARM: at91/dt:

[PATCH v4 1/2] ARM: at91/dt: sam9x5: add pinctrl for pwm0

2015-04-16 Thread Gaël PORTAY
Defines the pinctrl configurations for PWM0. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91sam9x5.dtsi | 46 +++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index d221179

[PATCH 1/2] ARM: at91/dt: sam9x5: add pinctrl for pwm0

2015-04-07 Thread Gaël PORTAY
Defines the pinctrl configurations for PWM0. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91sam9x5.dtsi | 46 +++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index d221179

[PATCH] ARM: at91/dt: add support for at91-kizbox2

2015-04-07 Thread Gaël PORTAY
Hi, Here is a patch to bring support for a new hardware based on SAMA5D31 SoC. Best regards, Gaël PORTAY (1): ARM: at91/dt: add support for kizbox2. arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-kizbox2.dts | 223 + 2 files changed

[PATCH] ARM: at91/dt: add support for kizbox2.

2015-04-07 Thread Gaël PORTAY
Add DT file for Kizbox 2 board. This board is based on Atmel's SAMA5D31 Cortex-A5 SoC. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-kizbox2.dts | 223 + 2 files changed, 224 insertions(+) create

[PATCH 2/2] ARM: at91/dt: add support for kizboxmini.

2015-04-07 Thread Gaël PORTAY
Add DT file for Kizbox mini board. This board is based on Atmel's AT91SAM9G25 SoC. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-kizboxmini.dts | 129 ++ 2 files changed, 130 insertions(+) create mode 1

[PATCH 0/2] ARM: at91/dt: add support for at91-kizboxmini

2015-04-07 Thread Gaël PORTAY
Hi, Here are two patches to bring support for a new hardware based on SAM9G25 SoC. The first one adds the PIN controller definition for PWM0. The second defines the new board. Best regards, Gaël PORTAY (2): ARM: at91/dt: sam9x5: add pinctrl for pwm0 ARM: at91/dt: add support for kizboxmini

[PATCH v2 2/2] ARM: at91/dt: add support for kizboxmini

2015-04-08 Thread Gaël PORTAY
Add DT file for Kizbox mini board. This board is based on Atmel's AT91SAM9G25 SoC. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-kizboxmini.dts | 129 ++ 2 files changed, 130 insertions(+) create mode 1

[PATCH v2 0/2] ARM: at91/dt: add support for at91-kizboxmini

2015-04-08 Thread Gaël PORTAY
tible machine - add at91sam9g25 board to compatible machine Best regards, Gaël PORTAY (2): ARM: at91/dt: sam9x5: add pinctrl for pwm0 ARM: at91/dt: add support for kizboxmini arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-kizboxmini.dts

[PATCH v2 1/2] ARM: at91/dt: sam9x5: add pinctrl for pwm0

2015-04-08 Thread Gaël PORTAY
Defines the pinctrl configurations for PWM0. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91sam9x5.dtsi | 46 +++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index d221179

[PATCH v2] ARM: at91/dt: add support for kizbox2

2015-04-08 Thread Gaël PORTAY
Add DT file for Kizbox 2 board. This board is based on Atmel's SAMA5D31 Cortex-A5 SoC. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- Changes since v1: - drop ek boards from compatible machine - drop useless pmc node arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts

Re: [PATCH v2 2/7] ARM: at91/dt: at91-kizbox: sanitize file

2015-04-30 Thread Gaël PORTAY
On 29/04/2015 01:34, Alexandre Belloni wrote: On 21/04/2015 at 14:05:13 +0200, Gaël PORTAY wrote : Consists in: * sorting nodes by address as possible or alphabetically, * adding myself as new maintainer and * update license. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91

[PATCH v3 5/7] ARM: at91/dt: at91-kizbox: leds related changes

2015-04-30 Thread Gaël PORTAY
This: * moves to pwm-leds using tcb-pwm driver and * renames leds to pwm::. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- arch/arm/boot/dts/at91-kizbox.dts | 53 +-- 1 file changed, 34 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot

[PATCH v3 4/7] ARM: at91/dt: at91-kizbox: gpio-keys related changes

2015-04-30 Thread Gaël PORTAY
This: * fixes active level of GPIO (active high) and * renames buttons: - reset (PB_RST), and - mode to user (PB_USER). Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- arch/arm/boot/dts/at91-kizbox.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[PATCH v3 0/7] ARM: at91/dt: kizbox: update and rename to at91-kizbox

2015-04-30 Thread Gaël PORTAY
active level and rename, - moves leds to pwm support (using tcb-pwm driver) and rename as well, - re-sizes nand mtd partitions and - updates chosen-node (bootargs + set linux stdout path to DBGU), Regards, Gaël PORTAY Changes since v1: - Split into patches for review Changes since v2: - Rebase

Re: [PATCH v3 0/7] ARM: at91/dt: kizbox: update and rename to at91-kizbox

2015-04-30 Thread Gaël PORTAY
On 30/04/2015 09:42, Alexandre Belloni wrote: On 30/04/2015 at 09:33:31 +0200, Gaël PORTAY wrote : Hi, This patchset renames the kizbox board into at91-kizbox to match AT91 naming convention, sanitize and sorts nodes by address when possible (or alphabetically if not applicable). It also

[PATCH v3 7/7] ARM: at91/dt: at91-kizbox: update chosen node

2015-04-30 Thread Gaël PORTAY
Simplify the bootargs since the platform is booting from an initramfs and set the kernel stdout path to DBGU. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- arch/arm/boot/dts/at91-kizbox.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91

[PATCH v3 6/7] ARM: at91/dt: at91-kizbox: re-size nand partitions

2015-04-30 Thread Gaël PORTAY
Re-size NAND partitions since the bootstrap is able to read volumes from an UBI image. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- arch/arm/boot/dts/at91-kizbox.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/at91-kizbox.dts b

[PATCH v3 3/7] ARM: at91/dt: at91-kizbox: user proper serial uart

2015-04-30 Thread Gaël PORTAY
USART3 is the only serial UART accessible. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- arch/arm/boot/dts/at91-kizbox.dts | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot/dts/at91-kizbox.dts index

[PATCH v3 1/7] ARM: at91/dt: kizbox: rename to at91-kizbox

2015-04-30 Thread Gaël PORTAY
Rename to match AT91 naming convention. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- arch/arm/boot/dts/Makefile| 2 +- arch/arm/boot/dts/{kizbox.dts => at91-kizbox.dts} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename arch/arm/boot/

[PATCH v3 2/7] ARM: at91/dt: at91-kizbox: sanitize file

2015-04-30 Thread Gaël PORTAY
Consists in: * sorting nodes by address as possible or alphabetically, * adding myself as new maintainer and * update license. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- arch/arm/boot/dts/at91-kizbox.dts | 65 +++ 1 file changed, 31

[PATCH] ARM: at91/dt: kizbox: update and rename to at91-kizbox

2015-04-20 Thread Gaël PORTAY
Sort nodes, rename to match Atmel naming convention and update the features below: - command-line, - use proper serial uart, - rename leds and gpio-keys, - update to pwm-leds and - fix gpio-key level. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/Makefile| 2 +- arch/arm/boot

Re: [PATCH] ARM: at91/dt: kizbox: update and rename to at91-kizbox

2015-04-21 Thread Gaël PORTAY
On 21/04/2015 09:11, Boris Brezillon wrote: Hi Gael, On Mon, 20 Apr 2015 11:13:38 +0200 Gaël PORTAY wrote: Sort nodes, rename to match Atmel naming convention You should use -M when you generate your patches with format-patch: it keeps track of files that have been renamed instead of

[PATCH v2 6/7] ARM: at91/dt: at91-kizbox: re-size nand partitions

2015-04-21 Thread Gaël PORTAY
Re-size NAND partitions since the bootstrap is able to read volumes from an UBI image. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91-kizbox.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot/dts/at91

[PATCH v2 7/7] ARM: at91/dt: at91-kizbox: update chosen node

2015-04-21 Thread Gaël PORTAY
Simplify the bootargs since the platform is booting from an initramfs and set the kernel stdout path to DBGU. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91-kizbox.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot

[PATCH v2 4/7] ARM: at91/dt: at91-kizbox: gpio-keys related changes

2015-04-21 Thread Gaël PORTAY
This: * fixes active level of GPIO (active high) and * renames buttons: - reset (PB_RST), and - mode to user (PB_USER). Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91-kizbox.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/at91

[PATCH v2 2/7] ARM: at91/dt: at91-kizbox: sanitize file

2015-04-21 Thread Gaël PORTAY
Consists in: * sorting nodes by address as possible or alphabetically, * adding myself as new maintainer and * update license. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91-kizbox.dts | 67 +++ 1 file changed, 32 insertions(+), 35 deletions

[PATCH v2 0/7] ARM: at91/dt: kizbox: update and rename to at91-kizbox

2015-04-21 Thread Gaël PORTAY
*** BLURB HERE *** Gaël PORTAY (7): ARM: at91/dt: kizbox: rename to at91-kizbox ARM: at91/dt: at91-kizbox: sanitize file ARM: at91/dt: at91-kizbox: user proper serial uart ARM: at91/dt: at91-kizbox: gpio-keys related changes ARM: at91/dt: at91-kizbox: leds related changes ARM: at91/dt

[PATCH v2 1/7] ARM: at91/dt: kizbox: rename to at91-kizbox

2015-04-21 Thread Gaël PORTAY
Rename to match AT91 naming convention. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/Makefile| 2 +- arch/arm/boot/dts/{kizbox.dts => at91-kizbox.dts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename arch/arm/boot/dts/{kizbox.dts => at91-kizbox.dts

[PATCH v2 3/7] ARM: at91/dt: at91-kizbox: user proper serial uart

2015-04-21 Thread Gaël PORTAY
USART3 is the only serial UART accessible. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91-kizbox.dts | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot/dts/at91-kizbox.dts index 00c86c1..72d5de80 100644

[PATCH v2 5/7] ARM: at91/dt: at91-kizbox: leds related changes

2015-04-21 Thread Gaël PORTAY
This: * moves to pwm-leds using tcb-pwm driver and * renames leds to pwm::. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91-kizbox.dts | 53 +-- 1 file changed, 34 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch

[PATCH v3] ARM: at91/dt: add support for kizbox2

2015-04-13 Thread Gaël PORTAY
Add DT file for Kizbox 2 board. This board is based on Atmel's SAMA5D31 Cortex-A5 SoC. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- Changes since v1: - drop ek boards from compatible machine - drop useless pmc node Changes since v2: - update to v4.0 - fix alphabetical order be

[PATCH v3 2/2] ARM: at91/dt: add support for kizboxmini

2015-04-13 Thread Gaël PORTAY
Add DT file for Kizbox mini board. This board is based on Atmel's AT91SAM9G25 SoC. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-kizboxmini.dts | 129 ++ 2 files changed, 130 insertions(+) create mode 1

[PATCH v3 1/2] ARM: at91/dt: sam9x5: add pinctrl for pwm0

2015-04-13 Thread Gaël PORTAY
Defines the pinctrl configurations for PWM0. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91sam9x5.dtsi | 46 +++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index d221179

[PATCH v3 0/2] ARM: at91/dt: add support for at91-kizboxmini

2015-04-13 Thread Gaël PORTAY
tible machine - add at91sam9g25 board to compatible machine Changes since v2: - update to v4.0 - fix alphabetical order between gpio_keys and pwm_leds Best regards, Gaël PORTAY (2): ARM: at91/dt: sam9x5: add pinctrl for pwm0 ARM: at91/dt: add support for kizboxmini arch/arm/boot/dts/Mak

[PATCH] ARM: at91/dts: kizbox: fix mismatch LED PWM device

2015-06-03 Thread Gaël PORTAY
The network_red LED uses the 4th PWM device. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91-kizbox.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot/dts/at91-kizbox.dts index a0e63ff..cf1628f 100644 --- a/arch/arm

Re: [PATCH] ARM: at91/dts: kizbox: fix mismatch LED PWM device

2015-06-04 Thread Gaël PORTAY
On 04/06/2015 10:02, Nicolas Ferre wrote: Le 03/06/2015 11:44, Gaël PORTAY a écrit : The network_red LED uses the 4th PWM device. Signed-off-by: Gaël PORTAY Acked-by: Nicolas Ferre And stacked on at91-4.2-dt. Bye, --- arch/arm/boot/dts/at91-kizbox.dts | 2 +- 1 file changed, 1

[PATCH v4 3/5] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2019-04-15 Thread Gaël PORTAY
frequency this driver should disable the DDR ODT. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Chanwoo Choi Signed-off-by: Gaël PORTAY Acked-by: MyungJoo Ham --- Changes in v4: - [PATCH v3 3/5] Add Acked-by: MyungJoo Ham . Changes in v3: - [PATCH v2 3/5] Add Signed-off-by: Gaël PORTAY

[PATCH v4 1/5] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2019-04-15 Thread Gaël PORTAY
Gaël PORTAY Acked-by: MyungJoo Ham --- Changes in v4: - [PATCH v3 1/5] Add Acked-by: MyungJoo Ham . Changes in v3: - [PATCH v2 1/5] Add Signed-off-by: Gaël PORTAY . Changes in v2: - [PATCH 1/8] Really add Acked-by: Chanwoo Choi . Changes in v1: - [RFC 1/10] Add Acked-by: Chanwoo Choi - [RFC 1/

[PATCH v4 4/5] arm64: dts: rk3399: Add dfi and dmc nodes.

2019-04-15 Thread Gaël PORTAY
From: Lin Huang These are required to support DDR DVFS on rk3399 platform. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaël PORTAY --- Changes in v4: - [PATCH v3 4/5] Remove board related DDR settings. Changes in v3: None Changes in v2: - [PATCH 7/8

[PATCH v4 0/5] Add support for drm/rockchip to dynamically control the DDR frequency.

2019-04-15 Thread Gaël PORTAY
] Add Signed-off-by: Gaël PORTAY . - [PATCH v2 2/5] Add Signed-off-by: Gaël PORTAY . - [PATCH v2 3/5] Add Signed-off-by: Gaël PORTAY . Remove comments. Move pmu dt parsing after dt-parsing of timings to fix data->odt_dis_freq value. - [P

[PATCH v4 5/5] arm64: dts: rockchip: Enable dmc and dfi nodes on gru.

2019-04-15 Thread Gaël PORTAY
From: Lin Huang Enable the DMC (Dynamic Memory Controller) and the DFI (DDR PHY Interface) nodes on gru boards so we can support DDR DVFS. The patch also introduces a new file with default DRAM settings. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaël

[PATCH v4 2/5] dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle.

2019-04-15 Thread Gaël PORTAY
Signed-off-by: Gaël PORTAY Acked-by: MyungJoo Ham --- Changes in v4: - [PATCH v3 2/5] Add Acked-by: MyungJoo Ham . Changes in v3: - [PATCH v2 2/5] Add Signed-off-by: Gaël PORTAY . Changes in v2: None Changes in v1: - [RFC 2/10] Add reviewed and acked tags from Chanwoo Choi and Rob Herring

[RFC] etnaviv: Fix gpu->memory_base address

2019-01-25 Thread Gaël PORTAY
memory_base to: gpu->memory_base = PHYS_OFFSET which leaves the device with a linear window of 2G in our case. CC: Peter Senna Tschudin CC: Sjoerd Simons Signed-off-by: Gaël PORTAY --- Hi all, I am looking for a proper function to get the end of the physical memory. We have tr

[PATCH 0/3] ARM: at91/tclib: fix segmentation fault

2014-08-19 Thread Gaël PORTAY
yncing: Fatal exception in interrupt Your sincerly, Gaël PORTAY Gaël PORTAY (3): ARM: at91/tclib: prefer using of devm_* functions ARM: at91/tclib: move initialization from alloc to probe ARM: at91/tclib: mask interruptions at shutdown and probe drivers/clocksource/tcb_clksrc.c | 2 +- d

[PATCH 1/3] ARM: at91/tclib: prefer using of devm_* functions

2014-08-19 Thread Gaël PORTAY
Signed-off-by: Gaël PORTAY --- drivers/misc/atmel_tclib.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/misc/atmel_tclib.c b/drivers/misc/atmel_tclib.c index c8d8e38..b514a2d 100644 --- a/drivers/misc/atmel_tclib.c +++ b/drivers/misc/atmel_tclib.c

[PATCH 2/3] ARM: at91/tclib: move initialization from alloc to probe

2014-08-19 Thread Gaël PORTAY
done once, ie not every time a tc block is requested. If it fails, the device is not appended to the list of tc blocks. Furhermore, the device id is retrieved at probe as well, avoiding parsing DT every time the user requests of tc block. Signed-off-by: Gaël PORTAY --- drivers/clocksource

[PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-19 Thread Gaël PORTAY
k+0x14/0x24) r4: r3:c182a000 Code: bad PC value ---[ end trace 5b30f0017e282e47 ]--- Kernel panic - not syncing: Fatal exception in interrupt Signed-off-by: Gaël PORTAY --- drivers/misc/atmel_tclib.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/misc/atmel_tcl

[PATCHv3 0/4] ARM: at91/tclib: fix segmentation fault

2014-09-05 Thread Gaël PORTAY
yncing: Fatal exception in interrupt Your sincerly, Gaël PORTAY Changes since v1: - use writel instead of __raw_writel - move to request_irq function - disable clock if request irq fails Changes since v2: - create dedicated macro to define all IRQs - use new ATMEL_TC_ALL_IRQ macro to mask al

[PATCHv3 1/4] ARM: at91/tclib: prefer using of devm_* functions

2014-09-05 Thread Gaël PORTAY
Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- drivers/misc/atmel_tclib.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/misc/atmel_tclib.c b/drivers/misc/atmel_tclib.c index c8d8e38..b514a2d 100644 --- a/drivers/misc/atmel_tclib.c +++ b

[PATCHv3 2/4] ARM: at91/tclib: move initialization from alloc to probe

2014-09-05 Thread Gaël PORTAY
done once, ie not every time a tc block is requested. If it fails, the device is not appended to the list of tc blocks. Furhermore, the device id is retrieved at probe as well, avoiding parsing DT every time the user requests of tc block. Signed-off-by: Gaël PORTAY Acked-by: Thierry Reding Acked-by

[PATCHv3 4/4] clocksource: tcb_clksrc: sanitize IRQ request

2014-09-05 Thread Gaël PORTAY
The clock is not unprepared in case of the request IRQ fails. Also update to request_irq. Signed-off-by: Gaël PORTAY Acked-by: Daniel Lezcano Acked-by: Boris Brezillon --- drivers/clocksource/tcb_clksrc.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a

[PATCHv3 3/4] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-09-05 Thread Gaël PORTAY
k+0x14/0x24) r4: r3:c182a000 Code: bad PC value ---[ end trace 5b30f0017e282e47 ]--- Kernel panic - not syncing: Fatal exception in interrupt Signed-off-by: Gaël PORTAY Signed-off-by: Boris Brezillon --- drivers/misc/atmel_tclib.c | 16 include/linux/atmel_tc.h | 5 ++

[PATCHv4 0/4] ARM: at91/tclib: fix segmentation fault

2014-09-06 Thread Gaël PORTAY
yncing: Fatal exception in interrupt Your sincerly, Gaël PORTAY Changes since v1: - use writel instead of __raw_writel - move to request_irq function - disable clock if request irq fails Changes since v2: - create dedicated macro to define all IRQs - use new ATMEL_TC_ALL_IRQ macro to mask al

[PATCHv4 2/4] ARM: at91/tclib: move initialization from alloc to probe

2014-09-06 Thread Gaël PORTAY
done once, ie not every time a tc block is requested. If it fails, the device is not appended to the list of tc blocks. Furhermore, the device id is retrieved at probe as well, avoiding parsing DT every time the user requests of tc block. Signed-off-by: Gaël PORTAY Acked-by: Thierry Reding Acked-by

[PATCHv4 3/4] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-09-06 Thread Gaël PORTAY
k+0x14/0x24) r4: r3:c182a000 Code: bad PC value ---[ end trace 5b30f0017e282e47 ]--- Kernel panic - not syncing: Fatal exception in interrupt Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon Acked-by: Daniel Lezcano --- drivers/misc/atmel_tclib.c | 16 include

[PATCHv4 4/4] clocksource: tcb_clksrc: sanitize IRQ request

2014-09-06 Thread Gaël PORTAY
The clock is not unprepared in case of the request IRQ fails. Also update to request_irq. Signed-off-by: Gaël PORTAY Acked-by: Daniel Lezcano Acked-by: Boris Brezillon --- drivers/clocksource/tcb_clksrc.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a

[PATCHv4 1/4] ARM: at91/tclib: prefer using of devm_* functions

2014-09-06 Thread Gaël PORTAY
Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- drivers/misc/atmel_tclib.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/misc/atmel_tclib.c b/drivers/misc/atmel_tclib.c index c8d8e38..b514a2d 100644 --- a/drivers/misc/atmel_tclib.c +++ b

[PATCHv2 0/4] ARM: at91/tclib: fix segmentation fault

2014-08-29 Thread Gaël PORTAY
yncing: Fatal exception in interrupt Your sincerly, Gaël PORTAY Changes since v1: - use writel instead of __raw_writel - move to request_irq function - disable clock if request irq fails Gaël PORTAY (3): ARM: at91/tclib: prefer using of devm_* functions ARM: at91/tclib: move initializatio

[PATCHv2 2/4] ARM: at91/tclib: move initialization from alloc to probe

2014-08-29 Thread Gaël PORTAY
From: Gaël PORTAY Move resource retrieval from atmel_tc_alloc to tc_probe to avoid lately reporting resource related issues when a TC block user request a TC block. Moreover, resources retrieval are usually done in the probe function, thus moving them add some consistency with other drivers

[PATCHv2 4/4] clocksource: tcb_clksrc: unprepare clock in case of failure

2014-08-29 Thread Gaël PORTAY
The clock is not unprepared in case of the request IRQ fails. Also update to request_irq. Signed-off-by: Gaël PORTAY --- drivers/clocksource/tcb_clksrc.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/clocksource/tcb_clksrc.c b/drivers/clocksource

[PATCHv2 3/4] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-29 Thread Gaël PORTAY
k+0x14/0x24) r4: r3:c182a000 Code: bad PC value ---[ end trace 5b30f0017e282e47 ]--- Kernel panic - not syncing: Fatal exception in interrupt Signed-off-by: Gaël PORTAY --- drivers/misc/atmel_tclib.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/misc/atmel_tcl

[PATCHv2 1/4] ARM: at91/tclib: prefer using of devm_* functions

2014-08-29 Thread Gaël PORTAY
From: Gaël PORTAY Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon --- drivers/misc/atmel_tclib.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/misc/atmel_tclib.c b/drivers/misc/atmel_tclib.c index c8d8e38..b514a2d 100644 --- a/drivers/misc

[PATCH] ARM: at91/dt: sam9g20: set at91sam9g20 pllb driver

2014-09-01 Thread Gaël PORTAY
The at91sam9g20 SOC uses its own pllb implementation which is different from the one inherited from at91sam9260 SOC. Signed-off-by: Gaël PORTAY --- arch/arm/boot/dts/at91sam9g20.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts

[PATCH v5 0/2] ARM: at91/dt: add support for at91-kizboxmini

2015-05-04 Thread Gaël PORTAY
tible machine - add at91sam9g25 board to compatible machine Changes since v2: - update to v4.0 - fix alphabetical order between gpio_keys and pwm_leds Changes since v3: - add num-ports = <1> attribute to ohci node Changes since v4: - update to v4.0.1 - update "Acked-by" list Best re

[PATCH v4] ARM: at91/dt: add support for kizbox2

2015-05-04 Thread Gaël PORTAY
Add DT file for Kizbox 2 board. This board is based on Atmel's SAMA5D31 Cortex-A5 SoC. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon Acked-by: Alexandre Belloni --- Changes since v1: - drop ek boards from compatible machine - drop useless pmc node Changes since v2: - update to

Re: [PATCH] ARM: at91/dt: drop deprecated mainck node from pmc

2015-05-04 Thread Gaël PORTAY
On 16/04/2015 14:45, Boris Brezillon wrote: On Thu, 16 Apr 2015 14:25:44 +0200 Gaël PORTAY wrote: The clock-frequency property became obsolete since the rework of the main clock driver in 3.16 (see commit 27cb1c2083373a44130d50d4d2fb64cf7eff2d90). It now get and uses the clock-frequency from

[PATCH v5 1/2] ARM: at91/dt: sam9x5: add pinctrl for pwm0

2015-05-04 Thread Gaël PORTAY
Defines the pinctrl configurations for PWM0. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon Acked-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9x5.dtsi | 46 +++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b

[PATCH v5 2/2] ARM: at91/dt: add support for kizboxmini

2015-05-04 Thread Gaël PORTAY
Add DT file for Kizbox mini board. This board is based on Atmel's AT91SAM9G25 SoC. Signed-off-by: Gaël PORTAY Acked-by: Boris Brezillon Acked-by: Alexandre Belloni --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-kizboxmini.dts

[PATCH v2 0/5] Add support for drm/rockchip to dynamically control the DDR frequency.

2019-03-19 Thread Gaël PORTAY
Dear all, The rk3399 platform has a DFI controller that can monitor DDR load and a DMC driver that talks with the TF-A (Trusted Firmware-A) to dynamically set the DDR frequency with following flow. kernel Trusted Firmware-A

[PATCH v2 1/5] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2019-03-19 Thread Gaël PORTAY
From: Enric Balletbo i Serra Some rk3399 GRF (Generic Register Files) definitions can be used for different drivers. Move these definitions to a common include so we don't need to duplicate these definitions. Signed-off-by: Enric Balletbo i Serra Acked-by: Chanwoo Choi --- Changes in v2: - [P

[PATCH v2 2/5] dt-bindings: devfreq: rk3399_dmc: Add rockchip, pmu phandle.

2019-03-19 Thread Gaël PORTAY
From: Enric Balletbo i Serra The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU general register files to know the DRAM type, so add a phandle to the syscon that manages these registers. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Chanwoo Choi Acked-by: Rob Herring

[PATCH v2 5/5] arm64: dts: rockchip: Enable dmc and dfi nodes on gru.

2019-03-19 Thread Gaël PORTAY
From: Lin Huang Enable the DMC (Dynamic Memory Controller) and the DFI (DDR PHY Interface) nodes on gru/kevin boards so we can support DDR DVFS. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaël PORTAY --- Changes in v2: - [PATCH 8/8] Move center-supply

[PATCH v2 3/5] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2019-03-19 Thread Gaël PORTAY
From: Enric Balletbo i Serra Trusted Firmware-A (TF-A) for rk3399 implements a SiP call to get the on-die termination (ODT) and auto power down parameters from kernel, this patch adds the functionality to do this. Also, if DDR clock frequency is lower than the on-die termination (ODT) disable fre

[PATCH v2 4/5] arm64: dts: rk3399: Add dfi and dmc nodes.

2019-03-19 Thread Gaël PORTAY
From: Lin Huang These are required to support DDR DVFS on rk3399 platform. The patch also introduces a new file with default DRAM settings. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaël PORTAY --- Changes in v2: - [PATCH 7/8] Reword the commit message to

Re: [PATCH v3 1/2] media: imx: csi: Disable SMFC before disabling IDMA channel

2019-01-22 Thread Gaël PORTAY
self appears to be a reliable fix for the hard lockup. That can > > be done either by disabling the SMFC or the CSI before disabling the > > channel. Disabling the SMFC before the channel is the easiest solution, > > so do that. > > > > Fixes: 4a34ec8e470cb ("[me

Re: [PATCH v3 1/2] media: imx: csi: Disable SMFC before disabling IDMA channel

2019-01-21 Thread Gaël PORTAY
self appears to be a reliable fix for the hard lockup. That can > > be done either by disabling the SMFC or the CSI before disabling the > > channel. Disabling the SMFC before the channel is the easiest solution, > > so do that. > > > > Fixes: 4a34ec8e470cb ("[me

Re: [PATCH v4 5/5] arm64: dts: rockchip: Enable dmc and dfi nodes on gru.

2019-05-01 Thread Gaël PORTAY
Rob, On Fri, Apr 26, 2019 at 01:45:59PM -0500, Rob Herring wrote: > On Mon, Apr 15, 2019 at 05:29:48PM -0400, Gaël PORTAY wrote: > > diff --git a/include/dt-bindings/power/rk3399-dram.h > > b/include/dt-bindings/power/rk3399-dram.h > > new file mode 100644 > > index

[PATCH v5 2/6] dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle.

2019-05-02 Thread Gaël PORTAY
Signed-off-by: Gaël PORTAY Acked-by: MyungJoo Ham --- Changes in v5: None Changes in v4: - [PATCH v3 2/5] Add Acked-by: MyungJoo Ham . Changes in v3: - [PATCH v2 2/5] Add Signed-off-by: Gaël PORTAY . Changes in v2: None Changes in v1: - [RFC 2/10] Add reviewed and acked tags from Chanwoo

[PATCH v5 0/5] Add support for drm/rockchip to dynamically control the DDR frequency.

2019-05-02 Thread Gaël PORTAY
] Add Signed-off-by: Gaël PORTAY . - [PATCH v2 2/5] Add Signed-off-by: Gaël PORTAY . - [PATCH v2 3/5] Add Signed-off-by: Gaël PORTAY . Remove comments. Move pmu dt parsing after dt-parsing of timings to fix data->odt_dis_freq value. - [P

[PATCH v5 3/6] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2019-05-02 Thread Gaël PORTAY
frequency this driver should disable the DDR ODT. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Chanwoo Choi Signed-off-by: Gaël PORTAY Acked-by: MyungJoo Ham --- Changes in v5: None Changes in v4: - [PATCH v3 3/5] Add Acked-by: MyungJoo Ham . Changes in v3: - [PATCH v2 3/5] Add Signed

[PATCH v5 6/6] dt-bindings: devfreq: rk3399_dmc: Remove references of unexistant defines

2019-05-02 Thread Gaël PORTAY
Those DDR related defines do not exist. Replace their references with their numerical constant. Signed-off-by: Gaël PORTAY --- Changes in v5: New .../bindings/devfreq/rk3399_dmc.txt | 73 +-- 1 file changed, 34 insertions(+), 39 deletions(-) diff --git a

[PATCH v5 5/6] arm64: dts: rockchip: Enable dmc and dfi nodes on gru.

2019-05-02 Thread Gaël PORTAY
From: Lin Huang Enable the DMC (Dynamic Memory Controller) and the DFI (DDR PHY Interface) nodes on gru boards so we can support DDR DVFS. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaël PORTAY --- Changes in v5: - [PATCH v4 5/5] Remove use of DRAM setting

[PATCH v5 1/6] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2019-05-02 Thread Gaël PORTAY
Gaël PORTAY Acked-by: MyungJoo Ham --- Changes in v5: None Changes in v4: - [PATCH v3 1/5] Add Acked-by: MyungJoo Ham . Changes in v3: - [PATCH v2 1/5] Add Signed-off-by: Gaël PORTAY . Changes in v2: - [PATCH 1/8] Really add Acked-by: Chanwoo Choi . Changes in v1: - [RFC 1/10] Add Acked-by: Ch

[PATCH v5 4/6] arm64: dts: rk3399: Add dfi and dmc nodes.

2019-05-02 Thread Gaël PORTAY
From: Lin Huang These are required to support DDR DVFS on rk3399 platform. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaël PORTAY --- Changes in v5: None Changes in v4: - [PATCH v3 4/5] Remove board related DDR settings. Changes in v3: None Changes in

[PATCH] uapi libc compat: fix spelling typo

2019-05-03 Thread Gaël PORTAY
From: Gaël PORTAY Replace 'm' with 'n' in "comflicting". Signed-off-by: Gaël PORTAY --- include/uapi/linux/libc-compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/libc-compat.h b/include/uapi/linux/libc-compat.h in

Re: [PATCH v2 5/5] arm64: dts: rockchip: Enable dmc and dfi nodes on gru.

2019-03-20 Thread Gaël PORTAY
Hi Chanwoo, On Wed, Mar 20, 2019 at 02:05:21PM +0900, Chanwoo Choi wrote: > ... > > +&display_subsystem { > > + devfreq = <&dmc>; > > +}; > > When I checked the rockchip_drm_drv.c on linux-next.git (20190320), > there are no any codes about this. Maybe it should be removed. > Good catch! This

Re: [PATCH v2 3/5] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2019-03-20 Thread Gaël PORTAY
Hi Matthias, On Tue, Mar 19, 2019 at 05:33:52PM -0700, Matthias Kaehlcke wrote: > ... > > @@ -95,6 +103,19 @@ static int rk3399_dmcfreq_target(struct device *dev, > > unsigned long *freq, > > > > mutex_lock(&dmcfreq->lock); > > > > + if (target_rate >= dmcfreq->odt_dis_freq) > > +

Re: [PATCH v2 3/5] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2019-03-21 Thread Gaël PORTAY
Matthias, On Wed, Mar 20, 2019 at 03:02:23PM -0700, Matthias Kaehlcke wrote: > Hi Gaël, > > On Wed, Mar 20, 2019 at 05:50:13PM -0400, Gaël PORTAY wrote: > > Hi Matthias, > > > > On Tue, Mar 19, 2019 at 05:33:52PM -0700, Matthias Kaehlcke wrote: > > > ... &g

[PATCH v3 3/5] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2019-03-21 Thread Gaël PORTAY
frequency this driver should disable the DDR ODT. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Chanwoo Choi Signed-off-by: Gaël PORTAY --- Changes in v3: - [PATCH v2 3/5] Add Signed-off-by: Gaël PORTAY . Remove comments. Move pmu dt parsing after dt-parsing

[PATCH v3 0/5] Add support for drm/rockchip to dynamically control the DDR frequency.

2019-03-21 Thread Gaël PORTAY
es the 'simple_ondemand' governor which can adjust the frequency based on the DDR load. Waiting for your feedback. Best regards, Gaël Changes in v3: - [PATCH v2 1/5] Add Signed-off-by: Gaël PORTAY . - [PATCH v2 2/5] Add Signed-off-by: Gaël PORTAY . - [PATCH v2 3/5] Add Signed-off

[PATCH v3 5/5] arm64: dts: rockchip: Enable dmc and dfi nodes on gru.

2019-03-21 Thread Gaël PORTAY
From: Lin Huang Enable the DMC (Dynamic Memory Controller) and the DFI (DDR PHY Interface) nodes on gru/kevin boards so we can support DDR DVFS. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaël PORTAY --- Changes in v3: - [PATCH v2 5/5] Remove

[PATCH v3 4/5] arm64: dts: rk3399: Add dfi and dmc nodes.

2019-03-21 Thread Gaël PORTAY
From: Lin Huang These are required to support DDR DVFS on rk3399 platform. The patch also introduces a new file with default DRAM settings. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaël PORTAY --- Changes in v3: None Changes in v2: - [PATCH 7/8] Reword

[PATCH v3 2/5] dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle.

2019-03-21 Thread Gaël PORTAY
Signed-off-by: Gaël PORTAY --- Changes in v3: - [PATCH v2 2/5] Add Signed-off-by: Gaël PORTAY . Changes in v2: None Changes in v1: - [RFC 2/10] Add reviewed and acked tags from Chanwoo Choi and Rob Herring Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt | 2 ++ 1 file changed, 2

  1   2   >