Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun4i: Use red1 LED for heartbeat indication on Marsboard A10

2015-12-29 Thread Hans de Goede
Hi, On 27-12-15 21:51, Maxime Ripard wrote: On Sat, Dec 26, 2015 at 12:57:59PM +0300, Aleksei Mamlin wrote: Marsboard A10 have four red LEDs, the first one can be used for heartbeat indication. Signed-off-by: Aleksei Mamlin I'm really not sure about this one. This is something that can eas

[PATCH v2 3/3] ARM: dts: sun4i: Add touchscreen node to inet97fv2 dts file

2015-12-22 Thread Hans de Goede
Add a node describing the focaltech ft5306de4 touchscreen found on inet97fv2 tablets. Signed-off-by: Hans de Goede --- Changes in v2: -Drop unused pinctrl-names = "default"; --- arch/arm/boot/dts/sun4i-a10-inet97fv2.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v2 1/3] ARM: dts: sun4i: Add touchscreen node to inet9f-rev03 tablet dts file

2015-12-22 Thread Hans de Goede
Add a node describing the focaltech ft5406ee8 touchscreen found on inet-9f-rev03 / qware qw tb-g100 tablets. Signed-off-by: Hans de Goede --- Changes in v2: -Drop unused pinctrl-names = "default"; --- arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts | 9 + 1 file changed, 9

[PATCH v2 2/3] ARM: dts: sun4i: Add touchscreen node to chuwi-v7 dts file

2015-12-22 Thread Hans de Goede
Add a node describing the focaltech ft5306de4 touchscreen found on chuwi-v7-cw0825 tablets. Signed-off-by: Hans de Goede --- Changes in v2: -Drop unused pinctrl-names = "default"; --- arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts | 10 ++ 1 file changed, 10 insertions(+) di

[PATCH] ASoC: sun4i-codec: Use proper output for external amp routes

2015-12-22 Thread Hans de Goede
An external amp (if any) is connected to the external outputs of the SoC of course, rather then directly to the internal amp. Signed-off-by: Hans de Goede --- sound/soc/sunxi/sun4i-codec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/sunxi/sun4i-codec.c b

Re: [linux-sunxi] Re: [PATCH 4/5] ARM: dts: sun5i: Add dts file for the Empire Electronix D709 tablet

2015-12-22 Thread Hans de Goede
Hi, On 22-12-15 05:29, Chen-Yu Tsai wrote: On Tue, Dec 22, 2015 at 3:36 AM, Hans de Goede wrote: Hi, On 21-12-15 17:11, Maxime Ripard wrote: Hi,x On Mon, Dec 21, 2015 at 11:46:18AM +0100, Hans de Goede wrote: On the side, any thoughts on how to handle the differences between various &qu

Re: [linux-sunxi] Re: [PATCH 4/5] ARM: dts: sun5i: Add dts file for the Empire Electronix D709 tablet

2015-12-21 Thread Hans de Goede
Hi, On 21-12-15 17:11, Maxime Ripard wrote: Hi,x On Mon, Dec 21, 2015 at 11:46:18AM +0100, Hans de Goede wrote: On the side, any thoughts on how to handle the differences between various "Q8" tablets, like different I2C-based sensors and WiFi chips? For i2c based sensors the plan

Re: [linux-sunxi] Re: [PATCH 0/5] ARM: dts: sunxi: Add backlight node to q8 tablets

2015-12-21 Thread Hans de Goede
Hi, On 21-12-15 11:56, Silvio Pellicano wrote: Here is a slightly updated version of Chen-Yu's backlight patches, also adding support for the backlight found on A13 based q8 tablets. If i compile your dtsi with (obviously) pwm support enable , backlight switch off after kernel start, if i

Re: [linux-sunxi] Re: [PATCH 4/5] ARM: dts: sun5i: Add dts file for the Empire Electronix D709 tablet

2015-12-21 Thread Hans de Goede
Hi, On 21-12-15 07:09, Chen-Yu Tsai wrote: Hi, On Sun, Dec 20, 2015 at 7:43 PM, Hans de Goede wrote: The Empire Electronix D709 tablet is a fairly standard 7" A13 tablet, featuring usb-wifi, a micro-sd slot, micro-usb otg and headphone jack. Empire Electronix is written on the back o

Re: [linux-sunxi] Re: [PATCH 1/5] ARM: dts: sun4i: Add touchscreen node to inet9f-rev03 tablet dts file

2015-12-21 Thread Hans de Goede
Hi, On 21-12-15 06:57, Chen-Yu Tsai wrote: On Sun, Dec 20, 2015 at 7:42 PM, Hans de Goede wrote: Add a node describing the focaltech ft5406ee8 touchscreen found on inet-9f-rev03 / qware qw tb-g100 tablets. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts | 10

[PATCH 5/5] ARM: dts: sun7i: Enable gmac on Wits Pro A20 DKT

2015-12-20 Thread Hans de Goede
The Wits Pro A20 DKT has a gbit ethernet port, enable it. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro

[PATCH 3/5] ARM: dts: sun4i: Add touchscreen node to inet97fv2 dts file

