Add a DT description of LaCie 2Big and 5Big Network v2
Subsystems (5)
Andrew Lunn
maintainercover Add a DT description of LaCie 2Big and 5Big Network v2
This patchset adds a DT description for LaCie 2Big and 5Big, one of the last remaining boards in mach-kirkwood. The LEDs cannot be described in DT, since there is no binding yet for the device which controls them. So a board file is added for that part.
These patches are build tested only. It would be good if somebody could boot them.
Andrew Lunn (4):
ARM: Kirkwood: Add board file for netxbig LEDs
ARM: Kirkwood: Add DT descriptions for net2big and net5big.
ARM: MVEBU: Add LaCie 2Big and 5Big Network v2
ARM: MULTI_V5: Enable LaCie 2Big and 5Big Network v2
arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/kirkwood-net2big.dts | 25 +++++ arch/arm/boot/dts/kirkwood-net5big.dts | 67 +++++++++++ arch/arm/boot/dts/kirkwood-netxbig.dtsi | 182 ++++++++++++++++++++++++++++++ arch/arm/configs/multi_v5_defconfig | 1 + arch/arm/configs/mvebu_v5_defconfig | 1 + arch/arm/mach-mvebu/Kconfig | 7 ++ arch/arm/mach-mvebu/Makefile | 1 + arch/arm/mach-mvebu/board-netxbig.c | 191 ++++++++++++++++++++++++++++++++ arch/arm/mach-mvebu/board.h | 6 + arch/arm/mach-mvebu/kirkwood.c | 3 + 11 files changed, 486 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-net2big.dts create mode 100644 arch/arm/boot/dts/kirkwood-net5big.dts create mode 100644 arch/arm/boot/dts/kirkwood-netxbig.dtsi create mode 100644 arch/arm/mach-mvebu/board-netxbig.c
Signature · 1 line
1.9.2
Andrew Lunn
maintainerPATCH 1/4 ARM: Kirkwood: Add board file for netxbig LEDs
There is currently no DT binding for the CPLD which controls the LEDs on the Net 2Big and Net 5Big. So use a platform device.
--- arch/arm/mach-mvebu/Kconfig | 7 ++ arch/arm/mach-mvebu/Makefile | 1 + arch/arm/mach-mvebu/board-netxbig.c | 191 ++++++++++++++++++++++++++++++++++++ arch/arm/mach-mvebu/board.h | 6 ++ arch/arm/mach-mvebu/kirkwood.c | 3 + 5 files changed, 208 insertions(+) create mode 100644 arch/arm/mach-mvebu/board-netxbig.c
arch/arm/mach-mvebu/Kconfig +7 -0
@@ -97,6 +97,13 @@ config MACH_KIRKWOOD Say 'Y' here if you want your kernel to support boards based on the Marvell Kirkwood device tree. +config MACH_NETXBIG + bool "LaCie 2Big and 5Big Network v2" + depends on MACH_KIRKWOOD + help + Say 'Y' here if you want your kernel to support the + LaCie 2Big and 5Big Network v2 + config MACH_T5325 bool "HP T5325 thin client" depends on MACH_KIRKWOOD
arch/arm/mach-mvebu/Makefile +1 -0
@@ -10,4 +10,5 @@ obj-$(CONFIG_ARCH_MVEBU) += coherency.o coherency_ll.o pmsu.o obj-$(CONFIG_SMP) += platsmp.o headsmp.o obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o obj-$(CONFIG_MACH_KIRKWOOD) += kirkwood.o kirkwood-pm.o +obj-$(CONFIG_MACH_NETXBIG) += board-netxbig.o obj-$(CONFIG_MACH_T5325) += board-t5325.o
arch/arm/mach-mvebu/board-netxbig.c new file +191 -0
191 lines not on this page · raw message
arch/arm/mach-mvebu/board.h +6 -0
@@ -19,4 +19,10 @@ void t5325_init(void);static inline void t5325_init (void ) {};#endif +#ifdef CONFIG_MACH_NETXBIG +void netxbig_init (void ); +#else +static inline void netxbig_init (void ) {}; +#endif +#endif
arch/arm/mach-mvebu/kirkwood.c +3 -0
@@ -183,6 +183,9 @@ static void __init kirkwood_dt_init(void)if (of_machine_is_compatible ("hp,t5325" ))t5325_init (); +if (of_machine_is_compatible ("lacie,netxbig" )) +netxbig_init (); +of_platform_populate (NULL , of_default_bus_match_table, auxdata,NULL ); }
Signature · 1 line
1.9.2
PATCH 1/4 ARM: Kirkwood: Add board file for netxbig LEDs
Quoted 8 lines · Andrew Lunn
There is currently no DT binding for the CPLD which controls the LEDs on the Net 2Big and Net 5Big. So use a platform device.
Signed-off-by Andrew Lunn <[email protected]>--- arch/arm/mach-mvebu/Kconfig | 7 ++ arch/arm/mach-mvebu/Makefile | 1 + arch/arm/mach-mvebu/board-netxbig.c | 191 ++++++++++++++++++++++++++++++++++++
This seems pretty simple. What's preventing this from becoming a full-fledged driver under drivers/leds?
If this were a driver that's critical for boot, I could see moving it in soc code, but it's not. What's you're plan here?
thx,
Jason.
Quoted 262 lines
arch/arm/mach-mvebu/board.h | 6 ++ arch/arm/mach-mvebu/kirkwood.c | 3 + 5 files changed, 208 insertions(+) create mode 100644 arch/arm/mach-mvebu/board-netxbig.carch/arm/mach-mvebu/Kconfig +7
-0@@ -97,6 +97,13 @@ config MACH_KIRKWOOD Say 'Y' here if you want your kernel to support boards based on the Marvell Kirkwood device tree. +config MACH_NETXBIG + bool "LaCie 2Big and 5Big Network v2" + depends on MACH_KIRKWOOD + help + Say 'Y' here if you want your kernel to support the + LaCie 2Big and 5Big Network v2 + config MACH_T5325 bool "HP T5325 thin client" depends on MACH_KIRKWOODarch/arm/mach-mvebu/Makefile +1
-0@@ -10,4 +10,5 @@ obj-$(CONFIG_ARCH_MVEBU) += coherency.o coherency_ll.o pmsu.o obj-$(CONFIG_SMP) += platsmp.o headsmp.o obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o obj-$(CONFIG_MACH_KIRKWOOD) += kirkwood.o kirkwood-pm.o +obj-$(CONFIG_MACH_NETXBIG) += board-netxbig.o obj-$(CONFIG_MACH_T5325) += board-t5325.oarch/arm/mach-mvebu/board-netxbig.c new file +191
-0@@ -0,0 +1,191 @@ +/* +* arch/arm/mach-mvbu/board-netxbig.c +* +* LaCie 2Big and 5Big Network v2 board setup +* +* Copyright (C) 2010 Simon Guinot <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +*/ + +#include <linux/kernel.h> +#include <linux/of.h> +#include <linux/platform_device.h> +#include <linux/platform_data/leds-kirkwood-netxbig.h> +#include "common.h" + +/***************************************************************************** +* GPIO extension LEDs +****************************************************************************/ + +/* +* The LEDs are controlled by a CPLD and can be configured through a GPIO +* extension bus: +* +* - address register : bit [0-2] -> GPIO [47-49] +* - data register : bit [0-2] -> GPIO [44-46] +* - enable register : GPIO 29 +*/ + +static int netxbig_v2_gpio_ext_addr[] = {47 ,48 ,49 }; +static int netxbig_v2_gpio_ext_data[] = {44 ,45 ,46 }; + +static struct netxbig_gpio_ext netxbig_v2_gpio_ext = { + .addr = netxbig_v2_gpio_ext_addr, + .num_addr =ARRAY_SIZE (netxbig_v2_gpio_ext_addr), + .data = netxbig_v2_gpio_ext_data, + .num_data =ARRAY_SIZE (netxbig_v2_gpio_ext_data), + .enable =29 , +}; + +/* +* Address register selection: +* +* addr | register +* ---------------------------- +* 0 | front LED +* 1 | front LED brightness +* 2 | SATA LED brightness +* 3 | SATA0 LED +* 4 | SATA1 LED +* 5 | SATA2 LED +* 6 | SATA3 LED +* 7 | SATA4 LED +* +* Data register configuration: +* +* data | LED brightness +* ------------------------------------------------- +* 0 | min (off) +* - | - +* 7 | max +* +* data | front LED mode +* ------------------------------------------------- +* 0 | fix off +* 1 | fix blue on +* 2 | fix red on +* 3 | blink blue on=1 sec and blue off=1 sec +* 4 | blink red on=1 sec and red off=1 sec +* 5 | blink blue on=2.5 sec and red on=0.5 sec +* 6 | blink blue on=1 sec and red on=1 sec +* 7 | blink blue on=0.5 sec and blue off=2.5 sec +* +* data | SATA LED mode +* ------------------------------------------------- +* 0 | fix off +* 1 | SATA activity blink +* 2 | fix red on +* 3 | blink blue on=1 sec and blue off=1 sec +* 4 | blink red on=1 sec and red off=1 sec +* 5 | blink blue on=2.5 sec and red on=0.5 sec +* 6 | blink blue on=1 sec and red on=1 sec +* 7 | fix blue on +*/ + +static int netxbig_v2_red_mled[NETXBIG_LED_MODE_NUM ] = { + [NETXBIG_LED_OFF ] =0 , + [NETXBIG_LED_ON ] =2 , + [NETXBIG_LED_SATA ] =NETXBIG_LED_INVALID_MODE , + [NETXBIG_LED_TIMER1 ] =4 , + [NETXBIG_LED_TIMER2 ] =NETXBIG_LED_INVALID_MODE , +}; + +static int netxbig_v2_blue_pwr_mled[NETXBIG_LED_MODE_NUM ] = { + [NETXBIG_LED_OFF ] =0 , + [NETXBIG_LED_ON ] =1 , + [NETXBIG_LED_SATA ] =NETXBIG_LED_INVALID_MODE , + [NETXBIG_LED_TIMER1 ] =3 , + [NETXBIG_LED_TIMER2 ] =7 , +}; + +static int netxbig_v2_blue_sata_mled[NETXBIG_LED_MODE_NUM ] = { + [NETXBIG_LED_OFF ] =0 , + [NETXBIG_LED_ON ] =7 , + [NETXBIG_LED_SATA ] =1 , + [NETXBIG_LED_TIMER1 ] =3 , + [NETXBIG_LED_TIMER2 ] =NETXBIG_LED_INVALID_MODE , +}; + +static struct netxbig_led_timer netxbig_v2_led_timer[] = { + [0 ] = { + .delay_on =500 , + .delay_off =500 , + .mode =NETXBIG_LED_TIMER1 , + }, + [1 ] = { + .delay_on =500 , + .delay_off =1000 , + .mode =NETXBIG_LED_TIMER2 , + }, +}; + +#define NETXBIG_LED (_name, maddr, mval, baddr) \ + { .name = _name, \ + .mode_addr = maddr, \ + .mode_val = mval, \ + .bright_addr = baddr } + +static struct netxbig_led net2big_v2_leds_ctrl[] = { +NETXBIG_LED ("net2big-v2:blue:power" ,0 , netxbig_v2_blue_pwr_mled,1 ), +NETXBIG_LED ("net2big-v2:red:power" ,0 , netxbig_v2_red_mled,1 ), +NETXBIG_LED ("net2big-v2:blue:sata0" ,3 , netxbig_v2_blue_sata_mled,2 ), +NETXBIG_LED ("net2big-v2:red:sata0" ,3 , netxbig_v2_red_mled,2 ), +NETXBIG_LED ("net2big-v2:blue:sata1" ,4 , netxbig_v2_blue_sata_mled,2 ), +NETXBIG_LED ("net2big-v2:red:sata1" ,4 , netxbig_v2_red_mled,2 ), +}; + +static struct netxbig_led_platform_data net2big_v2_leds_data = { + .gpio_ext = &netxbig_v2_gpio_ext, + .timer = netxbig_v2_led_timer, + .num_timer =ARRAY_SIZE (netxbig_v2_led_timer), + .leds = net2big_v2_leds_ctrl, + .num_leds =ARRAY_SIZE (net2big_v2_leds_ctrl), +}; + +static struct netxbig_led net5big_v2_leds_ctrl[] = { +NETXBIG_LED ("net5big-v2:blue:power" ,0 , netxbig_v2_blue_pwr_mled,1 ), +NETXBIG_LED ("net5big-v2:red:power" ,0 , netxbig_v2_red_mled,1 ), +NETXBIG_LED ("net5big-v2:blue:sata0" ,3 , netxbig_v2_blue_sata_mled,2 ), +NETXBIG_LED ("net5big-v2:red:sata0" ,3 , netxbig_v2_red_mled,2 ), +NETXBIG_LED ("net5big-v2:blue:sata1" ,4 , netxbig_v2_blue_sata_mled,2 ), +NETXBIG_LED ("net5big-v2:red:sata1" ,4 , netxbig_v2_red_mled,2 ), +NETXBIG_LED ("net5big-v2:blue:sata2" ,5 , netxbig_v2_blue_sata_mled,2 ), +NETXBIG_LED ("net5big-v2:red:sata2" ,5 , netxbig_v2_red_mled,2 ), +NETXBIG_LED ("net5big-v2:blue:sata3" ,6 , netxbig_v2_blue_sata_mled,2 ), +NETXBIG_LED ("net5big-v2:red:sata3" ,6 , netxbig_v2_red_mled,2 ), +NETXBIG_LED ("net5big-v2:blue:sata4" ,7 , netxbig_v2_blue_sata_mled,2 ), +NETXBIG_LED ("net5big-v2:red:sata5" ,7 , netxbig_v2_red_mled,2 ), +}; + +static struct netxbig_led_platform_data net5big_v2_leds_data = { + .gpio_ext = &netxbig_v2_gpio_ext, + .timer = netxbig_v2_led_timer, + .num_timer =ARRAY_SIZE (netxbig_v2_led_timer), + .leds = net5big_v2_leds_ctrl, + .num_leds =ARRAY_SIZE (net5big_v2_leds_ctrl), +}; + +static struct platform_device netxbig_v2_leds = { + .name ="leds-netxbig" , + .id =-1 , + .dev = { + .platform_data = &net2big_v2_leds_data, + }, +}; + +void __init netxbig_init (void ) +{ + +if (of_machine_is_compatible ("lacie,net5big" )) + netxbig_v2_leds.dev.platform_data = &net5big_v2_leds_data; +platform_device_register (&netxbig_v2_leds); +}arch/arm/mach-mvebu/board.h +6
-0@@ -19,4 +19,10 @@ void t5325_init(void);static inline void t5325_init (void ) {};#endif +#ifdef CONFIG_MACH_NETXBIG +void netxbig_init (void ); +#else +static inline void netxbig_init (void ) {}; +#endif +#endif arch/arm/mach-mvebu/kirkwood.c +3
-0@@ -183,6 +183,9 @@ static void __init kirkwood_dt_init(void)if (of_machine_is_compatible ("hp,t5325" ))t5325_init (); +if (of_machine_is_compatible ("lacie,netxbig" )) +netxbig_init (); +of_platform_populate (NULL , of_default_bus_match_table, auxdata,NULL ); }Signature · 1 line
1.9.2
Andrew Lunn
maintainerPATCH 1/4 ARM: Kirkwood: Add board file for netxbig LEDs
Quoted 4 lines · Jason Cooper
Quoted 3 lines · Andrew Lunn
There is currently no DT binding for the CPLD which controls the LEDs on the Net 2Big and Net 5Big. So use a platform device.
Quoted 8 lines
Quoted 5 lines
Signed-off-by Andrew Lunn <[email protected]>--- arch/arm/mach-mvebu/Kconfig | 7 ++ arch/arm/mach-mvebu/Makefile | 1 + arch/arm/mach-mvebu/board-netxbig.c | 191 ++++++++++++++++++++++++++++++++++++This seems pretty simple. What's preventing this from becoming a full-fledged driver under
drivers/leds?
It is. See drivers/leds/leds-netxbig.c
We can add a DT binding as the next step, in the same way that we are converting T5325 audio by adding a binding to the codec. Simon also said that they have an Intel platform also using the same driver, and he would like to consider how that would work, DT, ACPI, etc. Once Simon is back from vacation, we can figure out a binding.
Andrew
Andrew Lunn
maintainerPATCH 2/4 ARM: Kirkwood: Add DT descriptions for net2big and net5big.
In reply to Andrew LunnDescribe LaCie 2Big and 5Big Network v2 using device tree.
--- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/kirkwood-net2big.dts | 25 +++++ arch/arm/boot/dts/kirkwood-net5big.dts | 67 ++++++++++++ arch/arm/boot/dts/kirkwood-netxbig.dtsi | 182 ++++++++++++++++++++++++++++++++ 4 files changed, 276 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-net2big.dts create mode 100644 arch/arm/boot/dts/kirkwood-net5big.dts create mode 100644 arch/arm/boot/dts/kirkwood-netxbig.dtsi
arch/arm/boot/dts/Makefile +2 -0
@@ -118,6 +118,8 @@ kirkwood := \ kirkwood-lsxhl.dtb \ kirkwood-mplcec4.dtb \ kirkwood-mv88f6281gtw-ge.dtb \ + kirkwood-net2big.dtb \ + kirkwood-net5big.dtb \ kirkwood-netgear_readynas_duo_v2.dtb \ kirkwood-netgear_readynas_nv+_v2.dtb \ kirkwood-ns2.dtb \
arch/arm/boot/dts/kirkwood-net2big.dts new file +25 -0
@@ -0,0 +1,25 @@ +/* + * Device Tree file for LaCie 2Big Network v2 + * + * Copyright (C) 2014 + * + * Andrew Lunn <[email protected]> + * + * Based on netxbig_v2-setup.c, + * Copyright (C) 2010 Simon Guinot <[email protected]> + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. +*/ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6281.dtsi" +#include "kirkwood-netxbig.dtsi" + +/ { + model = "LaCie 2Big Network v2"; + compatible = "lacie,net2big", "lacie,netxbig", "marvell,kirkwood-88f6192", "marvell,kirkwood"; +};
arch/arm/boot/dts/kirkwood-net5big.dts new file +67 -0
67 lines not on this page · raw message
arch/arm/boot/dts/kirkwood-netxbig.dtsi new file +182 -0
182 lines not on this page · raw message
Signature · 1 line
1.9.2
PATCH 2/4 ARM: Kirkwood: Add DT descriptions for net2big and net5big.
Quoted 3 lines · Andrew Lunn
Describe LaCie 2Big and 5Big Network v2 using device tree.
Signed-off-by Andrew Lunn <[email protected]>
Here is a very very quick review.
Quoted 10 lines
--- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/kirkwood-net2big.dts | 25 +++++ arch/arm/boot/dts/kirkwood-net5big.dts | 67 ++++++++++++ arch/arm/boot/dts/kirkwood-netxbig.dtsi | 182 ++++++++++++++++++++++++++++++++ 4 files changed, 276 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-net2big.dts create mode 100644 arch/arm/boot/dts/kirkwood-net5big.dts create mode 100644 arch/arm/boot/dts/kirkwood-netxbig.dtsi
...
Quoted 19 lines
arch/arm/boot/dts/kirkwood-netxbig.dtsi new file +13
-0@@ -0,0 +1,182 @@ +/* + * Device Tree common file for LaCie 2Big and 5Big Network v2 + * + * Copyright (C) 2014 + * + * Andrew Lunn <[email protected]> + * + * Based on netxbig_v2-setup.c, + * Copyright (C) 2010 Simon Guinot <[email protected]> + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied.
arch/arm/boot/dts/kirkwood-netxbig.dtsi line 23
Quoted 10 lines
arch/arm/boot/dts/kirkwood-netxbig.dtsi new file +10
-0+*/ + +#include "kirkwood.dtsi" +#include "kirkwood-6281.dtsi" + +/ { + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + };
The 2Big and 5Big Network v2 boards comes with a different amount of
memory: respectively 256MB and 512MB.
Quoted 119 lines
arch/arm/boot/dts/kirkwood-netxbig.dtsi new file +119
-0+ + chosen { + bootargs = "console=ttyS0,115200n8"; + }; + + ocp at f1000000 { + serial at 12000 { + status = "ok"; + }; + + spi at 10600 { + pinctrl-0 = <&pmx_spi>; + pinctrl-names = "default"; + status = "okay"; + + flash at 0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "mxicy,mx25l4005a"; + reg = <0>; + spi-max-frequency = <20000000>; + mode = <0>; + + partition at 0 { + reg = <0x0 0x80000>; + label = "u-boot"; + }; + }; + }; + + sata at 80000 { + status = "okay"; + nr-ports = <2>; + }; + + }; + + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + /* + * button at 1 and button at 2 represent a three position rocker + * switch. Thus the conventional KEY_POWER does not fit + */ + button at 1 { + label = "Back power switch (on|auto)"; + linux,code = <KEY_ESC>; + linux,input-type = <5>; + gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; + }; + button at 2 { + label = "Back power switch (auto|off)"; + linux,code = <KEY_1>; + linux,input-type = <5>; + gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; + }; + button at 3 { + label = "Function button"; + linux,code = <KEY_OPTION>; + gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; + }; + + }; + + gpio_poweroff { + compatible = "gpio-poweroff"; + gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; + }; + + regulators: regulators { + status = "okay"; + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + + regulator at 1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "hdd0power"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio0 16 GPIO_ACTIVE_HIGH>; + }; + + regulator at 2 { + compatible = "regulator-fixed"; + reg = <2>; + regulator-name = "hdd1power"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + regulator-always-on; + regulator-boot-on; + gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>; + }; + + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy at 0 { + reg = <8>; + }; + + ethphy1: ethernet-phy at 1 { + reg = <0>; + }; +}; + +ð0 { + status = "okay";
arch/arm/boot/dts/kirkwood-netxbig.dtsi line 152
Quoted 10 lines
arch/arm/boot/dts/kirkwood-netxbig.dtsi new file +10
-0+ ethernet0-port at 0 { + phy-handle = <ðphy0>; + }; +}; + +ð1 { + ethernet1-port at 0 { + phy-handle = <ðphy1>; + }; +};
The 2Big Network v2 only have a single Ethernet port.
Thanks for this patch,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140417/b1e032cc/attachment-0001.sig>
Andrew Lunn
maintainerPATCH 3/4 ARM: MVEBU: Add LaCie 2Big and 5Big Network v2
In reply to Andrew LunnEnable building LaCie 2Big and 5Big Network v2 in the MVEBU v5 kernel.
--- arch/arm/configs/mvebu_v5_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/mvebu_v5_defconfig +1 -0
@@ -12,6 +12,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_ARCH_MVEBU=y CONFIG_MACH_KIRKWOOD=y CONFIG_MACH_T5325=y +CONFIG_MACH_NETXBIG=y # CONFIG_CPU_FEROCEON_OLD_ID is not set CONFIG_PCI_MVEBU=y CONFIG_PREEMPT=y
Signature · 1 line
1.9.2
PATCH 3/4 ARM: MVEBU: Add LaCie 2Big and 5Big Network v2
Hi Andrew,
Why do you use capital for mvebu in the topic? The arm-soc people asked us to use ARM in capital but for mvebu I would prefer to keep it in small letter.
About the content of the patch itself I have no objection:
Thanks,
Gregory
Quoted 20 lines · Andrew Lunn
Enable building LaCie 2Big and 5Big Network v2 in the MVEBU v5 kernel.
Signed-off-by Andrew Lunn <[email protected]>--- arch/arm/configs/mvebu_v5_defconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/configs/mvebu_v5_defconfig +1
-0@@ -12,6 +12,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_ARCH_MVEBU=y CONFIG_MACH_KIRKWOOD=y CONFIG_MACH_T5325=y +CONFIG_MACH_NETXBIG=y # CONFIG_CPU_FEROCEON_OLD_ID is not set CONFIG_PCI_MVEBU=y CONFIG_PREEMPT=y
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 3/4 ARM: MVEBU: Add LaCie 2Big and 5Big Network v2
Quoted 5 lines · Gregory CLEMENT
Hi Andrew,
Why do you use capital for mvebu in the topic? The arm-soc people asked us to use ARM in capital but for mvebu I would prefer to keep it in small letter.
Since Andrew has to do a respin to address Simon's comments, I imagine he'll fix this up (and the MULTI_V5 in the next patch). If he only sends a new version of the dts files, I'll fix the subjects up when I pull them in.
Quoted 3 lines
About the content of the patch itself I have no objection:
Acked-by Gregory CLEMENT <[email protected]>
thx,
Jason.
Andrew Lunn
maintainerPATCH 4/4 ARM: MULTI_V5: Enable LaCie 2Big and 5Big Network v2
In reply to Andrew LunnEnable building LaCie 2Big and 5Big Network v2 in the multi v5 kernel.
--- arch/arm/configs/multi_v5_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/multi_v5_defconfig +1 -0
@@ -12,6 +12,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_ARCH_MVEBU=y CONFIG_MACH_KIRKWOOD=y CONFIG_MACH_T5325=y +CONFIG_MACH_NETXBIG=y CONFIG_ARCH_MXC=y CONFIG_MACH_IMX25_DT=y CONFIG_MACH_IMX27_DT=y
Signature · 1 line
1.9.2
cover Add a DT description of LaCie 2Big and 5Big Network v2
In reply to Andrew LunnQuoted 7 lines · Andrew Lunn
This patchset adds a DT description for LaCie 2Big and 5Big, one of the last remaining boards in mach-kirkwood. The LEDs cannot be described in DT, since there is no binding yet for the device which controls them. So a board file is added for that part.
These patches are build tested only. It would be good if somebody could boot them.
Hi Andrew,
Unfortunately, I won't be able to test this patches before two weeks.
Regards,
Simon
Quoted 7 lines
Andrew Lunn (4):
ARM: Kirkwood: Add board file for netxbig LEDs
ARM: Kirkwood: Add DT descriptions for net2big and net5big.
ARM: MVEBU: Add LaCie 2Big and 5Big Network v2
ARM:MULTI_V5: Enable LaCie 2Big and 5Big Network v2
Quoted 25 lines
arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/kirkwood-net2big.dts | 25 +++++ arch/arm/boot/dts/kirkwood-net5big.dts | 67 +++++++++++ arch/arm/boot/dts/kirkwood-netxbig.dtsi | 182 ++++++++++++++++++++++++++++++ arch/arm/configs/multi_v5_defconfig | 1 + arch/arm/configs/mvebu_v5_defconfig | 1 + arch/arm/mach-mvebu/Kconfig | 7 ++ arch/arm/mach-mvebu/Makefile | 1 + arch/arm/mach-mvebu/board-netxbig.c | 191 ++++++++++++++++++++++++++++++++ arch/arm/mach-mvebu/board.h | 6 + arch/arm/mach-mvebu/kirkwood.c | 3 + 11 files changed, 486 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-net2big.dts create mode 100644 arch/arm/boot/dts/kirkwood-net5big.dts create mode 100644 arch/arm/boot/dts/kirkwood-netxbig.dtsi create mode 100644 arch/arm/mach-mvebu/board-netxbig.cSignature · 7 lines
1.9.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140417/95bcd973/attachment.sig>
cover Add a DT description of LaCie 2Big and 5Big Network v2
Quoted 6 lines · Simon Guinot
Quoted 5 lines · Andrew Lunn
This patchset adds a DT description for LaCie 2Big and 5Big, one of the last remaining boards in mach-kirkwood. The LEDs cannot be described in DT, since there is no binding yet for the device which controls them. So a board file is added for that part.
Quoted 6 lines
Quoted 2 lines
These patches are build tested only. It would be good if somebody could boot them.
Hi Andrew,
Unfortunately, I won't be able to test this patches before two weeks.
Once we address your other comments and figure out the led driver, I'll get these up in mvebu's for next. That way, anyone with the board can test easily and report back. There's plenty of time before the merge window to add your Tested-by.
thx,
Jason.