Re: [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source

2014-10-24 Thread Romain Perier
Okay, will do these changes. 2014-10-24 10:02 GMT+02:00 Peter De Schrijver pdeschrij...@nvidia.com: On Thu, Oct 23, 2014 at 11:39:34AM +0200, PERIER Romain wrote: Hi Peter, 2014-10-23 10:12 GMT+02:00 Peter De Schrijver pdeschrij...@nvidia.com: This breaks DT ABI stability right? An existing

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-25 Thread Romain Perier
Hi Johan, If that's still possible to do these changes, I am opened to suggestions. 2014-10-23 11:53 GMT+02:00 Johan Hovold jo...@kernel.org: [ +CC: Guenter, Lee, linux-pm ] On Tue, Oct 14, 2014 at 06:31:09AM +, Romain Perier wrote: Several drivers create their own devicetree property

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-26 Thread Romain Perier
, 10:37:33 schrieb Johan Hovold: [+CC: Felipe ] On Sat, Oct 25, 2014 at 09:28:36AM +0200, Romain Perier wrote: Hi Johan, If that's still possible to do these changes, I am opened to suggestions. Before v3.18 comes out, we can always change it with a follow-up patch. 2014-10-23 11:53 GMT

[PATCH v1 2/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 apalis

2014-10-22 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/tegra30-apalis.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi index a5446cb..796e83b 100644 --- a/arch/arm/boot/dts

[PATCH v1 4/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 cardhu

2014-10-22 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi index 2063795..276784d 100644 --- a/arch/arm/boot/dts

[PATCH v1 3/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 beaver

2014-10-22 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/tegra30-beaver.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts index cee8f22..47e01b6 100644 --- a/arch/arm/boot/dts

[PATCH v1 5/5] ARM: dts: tegra: Use poweroff-source DT property in tps65911 for tegra30 colibri

2014-10-22 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index c4ed1be..e35c4d4 100644 --- a/arch/arm/boot

[PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source

2014-10-22 Thread Romain Perier
No longer use custom property to define poweroff capability, use the standard DT property instead. Signed-off-by: Romain Perier romain.per...@gmail.com --- drivers/mfd/tps65910.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c

[RFC PATCH v2 2/4] regulator: act8865: Add support to turn off all outputs

2014-10-07 Thread Romain Perier
When the property poweroff-source is found in the devicetree, the function pm_power_off is defined. This function sends the rights bit fields to the global off control register. shutdown/poweroff commands are now supported for hardware components which use these PMU. Signed-off-by: Romain Perier

[RFC PATCH v1 4/4] dt-bindings: Document the property poweroff-source for act8865 regulator

2014-10-07 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator

[RFC PATCH v2 1/4] regulator: Add helper function to get poweroff-source property

2014-10-07 Thread Romain Perier
the device as able to shutdown the system. Signed-off-by: Romain Perier romain.per...@gmail.com --- drivers/regulator/of_regulator.c | 12 include/linux/regulator/of_regulator.h | 6 ++ 2 files changed, 18 insertions(+) diff --git a/drivers/regulator/of_regulator.c b/drivers

[RFC PATCH v1 3/4] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-10-07 Thread Romain Perier
Add poweroff-source property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b

[RFC][PATCH 2/4] regulator: act8865: Add support to turn off all outputs

2014-09-30 Thread Romain Perier
When the property poweroff-source is found in the devicetree, the function pm_power_off is defined. This function sends the rights bit fields to the global off control register. shutdown/poweroff commands are now supported for hardware components which use these PMU. Signed-off-by: Romain Perier

[RFC][PATCH 3/4] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-09-30 Thread Romain Perier
Add poweroff-source property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b

[RFC][PATCH 1/4] regulator: Add helper function to get poweroff-source property

2014-09-30 Thread Romain Perier
the device as able to shutdown the system. Signed-off-by: Romain Perier romain.per...@gmail.com --- drivers/regulator/of_regulator.c | 12 include/linux/regulator/of_regulator.h | 6 ++ 2 files changed, 18 insertions(+) diff --git a/drivers/regulator/of_regulator.c b/drivers

[RFC][PATCH 4/4] dt-bindings: Document the property poweroff-source for act8865 regulator

2014-09-30 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator

Re: [RFC][PATCH 1/4] regulator: Add helper function to get poweroff-source property

2014-10-02 Thread Romain Perier
Adding the corresponding drivers and DT maintainers to the loop (parts of the kernel which use this property) Le 01/10/2014 20:07, Mark Brown a écrit : On Tue, Sep 30, 2014 at 05:29:43PM +, Romain Perier wrote: +/** + * of_get_regulator_poweroff_source - Get poweroff-source for given

[PATCH v1 01/10] of: Rename poweroff-source property to system-power-controller

2014-10-27 Thread Romain Perier
an helper function which is compatible with both properties, the old one prefixed by a vendor name and the new one without any prefix. Signed-off-by: Romain Perier romain.per...@gmail.com --- include/linux/of.h | 27 +++ 1 file changed, 23 insertions(+), 4 deletions(-) diff

[PATCH v2 04/10] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-10-27 Thread Romain Perier
Add system-power-controller property to act8846 node. poweroff command is now handled for this board. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b

[PATCH v2 06/10] mfd: tps65910: Use the standard DT property system-power-controller

2014-10-27 Thread Romain Perier
No longer use custom property to define poweroff capability, use the standard DT property instead. Signed-off-by: Romain Perier romain.per...@gmail.com --- drivers/mfd/tps65910.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c

[PATCH v2 09/10] ARM: dts: tegra: Use standard power-off property in tps65911 for tegra30 cardhu

2014-10-27 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi index 2063795..46b4ff1 100644 --- a/arch/arm/boot/dts

[PATCH v2 08/10] ARM: dts: tegra: Use standard power-off property in tps65911 for tegra30 beaver

2014-10-27 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/tegra30-beaver.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts index cee8f22..4abaf7f 100644 --- a/arch/arm/boot/dts

[PATCH v2 10/10] ARM: dts: tegra: Use standard power-off property in tps65911 for tegra30 colibri

2014-10-27 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/tegra30-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index c4ed1be..7833fc3 100644 --- a/arch/arm/boot

[PATCH v2 07/10] ARM: dts: tegra: Use standard power-off property in tps65911 for tegra30 apalis

2014-10-27 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/tegra30-apalis.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi index a5446cb..ced4436 100644 --- a/arch/arm/boot/dts

[PATCH v1 05/10] dt-bindings: act8865: Update documentation about property system-power-controller

2014-10-27 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings

[PATCH v1 02/10] dt-bindings: Document the standard property system-power-controller

2014-10-27 Thread Romain Perier
This simply renames the previous documentation to something more generic and adds updates according to last changes. Signed-off-by: Romain Perier romain.per...@gmail.com --- .../devicetree/bindings/power/power-controller.txt | 18 ++ Documentation/devicetree/bindings/power

[PATCH v1 03/10] regulator: act8865: Use of_is_system_power_controller helper function

2014-10-27 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- drivers/regulator/act8865-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c index 76301ed..435aba1 100644 --- a/drivers/regulator

Re: [PATCH v2 06/10] mfd: tps65910: Use the standard DT property system-power-controller

2014-10-27 Thread Romain Perier
27.10.2014, 16:26 + schrieb Romain Perier: No longer use custom property to define poweroff capability, use the standard DT property instead. Signed-off-by: Romain Perier romain.per...@gmail.com --- drivers/mfd/tps65910.c | 3 +-- 1 file changed, 1 insertion(+), 2

Re: [PATCH v1 01/10] of: Rename poweroff-source property to system-power-controller

2014-10-27 Thread Romain Perier
2014-10-27 18:16 GMT+01:00 Johan Hovold jo...@kernel.org: You probably don't want this to be inline. Yeah this is what I thought, I agree, it's a bit big to be inline... I will fix it, I just wait a bit to see what is decided for this serie... -- To unsubscribe from this list: send the line

Re: [PATCH v2 07/10] ARM: dts: tegra: Use standard power-off property in tps65911 for tegra30 apalis

2014-10-28 Thread Romain Perier
Perier wrote: Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/tegra30-apalis.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi index a5446cb..ced4436 100644

Re: [PATCH v1 02/10] dt-bindings: Document the standard property system-power-controller

2014-10-28 Thread Romain Perier
If this is possible, that's probably better to drop all these patches (including poweroff-source) from next, in this way it will be possible to re-do things properly from scratch (with the new name). If you have a look at linux-next the property poweroff-source is already used by tps910 AND

Re: [PATCH v2 00/20] rtc: omap: fixes and power-off feature

2014-10-29 Thread Romain Perier
Johan:. do you really plan to use this poweroff-source property ? As you proposed a renaming few days ago... I don't really want to waste time to propose patches to fix things incrementally and rename it if the old one is used... Romain 2014-10-29 13:34 GMT+01:00 Johan Hovold jo...@kernel.org:

Re: [PATCH v2 00/20] rtc: omap: fixes and power-off feature

2014-10-29 Thread Romain Perier
This just to be sure, nothing more. I did read that you mentionned poweroff-source earlier. However If I am wrong, my bad, everything is fine. 2014-10-29 14:00 GMT+01:00 Johan Hovold jo...@kernel.org: [ Please do not top-post. ] On Wed, Oct 29, 2014 at 01:55:49PM +0100, Romain Perier wrote

Re: [PATCH] usb: dwc2: add bus suspend/resume for dwc2

2014-10-31 Thread Romain Perier
Hi Kever, 2014-10-31 15:02 GMT+01:00 Kever Yang kever.y...@rock-chips.com: This patch adds suspend/resume for dwc2 hcd controller. Could you add a more explicit and detailed message ? It is redundant with the commit subject and explains almost the same thing. Signed-off-by: Kever Yang

Re: [PATCH v4 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-20 Thread Romain Perier
ping 2014-11-17 11:51 GMT+01:00 Romain Perier romain.per...@gmail.com: @Most of the people who were ranting about this serie: could you send feedbacks please ? 2014-11-14 8:22 GMT+01:00 Romain Perier romain.per...@gmail.com: Hi, Who should merge this serie ? as Mark merged the previous

Re: [PATCH v4 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-21 Thread Romain Perier
2014-11-21 11:59 GMT+01:00 Johan Hovold jo...@kernel.org: On Thu, Nov 13, 2014 at 01:34:58PM +, Auto Configured wrote: From: Romain Perier romain.per...@gmail.com It reverts commit a4b4e0461ec5 (of: Add standard property for poweroff capability). As discussed on the mailing list

Re: [PATCH v4 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-21 Thread Romain Perier
2014-11-21 14:18 GMT+01:00 Romain Perier romain.per...@gmail.com: it was merged by Lee Jones (so it was merged onto the mfd tree) It was done, for a previous serie, not this one . This is when I proposed to update the dts too (for all boards using the custom property) until the discussion

Re: [PATCH v4 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-24 Thread Romain Perier
2014-11-24 12:35 GMT+01:00 Johan Hovold jo...@kernel.org: On Mon, Nov 24, 2014 at 10:24:56AM +, Lee Jones wrote: On Fri, 21 Nov 2014, Johan Hovold wrote: On Thu, Nov 13, 2014 at 01:34:58PM +, Auto Configured wrote: From: Romain Perier romain.per...@gmail.com It reverts commit

Re: [PATCH v4 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-24 Thread Romain Perier
2014-11-24 13:58 GMT+01:00 Romain Perier romain.per...@gmail.com: 2014-11-24 12:35 GMT+01:00 Johan Hovold jo...@kernel.org: On Mon, Nov 24, 2014 at 10:24:56AM +, Lee Jones wrote: On Fri, 21 Nov 2014, Johan Hovold wrote: On Thu, Nov 13, 2014 at 01:34:58PM +, Auto Configured wrote

[PATCH v1 3/3] dt-bindings: Document the property system-power-controller for act8865 regulator

2014-09-27 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator

[PATCH v1 1/3] regulator: act8865: Add support to turn off all outputs

2014-09-27 Thread Romain Perier
-off-by: Romain Perier romain.per...@gmail.com --- drivers/regulator/act8865-regulator.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c index afd06f9..6cf202d 100644 --- a/drivers

[PATCH v1 2/3] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-09-27 Thread Romain Perier
Add active-semi,system-power-controller property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts

Re: [PATCH v3 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-11 Thread Romain Perier
2014-11-11 16:01 GMT+01:00 Grant Likely grant.lik...@linaro.org: So, to be a little pendantic, the 'ti,' prefix is basically just for backwards compatibility with the old binding, and that old binding is only used on palmas.c, tps65*.c and twl4030-power.c, correct? No, the backward

Re: [PATCH v4 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-13 Thread Romain Perier
Hi, Who should merge this serie ? as Mark merged the previous one it would probably make sense to do the same here (at least, in my opinion) Thanks for your feedbacks. Have a nice day, Romain 2014-11-13 21:55 GMT+01:00 Grant Likely grant.lik...@linaro.org: igned-off-by: Romain Perier

[PATCH v5 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-25 Thread Romain Perier
system-power-controller as the more generic name. This patchs adds the required renaming changes and defines an helper function which checks if this property is set. Signed-off-by: Romain Perier romain.per...@gmail.com --- .../bindings/power/{poweroff.txt = power-controller.txt} | 0

[PATCH v5 0/2] poweroff-source DT property renaming

2014-11-25 Thread Romain Perier
compatibility with vendor,system-power-controller. As the old helper uses the new one, it works again. - act8865 and tps65910 are ported to the new helper function - The last commit removes the olf helper which was only used for source compatibility Romain Perier (2): of: Rename

[PATCH v5 2/2] dt-bindings: Update documentation for system-power-controller and fix misspellings

2014-11-25 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- .../devicetree/bindings/power/power-controller.txt | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/power/power-controller.txt b/Documentation/devicetree

Re: [PATCH v5 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-25 Thread Romain Perier
Nov 2014 12:28:25 + , Romain Perier romain.per...@gmail.com wrote: It reverts commit a4b4e0461ec5 (of: Add standard property for poweroff capability). As discussed on the mailing list, it makes more sense to rename back to the old established property name, without the vendor prefix

Re: [PATCH v5 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-26 Thread Romain Perier
2014-11-25 18:12 GMT+01:00 Mark Brown broo...@kernel.org: Yeah, given the amount of often late arriving disagreement I'd rather let things cook for a while unless there are a lot of people being vocal about this being what we want to go with. In other words, I need more reviews and more

Re: [PATCH] clk: rockchip: add CLK_IGNORE_UNUSED flag to fix USB Host

2014-12-12 Thread Romain Perier
Hi, 2014-12-12 15:54 GMT+01:00 Julien CHAUVEAU julien.chauv...@neo-technologies.fr: This patch adds CLK_IGNORE_UNUSED flag to hclk_usb_peri, hclk_usbotg0 and hclk_usbotg1 because these clocks must remain enabled to use the USB controllers in host mode. This fixes a regression introduced

[PATCH] clk: rockchip: Fix clock gate for rk3188 hclk_emem_peri

2014-12-12 Thread Romain Perier
Do not disable clock gate hclk_emem_peri, otherwise EMAC clocks no longer work and it breaks ethernet on RK3066 and RK3188. It fixes a regression introduced by commit 78eaf6095cc763c1a228ebac5682852f04e85205 (clk: rockchip: disable unused clocks). Signed-off-by: Romain Perier romain.per

Re: [PATCH v2] clk: rockchip: add CLK_IGNORE_UNUSED flag to fix USB Host

2014-12-12 Thread Romain Perier
), GATE(PCLK_TIMER3, pclk_timer3, pclk_cpu, 0, RK2928_CLKGATE_CON(7), 9, GFLAGS), -- 2.1.0 Reviewed-by: Romain Perier romain.per...@gmail.com Tested-by: Romain Perier romain.per...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCH v3 2/2] dt-bindings: Update documentation for system-power-controller and fix misspellings

2014-11-06 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- .../devicetree/bindings/power/power-controller.txt | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/power/power-controller.txt b/Documentation/devicetree

Re: [PATCH v2] usb: dwc2: add bus suspend/resume for dwc2

2014-11-06 Thread Romain Perier
Hi Kever, 2014-11-06 2:30 GMT+01:00 Kever Yang kever.y...@rock-chips.com: +static int _dwc2_hcd_suspend(struct usb_hcd *hcd) +{ + struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); + u32 hprt0; + + if (!((hsotg-op_state == OTG_STATE_B_HOST) || +

Re: [PATCH v4 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-17 Thread Romain Perier
@Most of the people who were ranting about this serie: could you send feedbacks please ? 2014-11-14 8:22 GMT+01:00 Romain Perier romain.per...@gmail.com: Hi, Who should merge this serie ? as Mark merged the previous one it would probably make sense to do the same here (at least, in my

Re: linux-next: manual merge of the devicetree tree with the regulator tree

2014-12-02 Thread Romain Perier
Hi, My part looks good and unchanged (first commit), however I would prefer a confirmation from Grant about the full merge. Thanks, Romain 2014-12-03 5:27 GMT+01:00 Stephen Rothwell s...@canb.auug.org.au: Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in

[RFC PATCH v3 2/5] regulator: act8865: Add support to turn off all outputs

2014-10-14 Thread Romain Perier
When the property poweroff-source is found in the devicetree, the function pm_power_off is defined. This function sends the rights bit fields to the global off control register. shutdown/poweroff commands are now supported for hardware components which use these PMU. Signed-off-by: Romain Perier

[RFC PATCH v3 5/5] dt-bindings: Document the property poweroff-source for act8865 regulator

2014-10-14 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator

[RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-14 Thread Romain Perier
the device as able to shutdown the system. Signed-off-by: Romain Perier romain.per...@gmail.com --- include/linux/of.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/of.h b/include/linux/of.h index 6545e7a..27b3ba1 100644 --- a/include/linux/of.h +++ b/include/linux/of.h

[RFC PATCH v3 4/5] dt-bindings: Document the standard property poweroff-source

2014-10-14 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- Documentation/devicetree/bindings/power/poweroff.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/poweroff.txt diff --git a/Documentation/devicetree/bindings/power

[RFC PATCH v3 3/5] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-10-14 Thread Romain Perier
Add poweroff-source property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b

Re: [PATCH v2 1/4] of: Rename poweroff-source property to system-power-controller

2014-11-05 Thread Romain Perier
2014-11-05 11:08 GMT+01:00 Johan Hovold jo...@kernel.org: [ Resend with lkml, arm, Felipe on CC -- why were these dropped from CC? ] On Wed, Oct 29, 2014 at 07:35:32AM +, Romain Perier wrote: As discussed on the mailing list, it makes more sense to rename this property to system-power

[PATCH v3 1/2] of: Rename poweroff-source property to system-power-controller

2014-11-06 Thread Romain Perier
system-power-controller as the more generic name. This patchs adds the required renaming changes and defines an helper function which is compatible with both properties, the old one which was only used by tps65910 and the new one without vendor-prefix. Signed-off-by: Romain Perier romain.per

[PATCH v3 0/2] poweroff-source DT property renaming

2014-11-06 Thread Romain Perier
-power-controller. As the old helper uses the new one, it works again. - act8865 and tps65910 are ported to the new helper function - The last commit removes the olf helper which was only used for source compatibility Romain Perier (2): of: Rename poweroff-source property to system

Re: [PATCH v2 1/5] phy: add a driver for the Rockchip SoC internal USB2.0 PHY.

2014-12-05 Thread Romain Perier
Hi, Some quick comments 2014-12-05 13:52 GMT+01:00 Yunzhi Li l...@rock-chips.com: This patche to add a generic PHY driver for ROCKCHIP usb PHYs, currently this driver can support RK3288. The RK3288 SoC have three independent USB PHY IPs which are all configured through a set of registers

Re: [PATCH v2 4/5] ARM: dts: add rk3288 usb PHY

2014-12-05 Thread Romain Perier
Hi, 2014-12-05 13:52 GMT+01:00 Yunzhi Li l...@rock-chips.com: Add dt nodes for rk3288 usb PHY. Could you give more context about the changes in the long description ? Usually, you need a short and a long description for a commit. For example: short: ARM: dts: rockchip: add rk3288 usb PHY

Re: [PATCH v4 1/5] phy: add a driver for the Rockchip SoC internal USB2.0 PHY

2014-12-09 Thread Romain Perier
Hi, 2014-12-09 3:43 GMT+01:00 Yunzhi Li l...@rock-chips.com: Changes in v3: - Use BIT macro instead of bit shift ops. - Rename the config entry to PHY_ROCKCHIP_USB. Contradiction between this , [1] and [2] drivers/phy/Kconfig| 7 ++ drivers/phy/Makefile | 1 +

Re: [PATCH v4 4/5] ARM: dts: add rk3288 usb PHY

2014-12-09 Thread Romain Perier
Hi, 2014-12-09 3:52 GMT+01:00 Yunzhi Li l...@rock-chips.com: This patch adds a device_node for RK3288 SoC usb phy. It also defines the phy to be used by three usb controllers: usb_host0/1 and usb_otg. Signed-off-by: Yunzhi Li l...@rock-chips.com --- Tiny thing: Could you change your

Re: [PATCH v4 2/5] Documentation: bindings: add doc for the Rockchip usb PHY

2014-12-09 Thread Romain Perier
Hi, 2014-12-09 3:48 GMT+01:00 Yunzhi Li l...@rock-chips.com: Document the bindings of the Rockchip usb PHY driver. Long description is the same than the short one.. So either the long description is useless or it can be improved. +Required properties: + - compatible:

Re: [PATCH v4 1/5] phy: add a driver for the Rockchip SoC internal USB2.0 PHY

2014-12-10 Thread Romain Perier
Hi, So,do you mean that I should rename the C source file as phy-rockchip-usb2.c ? what I mean is that you can simply rename the kconfig entry to PHY_ROCKCHIP_USB. If you explain that it is for usb 2.0 in the description (as it is already the case), it is enough, no needs to put USB2 in the

[PATCH v2] usb: dwc2: Register interrupt handler only once gadget is correctly initialized

2015-02-06 Thread Romain Perier
time once the interrupt is registered, so we have to care about driver and hardware initialization. Signed-off-by: Romain Perier romain.per...@gmail.com --- Changes for v2: fix typos in commit log drivers/usb/dwc2/platform.c | 17 + 1 file changed, 9 insertions(+), 8 deletions

Re: [PATCH v1 3/4] net: stmmac: dwmac-rk: Use standard devicetree property for phy regulator

2015-01-19 Thread Romain Perier
. Januar 2015, 18:08:08 schrieb Romain Perier: Currently, dwmac-rk uses a custom propety phy_regulator to get the name of the right regulator to use to power on or power off the phy. This commit converts the driver to use phy-supply devicetree property and the corresponding API, it cleans the code

[PATCH v2 1/4] net: stmmac: dwmac-rk: Don't set the regulator voltage for phy from the driver

2015-01-19 Thread Romain Perier
As these settings can be directly expressed from devicetree for both fixed regulators and pmic-integrated regulators, it is more standard to set them from dts and let the regulator framework use the right voltage informations when it is used in the driver. Signed-off-by: Romain Perier romain.per

[PATCH v2 2/4] ARM: dts: Add regulator voltage settings for vcc_phy in rk3288-evb.dtsi

2015-01-19 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 489643c..1c08eb0 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b/arch

[PATCH v2 4/4] dt-bindings: Document phy-supply property in rockchip-dwmac

2015-01-19 Thread Romain Perier
As no property for phy regulator was documented in this dt-binding documentation, this commit adds an entry for the optional property phy-supply. Signed-off-by: Romain Perier romain.per...@gmail.com --- Documentation/devicetree/bindings/net/rockchip-dwmac.txt | 1 + 1 file changed, 1 insertion

[PATCH v2 0/4] net: stmmac: dwmac-rk: Fix phy regulator issues

2015-01-19 Thread Romain Perier
. As this new binding for rk3288 has not been released with any official kernel yet (not until 3.20), I don't need to care about keeping compatibility with the old non standard property. Romain Perier (4): net: stmmac: dwmac-rk: Don't set the regulator voltage for phy from the driver ARM

[PATCH v2 3/4] net: stmmac: dwmac-rk: Use standard devicetree property for phy regulator

2015-01-19 Thread Romain Perier
. This also replaces the property phy_regulator by the standard property phy-supply in rk3288-evb-rk808.dts. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3288-evb-rk808.dts | 2 +- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 63 +- 2

Re: [PATCH v1 0/4] net: stmmac: dwmac-rk: Fix phy regulator issues

2015-01-19 Thread Romain Perier
Hi all, 2015-01-19 21:19 GMT+01:00 Heiko Stübner he...@sntech.de: Hi Romain Am Montag, 19. Januar 2015, 18:08:05 schrieb Romain Perier: This series fixes few issues in dwmac-rk: 1. Voltage settings was hardcoded into the driver for the phy regulator. The driver now uses the default

[PATCH v1 0/4] net: stmmac: dwmac-rk: Fix phy regulator issues

2015-01-19 Thread Romain Perier
updated. As, dwmac-rk was recently pushed in the development tree, I don't care about devicetree backward compatibility issues. Romain Perier (4): net: stmmac: dwmac-rk: Don't set the regulator voltage for phy from the driver ARM: dts: Add regulator voltage settings for vcc_phy in rk3288

[PATCH v1 2/4] ARM: dts: Add regulator voltage settings for vcc_phy in rk3288-evb.dtsi

2015-01-19 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 489643c..1c08eb0 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b/arch

[PATCH v1 4/4] ARM: dts: Convert gmac to phy-supply in rk3288-evb-rk808.dts

2015-01-19 Thread Romain Perier
This replaces the property phy_regulator by the standard devicetree property phy-supply and references the device_node vcc_phy from it. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3288-evb-rk808.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v1 3/4] net: stmmac: dwmac-rk: Use standard devicetree property for phy regulator

2015-01-19 Thread Romain Perier
. Signed-off-by: Romain Perier romain.per...@gmail.com --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 61 -- 1 file changed, 19 insertions(+), 42 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c index

[PATCH v1 1/4] net: stmmac: dwmac-rk: Don't set the regulator voltage for phy from the driver

2015-01-19 Thread Romain Perier
As these settings can be directly expressed from devicetree for both fixed regulators and pmic-integrated regulators, it is more standard to set them from dts and let the regulator framework use the right voltage informations when it is used in the driver. Signed-off-by: Romain Perier romain.per

Re: [PATCH v2] usb: dwc2: Register interrupt handler only once gadget is correctly initialized

2015-02-12 Thread Romain Perier
No problem Regards, Romain 2015-02-13 3:47 GMT+01:00 John Youn john.y...@synopsys.com: On 2/12/2015 4:42 AM, Romain Perier wrote: ping 2015-02-06 17:50 GMT+01:00 Romain Perier romain.per...@gmail.com: Don't register interrupt handler before usb gadget is correctly initialized. For some

Re: [PATCH v2] usb: dwc2: Register interrupt handler only once gadget is correctly initialized

2015-02-12 Thread Romain Perier
ping 2015-02-06 17:50 GMT+01:00 Romain Perier romain.per...@gmail.com: Don't register interrupt handler before usb gadget is correctly initialized. For some embedded platforms which don't have a usb-phy, it crashes the driver because an interrupt is emitted with non-initialized hardware

[PATCH] usb: dwc2: Register interrupt handler only once gadget is correctly initialized

2015-02-05 Thread Romain Perier
time once the interrupt is registered, so we have to care about driver and hardware initialization. Signed-off-by: Romain Perier romain.per...@gmail.com --- drivers/usb/dwc2/platform.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/usb/dwc2/platform.c

Re: [PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-30 Thread Romain Perier
Hi, Could you rebase your serie onto linux-next or 4.2-rc8 ? it does not apply here... Regards, Romain 2015-08-21 15:16 GMT+02:00 Thierry Reding tred...@nvidia.com: On Fri, Aug 21, 2015 at 08:24:16PM +0900, Jingoo Han wrote: On 2015. 8. 21., at PM 7:01, Yakir Yang y...@rock-chips.com wrote:

Re: [PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-09-30 Thread Romain Perier
found that it had something to do with the hclk clock. This patch fixes the issue. Everything works like a charm now. Tested-by: Romain Perier <romain.per...@gmail.com> 2015-09-29 13:58 GMT+02:00 Sjoerd Simons <sjoerd.sim...@collabora.co.uk>: > On Tue, 2015-09-29 at 18:58 +0800, Y

Re: commit e34d65696d2e broke stmmac ethernet on socfpga

2016-01-01 Thread Romain Perier
Hi all, Same here on rockchip. See "[PATCH] stmmac: Don't exit mdio registration when mdio subnode is not found in the DTS" Regards, Romain 2015-12-18 18:45 GMT+01:00 Dinh Nguyen : > Hi, > > It appears that commit e34d65696d2e 'stmmac: create of compatible mdio >

[PATCH] asm-generic/futex: Properly re-enable preemption in futex_atomic_cmpxchg_inatomic()

2016-04-14 Thread Romain Perier
r own implementation. This is not the case for the nios2 platform. By using a nios2 board without SMP support, this bug can be easily reproduced. Fixes: d9b9ff8c1889 ("sched/preempt, futex: Disable preemption in UP futex_atomic_cmpxchg_inatomic() explicitly") Signed-off-by: Romain Perier <

Re: [RFC v2 00/20] Replace PCI pool by DMA pool API

2017-02-18 Thread Romain Perier
Le 18/02/2017 à 14:06, Greg Kroah-Hartman a écrit : > On Sat, Feb 18, 2017 at 09:35:36AM +0100, Romain Perier wrote: >> The current PCI pool API are simple macro functions direct expanded to >> the appropriated dma pool functions. The prototypes are almost the same >

Re: [PATCH v3 20/20] checkpatch: warn for use of old PCI pool API

2017-02-27 Thread Romain Perier
Hello, Le 27/02/2017 à 13:38, Joe Perches a écrit : > On Mon, 2017-02-27 at 13:26 +0100, Romain Perier wrote: >> Hello, >> >> >> Le 27/02/2017 à 12:22, Peter Senna Tschudin a écrit : >>> On Sun, Feb 26, 2017 at 08:24:25PM +0100, Romain Perier wrote: >>&g

Re: [PATCH v3 20/20] checkpatch: warn for use of old PCI pool API

2017-02-27 Thread Romain Perier
Hello, Le 27/02/2017 à 12:22, Peter Senna Tschudin a écrit : > On Sun, Feb 26, 2017 at 08:24:25PM +0100, Romain Perier wrote: >> pci_pool_*() functions should be replaced by the corresponding functions >> in the DMA pool API. This adds support to check for use of these p

[PATCH v4 01/19] block: DAC960: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier <romain.per...@collabora.com> Acked-by: Peter Senna Tschudin <peter.se...@collabora.com> Tested-by: Peter Senna Tschud

[PATCH v4 02/19] dmaengine: pch_dma: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier <romain.per...@collabora.com> Acked-by: Peter Senna Tschudin <peter.se...@collabora.com> Tested-by: Peter Senna Tschud

[PATCH v4 03/19] IB/mthca: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier <romain.per...@collabora.com> Acked-by: Peter Senna Tschudin <peter.se...@collabora.com> Tested-by: Peter Senna Tschud

[PATCH v4 00/19] Replace PCI pool by DMA pool API

2017-03-01 Thread Romain Perier
dma_pool_destroy - Improved the regexp in checkpatch for pci_pool, thanks to Joe Perches - Added Tested-by and Acked-by tags Romain Perier (19): block: DAC960: Replace PCI pool old API dmaengine: pch_dma: Replace PCI pool old API IB/mthca: Replace PCI pool old API net: e100: Replace PCI

[PATCH v4 17/19] usb: gadget: pch_udc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier <romain.per...@collabora.com> Reviewed-by: Peter Senna Tschudin <peter.se...@collabora.com> --- drivers/usb/gadget/udc/pc

[PATCH v4 09/19] scsi: csiostor: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier <romain.per...@collabora.com> Reviewed-by: Peter

[PATCH v4 08/19] scsi: be2iscsi: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier <romain.per...@collabora.com> Acked-by: Peter Senna Tschudin <peter.se...@collabora.com> Tested-by: Peter Senna Tschud

  1   2   3   4   5   6   7   8   >