2015-12-20 Thread Hans de Goede
Add a node describing the focaltech ft5306de4 touchscreen found on inet97fv2 tablets. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-inet97fv2.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts b/arch/arm/boot/dts/sun4i

[PATCH 1/5] ARM: dts: sun4i: Add touchscreen node to inet9f-rev03 tablet dts file

2015-12-20 Thread Hans de Goede
Add a node describing the focaltech ft5406ee8 touchscreen found on inet-9f-rev03 / qware qw tb-g100 tablets. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts

[PATCH 2/5] ARM: dts: sun4i: Add touchscreen node to chuwi-v7 dts file

2015-12-20 Thread Hans de Goede
Add a node describing the focaltech ft5306de4 touchscreen found on chuwi-v7-cw0825 tablets. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts b/arch

[PATCH 4/5] ARM: dts: sun5i: Add dts file for the Empire Electronix D709 tablet

2015-12-20 Thread Hans de Goede
perly, when hot-booting from android into an upstream kernel the touchscreen does work. The Memsic MXC622X accelerometer at i2c bus 1, addr 0x15 also is not enabled as there is no driver for it. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/Makefile | 1 + .../boo

Re: [linux-sunxi] Re: [PATCH v3 2/3] ARM: dts: sun8i: Add Allwinner A83T dtsi

2015-12-19 Thread Hans de Goede
Hi, On 18-12-15 22:41, Maxime Ripard wrote: Hi, On Fri, Dec 18, 2015 at 09:30:50PM +0800, Vishnu Patekar wrote: Allwinner A83T is new octa-core cortex-a7 SOC. This adds the basic dtsi, the clocks differs from earlier sun8i SOCs. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83

Re: [linux-sunxi] Re: [PATCH v2 1/3] reset: Add shared reset_control_[de]assert variants

