[linux-sunxi] Re: [U-Boot] sunxi: Support SID e-fuses on A83T and H3

2016-03-19 Thread Hans de Goede
Hi, On 27-01-16 09:34, Chen-Yu Tsai wrote: On the A83T and H3, the SID block is at a different address. Furthurmore, the e-fuses are at an offset of 0x200 within the hardware's address space. Signed-off-by: Chen-Yu Tsai Thanks, applied to my tree and this will go out with the

[linux-sunxi] Re: [PATCH 7/7] mtd: nand: sunxi: update DT bindings

2016-03-19 Thread Rob Herring
On Tue, Mar 08, 2016 at 12:15:15PM +0100, Boris Brezillon wrote: > Document dmas and dma-names properties. > > Signed-off-by: Boris Brezillon > --- > Documentation/devicetree/bindings/mtd/sunxi-nand.txt | 4 > 1 file changed, 4 insertions(+) Acked-by:

[linux-sunxi] [PATCH sunxi-tools v3] fel: support selection of specific USB bus and device number

2016-03-19 Thread Bernhard Nortmann
Changes in v2: - Renamed "char *dev" to "char *dev_arg", to make it clearer that we're working on the device argument. Use strspn(dev_arg,...) instead of strspn(argv[1],...) Changes in v3: - Protect against segfault when trying to access non-existant argv[2] - Moved "handle == NULL" error

[linux-sunxi] [PATCH v4 09/13] ARM: dts: sun8i-a83t: Add RSB controller device node to dtsi

2016-03-19 Thread Vishnu Patekar
This patch adds a device node for the Reduced Serial Bus (RSB) controller and the defacto pinmux setting to the A83T dtsi. Since there is only one possible pinmux setting for RSB, just set it in the dtsi. Signed-off-by: Vishnu Patekar ---

[linux-sunxi] Re: [PATCH] ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts

2016-03-19 Thread Chen-Yu Tsai
On Wed, Mar 16, 2016 at 10:19 PM, Hans de Goede wrote: > u-boot uses the kernel as the canonical source for its sunxi dts files > and u-boot needs these. > > Signed-off-by: Hans de Goede Acked-by: Chen-Yu Tsai -- You received this

[linux-sunxi] Re: 4.5.0 on sun7i-a20-olinuxino-lime2: libphy: PHY stmmac-0:ffffffff not found (regression from rc7)

2016-03-19 Thread Marc Zyngier
On Thu, 17 Mar 2016 00:56:40 +0100 Bert Lindner wrote: > On 2016-03-16 18:42, Marc Zyngier wrote: > > On 16/03/16 15:10, Bert Lindner wrote: > >> On 2016-03-16 14:10, Andreas Färber wrote: > >>> Am 16.03.2016 um 13:09 schrieb Robin Murphy: > On 16/03/16 11:39, Marc Zyngier

[linux-sunxi] Re: 4.5.0 on sun7i-a20-olinuxino-lime2: libphy: PHY stmmac-0:ffffffff not found (regression from rc7)

2016-03-19 Thread Marc Zyngier
On 16/03/16 12:09, Robin Murphy wrote: > On 16/03/16 11:39, Marc Zyngier wrote: >> On 16/03/16 11:19, Bert Lindner wrote: >>> Hi, >>> >>> Hopefully this is the correct place and way to report this. >>> >>> For the board sun7i-a20-olinuxino-lime2, there seems to be a problem >>> with the eth0 PHY

