Re: [PATCHv2 1/2] gpio: mvebu: fix blink counter register selection

2017-06-12 Thread Ralph Sennhauser
Hi Linus, On Sun, 11 Jun 2017 23:48:34 +0200 Linus Walleij <linus.wall...@linaro.org> wrote: > On Fri, Jun 9, 2017 at 10:03 AM, Ralph Sennhauser > <ralph.sennhau...@gmail.com> wrote: > > On Fri, 9 Jun 2017 09:37:55 +0200 > > Linus Walleij <linus.wall...@linaro.o

Re: [PATCHv2 1/2] gpio: mvebu: fix blink counter register selection

2017-06-12 Thread Ralph Sennhauser
Hi Linus, On Sun, 11 Jun 2017 23:48:34 +0200 Linus Walleij wrote: > On Fri, Jun 9, 2017 at 10:03 AM, Ralph Sennhauser > wrote: > > On Fri, 9 Jun 2017 09:37:55 +0200 > > Linus Walleij wrote: > > > >> On Thu, Jun 1, 2017 at 2:18 PM, Richard Genoud > >&g

Re: [PATCH] gpio: mvebu: change compatible string for PWM support

2017-06-09 Thread Ralph Sennhauser
On Fri, 9 Jun 2017 09:42:26 +0200 Linus Walleij <linus.wall...@linaro.org> wrote: > On Thu, Jun 1, 2017 at 10:08 PM, Ralph Sennhauser > <ralph.sennhau...@gmail.com> wrote: > > > As it turns out more than just Armada 370 and XP support using GPIO > > lines as PWM

Re: [PATCH] gpio: mvebu: change compatible string for PWM support

2017-06-09 Thread Ralph Sennhauser
On Fri, 9 Jun 2017 09:42:26 +0200 Linus Walleij wrote: > On Thu, Jun 1, 2017 at 10:08 PM, Ralph Sennhauser > wrote: > > > As it turns out more than just Armada 370 and XP support using GPIO > > lines as PWM lines. For example the Armada 38x family has the same

Re: [PATCH v2] gpio: mvebu: fix regmap_update_bits usage

2017-06-09 Thread Ralph Sennhauser
r. > > So when setting the bit N, then the value must be BIT(N) and not 1. > > CC: Chris Packham <chris.pack...@alliedtelesis.co.nz> > CC: Ralph Sennhauser <ralph.sennhau...@gmail.com> > Signed-off-by: Gregory CLEMENT <gregory.clem...@free-electrons.com> > --- H

Re: [PATCH v2] gpio: mvebu: fix regmap_update_bits usage

2017-06-09 Thread Ralph Sennhauser
the value must be BIT(N) and not 1. > > CC: Chris Packham > CC: Ralph Sennhauser > Signed-off-by: Gregory CLEMENT > --- Hi Gregory, Tested-by: Ralph Sennhauser Thanks for the prompt fix Ralph

[PATCH] dt-bindings: Add vendor prefix for Linksys

2017-06-09 Thread Ralph Sennhauser
-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Hi, Two weeks ago I asked for a vendor comment via Imre Kaloz but haven't heard back, so sending this one out for inclusion as-is. Ralph --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff

[PATCH] dt-bindings: Add vendor prefix for Linksys

2017-06-09 Thread Ralph Sennhauser
-by: Ralph Sennhauser --- Hi, Two weeks ago I asked for a vendor comment via Imre Kaloz but haven't heard back, so sending this one out for inclusion as-is. Ralph --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

Re: [PATCHv2 1/2] gpio: mvebu: fix blink counter register selection

2017-06-09 Thread Ralph Sennhauser
mited PWM support") > > Reviewed-by: Gregory CLEMENT <gregory.clem...@free-electrons.com> > > Reviewed-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> > > Signed-off-by: Richard Genoud <richard.gen...@gmail.com> > > Patch applied for fixes. > >

Re: [PATCHv2 1/2] gpio: mvebu: fix blink counter register selection

2017-06-09 Thread Ralph Sennhauser
to be used as the register > > value, selecting the B counter when id==1 and A counter when id==0. > > > > Tested on clearfog-pro (Marvell 88F6828) > > > > Fixes: 757642f9a584 ("gpio: mvebu: Add limited PWM support") > > Reviewed-by: Gregory CLEM

Linux 4.11 - broken enlightenment window manager (fixed in 4.12)

2017-06-09 Thread Ralph Sennhauser
Hi Greg, With 4.11 the enlightenment window mangers fails to start setuid children due to commit 64b875f7ac8a ("ptrace: Capture the ptracer's creds not PT_PTRACE_CAP"). Commit c70d9d809fde ("ptrace: Properly initialize ptracer_cred on fork") in Linus tree fixes the issue. Tested with v4.11.4.

Linux 4.11 - broken enlightenment window manager (fixed in 4.12)

2017-06-09 Thread Ralph Sennhauser
Hi Greg, With 4.11 the enlightenment window mangers fails to start setuid children due to commit 64b875f7ac8a ("ptrace: Capture the ptracer's creds not PT_PTRACE_CAP"). Commit c70d9d809fde ("ptrace: Properly initialize ptracer_cred on fork") in Linus tree fixes the issue. Tested with v4.11.4.

