Re: [linux-sunxi] Re: [PATCH v8 0/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2015-12-22 Thread Danny Milosavljevic
Hi Yassin, On Mon, 21 Dec 2015 18:16:35 -0800 (PST) Yassin Jaffer wrote: > You don't seem to provide the full gain scale for most of the inputs any > reason for that (Please check the user manual)? I got the scales from the user manuals. Did I make a mistake? Just

[linux-sunxi] [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

[linux-sunxi] [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(+)

[linux-sunxi] [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

[linux-sunxi] Re: [RFC PATCH 2/5] crypto: sunxi-ss: fix min3() call to match types

2015-12-22 Thread André Przywara
Hi Arnd, On 12/22/15 22:06, Arnd Bergmann wrote: > On Tuesday 22 December 2015, Andre Przywara wrote: >> The min3() macro expects all arguments to be of the same type (or >> size at least). While two arguments are ints or u32s, one is size_t, >> which does not match on 64-bit architectures. >>

Re: [linux-sunxi] Re: [PATCH sunxi-boards 1/3] h3: Add fex file for Orange Pi PC

2015-12-22 Thread Siarhei Siamashka
On Sat, 19 Dec 2015 22:18:28 +0100 Thomas Kaiser wrote: > Siarhei Siamashka wrote: > > > It's likely that the credit for "unlocking" the 1.5 GHz clock speed > > actually belongs to third-party modders. > > Thanks for clarifying this (and all the additional

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

2015-12-22 Thread Siarhei Siamashka
Hi, On Wed, 16 Dec 2015 10:11:38 +0100 Hans de Goede wrote: > Hi, > > On 16-12-15 08:35, Siarhei Siamashka wrote: > > On Thu, 10 Dec 2015 04:31:05 -0800 (PST) > > Thomas Kaiser wrote: > > > >> Hi, > >> > >> Hans de Goede wrote: > >>> > >>>

[linux-sunxi] Re: [RFC PATCH 5/5] arm64: Introduce Allwinner SoC config option

2015-12-22 Thread Arnd Bergmann
On Tuesday 22 December 2015, Andre Przywara wrote: > To prepare for supporting the Allwinner A64 SoC, introduce a config > option to allow compiling Allwinner (aka. sunxi) specific drivers > for ARM64. > This patch just defines the ARCH_SUNXI symbol to allow Allwinner > specific drivers to be

[linux-sunxi] Re: [RFC PATCH 4/5] irqchip: sun4i: fix compilation outside of arch/arm

2015-12-22 Thread Arnd Bergmann
On Tuesday 22 December 2015, Andre Przywara wrote: > The Allwinner sunxi specific interrupt controller cannot be compiled > for any architecture except arm: > > drivers/irqchip/irq-sun4i.c:25:26: fatal error: asm/mach/irq.h: No such file > or directory > compilation terminated. > > It turns out

[linux-sunxi] Re: [RFC PATCH 1/5] drivers: sunxi-rsb: fix error output type

2015-12-22 Thread Arnd Bergmann
On Tuesday 22 December 2015, Andre Przywara wrote: > "len" is actually a size_t in this function here, so properly annotate > the dev_err printf type to allow compilation for 64-bit architectures. > > Signed-off-by: Andre Przywara Acked-by:

[linux-sunxi] Re: [RFC PATCH 2/5] crypto: sunxi-ss: fix min3() call to match types

2015-12-22 Thread Arnd Bergmann
On Tuesday 22 December 2015, Andre Przywara wrote: > The min3() macro expects all arguments to be of the same type (or > size at least). While two arguments are ints or u32s, one is size_t, > which does not match on 64-bit architectures. > Cast the size_t to u32 to make min3() happy. In this

[linux-sunxi] Re: [RFC PATCH 3/5] crypto: sunxi-ss: fix dev_dbg() output type

2015-12-22 Thread Arnd Bergmann
On Tuesday 22 December 2015, Andre Przywara wrote: > The length parameter in this dev_dbg() call is actually a size_t, > so use the proper type to avoid warnings when compiling for 64-bit > architectures. > > Signed-off-by: Andre Przywara Acked-by: Arnd Bergmann

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

2015-12-22 Thread Vishnu Patekar
Hello Maxime, On Sat, Dec 19, 2015 at 5:41 AM, 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

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

[linux-sunxi] [RFC PATCH 4/5] irqchip: sun4i: fix compilation outside of arch/arm

2015-12-22 Thread Andre Przywara
The Allwinner sunxi specific interrupt controller cannot be compiled for any architecture except arm: drivers/irqchip/irq-sun4i.c:25:26: fatal error: asm/mach/irq.h: No such file or directory compilation terminated. It turns out that this header is actually not needed for the driver, so remove

[linux-sunxi] [RFC PATCH 1/5] drivers: sunxi-rsb: fix error output type

2015-12-22 Thread Andre Przywara
"len" is actually a size_t in this function here, so properly annotate the dev_err printf type to allow compilation for 64-bit architectures. Signed-off-by: Andre Przywara --- drivers/bus/sunxi-rsb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[linux-sunxi] [RFC PATCH 0/5] arm64: prepare for basic Allwinner support

2015-12-22 Thread Andre Przywara
This is a first step for introducing support for the Allwinner A64 SoC that made a recent appearance on the Pine A64 board featured on Kickstarter. This mini-series prepares the ground by allowing ARCH_SUNXI to be defined for an arm64 kernel. The patches fix some minor warnings which appear when

[linux-sunxi] [RFC PATCH 5/5] arm64: Introduce Allwinner SoC config option

2015-12-22 Thread Andre Przywara
To prepare for supporting the Allwinner A64 SoC, introduce a config option to allow compiling Allwinner (aka. sunxi) specific drivers for ARM64. This patch just defines the ARCH_SUNXI symbol to allow Allwinner specific drivers to be selected during kernel configuration. Signed-off-by: Andre

[linux-sunxi] [RFC PATCH 2/5] crypto: sunxi-ss: fix min3() call to match types

2015-12-22 Thread Andre Przywara
The min3() macro expects all arguments to be of the same type (or size at least). While two arguments are ints or u32s, one is size_t, which does not match on 64-bit architectures. Cast the size_t to u32 to make min3() happy. In this context here the length should never exceed 32 bits anyway.

[linux-sunxi] [RFC PATCH 3/5] crypto: sunxi-ss: fix dev_dbg() output type

2015-12-22 Thread Andre Przywara
The length parameter in this dev_dbg() call is actually a size_t, so use the proper type to avoid warnings when compiling for 64-bit architectures. Signed-off-by: Andre Przywara --- drivers/crypto/sunxi-ss/sun4i-ss-cipher.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [linux-sunxi] Re: BUG - Bananapi USB not working on Mainline

2015-12-22 Thread m . silentcreek
Hi Hans, Hi Maxime, Am Sonntag, 20. Dezember 2015 08:38:52 UTC+1 schrieb David Tulloh: > On 20 December 2015 at 08:39, wrote: > > I found the solution! The problem is CONFIG_AXP20X_POWER which was introduced > in 4.4-rc1 but defaults to no and not set in sunxi_defconfig.