[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: Add support for Cubietruck Plus

2016-03-19 Thread Dennis Gilmore
On Saturday, March 19, 2016 5:43:52 PM CDT Dennis Gilmore wrote: > Hans, > > What is the status of this patch? > > Dennis With the patch applied building for Cubietruck_plus fails with ld.bfd -pie --gc-sections -Bstatic -Ttext 0x4a00 -o u-boot -T u- boot.lds

[linux-sunxi] [PATCH v4 00/13] Add A83T clk, r_pio, mmc rsb support

2016-03-19 Thread Vishnu Patekar
Hello, This is v4 of series which adds further support for A83T, mainly adds clock support.Also adds R_PIO, PRCM related clocks, mmc, rsb support. A83T difference in short: R_PIO is slightly different from A23 r_pio. AHB1 has different parents as compared to a31-ahb1, APB1 has different

[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: Add support for Cubietruck Plus

2016-03-19 Thread Dennis Gilmore
Hans, What is the status of this patch? Dennis On Wednesday, January 27, 2016 4:34:44 PM CDT Chen-Yu Tsai wrote: > Cubietruck Plus is a A83T/H8 based development board. The board has > standard DDR3 SDRAM, AXP818 PMIC/codec, SD/MMC, eMMC, USB 2.0 host > via HSIC USB Hub, USB OTG, SATA via USB

[linux-sunxi] Re: 4.5.0 on sun7i-a20-olinuxino-lime2: libphy: PHY stmmac-0:ffffffff not found (regression from rc7)

2016-03-19 Thread Marc Zyngier
On 16/03/16 11:19, Bert Lindner wrote: > Hi, > > Hopefully this is the correct place and way to report this. > > For the board sun7i-a20-olinuxino-lime2, there seems to be a problem > with the eth0 PHY in mainline kernel 4.5.0 that developed since > 4.5.0-rc7. Ethernet does not work, although

Re: [linux-sunxi] [PATCH v4 13/13] ARM: sunxi: Add Kconfig for sunxi clocks

2016-03-19 Thread Priit Laes
On Thu, 2016-03-17 at 00:04 +0800, Vishnu Patekar wrote: > This patch adds Kconfig for sunxi clocks. > Currently, only sun8i-apb0 and sun9i-cpus clocks are added. > It'll help to use common clocks across different SOCs. > We can switch to kconfig for other clocks in future. > > Signed-off-by:

[linux-sunxi] Re: 4.5.0 on sun7i-a20-olinuxino-lime2: libphy: PHY stmmac-0:ffffffff not found (regression from rc7)

2016-03-19 Thread Bert Lindner
On 2016-03-16 14:10, Andreas Färber wrote: Am 16.03.2016 um 13:09 schrieb Robin Murphy: On 16/03/16 11:39, Marc Zyngier wrote: On 16/03/16 11:19, Bert Lindner wrote: Hopefully this is the correct place and way to report this. The main discussion is on netdev list actually, CC'ed. For the

[linux-sunxi] Re: [PATCH v4 02/13] clk: sunxi: add ahb1 clock for A83T

2016-03-19 Thread Maxime Ripard
On Thu, Mar 17, 2016 at 12:04:25AM +0800, Vishnu Patekar wrote: > AHB1 on A83T is similar to ahb1 on A31, except parents are different. > clock index 0b1x is PLL6. > > Signed-off-by: Vishnu Patekar > Acked-by: Chen-Yu Tsai > Acked-by: Rob Herring

[linux-sunxi] [PATCH sunxi-tools v5] fel: support selection of specific USB bus and device number

2016-03-19 Thread Bernhard Nortmann
Changes in v2: - Renamed "char *dev" to "char *dev_arg", to make it clearer that we're working on the device argument. Use strspn(dev_arg,...) instead of strspn(argv[1],...) Changes in v3: - Protect against segfault when trying to access non-existant argv[2] - Moved "handle == NULL" error

[linux-sunxi] Re: [PATCH] pinctrl: sunxi: Fix A33 external interrupts not working

2016-03-19 Thread Linus Walleij
On Sat, Mar 12, 2016 at 7:44 PM, Hans de Goede wrote: > pinctrl-sun8i-a33.c (and the dts) declare only 2 interrupt banks, > where as the closely related a23 has 3 banks. This matches with the > datasheet for the A33 where only interrupt banks B and G are specified > where as

Re: [linux-sunxi] [PATCH sunxi-tools v3] fel: support selection of specific USB bus and device number

2016-03-19 Thread Siarhei Siamashka
Hello Bernhard, Thanks, this is clearly a useful feature. On Wed, 16 Mar 2016 16:43:18 +0100 Bernhard Nortmann wrote: > See https://github.com/linux-sunxi/sunxi-tools/issues/37 > > The patch introduces a "--dev" (-d) option to specify the > desired FEL device. This

[linux-sunxi] [PATCH v4 05/13] ARM: dts: sun8i-a83t: add mmc clock nodes

2016-03-19 Thread Vishnu Patekar
mmc clocks are compatible with that of earlier sun8i socs. This adds mmc0, mmc1, and mmc2 clock nodes for A83T. Signed-off-by: Vishnu Patekar Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 30 ++ 1 file

[linux-sunxi] [PATCH sunxi-tools v4] fel: support selection of specific USB bus and device number

2016-03-19 Thread Bernhard Nortmann
Changes in v2: - Renamed "char *dev" to "char *dev_arg", to make it clearer that we're working on the device argument. Use strspn(dev_arg,...) instead of strspn(argv[1],...) Changes in v3: - Protect against segfault when trying to access non-existant argv[2] - Moved "handle == NULL" error

[linux-sunxi] [PATCH v4 12/13] ARM: dts: sun8i: Add A83T based Sinovoip Bpi-M3 Board

2016-03-19 Thread Vishnu Patekar
This patch adds support for Sinovoip BPI-M3 A83T based board. It has 2G LPDDR3, UART, ethernet, USB, HDMI, USB Sata, MIPI DSI, mic, AP6212 Wifi, etc on it. It is paired with AXP813 PMIC which is almost same as AXP818. Signed-off-by: Vishnu Patekar ---

Re: [linux-sunxi] Re: [PATCH 1/2] regulator: axp20x: Fix axp22x ldo_io voltage ranges

2016-03-19 Thread Hans de Goede
Hi, On 14-03-16 07:59, Chen-Yu Tsai wrote: On Sat, Mar 12, 2016 at 4:12 AM, Hans de Goede wrote: The minium voltage of 1800mV is a copy and paste error from the axp20x regulator info. The correct minimum voltage for the ldo_io regulators on the axp22x is 700mV.

[linux-sunxi] [PATCH v4 03/13] clk: sunxi: Add APB1 clock for A83T

2016-03-19 Thread Vishnu Patekar
APB1 is similar to sun4i-a10-apb0-clk, except different dividers. This adds support for apb1 on A83T. Signed-off-by: Vishnu Patekar Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/clk-sunxi.c

[linux-sunxi] Re: [PATCH sunxi-tools 6/7] fel: Add "readl" and "writel" commands

2016-03-19 Thread Bernhard Nortmann
Am 17.03.2016 um 13:55 schrieb Bernhard Nortmann: I can confirm/reproduce this behaviour on my A20 when accessing the SID register. Interesting enough, the bytes that actually do get read (i.e. end up != 0) are "correct", as if the aw_usb_read() somehow truncates everything down to

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

2016-03-19 Thread Danny Milosavljevic
Hi Maxime, > IIRC, in order to have shared controls, you just needed to share the > controls structure. Yeah. I did this and it actually works in a way, but in doesn't do all that I want. There are two different kinds of sharing I mean: The one kind with the controls structure causes the

[linux-sunxi] 4.5.0 on sun7i-a20-olinuxino-lime2: libphy: PHY stmmac-0:ffffffff not found (regression from rc7)

2016-03-19 Thread Bert Lindner
Hi, Hopefully this is the correct place and way to report this. For the board sun7i-a20-olinuxino-lime2, there seems to be a problem with the eth0 PHY in mainline kernel 4.5.0 that developed since 4.5.0-rc7. Ethernet does not work, although eth0 is reported: root@lime2-079f:~# ip a l eth0

[linux-sunxi] Re: [RFC PATCH] clk: sunxi: Let divs clocks read the base factor clock name from devicetree

2016-03-19 Thread Chen-Yu Tsai
Hi, On Fri, Mar 18, 2016 at 5:44 PM, Andre Przywara wrote: > From: Jens Kuske > > Currently, the sunxi clock driver gets the name for the base factor clock > of divs clocks from the name field in factors_data. This prevents reusing > of the factor

[linux-sunxi] ./lima-memtester failed to open /dev/mali but mali.ko inserted

2016-03-19 Thread kimdou
# insmod /lib/modules/3.4.39/mali.ko [ 315.790108] mali_platform_init(184): get ahb_mali handle success! [ 315.797536] mali_platform_init(192): get mali handle success! [ 315.803983] mali_platform_init(199): get ve_pll handle success! [ 315.810945] mali_platform_init(206): set mali clock

[linux-sunxi] Re: [PATCH] ARM: dts: Add dts file for Dserve DSRV9703C tablet

2016-03-19 Thread Chen-Yu Tsai
On Sat, Mar 19, 2016 at 3:53 PM, Hans de Goede wrote: > The Dserve DSRV9703C is a 9.7" A10 tablet with a 1024x768 ips LCD, > 1G RAM, 4GB flash, a Focaltech FT5406EE8 touchscreen and rtl8188ctv wifi. > > Signed-off-by: Hans de Goede Acked-by: Chen-Yu

[linux-sunxi] [PATCH sunxi-tools v3] fel: support selection of specific USB bus and device number

2016-03-19 Thread Bernhard Nortmann
See https://github.com/linux-sunxi/sunxi-tools/issues/37 The patch introduces a "--dev" (-d) option to specify the desired FEL device. This is useful if multiple target devices are connected to the same host. Signed-off-by: Bernhard Nortmann --- fel.c | 101

[linux-sunxi] Re: 4.5.0 on sun7i-a20-olinuxino-lime2: libphy: PHY stmmac-0:ffffffff not found (regression from rc7)

2016-03-19 Thread Marc Zyngier
On 16/03/16 15:10, Bert Lindner wrote: > On 2016-03-16 14:10, Andreas Färber wrote: >> Am 16.03.2016 um 13:09 schrieb Robin Murphy: >>> On 16/03/16 11:39, Marc Zyngier wrote: On 16/03/16 11:19, Bert Lindner wrote: > Hopefully this is the correct place and way to report this. >> >> The

[linux-sunxi] [PATCH] sun7i: Add support for the Itead Core EVB

2016-03-19 Thread codekipper
From: Marcus Cooper --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun7i-a20-itead-core-evb.dts | 316 ++ configs/Itead_Core_EVB_defconfig | 22 +++ 3 files changed, 339 insertions(+) create mode 100644

Re: [linux-sunxi] [PATCH v2 1/2] sun7i: Add support for the Itead Ibox

2016-03-19 Thread Hans de Goede
Hi, On 15-03-16 18:47, codekip...@gmail.com wrote: From: Marcus Cooper Add dts and defconfig for the multi board device based on the Allwinner A20 SoC. It contains the A20 Itead Core module and a base board for the external interfaces. The core module comes with 4GB

[linux-sunxi] [PATCH v2 1/2] regulator: axp20x: Fix axp209 ldo4 ranges

2016-03-19 Thread Hans de Goede
The axp209 ldo4 regulator has a hole at (skips) 2600 mV and 2900 mV, fix its range table to match. Fixes: 13d57e64352a ("regulator: axp20x: Use linear voltage ranges for AXP20X LDO4") Signed-off-by: Hans de Goede Acked-by: Chen-Yu Tsai --- Changes in v2:

[linux-sunxi] [RFC PATCH] clk: sunxi: Let divs clocks read the base factor clock name from devicetree

2016-03-19 Thread Andre Przywara
From: Jens Kuske Currently, the sunxi clock driver gets the name for the base factor clock of divs clocks from the name field in factors_data. This prevents reusing of the factor clock for clocks with same properties, but different name. This commit makes the divs setup

[linux-sunxi] [PATCH v4 10/13] ARM: dts: sun8i-a83t: add mmc0 CD pin

2016-03-19 Thread Vishnu Patekar
A83T Boards BPI-m3 and Allwinner H8Homletv2 boards use PF6 as Card Detect pin., so use PF6 as reference design CD pin in dtsi. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83t.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts

2016-03-19 Thread Hans de Goede
Hi, On 18-03-16 18:48, Maxime Ripard wrote: On Thu, Mar 17, 2016 at 02:28:03PM +0800, Chen-Yu Tsai wrote: On Wed, Mar 16, 2016 at 10:19 PM, Hans de Goede wrote: u-boot uses the kernel as the canonical source for its sunxi dts files and u-boot needs these. Signed-off-by:

[linux-sunxi] [PATCH v2 2/2] regulator: axp20x: Fix axp22x ldo_io voltage ranges

2016-03-19 Thread Hans de Goede
The minium voltage of 1800mV is a copy and paste error from the axp20x regulator info. The correct minimum voltage for the ldo_io regulators on the axp22x is 700mV. Fixes: 1b82b4e4f954 ("regulator: axp20x: Add support for AXP22X regulators") Signed-off-by: Hans de Goede

[linux-sunxi] [PATCH v4 08/13] ARM: dts: sun8i-a83t: Add R_PIO controller node to the dtsi

2016-03-19 Thread Vishnu Patekar
Now that we have a driver for the R_PIO controller, add the corresponding device node to the dtsi. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83t.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi

[linux-sunxi] Re: random decryption errors with sun4i-ss on dm-crypt

2016-03-19 Thread txsanyix
Can't be this workaround that eliminates the problem is used until a real fix is possible? -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[linux-sunxi] Re: [PATCH v4 01/24] pwm: rcar: make use of pwm_is_enabled()

2016-03-19 Thread Boris Brezillon
Hi Thierry, Can you please apply this patch? It's completely independent from the rest of the series. Thanks, Boris On Mon, 16 Nov 2015 09:56:24 +0100 Boris Brezillon wrote: > Commit 5c31252c4a86 ("pwm: Add the pwm_is_enabled() helper") introduced a > new

[linux-sunxi] [PATCH v4 02/13] clk: sunxi: add ahb1 clock for A83T

2016-03-19 Thread Vishnu Patekar
AHB1 on A83T is similar to ahb1 on A31, except parents are different. clock index 0b1x is PLL6. Signed-off-by: Vishnu Patekar Acked-by: Chen-Yu Tsai Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 +

[linux-sunxi] [PATCH sunxi-tools v4] fel: support selection of specific USB bus and device number

2016-03-19 Thread Bernhard Nortmann
See https://github.com/linux-sunxi/sunxi-tools/issues/37 The patch was originally inspired by https://github.com/NextThingCo/sunxi-tools/commit/16386a7 and https://github.com/NextThingCo/sunxi-tools/commit/47bafaf It introduces a "--dev" (-d) option to specify the desired FEL device. This is

[linux-sunxi] [PATCH] clk: sunxi: Add CSI (camera's Sensors Interface) module clock driver for sun[457]i

2016-03-19 Thread yassinjaffer
From: Yassin Jaffer This patch adds a composite clock type consisting of a clock gate, mux, configurable dividers, and a reset control. Signed-off-by: Yassin Jaffer --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 +

[linux-sunxi] [PATCH sunxi-tools] fel: Add release USB interface to allow proper operation on Mac OS X.

2016-03-19 Thread Bernhard Nortmann
This picks up a long-standing pull request from the github repo that seemingly noone cared to take forward to the mailing list. The one-line change looks sane, and reportedly is needed for proper operation when issuing repeated sunxi-fel commands on Mac OS X. NextThingCo also uses it in their

[linux-sunxi] [PATCH] ARM: dts: Add dts file for Dserve DSRV9703C tablet

2016-03-19 Thread Hans de Goede
The Dserve DSRV9703C is a 9.7" A10 tablet with a 1024x768 ips LCD, 1G RAM, 4GB flash, a Focaltech FT5406EE8 touchscreen and rtl8188ctv wifi. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/Makefile | 1 +

[linux-sunxi] [PATCH v4 06/13] ARM: dts: sun8i-a83t: Add mmc controller nodes

2016-03-19 Thread Vishnu Patekar
A83T mmc is compatible with earliers sunxi socs. This adds mmc0, mmc1, and mmc2 controller nodes for A83T. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83t.dtsi | 57 +++ 1 file changed, 57 insertions(+) diff --git

[linux-sunxi] [PATCH v4 11/13] ARM: dts: sun8i: enable mmc for H8Homlet Board.

2016-03-19 Thread Vishnu Patekar
This enables mmc0. Signed-off-by: Vishnu Patekar Tested-by: LABBE Corentin --- arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git

[linux-sunxi] Re: [PATCH v4 01/13] pinctrl: sunxi: Add A83T R_PIO controller

2016-03-19 Thread Vishnu Patekar
Hello Linus, On Thu, Mar 17, 2016 at 10:51 PM, Linus Walleij wrote: > On Wed, Mar 16, 2016 at 5:04 PM, Vishnu Patekar > wrote: > >> The A83T has R_PIO pin controller, it's same as A23, execpt A83T >> interrupt bit is 6th and A83T has one

[linux-sunxi] Re: [PATCH sunxi-tools 5/7] fel: Move the temporary scratch buffer under the IRQ stack

2016-03-19 Thread Bernhard Nortmann
Am Montag, 25. Januar 2016 05:51:02 UTC+1 schrieb Siarhei Siamashka: Doing certain operations may need uploading and executing code on the device. For example, such operations right now are reading/writing ARM CP15 coprocessor registers. Uploading the code to the device is naturally overwriting

[linux-sunxi] Re: [PATCH sunxi-tools 6/7] fel: Add "readl" and "writel" commands

2016-03-19 Thread Bernhard Nortmann
Am Montag, 25. Januar 2016 05:51:02 UTC+1 schrieb Siarhei Siamashka: The read/write operations done by FEL are not suitable for accessing hardware registers. For example, trying to read a SID value using the "read" or "hexdump" commands results in the following: $ sunxi-fel hexdump 0x01c23800

[linux-sunxi] Re: [PATCH] ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts

2016-03-19 Thread Maxime Ripard
On Thu, Mar 17, 2016 at 02:28:03PM +0800, Chen-Yu Tsai wrote: > On Wed, Mar 16, 2016 at 10:19 PM, Hans de Goede wrote: > > u-boot uses the kernel as the canonical source for its sunxi dts files > > and u-boot needs these. > > > > Signed-off-by: Hans de Goede