Re: [linux-sunxi] mac addresses

2014-04-11 Thread Jonathan Aquilina
Would booting from a live usb with ubuntu or something help at all? On Thu, Apr 10, 2014 at 11:58 PM, Brian Beattie beat...@beattie-home.netwrote: Actually what I was more curious about, is does cubieboard assign a unique MAC address (if so how can I figure it out if I wiped the original

Re: [linux-sunxi] mac addresses

2014-04-11 Thread Maxime Ripard
Hi, On Fri, Apr 11, 2014 at 09:51:21AM +0200, Hans de Goede wrote: On 04/10/2014 04:26 PM, Brian Beattie wrote: What are people doing for MAC addresses on cubieboards? If you're running the 3.4 kernel then the MAC address gets based on the unique serial each A10 SOC has burned into the

Re: [linux-sunxi] Re: [PATCH v3 01/10] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-04-11 Thread Carlo Caione
On Fri, Mar 28, 2014 at 10:21 AM, Lee Jones lee.jo...@linaro.org wrote: [...] +static struct resource axp20x_pek_resources[] = { + { + .name = PEK_DBR, + .start = AXP20X_IRQ_PEK_RIS_EDGE, + .end= AXP20X_IRQ_PEK_RIS_EDGE, + .flags

[linux-sunxi] [PATCH v4 9/9] ARM: sunxi: Add AXP20x support multi_v7_defconfig

2014-04-11 Thread Carlo Caione
Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index ee69829..239c014 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

[linux-sunxi] [PATCH v4 5/9] input: misc: Add ABI docs for AXP20x PEK

2014-04-11 Thread Carlo Caione
Add ABI entries for the PEK found on PMU X-Powers AXP202 and AXP209. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/ABI/testing/sysfs-driver-input-axp-pek | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-input-axp-pek

[linux-sunxi] [PATCH v4 3/9] mfd: AXP20x: Add bindings documentation

2014-04-11 Thread Carlo Caione
Bindings documentation for the AXP20x driver. In this file also sub-nodes are documented. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/mfd/axp20x.txt | 96 1 file changed, 96 insertions(+) create mode 100644

[linux-sunxi] [PATCH v4 6/9] regulator: AXP20x: Add support for regulators subsystem

2014-04-11 Thread Carlo Caione
AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Signed-off-by: Carlo Caione ca...@caione.org --- drivers/regulator/Kconfig| 7 + drivers/regulator/Makefile | 1 +

[linux-sunxi] [PATCH v4 4/9] input: misc: Add driver for AXP20x Power Enable Key

2014-04-11 Thread Carlo Caione
This patch add support for the Power Enable Key found on MFD AXP202 and AXP209. Besides the basic support for the button, the driver adds two entries in sysfs to configure the time delay for power on/off. Signed-off-by: Carlo Caione ca...@caione.org --- drivers/input/misc/Kconfig | 11 ++

[linux-sunxi] [PATCH] net: sun4i-emac: add promiscuous support

2014-04-11 Thread Marc Zyngier
The sun4i-emac driver is rather primitive, and doesn't support promiscuous mode. This makes usage such as bridging impossible, which is a shame on virtualization capable HW such as the Allwinner A20. The fix is fairly simple: move the RX setup code to the ndo_set_rx_mode vector, and add the

[linux-sunxi] sunxi-3.4 Audio PA and Speaker Mute Patch

2014-04-11 Thread Sertac Tüllük
Dear All; Interra-3 home automation board audio system consist of PAM8620 amplifier, and PH15 controls PA_Shutdown, and PH25 controls SPK_MUTE. Thanks to gzamboni and Turl, I have been able to get sound from the speaker outputs of Interra-3 board. To achieve this, we need two modifications: 1)

Re: [linux-sunxi] mac addresses

2014-04-11 Thread Brian Beattie
On an ethernet, every device shoukld have a unique MAC address and least unique to that ethernet. In a perfect world, every cubieboard would have a unique MAC address assigned by the manufacturer. I was curious 1. if that wrere the case. 2. if not 1 then

[linux-sunxi] Re: [PATCH v4 1/9] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-04-11 Thread Arnd Bergmann
On Friday 11 April 2014 11:38:05 Carlo Caione wrote: +#define AXP20X_IRQ(_irq, _off, _mask) \ + [AXP20X_IRQ_##_irq] = { .reg_offset = (_off), .mask = BIT(_mask) } + +static const struct regmap_irq axp20x_regmap_irqs[] = { + AXP20X_IRQ(ACIN_OVER_V, 0, 7), +

Re: [linux-sunxi] [A20] sunxi framebuffer overlay help needed

2014-04-11 Thread Ivan Kozic
Regarding memory - I'm not much of the Linux developer - more of a HW engineer, so Linux concepts are still new to me. This with memory security certainly makes sense - I've already seen that something messes up with Disp driver when I modprobe Mali drivers, pretty sure it's memory related as

Re: [linux-sunxi] mac addresses

2014-04-11 Thread Maxime Ripard
On Fri, Apr 11, 2014 at 11:28:34AM +0200, Koen Kooi wrote: Op 11 apr. 2014, om 11:01 heeft Maxime Ripard maxime.rip...@free-electrons.com het volgende geschreven: Hi, On Fri, Apr 11, 2014 at 09:51:21AM +0200, Hans de Goede wrote: On 04/10/2014 04:26 PM, Brian Beattie wrote: What

Re: [linux-sunxi] Re: [PATCH v4 1/9] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-04-11 Thread Carlo Caione
On Fri, Apr 11, 2014 at 1:25 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 11 April 2014 11:38:05 Carlo Caione wrote: +#define AXP20X_IRQ(_irq, _off, _mask) \ + [AXP20X_IRQ_##_irq] = { .reg_offset = (_off), .mask = BIT(_mask) } + +static const struct regmap_irq axp20x_regmap_irqs[] =

[linux-sunxi] Re: [PATCH v4 1/9] mfd: AXP20x: Add mfd driver for AXP20x PMIC

2014-04-11 Thread Mark Brown
On Fri, Apr 11, 2014 at 01:25:03PM +0200, Arnd Bergmann wrote: Why do you have to enumerate the interrupts here? Can't you just put all the numbers into the DT nodes of the devices using them? In general, I would say that the mfd driver should not care about what is connected to it. This

[linux-sunxi] Re: [PATCH v4 6/9] regulator: AXP20x: Add support for regulators subsystem

2014-04-11 Thread Mark Brown
On Fri, Apr 11, 2014 at 11:38:10AM +0200, Carlo Caione wrote: AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Applied, thanks, but I had to resolve some trivial add/add conflicts with the Broadcom regulator

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-11 Thread Mark Brown
On Fri, Apr 11, 2014 at 11:38:11AM +0200, Carlo Caione wrote: In all the DTs the min and max microvolt allowed for each regulator are actually the min and max voltage possible for the regulator itself. This is not safe but we do not have the ranges allowed for each board and the original

Re: [linux-sunxi] Re: [PATCH v4 6/9] regulator: AXP20x: Add support for regulators subsystem

2014-04-11 Thread Carlo Caione
On Fri, Apr 11, 2014 at 2:23 PM, Mark Brown broo...@kernel.org wrote: On Fri, Apr 11, 2014 at 11:38:10AM +0200, Carlo Caione wrote: AXP202 and AXP209 come with two synchronous step-down DC-DCs and five LDOs. This patch introduces basic support for those regulators. Applied, thanks, but I had

[linux-sunxi] Re: [PATCH v3 6/7] pinctrl: sunxi: add reset control support

2014-04-11 Thread Maxime Ripard
Hi, On Thu, Apr 10, 2014 at 03:52:45PM +0200, Boris BREZILLON wrote: The A31 SoC define a reset line for the R_PIO block which needs to be deasserted. Try to retrieve a reset control and deassert if one was found. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-11 Thread Mark Brown
On Fri, Apr 11, 2014 at 03:04:32PM +0200, Carlo Caione wrote: On Fri, Apr 11, 2014 at 2:29 PM, Mark Brown broo...@kernel.org wrote: + regulators { + compatible = x-powers,axp20x-reg; This compatible isn't part of the driver.

[linux-sunxi] Various Hardware acceleration question

2014-04-11 Thread zeratoun
Hi, I would like to know if, for an Olimex A20, there is some specific hardware acceleration : - jpeg decoding acceleration - hash acceleration (such as sha1 or md5) And if yes, does it need some manual configuration or specific compilation procedure (with kernel or the programs that I want to