[REGRESSION next] gpio-keys broken with commit 2233bf7a92e7 ("gpio: mvebu: switch to regmap for register access")

2017-06-09 Thread Ralph Sennhauser
Hi Thomas, Commit 2233bf7a92e7 ("gpio: mvebu: switch to regmap for register access") in next-20170607 breaks gpio-keys on an armada-385 (Linksys WRT3200ACM), noticed due to missing /dev/input/event0 and the below dmesg output. # dmesg -l 0,1,2,3 [2.421130] genirq: Setting trigger mode 3

[REGRESSION next] gpio-keys broken with commit 2233bf7a92e7 ("gpio: mvebu: switch to regmap for register access")

2017-06-09 Thread Ralph Sennhauser
Hi Thomas, Commit 2233bf7a92e7 ("gpio: mvebu: switch to regmap for register access") in next-20170607 breaks gpio-keys on an armada-385 (Linksys WRT3200ACM), noticed due to missing /dev/input/event0 and the below dmesg output. # dmesg -l 0,1,2,3 [2.421130] genirq: Setting trigger mode 3

[PATCH] ARM: dts: mvebu: Add PWM properties to .dtsi files

2017-06-01 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Add properties to the GPIO nodes for Armada 370/XP to allow them to be also used as PWM lines. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427294/ [Ralph Sennhauser: Add new compatible string marvell,arm

[PATCH] ARM: dts: mvebu: Add PWM properties to .dtsi files

2017-06-01 Thread Ralph Sennhauser
From: Andrew Lunn Add properties to the GPIO nodes for Armada 370/XP to allow them to be also used as PWM lines. Signed-off-by: Andrew Lunn URL: https://patchwork.ozlabs.org/patch/427294/ [Ralph Sennhauser: Add new compatible string marvell,armada-370-gpio] Signed-off-by: Ralph Sennhauser

[PATCH] ARM: dts: mvebu: Add PWM properties for armada-38x

2017-06-01 Thread Ralph Sennhauser
Add the required properties to the GPIO nodes for them to be used as PWM lines. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Hi everyone, this patch uses "marvell,armada-370-gpio" for the compatible property and as such depends on the rename of the proper

[PATCH] ARM: dts: mvebu: Add PWM properties for armada-38x

2017-06-01 Thread Ralph Sennhauser
Add the required properties to the GPIO nodes for them to be used as PWM lines. Signed-off-by: Ralph Sennhauser --- Hi everyone, this patch uses "marvell,armada-370-gpio" for the compatible property and as such depends on the rename of the property to still make it in in time for 4

Re: [PATCH v3] clk: mvebu: armada-38x: add support for 1866MHz variants

2017-06-01 Thread Ralph Sennhauser
On Thu, 1 Jun 2017 00:25:11 -0700 Stephen Boyd <sb...@codeaurora.org> wrote: > On 05/24, Ralph Sennhauser wrote: > > The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the > > list of supported CPU frequencies. Also update multiplier and > > divis

Re: [PATCH v3] clk: mvebu: armada-38x: add support for 1866MHz variants

2017-06-01 Thread Ralph Sennhauser
On Thu, 1 Jun 2017 00:25:11 -0700 Stephen Boyd wrote: > On 05/24, Ralph Sennhauser wrote: > > The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the > > list of supported CPU frequencies. Also update multiplier and > > divisor for the l2clk and ddr

[PATCH] gpio: mvebu: change compatible string for PWM support

2017-06-01 Thread Ralph Sennhauser
70-gpio" before the driver makes it out of the -rc stage. This also follows the practice of using only the first device family supported as part of the name. Also update the documentation and comments in the code accordingly. Fixes: 757642f9a584 ("gpio: mvebu: Add limited PWM suppo

[PATCH] gpio: mvebu: change compatible string for PWM support

2017-06-01 Thread Ralph Sennhauser
70-gpio" before the driver makes it out of the -rc stage. This also follows the practice of using only the first device family supported as part of the name. Also update the documentation and comments in the code accordingly. Fixes: 757642f9a584 ("gpio: mvebu: Add limited PWM suppo

Re: [PATCH v6 1/4] gpio: mvebu: Add limited PWM support

2017-05-31 Thread Ralph Sennhauser
On Tue, 30 May 2017 17:35:33 +0200 Richard Genoud wrote: > Hi Ralph, > > I have the functional spec (no NDA needed, but it's not the full > one) : A38x-Functional-Spec-PU0A.pdf > https://marvellcorp.wufoo.com/forms/marvell-armada-38x-functional-specifications/ >

Re: [PATCH v6 1/4] gpio: mvebu: Add limited PWM support

2017-05-31 Thread Ralph Sennhauser
On Tue, 30 May 2017 17:35:33 +0200 Richard Genoud wrote: > Hi Ralph, > > I have the functional spec (no NDA needed, but it's not the full > one) : A38x-Functional-Spec-PU0A.pdf > https://marvellcorp.wufoo.com/forms/marvell-armada-38x-functional-specifications/ > (just an email needed, no

Re: [PATCH 1/2] gpio: mvebu: fix blink counter register selection

2017-05-30 Thread Ralph Sennhauser
e, selecting the B counter when id==1 and A counter when id==0. > > Tested on clearfog-pro (Marvell 88F6828) As stated in the other thread, testing on clearfog-pro is likely bogus, still the fix is correct. Reviewed-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> Thanks Ralph >

Re: [PATCH 1/2] gpio: mvebu: fix blink counter register selection

2017-05-30 Thread Ralph Sennhauser
r when id==1 and A counter when id==0. > > Tested on clearfog-pro (Marvell 88F6828) As stated in the other thread, testing on clearfog-pro is likely bogus, still the fix is correct. Reviewed-by: Ralph Sennhauser Thanks Ralph > > Signed-off-by: Richard Genoud > --- > drivers/gpio

Re: [PATCH 2/2] gpio: mvebu: fix gpio bank registration when pwm is used

2017-05-30 Thread Ralph Sennhauser
Hi Richard On Tue, 30 May 2017 16:45:24 +0200 Richard Genoud wrote: > 2017-05-30 15:16 GMT+02:00 Gregory CLEMENT > : > > Hi Richard, > Hi Greg ! > > > > > On mar., mai 30 2017, Richard Genoud > > wrote:

Re: [PATCH 2/2] gpio: mvebu: fix gpio bank registration when pwm is used

2017-05-30 Thread Ralph Sennhauser
Hi Richard On Tue, 30 May 2017 16:45:24 +0200 Richard Genoud wrote: > 2017-05-30 15:16 GMT+02:00 Gregory CLEMENT > : > > Hi Richard, > Hi Greg ! > > > > > On mar., mai 30 2017, Richard Genoud > > wrote: > >> If more than one gpio bank has the "pwm" property, only one will be > >>

Re: [PATCH v6 1/4] gpio: mvebu: Add limited PWM support

2017-05-30 Thread Ralph Sennhauser
On lun., avril 24 2017, Linus Walleij <linus.wall...@linaro.org> > wrote: > > > On Fri, Apr 14, 2017 at 5:40 PM, Ralph Sennhauser > > <ralph.sennhau...@gmail.com> wrote: > > > >> From: Andrew Lunn <and...@lunn.ch> > >> > >

Re: [PATCH v6 1/4] gpio: mvebu: Add limited PWM support

2017-05-30 Thread Ralph Sennhauser
s Walleij > wrote: > > > On Fri, Apr 14, 2017 at 5:40 PM, Ralph Sennhauser > > wrote: > > > >> From: Andrew Lunn > >> > >> Armada 370/XP devices can 'blink' GPIO lines with a configurable on > >> and off period. This can be modelled as a

Re: [PATCH REGRESSION 4.12-rc1] ovl: add missing CONFIG_EXPORTFS dependency

2017-05-29 Thread Ralph Sennhauser
On Tue, 16 May 2017 12:11:39 +0200 Ralph Sennhauser <ralph.sennhau...@gmail.com> wrote: > The source files namei.c and copy_up.c in overlayfs new use > exportfs_decode_fh which depends on CONFIG_EXPORTFS being set. Select > it in Kconfig. This issue is still present in 4.12-rc3 Ralph

Re: [PATCH REGRESSION 4.12-rc1] ovl: add missing CONFIG_EXPORTFS dependency

2017-05-29 Thread Ralph Sennhauser
On Tue, 16 May 2017 12:11:39 +0200 Ralph Sennhauser wrote: > The source files namei.c and copy_up.c in overlayfs new use > exportfs_decode_fh which depends on CONFIG_EXPORTFS being set. Select > it in Kconfig. This issue is still present in 4.12-rc3 Ralph

Re: [PATCH v2] clk: mvebu: add support for 1866MHz variants

2017-05-24 Thread Ralph Sennhauser
On Wed, 24 May 2017 15:48:50 +0200 Gregory CLEMENT <gregory.clem...@free-electrons.com> wrote: > Hi Ralph, > > On mar., mai 23 2017, Ralph Sennhauser <ralph.sennhau...@gmail.com> > wrote: > > Adding a word about the fact this patch is for the armada 38x So

Re: [PATCH v2] clk: mvebu: add support for 1866MHz variants

2017-05-24 Thread Ralph Sennhauser
On Wed, 24 May 2017 15:48:50 +0200 Gregory CLEMENT wrote: > Hi Ralph, > > On mar., mai 23 2017, Ralph Sennhauser > wrote: > > Adding a word about the fact this patch is for the armada 38x SoC in > the title would be nice. Agreed. > > > The Linksys WRT320

[PATCH v3] clk: mvebu: armada-38x: add support for 1866MHz variants

2017-05-24 Thread Ralph Sennhauser
The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the list of supported CPU frequencies. Also update multiplier and divisor for the l2clk and ddrclk. Noticed by the following warning: [0.00] Selected CPU frequency (16) unsupported Signed-off-by: Ralph Sennhauser

[PATCH v3] clk: mvebu: armada-38x: add support for 1866MHz variants

2017-05-24 Thread Ralph Sennhauser
The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the list of supported CPU frequencies. Also update multiplier and divisor for the l2clk and ddrclk. Noticed by the following warning: [0.00] Selected CPU frequency (16) unsupported Signed-off-by: Ralph Sennhauser Reviewed

[PATCH v3] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-24 Thread Ralph Sennhauser
. Other changes can be categorized as just cleanup / reorganization due to using the armada-385-linksys.dtsi. URL: https://github.com/openwrt/openwrt/blob/0abc3fa5a996daf7dafdc7794ccfe3fa7e955c5a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts Signed-off-by: Ralph Sennhauser

[PATCH v3] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-24 Thread Ralph Sennhauser
. Other changes can be categorized as just cleanup / reorganization due to using the armada-385-linksys.dtsi. URL: https://github.com/openwrt/openwrt/blob/0abc3fa5a996daf7dafdc7794ccfe3fa7e955c5a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts Signed-off-by: Ralph Sennhauser

Re: [PATCH v2] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-24 Thread Ralph Sennhauser
On Wed, 24 May 2017 03:37:53 +0200 Andrew Lunn wrote: > Hi Ralph > > > Changes since v1: > > > > - Use non-removable with the sdhci node > > .. > > > + > > + { > > + pinctrl-names = "default"; > > + pinctrl-0 = <_pins>; > > + no-1-8-v; > > + broken-cd; > > +

Re: [PATCH v2] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-24 Thread Ralph Sennhauser
On Wed, 24 May 2017 03:37:53 +0200 Andrew Lunn wrote: > Hi Ralph > > > Changes since v1: > > > > - Use non-removable with the sdhci node > > .. > > > + > > + { > > + pinctrl-names = "default"; > > + pinctrl-0 = <_pins>; > > + no-1-8-v; > > + broken-cd; > > + wp-inverted; > > +

[PATCH v2] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-23 Thread Ralph Sennhauser
. Other changes can be categorized as just cleanup / reorganization due to using the armada-385-linksys.dtsi. URL: https://github.com/openwrt/openwrt/blob/0abc3fa5a996daf7dafdc7794ccfe3fa7e955c5a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts Signed-off-by: Ralph Sennhauser

[PATCH v2] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-23 Thread Ralph Sennhauser
. Other changes can be categorized as just cleanup / reorganization due to using the armada-385-linksys.dtsi. URL: https://github.com/openwrt/openwrt/blob/0abc3fa5a996daf7dafdc7794ccfe3fa7e955c5a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts Signed-off-by: Ralph Sennhauser

[PATCH v2] clk: mvebu: add support for 1866MHz variants

2017-05-23 Thread Ralph Sennhauser
The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the list of supported CPU frequencies. Also update multiplier and divisor for the l2clk and ddrclk. Noticed by the following warning: [0.00] Selected CPU frequency (16) unsupported Signed-off-by: Ralph Sennhauser

[PATCH v2] clk: mvebu: add support for 1866MHz variants

2017-05-23 Thread Ralph Sennhauser
The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the list of supported CPU frequencies. Also update multiplier and divisor for the l2clk and ddrclk. Noticed by the following warning: [0.00] Selected CPU frequency (16) unsupported Signed-off-by: Ralph Sennhauser --- Hi

Re: [PATCH 13/13] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-23 Thread Ralph Sennhauser
On Tue, 23 May 2017 14:25:21 +0200 Andrew Lunn wrote: > > The non-removable property might be more appropriate than > > broken-cd though. > > I think non-removable is also better. > > Otherwise, this looks good. > > Andrew Hi Andrew Will send out a V2 using

Re: [PATCH 13/13] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-23 Thread Ralph Sennhauser
On Tue, 23 May 2017 14:25:21 +0200 Andrew Lunn wrote: > > The non-removable property might be more appropriate than > > broken-cd though. > > I think non-removable is also better. > > Otherwise, this looks good. > > Andrew Hi Andrew Will send out a V2 using non-removable and

Re: [PATCH 12/13] clk: mvebu: add support for 1866MHz variants

2017-05-23 Thread Ralph Sennhauser
On Tue, 23 May 2017 14:15:14 +0200 Andrew Lunn <and...@lunn.ch> wrote: > On Sun, May 21, 2017 at 02:49:01PM +0200, Ralph Sennhauser wrote: > > The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to > > the list of supported CPU frequencies. > > > >

Re: [PATCH 12/13] clk: mvebu: add support for 1866MHz variants

2017-05-23 Thread Ralph Sennhauser
On Tue, 23 May 2017 14:15:14 +0200 Andrew Lunn wrote: > On Sun, May 21, 2017 at 02:49:01PM +0200, Ralph Sennhauser wrote: > > The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to > > the list of supported CPU frequencies. > > > > Noticed by the following

Re: [PATCH 00/13] Linksys WRT3200ACM (Rango) support

2017-05-23 Thread Ralph Sennhauser
On Tue, 23 May 2017 17:22:05 +0200 Gregory CLEMENT <gregory.clem...@free-electrons.com> wrote: > Hi Ralph, > > On dim., mai 21 2017, Ralph Sennhauser <ralph.sennhau...@gmail.com> > wrote: > > > Hi everyone > > > > This series adds support for

Re: [PATCH 00/13] Linksys WRT3200ACM (Rango) support

2017-05-23 Thread Ralph Sennhauser
On Tue, 23 May 2017 17:22:05 +0200 Gregory CLEMENT wrote: > Hi Ralph, > > On dim., mai 21 2017, Ralph Sennhauser > wrote: > > > Hi everyone > > > > This series adds support for the latest model in Linksys WRT AC > > series of routers. The

Re: [PATCH 08/13] ARM: dts: armada-385-linksys: use binary unit prefixes

2017-05-23 Thread Ralph Sennhauser
On Mon, 22 May 2017 20:24:16 +0200 Ralph Sennhauser <ralph.sennhau...@gmail.com> wrote: > On Mon, 22 May 2017 17:00:01 +0200 > Andrew Lunn <and...@lunn.ch> wrote: > > > On Sun, May 21, 2017 at 02:48:57PM +0200, Ralph Sennhauser wrote: > > > Use IE

Re: [PATCH 08/13] ARM: dts: armada-385-linksys: use binary unit prefixes

2017-05-23 Thread Ralph Sennhauser
On Mon, 22 May 2017 20:24:16 +0200 Ralph Sennhauser wrote: > On Mon, 22 May 2017 17:00:01 +0200 > Andrew Lunn wrote: > > > On Sun, May 21, 2017 at 02:48:57PM +0200, Ralph Sennhauser wrote: > > > Use IEEE 1541-2002 unit prefixes for sizes. >

Re: [PATCH 08/13] ARM: dts: armada-385-linksys: use binary unit prefixes

2017-05-22 Thread Ralph Sennhauser
On Mon, 22 May 2017 17:00:01 +0200 Andrew Lunn <and...@lunn.ch> wrote: > On Sun, May 21, 2017 at 02:48:57PM +0200, Ralph Sennhauser wrote: > > Use IEEE 1541-2002 unit prefixes for sizes. > > Does ePAPR recommend this? Not directly, but the paper (v1.1) itself is using Mi

Re: [PATCH 08/13] ARM: dts: armada-385-linksys: use binary unit prefixes

2017-05-22 Thread Ralph Sennhauser
On Mon, 22 May 2017 17:00:01 +0200 Andrew Lunn wrote: > On Sun, May 21, 2017 at 02:48:57PM +0200, Ralph Sennhauser wrote: > > Use IEEE 1541-2002 unit prefixes for sizes. > > Does ePAPR recommend this? Not directly, but the paper (v1.1) itself is using MiB as well whic

Re: [PATCH 06/13] ARM: dts: armada-385-linksys: usb3 label cleanup

2017-05-22 Thread Ralph Sennhauser
On Mon, 22 May 2017 16:55:15 +0200 Andrew Lunn <and...@lunn.ch> wrote: > On Sun, May 21, 2017 at 02:48:55PM +0200, Ralph Sennhauser wrote: > > Now that we use the reference for the USB3.0 port update the node > > name and labels for the phy and vbus to match the label used b

Re: [PATCH 06/13] ARM: dts: armada-385-linksys: usb3 label cleanup

2017-05-22 Thread Ralph Sennhauser
On Mon, 22 May 2017 16:55:15 +0200 Andrew Lunn wrote: > On Sun, May 21, 2017 at 02:48:55PM +0200, Ralph Sennhauser wrote: > > Now that we use the reference for the USB3.0 port update the node > > name and labels for the phy and vbus to match the label used by > > armada-38x.

[PATCH 09/13] ARM: dts: armada-385-linksys: partition layout is board specific

2017-05-21 Thread Ralph Sennhauser
Move the partition layout to individual boards. The Linksys WRT 3200 ACM (Rango) comes with a 256MiB nand flash chip and different layout. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Dismissed alternatives: a) Partition layouts as fragments for use with overlay.

[PATCH 09/13] ARM: dts: armada-385-linksys: partition layout is board specific

2017-05-21 Thread Ralph Sennhauser
Move the partition layout to individual boards. The Linksys WRT 3200 ACM (Rango) comes with a 256MiB nand flash chip and different layout. Signed-off-by: Ralph Sennhauser --- Dismissed alternatives: a) Partition layouts as fragments for use with overlay. While the only alternative which

[PATCH 10/13] ARM: dts: armada-385-linksys: group pins in pinctrl

2017-05-21 Thread Ralph Sennhauser
A pin group per node is sufficient, further specialisation only serves as documentation which can be a comment just as well. This simplifies configuring pins for nodes in dependants. Also use labels which end up right by the node they are intended for. Signed-off-by: Ralph Sennhauser

[PATCH 10/13] ARM: dts: armada-385-linksys: group pins in pinctrl

2017-05-21 Thread Ralph Sennhauser
A pin group per node is sufficient, further specialisation only serves as documentation which can be a comment just as well. This simplifies configuring pins for nodes in dependants. Also use labels which end up right by the node they are intended for. Signed-off-by: Ralph Sennhauser --- arch

[PATCH 08/13] ARM: dts: armada-385-linksys: use binary unit prefixes

2017-05-21 Thread Ralph Sennhauser
Use IEEE 1541-2002 unit prefixes for sizes. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/armada-385-linksys.dtsi | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi

[PATCH 12/13] clk: mvebu: add support for 1866MHz variants

2017-05-21 Thread Ralph Sennhauser
The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the list of supported CPU frequencies. Noticed by the following warning: [0.00] Selected CPU frequency (16) unsupported Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- drivers/clk/mvebu/armada-38x

[PATCH 08/13] ARM: dts: armada-385-linksys: use binary unit prefixes

2017-05-21 Thread Ralph Sennhauser
Use IEEE 1541-2002 unit prefixes for sizes. Signed-off-by: Ralph Sennhauser --- arch/arm/boot/dts/armada-385-linksys.dtsi | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385

[PATCH 12/13] clk: mvebu: add support for 1866MHz variants

2017-05-21 Thread Ralph Sennhauser
The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the list of supported CPU frequencies. Noticed by the following warning: [0.00] Selected CPU frequency (16) unsupported Signed-off-by: Ralph Sennhauser --- drivers/clk/mvebu/armada-38x.c | 3 ++- 1 file changed, 2

[PATCH 07/13] ARM: dts: armada-385-linksys: drop leagcy DSA bindings

2017-05-21 Thread Ralph Sennhauser
The new ones work so there is little reason to keep the legacy bindings. Use the rework as the oportunity to drop the legacy node. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Notes: There is little harm in keeping them but probably no value either, so use the c

[PATCH 07/13] ARM: dts: armada-385-linksys: drop leagcy DSA bindings

2017-05-21 Thread Ralph Sennhauser
The new ones work so there is little reason to keep the legacy bindings. Use the rework as the oportunity to drop the legacy node. Signed-off-by: Ralph Sennhauser --- Notes: There is little harm in keeping them but probably no value either, so use the cleanup series to get rid of them

[PATCH 06/13] ARM: dts: armada-385-linksys: usb3 label cleanup

2017-05-21 Thread Ralph Sennhauser
Now that we use the reference for the USB3.0 port update the node name and labels for the phy and vbus to match the label used by armada-38x.dtsi. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Notes: Going by documentation regulator-name is only of informative nat

[PATCH 06/13] ARM: dts: armada-385-linksys: usb3 label cleanup

2017-05-21 Thread Ralph Sennhauser
Now that we use the reference for the USB3.0 port update the node name and labels for the phy and vbus to match the label used by armada-38x.dtsi. Signed-off-by: Ralph Sennhauser --- Notes: Going by documentation regulator-name is only of informative nature so changing it should be a non

[PATCH 01/13] ARM: dts: armada-385-linksys: flatten dtsi

2017-05-21 Thread Ralph Sennhauser
the resulting dtb to be binary identical. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Notes: Care has been taken to change nothing but flatten and sorting references by name. Sorting by internal reg no longer makes sense, would be a pain to maintain order at

[PATCH 04/13] ARM: dts: armada-385-linksys: drop redundant properties in dependants

2017-05-21 Thread Ralph Sennhauser
Drop redundant declaration of #address-cells and #size-cells. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/armada-385-linksys-caiman.dts | 3 --- arch/arm/boot/dts/armada-385-linksys-cobra.dts | 3 --- arch/arm/boot/dts/armada-385-linksys-shelby.d

[PATCH 05/13] ARM: dts: armada-385-linksys: bm pools by label order

2017-05-21 Thread Ralph Sennhauser
Which pools we assing doesn't matter. Use the order which doesen't leave a chance for questions for first time readers. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/armada-385-linksys.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[PATCH 01/13] ARM: dts: armada-385-linksys: flatten dtsi

2017-05-21 Thread Ralph Sennhauser
the resulting dtb to be binary identical. Signed-off-by: Ralph Sennhauser --- Notes: Care has been taken to change nothing but flatten and sorting references by name. Sorting by internal reg no longer makes sense, would be a pain to maintain order at least. Comments have at least one level

[PATCH 04/13] ARM: dts: armada-385-linksys: drop redundant properties in dependants

2017-05-21 Thread Ralph Sennhauser
Drop redundant declaration of #address-cells and #size-cells. Signed-off-by: Ralph Sennhauser --- arch/arm/boot/dts/armada-385-linksys-caiman.dts | 3 --- arch/arm/boot/dts/armada-385-linksys-cobra.dts | 3 --- arch/arm/boot/dts/armada-385-linksys-shelby.dts | 3 --- 3 files changed, 9

[PATCH 05/13] ARM: dts: armada-385-linksys: bm pools by label order

2017-05-21 Thread Ralph Sennhauser
Which pools we assing doesn't matter. Use the order which doesen't leave a chance for questions for first time readers. Signed-off-by: Ralph Sennhauser --- arch/arm/boot/dts/armada-385-linksys.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 03/13] ARM: dts: armada-385-linksys: flatten dependants

2017-05-21 Thread Ralph Sennhauser
Flatten dts of individual boards to match the new style used in armada-385-linksys.dtsi and for the Rango addition. * Caiman - Linksys WRT1200AC v1 & v2 * Cobra - Linksys WRT1900AC v2 * Shelby - Linksys WRT1900ACS v1 & v2 Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com&g

[PATCH 03/13] ARM: dts: armada-385-linksys: flatten dependants

2017-05-21 Thread Ralph Sennhauser
Flatten dts of individual boards to match the new style used in armada-385-linksys.dtsi and for the Rango addition. * Caiman - Linksys WRT1200AC v1 & v2 * Cobra - Linksys WRT1900AC v2 * Shelby - Linksys WRT1900ACS v1 & v2 Signed-off-by: Ralph Sennhauser --- Notes: power and sata

[PATCH 02/13] ARM: dts: armada-385-linksys: label nodes

2017-05-21 Thread Ralph Sennhauser
Add labels to nodes used by dependants. Also rename node gpio_keys to gpio-keys to mach the style of the rest of the file as well as the documented example. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/armada-385-linksys.dtsi | 6 +++--- 1 file chan

[PATCH 13/13] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-21 Thread Ralph Sennhauser
as just cleanup / reorganization due to using the armada-385-linksys.dtsi. URL: https://github.com/openwrt/openwrt/blob/0abc3fa5a996daf7dafdc7794ccfe3fa7e955c5a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.

[PATCH 11/13] ARM: dts: armada-385-linksys: fixup button node names

2017-05-21 Thread Ralph Sennhauser
Buttons don't have a reg property; drop pseudo address and fixup names of individual button nodes. Also drop #address-cells and #size-cells properties. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/armada-385-linksys.dtsi | 6 ++ 1 file chan

[PATCH 02/13] ARM: dts: armada-385-linksys: label nodes

2017-05-21 Thread Ralph Sennhauser
Add labels to nodes used by dependants. Also rename node gpio_keys to gpio-keys to mach the style of the rest of the file as well as the documented example. Signed-off-by: Ralph Sennhauser --- arch/arm/boot/dts/armada-385-linksys.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH 13/13] ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)

