[PATCH v2] phy: rockchip-inno-usb2: allow to force the B-Device Session Valid bit.

2019-05-15 Thread Gaël PORTAY
-port2: unable to enumerate USB device The patch tells the PHY to force the B-Device Session Valid bit when the OTG role is device and clear that bit if the OTG role is host, when an extcon is available. Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaël PORTAY --- Hi all, The main purpose

[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 index 8254c937c9f4..50

[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

[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
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: Chanwoo

[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

[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 0/5] Add support for drm/rockchip to dynamically control the DDR frequency.

2019-05-02 Thread Gaël PORTAY
ed-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. - [PATCH v2 5/

[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

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 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

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

2019-04-15 Thread Gaël PORTAY
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/10] s

[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
ed-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. - [PATCH v2 5/

[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

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

2019-03-22 Thread Gaël PORTAY
Hi Matthias, On Thu, Mar 21, 2019 at 05:01:07PM -0700, Matthias Kaehlcke wrote: > > ... > > > > So, for a reason that I ignore, if we try to save unecessary calls to > > ROCKCHIP_SIP_CONFIG_DRAM_SET_ODT_PD (odt_enable has not changed since > > last call), we get stalled in the call to

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

2019-03-21 Thread Gaël PORTAY
t uses 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-by: Gaël

[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

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

2019-03-21 Thread Gaël PORTAY
PORTAY --- 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/10] s/Generic/General/ (Robin Murphy) - [RFC 4/10] Removed from the series. I did not found

[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

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

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(>lock); > > > > + if (target_rate >= dmcfreq->odt_dis_freq) > > +

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: > ... > > +_subsystem { > > + devfreq = <>; > > +}; > > 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 is a

[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

[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 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 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

[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: -

[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

[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

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

2019-01-22 Thread Gaël PORTAY
l itself 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
l itself 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] 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

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 g.por...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com And stacked on at91-4.2-dt. Bye, --- arch/arm/boot/dts/at91

[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

[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 g.por...@overkiz.com --- 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

[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 | 130

[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

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 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 v4.0

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

2015-05-04 Thread Gaël PORTAY
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 regards

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

2015-05-04 Thread Gaël PORTAY
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 regards, Gaël PORTAY (2

[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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Changes since v1: - drop ek

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 g.por...@overkiz.com 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

[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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9x5.dtsi | 46

[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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile

[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 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 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

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 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

[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

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 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

[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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91-kizbox.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions

[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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91-kizbox.dts | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/at91

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 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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/Makefile| 2 +- arch/arm/boot/dts/{kizbox.dts = at91-kizbox.dts} | 2 +- 2 files changed, 2

[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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91-kizbox.dts | 65

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 g.por...@overkiz.com --- arch/arm

[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:color:function. Signed-off-by: Gaël PORTAY g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91-kizbox.dts | 53 +-- 1 file

[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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91-kizbox.dts | 10 +- 1

[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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/at91-kizbox.dts | 3 ++- 1 file changed, 2 insertions

[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 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 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 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 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 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

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

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 g.por...@overkiz.com 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

[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 g.por...@overkiz.com --- 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

[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 g.por...@overkiz.com --- arch/arm/boot/dts/at91-kizbox.dts | 67 +++ 1 file changed, 32 insertions

[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 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 g.por...@overkiz.com --- arch/arm/boot/dts/at91-kizbox.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91

[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 g.por...@overkiz.com --- arch/arm/boot/dts/at91-kizbox.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[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 g.por...@overkiz.com --- 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

[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 g.por...@overkiz.com --- 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

[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:color:function. Signed-off-by: Gaël PORTAY g.por...@overkiz.com --- arch/arm/boot/dts/at91-kizbox.dts | 53 +-- 1 file changed, 34 insertions(+), 19 deletions(-) diff --git a/arch/arm

[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

[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 g.por...@overkiz.com --- arch/arm/boot/dts/Makefile

[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 | 130

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

2015-04-16 Thread Gaël PORTAY
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: sam9x

[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] 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] 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 g.por...@overkiz.com --- arch/arm/boot/dts/at91

[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 g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile

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

2015-04-16 Thread Gaël PORTAY
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: sam9x5: add

[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 g.por...@overkiz.com --- 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

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

2015-04-13 Thread Gaël PORTAY
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/Makefile

[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 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 100644

  1   2   >