2015-12-19 Thread Hans de Goede
Maxime Ripard: Hi, On Fri, Dec 11, 2015 at 04:41:58PM +0100, Hans de Goede wrote: diff --git a/include/linux/reset.h b/include/linux/reset.h index c4c097d..1cca8ce 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -11,6 +11,8 @@ int reset_control_reset(struct reset_control *rstc

Re: [linux-sunxi] Re: [PATCH v2 2/4] ASoC: sun4i-codec: Add support for PA gpio pin

2015-12-14 Thread Hans de Goede
Hi, On 14-12-15 16:56, Maxime Ripard wrote: Hi, On Fri, Dec 11, 2015 at 07:43:57PM +0100, Hans de Goede wrote: Add support for PA gpio pin for controlling an external amplifier as used on some Allwinner boards. Signed-off-by: Hans de Goede --- Changes in v2: -Use a dapm speaker widget

[PATCH v2 4/4] ARM: dts: sun4i: Enable onboard codec used on the pov protab2-ips9 tablet

2015-12-11 Thread Hans de Goede
The pov protab2-ips9 tablet uses the A10's integrated audio codec, enable it. Signed-off-by: Hans de Goede --- Changes in v2: -Adjust for gpio rename from pa-gpios to allwinner,pa-gpios --- arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts | 14 ++ 1 file changed, 14 inser

[PATCH v2 1/4] ASoC: sun4i-codec: Rename codec dapm widgets and routes

2015-12-11 Thread Hans de Goede
Rename the codec dapm widgets and routes with a _codec prefix. This is a preparation patch for adding card dapm widgets and routes. Signed-off-by: Hans de Goede --- Changes in v2: -New patch in v2 of this patchset --- sound/soc/sunxi/sun4i-codec.c | 12 ++-- 1 file changed, 6 insertions

[PATCH v2 3/4] ARM: dts: sun5i: Enable onboard codec used on the UTOO P66 tablet

2015-12-11 Thread Hans de Goede
The UTOO P66 tablet uses the A13's integrated audio codec, enable it. Signed-off-by: Hans de Goede --- Changes in v2: -Adjust for gpio rename from pa-gpios to allwinner,pa-gpios --- arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a

[PATCH v2 2/4] ASoC: sun4i-codec: Add support for PA gpio pin

2015-12-11 Thread Hans de Goede
Add support for PA gpio pin for controlling an external amplifier as used on some Allwinner boards. Signed-off-by: Hans de Goede --- Changes in v2: -Use a dapm speaker widget (SND_SOC_DAPM_SPK) to control the gpio -Rename gpio in devicetree from pa-gpios to allwinner,pa-gpios --- .../devicetree

Re: [PATCH v2 2/3] ehci-platform: Add support for controllers with multiple reset lines

2015-12-11 Thread Hans de Goede
Hi, On 11-12-15 18:13, Philipp Zabel wrote: Am Freitag, den 11.12.2015, 16:41 +0100 schrieb Hans de Goede: From: Reinder de Haan At least the EHCI/OHCI found on the Allwinnner H3 SoC needs multiple reset lines, the controller will not initialize while the reset for its companion is still

Re: [PATCH v2 1/3] reset: Add shared reset_control_[de]assert variants

2015-12-11 Thread Hans de Goede
6:41 +0100 schrieb Hans de Goede: Add reset_control_deassert_shared / reset_control_assert_shared functions which are intended for use by drivers for hw blocks which (may) share a reset line with another driver / hw block. Unlike the regular reset_control_[de]assert functions these functions keep tr

[PATCH v2 3/3] ohci-platform: Add support for controllers with multiple reset lines

2015-12-11 Thread Hans de Goede
At least the EHCI/OHCI found on the Allwinnner H3 SoC needs multiple reset lines, the controller will not initialize while the reset for its companion is still asserted, which means we need to de-assert 2 resets for the controller to work. Signed-off-by: Hans de Goede --- Changes in v2: -New

[PATCH v2 2/3] ehci-platform: Add support for controllers with multiple reset lines

2015-12-11 Thread Hans de Goede
Signed-off-by: Hans de Goede --- Changes in v2: -Use the new reset_control_[de]assert_shared reset-controller functions --- Documentation/devicetree/bindings/usb/usb-ehci.txt | 2 +- drivers/usb/host/ehci-platform.c | 47 +- 2 files changed, 30 insertions

[PATCH v2 1/3] reset: Add shared reset_control_[de]assert variants

2015-12-11 Thread Hans de Goede
deassert_shared / assert_shared have been called and keep the line deasserted as long as deassert has been called more times than assert. Signed-off-by: Hans de Goede --- Changes in v2: -This is a new patch in v2 of this patch-set --- drivers/reset/core.c | 121

[PATCH v4 2/2] phy-sun4i-usb: Add support for the host usb-phys found on the H3 SoC

2015-12-11 Thread Hans de Goede
From: Reinder de Haan Note this commit only adds support for phys 1-3, phy 0, the otg phy, is not yet (fully) supported after this commit. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede --- Changes in v2: -Change break; after dev_err() to return, as intended, fixing a compiler

[PATCH v4 1/2] phy-sun4i-usb: Use of_match_node to get model specific config data

2015-12-11 Thread Hans de Goede
Use of_match_node instead of calling of_device_is_compatible a ton of times to get model specific config data. Signed-off-by: Hans de Goede --- Changes in v3: -New patch in v3 of this patch-set Changes in v4: -Use of_device_get_match_data() -Add phyctl_offset to sun4i_usb_phy_cfg, get rid of

Re: [linux-sunxi][PATCH 0/2] ARM: dts: sun4i: mk802 variant patches

2015-12-09 Thread Hans de Goede
Hi Marcus, On 08-12-15 19:48, codekip...@gmail.com wrote: From: Marcus Cooper This patch series splits the mk802 dts into common include file which can be shared with the mk802+ device. The only difference that I can see between this and the original device is that it has an internal microphon

Re: [linux-sunxi] Re: [PATCH v3 1/2] phy-sun4i-usb: Use of_match_node to get model specific config data

2015-11-27 Thread Hans de Goede
Hi, On 27-11-15 11:37, Hans de Goede wrote: Hi, On 27-11-15 09:53, Maxime Ripard wrote: On Thu, Nov 26, 2015 at 01:11:32PM +0100, Hans de Goede wrote: +enum sun4i_usb_phy_type { + sun4i_a10_phy, + sun8i_a33_phy, +}; + +struct sun4i_usb_phy_cfg { + int num_phys; + u32

Re: [linux-sunxi] Re: [PATCH v3 1/2] phy-sun4i-usb: Use of_match_node to get model specific config data

2015-11-27 Thread Hans de Goede
Hi, On 27-11-15 09:53, Maxime Ripard wrote: On Thu, Nov 26, 2015 at 01:11:32PM +0100, Hans de Goede wrote: +enum sun4i_usb_phy_type { + sun4i_a10_phy, + sun8i_a33_phy, +}; + +struct sun4i_usb_phy_cfg { + int num_phys; + u32 disc_thresh; + enum sun4i_usb_phy_type

Re: [linux-sunxi] Re: [PATCH v3 1/2] phy-sun4i-usb: Use of_match_node to get model specific config data

2015-11-26 Thread Hans de Goede
Hi, On 26-11-15 05:22, Chen-Yu Tsai wrote: On Thu, Nov 26, 2015 at 12:50 AM, Hans de Goede wrote: Use of_match_node instead of calling of_device_is_compatible a ton of times to get model specific config data. Signed-off-by: Hans de Goede --- Changes in v3: -New patch in v3 of this patch-set

Re: [linux-sunxi] Re: [PATCH v3 2/2] phy-sun4i-usb: Add support for the host usb-phys found on the H3 SoC

2015-11-26 Thread Hans de Goede
Hi, On 25-11-15 23:11, Rob Herring wrote: On Wed, Nov 25, 2015 at 05:50:02PM +0100, Hans de Goede wrote: From: Reinder de Haan Note this commit only adds support for phys 1-3, phy 0, the otg phy, is not yet (fully) supported after this commit. Shouldn't the OTG phy have a diff

[PATCH v3 2/2] phy-sun4i-usb: Add support for the host usb-phys found on the H3 SoC

2015-11-25 Thread Hans de Goede
From: Reinder de Haan Note this commit only adds support for phys 1-3, phy 0, the otg phy, is not yet (fully) supported after this commit. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede --- Changes in v2: -Change break; after dev_err() to return, as intended, fixing a compiler

[PATCH v3 1/2] phy-sun4i-usb: Use of_match_node to get model specific config data

2015-11-25 Thread Hans de Goede
Use of_match_node instead of calling of_device_is_compatible a ton of times to get model specific config data. Signed-off-by: Hans de Goede --- Changes in v3: -New patch in v3 of this patch-set --- drivers/phy/phy-sun4i-usb.c | 130 +--- 1 file changed

Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun8i-h3-orangepi-plus: Enable USB host controllers

2015-11-24 Thread Hans de Goede
Hi, On 23-11-15 23:20, Troy Dack wrote: On Wednesday, 18 November 2015 03:12:11 UTC+11, Jens Kuske wrote: Enable the 2 USB host controllers used on the Orange Pi Plus and add the necessary regulators. Signed-off-by: Reinder de Haan > Signed-off-by: Hans de Goede > Signed-off-by: Jens

Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun7i: Add dts file for the lamobo-r1 board

2015-11-24 Thread Hans de Goede
Hi, On 24-11-15 08:20, Maxime Ripard wrote: Hi, On Mon, Nov 23, 2015 at 09:28:00AM +0100, Hans de Goede wrote: +&cpu0 { + cpu-supply = <®_dcdc2>; + operating-points = < + /* kHzuV */ + 96 140 + 91

Re: [linux-sunxi] Re: [PATCH v4 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-11-23 Thread Hans de Goede
HI, On 23-11-15 09:57, Maxime Ripard wrote: Hi, On Sun, Nov 01, 2015 at 02:33:23PM +0100, Jens Kuske wrote: + bus_gates: clk@01c20060 { + #clock-cells = <1>; + compatible = "allwinner,sun8i-h3-bus-gates-clk"; + reg

Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun7i: Add dts file for the lamobo-r1 board

2015-11-23 Thread Hans de Goede
Hi, On 22-11-15 20:59, Maxime Ripard wrote: Hi, On Fri, Nov 20, 2015 at 08:11:53PM +0100, Hans de Goede wrote: From: Jelle de Jong The lamobo-r1 board, sometimes called the BPI-R1 but not labelled as such on the PCB, is meant as a A20 based router board. As such the board comes with a built

[PATCH v3] touchscreen: pixcir_i2c: Add support for wake and enable gpios

2015-11-22 Thread Hans de Goede
From: Sander Vermin On some devices the wake and enable pins of the pixcir touchscreen controller are connected to gpios and these must be controlled by the driver for the device to operate properly. Signed-off-by: Sander Vermin Signed-off-by: Hans de Goede --- Changes in v2 (Hans de Goede

[PATCH v2] phy-sun4i-usb: Add support for the host usb-phys found on the H3 SoC

2015-11-22 Thread Hans de Goede
From: Reinder de Haan Note this commit only adds support for phys 1-3, phy 0, the otg phy, is not yet (fully) supported after this commit. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede --- Changes in v2: -Change break; after dev_err() to return, as intended, fixing a compiler

Re: [linux-sunxi] [PATCH 2/5] phy-sun4i-usb: Add support for the host usb-phys found on the H3 SoC

2015-11-22 Thread Hans de Goede
Hi, On 11/20/2015 08:49 PM, Priit Laes wrote: On Sun, 2015-11-15 at 20:46 +0100, Hans de Goede wrote: From: Reinder de Haan Note this commit only adds support for phys 1-3, phy 0, the otg phy, is not yet (fully) supported after this commit. This patch seems to be causing following compile

Re: [PATCH v2 4/7] touchscreen: pixcir_i2c: Add support for wake and enable gpios

2015-11-20 Thread Hans de Goede
Hi, On 20-11-15 19:54, Dmitry Torokhov wrote: On Fri, Nov 20, 2015 at 02:24:49PM +0100, Hans de Goede wrote: From: Sander Vermin On some devices the wake and enable pins of the pixcir touchscreen controller are connected to gpios and these must be controlled by the driver for the device to

[PATCH] ARM: dts: sun7i: Add dts file for the lamobo-r1 board

2015-11-20 Thread Hans de Goede
which will fit a 2.5 inch harddisk. To complete its networking features it has a Realtek RTL8192CU for WiFi 802.11 b/g/n. Signed-off-by: Jelle de Jong Signed-off-by: Hans de Goede --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts | 297

Re: [linux-sunxi] Re: [PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards

2015-11-20 Thread Hans de Goede
Hi, On 20-11-15 17:42, Maxime Ripard wrote: On Fri, Nov 20, 2015 at 02:59:10PM +0100, Hans de Goede wrote: From: Michael van Slingerland Add a node describing the AXP152 pmic used on Auxtek T004 boards. Signed-off-by: Michael van Slingerland Signed-off-by: Hans de Goede I don't r

Re: [linux-sunxi] Re: [PATCH 4/7] touchscreen: pixcir_i2c: Add support for wake and enable gpios

2015-11-20 Thread Hans de Goede
Hi, On 20-11-15 18:27, Dmitry Torokhov wrote: On Fri, Nov 20, 2015 at 12:17:10PM +0100, Hans de Goede wrote: From: Sander Vermin On some devices the wake and enable pins of the pixcir touchscreen controller are connected to gpios and these must be controlled by the driver for the device to

Re: [PATCH] ARM: dts: sun8i-h3-orangepi-plus: Enable USB host controllers

2015-11-20 Thread Hans de Goede
Hi, On 17-11-15 17:12, Jens Kuske wrote: Enable the 2 USB host controllers used on the Orange Pi Plus and add the necessary regulators. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede Signed-off-by: Jens Kuske --- Hi Hans, with these regulators USB works on the Orange Pi Plus

[PATCH 3/4] ARM: dts: sun4i: Add backlight node to pov protab2 ips9 tablet

2015-11-20 Thread Hans de Goede
Add a node describing the lcd panel backlight on the pov protab2 ips9 tablet. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts b/arch

[PATCH 1/4] ARM: dts: sun4i: Add backlight node to iNet1 tablet

2015-11-20 Thread Hans de Goede
Add a node describing the lcd panel backlight on the iNet1 tablet. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-inet1.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-inet1.dts b/arch/arm/boot/dts/sun4i-a10-inet1.dts

[PATCH 2/4] ARM: dts: sun5i: Add backlight node to UTOO P66 tablet

2015-11-20 Thread Hans de Goede
Add a node describing the lcd panel backlight on the UTOO P66 tablet. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts b/arch/arm/boot/dts/sun5i-a13-utoo-p66

[PATCH 4/4] ARM: dts: sun5i: Add i2c axp152 pmic support for Auxtek T004 boards

2015-11-20 Thread Hans de Goede
From: Michael van Slingerland Add a node describing the AXP152 pmic used on Auxtek T004 boards. Signed-off-by: Michael van Slingerland Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm

[PATCH 4/4] ARM: dts: sun4i: Enable onboard codec used on the pov protab2-ips9 tablet

2015-11-20 Thread Hans de Goede
The pov protab2-ips9 tablet uses the A10's integrated audio codec, enable it. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts b/arch/arm

[PATCH 1/4] ASoC: sun4i-codec: Add support for PA gpio pin

2015-11-20 Thread Hans de Goede
Add support for PA gpio pin for controlling an external amplifier as used on some Allwinner boards. Signed-off-by: Hans de Goede --- .../devicetree/bindings/sound/sun4i-codec.txt | 3 +++ sound/soc/sunxi/sun4i-codec.c | 25 ++ 2 files changed, 19

[PATCH 3/4] ARM: dts: sun5i: Enable onboard codec used on the UTOO P66 tablet

2015-11-20 Thread Hans de Goede
The UTOO P66 tablet uses the A13's integrated audio codec, enable it. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts b/arch/arm/boot/dts/sun5i-a13-uto

[PATCH 2/4] ARM: dts: sun4i: Enable onboard codec used on the iNet1 tablet

2015-11-20 Thread Hans de Goede
The iNet1 tablet uses the A10's integrated audio codec, enable it. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-inet1.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-inet1.dts b/arch/arm/boot/dts/sun4i-a10-inet1.dts index df1be08..e0

[PATCH v2 7/7] ARM: dts: sun4i: Add touchscreen node to pov protab2-ips9 tablet

2015-11-20 Thread Hans de Goede
Add a node describing the touchscreen found on the pov protab2-ips9 tablet. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts b/arch/arm

[PATCH v2 3/7] touchscreen: icn8318: Use parse_properties and apply_prop_to_x_y helpers

2015-11-20 Thread Hans de Goede
Use the touchscreen_parse_properties and touchscreen_apply_prop_to_x_y functions, instead of DIY code, this results in a nice cleanup. Signed-off-by: Hans de Goede --- Changes in v2: -Call input_set_capability() before calling touchscreen_parse_properties() --- drivers/input/touchscreen

[PATCH v2 4/7] touchscreen: pixcir_i2c: Add support for wake and enable gpios

2015-11-20 Thread Hans de Goede
From: Sander Vermin On some devices the wake and enable pins of the pixcir touchscreen controller are connected to gpios and these must be controlled by the driver for the device to operate properly. Signed-off-by: Sander Vermin Signed-off-by: Hans de Goede --- Changes in v2 (Hans de Goede

[PATCH v2 2/7] touchscreen: ft5x06: Add support for axis inversion / swapping

2015-11-20 Thread Hans de Goede
Add support for axis inversion / swapping using the new touchscreen_parse_properties and touchscreen_apply_prop_to_x_y functionality. Signed-off-by: Hans de Goede --- drivers/input/touchscreen/edt-ft5x06.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/input

[PATCH v2 6/7] ARM: dts: sun4i: Add touchscreen node to iNet1 tablet

2015-11-20 Thread Hans de Goede
Add a node describing the touchscreen controller used on the iNet1 tablet. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-inet1.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-inet1.dts b/arch/arm/boot/dts/sun4i-a10-inet1

[PATCH v2 5/7] touchscreen: pixcir_ts: Add support for axis inversion / swapping

2015-11-20 Thread Hans de Goede
Add support for axis inversion / swapping using the new touchscreen_parse_properties and touchscreen_apply_prop_to_x_y functionality. Signed-off-by: Hans de Goede --- Changes in v2: -Add a fix which actually makes this patch compile, which accidentally ended up in a later commit in my tree

[PATCH v2 1/7] of_touchscreen-helpers: Add support for inverted / swapped axis

2015-11-20 Thread Hans de Goede
callers of touchscreen_parse_properties() to pass in NULL for the new third argument, keeping the existing behavior. Signed-off-by: Hans de Goede --- drivers/input/touchscreen/edt-ft5x06.c | 2 +- drivers/input/touchscreen/of_touchscreen.c | 56 +- drivers/input

[PATCH v2 0/7] Various touchscreens: Support axis inversion / swapping / extra gpios

2015-11-20 Thread Hans de Goede
Hi Dimtry and Maxime, Brown paper-bag release of this series fixing 2 issues which I missed during initial testing. First the original coverletter again: This patch-set extends the of_touchscreen.c helpers to (optionally) also deal with axis inversion / swapping, and patches a bunch of drivers to

Re: [PATCH 0/7] Various touchscreens: Support axis inversion / swapping / extra gpios

2015-11-20 Thread Hans de Goede
Hi, On 20-11-15 12:22, Russell King - ARM Linux wrote: On Fri, Nov 20, 2015 at 12:17:06PM +0100, Hans de Goede wrote: This patch-set extends the of_touchscreen.c helpers to (optionally) also deal with axis inversion / swapping, and patches a bunch of drivers to use this new functionality

[PATCH 6/7] ARM: dts: sun4i: Add touchscreen node to iNet1 tablet

2015-11-20 Thread Hans de Goede
Add a node describing the touchscreen controller used on the iNet1 tablet. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-inet1.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-inet1.dts b/arch/arm/boot/dts/sun4i-a10-inet1

[PATCH 5/7] touchscreen: pixcir_ts: Add support for axis inversion / swapping

2015-11-20 Thread Hans de Goede
Add support for axis inversion / swapping using the new touchscreen_parse_properties and touchscreen_apply_prop_to_x_y functionality. Signed-off-by: Hans de Goede --- drivers/input/touchscreen/pixcir_i2c_ts.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH 3/7] touchscreen: icn8318: Use parse_properties and apply_prop_to_x_y helpers

2015-11-20 Thread Hans de Goede
Use the touchscreen_parse_properties and touchscreen_apply_prop_to_x_y functions, instead of DIY code, this results in a nice cleanup. Signed-off-by: Hans de Goede --- drivers/input/touchscreen/chipone_icn8318.c | 56 +++-- 1 file changed, 12 insertions(+), 44 deletions

[PATCH 7/7] ARM: dts: sun4i: Add touchscreen node to pov protab2-ips9 tablet

2015-11-20 Thread Hans de Goede
Add a node describing the touchscreen found on the pov protab2-ips9 tablet. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts b/arch/arm

[PATCH 4/7] touchscreen: pixcir_i2c: Add support for wake and enable gpios

2015-11-20 Thread Hans de Goede
From: Sander Vermin On some devices the wake and enable pins of the pixcir touchscreen controller are connected to gpios and these must be controlled by the driver for the device to operate properly. Signed-off-by: Sander Vermin Signed-off-by: Hans de Goede --- Changes in v2 (Hans de Goede

[PATCH 2/7] touchscreen: ft5x06: Add support for axis inversion / swapping

2015-11-20 Thread Hans de Goede
Add support for axis inversion / swapping using the new touchscreen_parse_properties and touchscreen_apply_prop_to_x_y functionality. Signed-off-by: Hans de Goede --- drivers/input/touchscreen/edt-ft5x06.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/input

[PATCH 1/7] of_touchscreen-helpers: Add support for inverted / swapped axis

2015-11-20 Thread Hans de Goede
callers of touchscreen_parse_properties() to pass in NULL for the new third argument, keeping the existing behavior. Signed-off-by: Hans de Goede --- drivers/input/touchscreen/edt-ft5x06.c | 2 +- drivers/input/touchscreen/of_touchscreen.c | 56 +- drivers/input

[PATCH 0/7] Various touchscreens: Support axis inversion / swapping / extra gpios

2015-11-20 Thread Hans de Goede
Hi Dimtry and Maxime, This patch-set extends the of_touchscreen.c helpers to (optionally) also deal with axis inversion / swapping, and patches a bunch of drivers to use this new functionality. One of the modified drivers is the pixcir_i2c_ts driver. Sander Vermin has been helping me with getting

Re: [linux-sunxi] [PATCH 5/5] ARM: dts: sun8i-h3-orangepi-plus: Enable USB host controllers

2015-11-16 Thread Hans de Goede
Hi, On 16-11-15 04:00, Chen-Yu Tsai wrote: Hi, On Mon, Nov 16, 2015 at 3:46 AM, Hans de Goede wrote: From: Reinder de Haan Enable the 3 pairs of USB host controllers used on the Orange Pi Plus. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun8i-h3

[PATCH 3/5] ARM: dts: sun8i: Add support for H3 usb clocks

2015-11-15 Thread Hans de Goede
From: Reinder de Haan Add a node describing the usb-clks found on the H3. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun8i-h3.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts

[PATCH 4/5] ARM: dts: sun8i: Add usbphy and usb host controller nodes

2015-11-15 Thread Hans de Goede
From: Reinder de Haan Add nodes describing the H3's usbphy and usb host controller nodes. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun8i-h3.dtsi | 101 1 file changed, 101 insertions(+) diff --git a/arc

[PATCH 2/5] phy-sun4i-usb: Add support for the host usb-phys found on the H3 SoC

2015-11-15 Thread Hans de Goede
From: Reinder de Haan Note this commit only adds support for phys 1-3, phy 0, the otg phy, is not yet (fully) supported after this commit. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede --- .../devicetree/bindings/phy/sun4i-usb-phy.txt | 1 + drivers/phy/phy-sun4i-usb.c

[PATCH 5/5] ARM: dts: sun8i-h3-orangepi-plus: Enable USB host controllers

2015-11-15 Thread Hans de Goede
From: Reinder de Haan Enable the 3 pairs of USB host controllers used on the Orange Pi Plus. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm

[PATCH 1/5] clk: sunxi: Add support for the H3 usb phy clocks

2015-11-15 Thread Hans de Goede
From: Reinder de Haan The H3 has a usb-phy clk register which is similar to that of earlier SoCs, but with support for a larger number of phys. So we can simply add a new set of clk-data and a new compatible and be done with it. Signed-off-by: Reinder de Haan Signed-off-by: Hans de Goede

Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun7i: Enable audio codec on pcDuino

2015-11-04 Thread Hans de Goede
Hi Stefan, On 04-11-15 03:43, Stefan Monnier wrote: BTW, I've been using successfully the same additions in sun7i-a20-bananapi.dts and sun7i-a20-orangepi-mini.dts. Can you please turn these additions into proper patches, and send 2 separate patches for these with S-o-b lines in the commit msg,

[PATCH 0/1] ARM: dts: sun4i: inet9f-rev03: Add support for game buttons /

2015-11-03 Thread Hans de Goede
Hi Maxime, Note this patch depends on #include changes from input.git/next commit 4f38b9f2f4a56164cad7a42e92f945c3515c5a2e. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http:/

[PATCH] ARM: dts: sun4i: inet9f-rev03: Add support for game buttons / joysticks

2015-11-03 Thread Hans de Goede
The inet9f-rev03 tablet has multiple fire-buttons / direction controls, add support for these using the same axis mapping as ps2 compatible game controllers with the same stick / button layout use. Signed-off-by: Hans de Goede --- Changes in v2: -Do not include dt-bindings/input/evdev.h, as the

[PATCH] ARM: dts: sun7i: Enable audio codec on pcDuino

2015-11-03 Thread Hans de Goede
From: Jelle van der Waa Enable the on-chip audio codec Signed-off-by: Jelle van der Waa Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20

Re: [PATCH 06/19] clk: sunxi: Add Allwinner R8 AHB gates support

2015-10-30 Thread Hans de Goede
Hi, On 30-10-15 17:01, Chen-Yu Tsai wrote: On Fri, Oct 30, 2015 at 10:20 PM, Maxime Ripard wrote: The R8 has yet another array of gates for AHB. Let's add it to the list of compatibles we can deal with. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi/clk-simple-gates.c | 2 ++ 1 file c

Re: [linux-sunxi] Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-10-27 Thread Hans de Goede
Hi, On 26-10-15 22:06, Maxime Ripard wrote: On Sat, Oct 24, 2015 at 10:47:49AM +0200, Jean-Francois Moine wrote: On Sat, 24 Oct 2015 09:13:28 +0200 Maxime Ripard wrote: Or simply bus_gates { clocks = <&ahb1>, <&ahb2>; clock-indices = <5>, <6>, <8>, ... clock-output-n

Re: [linux-sunxi] Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-10-24 Thread Hans de Goede
Hi, On 10/23/2015 08:14 PM, Maxime Ripard wrote: On Wed, Oct 21, 2015 at 06:20:27PM +0200, Jens Kuske wrote: + bus_gates: clk@01c20060 { + #clock-cells = <1>; + compatible = "allwinner,sun8i-h3-bus-gates-clk"; + reg

Re: [PATCH v4 0/4] simplefb: Add regulator handling support

2015-10-23 Thread Hans de Goede
Hi, Patches 1/2 look good and are: Reviewed-by: Hans de Goede And the approach used for the regulators in them is also: Acked-by: Mark Brown So patches 1/2 are ready for merging. Jean-Christophe or Tomi, can you pick up patch 1 & 2 please ? Regards, Hans On 10/23/2015 05:50 AM,

Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support

2015-10-22 Thread Hans de Goede
Hi, On 22-10-15 09:58, Jean-Francois Moine wrote: On Wed, 21 Oct 2015 21:18:45 +0200 Hans de Goede wrote: Great to see that you've started working on this again. Last weekend I ended up working on this too together with Reinder E.N. de Haan (added to the Cc). We took a slightly diff

Re: [linux-sunxi] Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support

2015-10-22 Thread Hans de Goede
Hi, On 22-10-15 09:49, Jens Kuske wrote: Hi, On 21/10/15 21:18, Hans de Goede wrote: Great to see that you've started working on this again. Last weekend I ended up working on this too together with Reinder E.N. de Haan (added to the Cc). We took a slightly different approach fo

Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support

2015-10-21 Thread Hans de Goede
Hi, On 21-10-15 18:13, Jens Kuske wrote: Hi everyone, This is v3 of my patch series introducing basic kernel support for Allwinner's H3 SoC. It mainly adds basic clocks and pinctrl. It also adds interrupts, timers, watchdog, RTC, dmaengine, MMC and UARTs, which are mostly compatible to those in

Re: [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support

2015-10-21 Thread Hans de Goede
Hi Jens, On 21-10-15 18:13, Jens Kuske wrote: Hi everyone, This is v3 of my patch series introducing basic kernel support for Allwinner's H3 SoC. It mainly adds basic clocks and pinctrl. It also adds interrupts, timers, watchdog, RTC, dmaengine, MMC and UARTs, which are mostly compatible to tho

Re: [PATCH RFC v2 2/2] simplefb: Claim and enable regulators

2015-10-21 Thread Hans de Goede
Hi, On 21-10-15 10:04, Chen-Yu Tsai wrote: Hi, On Wed, Oct 21, 2015 at 3:54 PM, Hans de Goede wrote: Hi, On 21-10-15 07:59, Chen-Yu Tsai wrote: This claims and enables regulators listed in the simple framebuffer dt node. This is needed so that regulators powering the display pipeline and

Re: [PATCH RFC v2 2/2] simplefb: Claim and enable regulators

2015-10-21 Thread Hans de Goede
} + } + } + + return 0; +} + +static void simplefb_regulators_destroy(struct simplefb_par *par) +{ + int i; + + if (!par->regulators) + return; + + for (i = 0; i < par->regulator_count; i++) + if (par->regulato

Re: [PATCH RFC v2 1/2] dt-bindings: simplefb: Support a list of regulator supply properties

2015-10-21 Thread Hans de Goede
this by adding a "num-supplies" property to communicate the number of supplies, and a list of 0 ~ N "vinN-supply" properties for the actual regulator supply. This bit of the commit message is no longer accurate. Other then that this patch looks good to me: Reviewed-by: Hans de Go

[PATCH v2] ARM: dts: sun4i: Add dts file for the pov protab2-ips9 tablet

2015-10-20 Thread Hans de Goede
nable pins both of which need to be driven low before the touchscreen will work. Before we can enable this the pixcir driver and devicetree-bindings need to be extended to support these pins. Signed-off-by: Hans de Goede --- Changes in v2: -Mark i2c1 as failed until we've a way to tie a regulator

Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun4i: Add dts file for the pov protab2-ips9 tablet

2015-10-20 Thread Hans de Goede
Hi, On 10/19/2015 09:43 PM, Maxime Ripard wrote: On Tue, Sep 22, 2015 at 05:24:37PM +0200, Hans de Goede wrote: Hi, On 22-09-15 17:02, Maxime Ripard wrote: On Sun, Sep 13, 2015 at 07:33:36PM +0200, Hans de Goede wrote: Anyway. In both cases, the regulator really shouldn't be drifting

Re: [PATCH RFC 0/2] simplefb: Add regulator handling support

2015-10-19 Thread Hans de Goede
Hi, On 18-10-15 21:57, Mark Brown wrote: On Wed, Oct 14, 2015 at 01:31:52PM +0200, Hans de Goede wrote: I like your idea in your other mail where you suggest to actually use foo-supply and bar-supply names in the simplefb node, and then have some code simple iterate over all the properties

Re: [linux-sunxi] [PATCH] ARM: dts: sun7i: Enable USB DRC on pcDuino v3 Nano

2015-10-18 Thread Hans de Goede
he A20. Tested successfully in both host and device modes. Signed-off-by: Adam Sampson Looks good: Acked-by: Hans de Goede Regards, Hans --- arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3-n

[PATCH v2 0/2] pinctrl: sunxi: r_pio irq fixes

2015-10-16 Thread Hans de Goede
Hi All, Here is a v2 of this patch-set which actually compiles (problem with the second patch in v1). After testing that everything worked I extended the irq mapping to not just cover PL5 (the pin I actually tested with) but also all the other pins which have an irq function. I botched up the copy

[PATCH v2 2/2] pinctrl: sunxi: Add irq pinmuxing to sun6i "r" pincontroller

2015-10-16 Thread Hans de Goede
Add pinmuxing for external interrupt functionality through the sun6i "r" pincontroller. Signed-off-by: Hans de Goede --- Changes in v2: -Fix compile error introduced by last minute changes before sending out the patch (note to self: always do a recompile in such a case) --- drive

  1   2   3   4   5   6   7   8   9   10   >