2017-05-21 Thread Ralph Sennhauser
as just cleanup / reorganization due to using the armada-385-linksys.dtsi. URL: https://github.com/openwrt/openwrt/blob/0abc3fa5a996daf7dafdc7794ccfe3fa7e955c5a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts Signed-off-by: Ralph Sennhauser --- Notes: The sdhci node

[PATCH 11/13] ARM: dts: armada-385-linksys: fixup button node names

2017-05-21 Thread Ralph Sennhauser
Buttons don't have a reg property; drop pseudo address and fixup names of individual button nodes. Also drop #address-cells and #size-cells properties. Signed-off-by: Ralph Sennhauser --- arch/arm/boot/dts/armada-385-linksys.dtsi | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

[PATCH 00/13] Linksys WRT3200ACM (Rango) support

2017-05-21 Thread Ralph Sennhauser
Armada-385 based devices in the series is a bigger flash chip, next generation wireless modules in the mini pcie slots as well as a Marvell SD8887. Finally the CPU is clocked at 1866 GHz by default. The series depends on Linux 4.12-rc1 and is targeted for 4.13. Ralph Ralph Sennhauser (13

[PATCH 00/13] Linksys WRT3200ACM (Rango) support

2017-05-21 Thread Ralph Sennhauser
Armada-385 based devices in the series is a bigger flash chip, next generation wireless modules in the mini pcie slots as well as a Marvell SD8887. Finally the CPU is clocked at 1866 GHz by default. The series depends on Linux 4.12-rc1 and is targeted for 4.13. Ralph Ralph Sennhauser (13

[PATCH REGRESSION 4.12-rc1] ovl: add missing CONFIG_EXPORTFS dependency

2017-05-16 Thread Ralph Sennhauser
node on copy up") Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- fs/overlayfs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/overlayfs/Kconfig b/fs/overlayfs/Kconfig index 0daac51..c0c9683 100644 --- a/fs/overlayfs/Kconfig +++ b/fs/overlayfs/Kconfig @@ -1,5

[PATCH REGRESSION 4.12-rc1] ovl: add missing CONFIG_EXPORTFS dependency

2017-05-16 Thread Ralph Sennhauser
node on copy up") Signed-off-by: Ralph Sennhauser --- fs/overlayfs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/overlayfs/Kconfig b/fs/overlayfs/Kconfig index 0daac51..c0c9683 100644 --- a/fs/overlayfs/Kconfig +++ b/fs/overlayfs/Kconfig @@ -1,5 +1,6 @@ config OVERLAY_FS

Re: [PATCH v6 2/4] ARM: dts: mvebu: Add PWM properties to .dtsi files

2017-05-05 Thread Ralph Sennhauser
On Fri, 05 May 2017 10:09:09 +0200 Gregory CLEMENT <gregory.clem...@free-electrons.com> wrote: > Hi Ralph, > > On ven., mai 05 2017, Ralph Sennhauser <ralph.sennhau...@gmail.com> > wrote: > > > On Mon, 24 Apr 2017 11:19:32 +0200 > > Linus W

Re: [PATCH v6 2/4] ARM: dts: mvebu: Add PWM properties to .dtsi files

2017-05-05 Thread Ralph Sennhauser
On Fri, 05 May 2017 10:09:09 +0200 Gregory CLEMENT wrote: > Hi Ralph, > > On ven., mai 05 2017, Ralph Sennhauser > wrote: > > > On Mon, 24 Apr 2017 11:19:32 +0200 > > Linus Walleij wrote: > > > >> On Fri, Apr 14, 2017 at 5:40 PM, Ralph Sennhause

Re: [PATCH v6 2/4] ARM: dts: mvebu: Add PWM properties to .dtsi files

2017-05-05 Thread Ralph Sennhauser
On Mon, 24 Apr 2017 11:19:32 +0200 Linus Walleij <linus.wall...@linaro.org> wrote: > On Fri, Apr 14, 2017 at 5:40 PM, Ralph Sennhauser > <ralph.sennhau...@gmail.com> wrote: > > > From: Andrew Lunn <and...@lunn.ch> > > > > Add properties to the GPIO n

Re: [PATCH v6 2/4] ARM: dts: mvebu: Add PWM properties to .dtsi files

2017-05-05 Thread Ralph Sennhauser
On Mon, 24 Apr 2017 11:19:32 +0200 Linus Walleij wrote: > On Fri, Apr 14, 2017 at 5:40 PM, Ralph Sennhauser > wrote: > > > From: Andrew Lunn > > > > Add properties to the GPIO nodes to allow them to be also used as > > PWM lines. > > > &g

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-28 Thread Ralph Sennhauser
On Fri, 28 Apr 2017 17:26:41 +0530 Sricharan R wrote: > Hi Ralph, > > > > > > > Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe > > time for platform/amba/pci bus devices") causes a kernel panic > > as in the log below on an

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-28 Thread Ralph Sennhauser
On Fri, 28 Apr 2017 17:26:41 +0530 Sricharan R wrote: > Hi Ralph, > > > > > > > Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe > > time for platform/amba/pci bus devices") causes a kernel panic > > as in the log below on an armada-385. Reverting the commit >

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-28 Thread Ralph Sennhauser
On Fri, 28 Apr 2017 11:13:33 +0530 Sricharan R <sricha...@codeaurora.org> wrote: > Hi Ralph, > > On 4/27/2017 8:10 PM, Ralph Sennhauser wrote: > > On Thu, 27 Apr 2017 19:05:09 +0530 > > Sricharan R <sricha...@codeaurora.org> wrote: > > > >> Hi,

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-28 Thread Ralph Sennhauser
On Fri, 28 Apr 2017 11:13:33 +0530 Sricharan R wrote: > Hi Ralph, > > On 4/27/2017 8:10 PM, Ralph Sennhauser wrote: > > On Thu, 27 Apr 2017 19:05:09 +0530 > > Sricharan R wrote: > > > >> Hi, > >> > >> On 4/26/2017 9:45 PM, Ralph Sennha

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-27 Thread Ralph Sennhauser
On Thu, 27 Apr 2017 19:05:09 +0530 Sricharan R <sricha...@codeaurora.org> wrote: > Hi, > > On 4/26/2017 9:45 PM, Ralph Sennhauser wrote: > > Hi Sricharan R, > > > > Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe > > time for pla

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-27 Thread Ralph Sennhauser
On Thu, 27 Apr 2017 19:05:09 +0530 Sricharan R wrote: > Hi, > > On 4/26/2017 9:45 PM, Ralph Sennhauser wrote: > > Hi Sricharan R, > > > > Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe > > time for platform/amba/pci bus devices") ca

[REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-26 Thread Ralph Sennhauser
Hi Sricharan R, Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes a kernel panic as in the log below on an armada-385. Reverting the commit fixes the issue. Regards Ralph --- [ 18.288244] [c06d8480] *pgd=0061941e(bad) [

[REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-26 Thread Ralph Sennhauser
Hi Sricharan R, Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes a kernel panic as in the log below on an armada-385. Reverting the commit fixes the issue. Regards Ralph --- [ 18.288244] [c06d8480] *pgd=0061941e(bad) [

Re: [PATCH] ubifs: Fix O_TMPFILE corner case in ubifs_link()

2017-04-17 Thread Ralph Sennhauser
On Tue, 11 Apr 2017 18:04:50 +0300 Amir Goldstein wrote: > On Tue, Apr 11, 2017 at 1:50 PM, Richard Weinberger > wrote: > > Hi! > > > > Am 11.04.2017 um 12:20 schrieb Amir Goldstein: > >> On Thu, Apr 6, 2017 at 3:26 PM, Richard Weinberger > >>

Re: [PATCH] ubifs: Fix O_TMPFILE corner case in ubifs_link()

2017-04-17 Thread Ralph Sennhauser
On Tue, 11 Apr 2017 18:04:50 +0300 Amir Goldstein wrote: > On Tue, Apr 11, 2017 at 1:50 PM, Richard Weinberger > wrote: > > Hi! > > > > Am 11.04.2017 um 12:20 schrieb Amir Goldstein: > >> On Thu, Apr 6, 2017 at 3:26 PM, Richard Weinberger > >> wrote: > >>> Am 06.04.2017 um 14:09 schrieb

  1   2   3   >