[PATCH v3 0/8] arm64: rockchip: Initial GeekBox enablement

Andreas Färber
2016-03-06T19:53:49Z

Hello,

This series adds initial support for the RK3368 based GeekBox.

Since v2 almost a month has passed with none of the first patches getting queued
despite Heiko offering to squash them himself, so here's a full update.

There were no more replies on the compatible string discussion for Landingship;
I have now adopted Heiko's proposal of using "geekbuying,geekbox-landingship".

v3 does minor cleanups and starts squashing undisputed patches. The power button
is still left separate, inserting cleanups to align all RK3368 boards at least.

On next-20160304 the GMAC seems to have regressed, it no longer finds the PHY:

libphy: PHY stmmac-0:ffffffff not found
eth0: Could not attach to PHY
stmmac_open: Cannot attach to PHY (error: -19)

For v2 I may have screwed up testing the Landingship FDT; I now ran into this:

rk3x-i2c ff140000.i2c: using default SCL frequency: 100000
INFO: rcu_preempt detected stalls on CPUs/tasks:
1-...: (1 GPs behind) idle=481/140000000000000/0 softirq=130/131 fqs=5250
(detected by 7, t=5254 jiffies, g=-239, c=-240, q=90)
Task dump for CPU 1:
swapper/0 R running task 0 1 0 0x00000002
Call trace:
[<ffffff8008085c5c>] __switch_to+0xc4/0xd0
[<ffffff8008bc1000>] nonblocking_pool_data+0x20/0x80

Keeping i2c1 disabled avoids that; i2c2 does not run into such problems.
A quick git-grep shows that I'm the first actual user of i2c1 (and i2c2),
so maybe something's wrong with clocks or pinctrl?

Regards,
Andreas

Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Andreas Färber (8):
Documentation: devicetree: Add vendor prefix for GeekBuying.com
Documentation: devicetree: rockchip: Document GeekBox
arm64: dts: rockchip: Add GeekBox config
Documentation: devicetree: Clean up gpio-keys example
arm64: dts: rockchip: Clean up gpio-keys nodes
arm64: dts: rockchip: Add power key to GeekBox
Documentation: devicetree: rockchip: Document Landingship
arm64: dts: rockchip: Add Landingship config

Documentation/devicetree/bindings/arm/rockchip.txt | 9 +
.../devicetree/bindings/input/gpio-keys.txt | 2 -
.../devicetree/bindings/vendor-prefixes.txt | 1 +
arch/arm64/boot/dts/rockchip/Makefile | 2 +
arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi | 5 +-
.../dts/rockchip/rk3368-geekbox-landingship.dts | 57 ++++
arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 319 +++++++++++++++++++++
arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 5 +-
8 files changed, 392 insertions(+), 8 deletions(-)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox-landingship.dts
create mode 100644 arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts

--
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html