Skip to content

ARM: mach-shmobile: kzm9g: Reference DT implementation

Tetsuyuki Kobayashi linux-arm-kernel linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 7 patches 0 repliesNew

1 of 7 patches is in this archive. The cover letter announces 7.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
7/7ARM: mach-shmobile: kzm9g: Reference DT implementation+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] ARM: mach-shmobile: kzm9g: Reference DT implementation

Hello Simon-san,

Quoted 4 lines · Simon Horman

this series is a first pass at providing a refernce DT implementation for the kzm9g baord which is intended to act as a guide for mach-shmobile developers.

I tried this patch series on v3.7-rc7 with CONFIG_MACH_KZM9G_REFERENCE=y. It boot up correctly with rootfs on SD card. It works good for following devices
- serial port on /dev/ttySC4
- SD card on /dev/mmcblk0
- micro SD card on /dev/mmcblk1
- eMMC on /dev/mmcblk2

I found /dev/i2c-0 seems not to work correctly. "i2cdump" command fails like this.

# i2cdump 0 0x40
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0, address 0x40, mode byte
Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: [  180.171875] i2c-sh_mobile i2c-sh_mobile.0: Transfer request timed out
[  180.187500] i2c-sh_mobile i2c-sh_mobile.0: Polling timed out
XX [  185.187500] i2c-sh_mobile i2c-sh_mobile.0: Transfer request timed out
[  185.203125] i2c-sh_mobile i2c-sh_mobile.0: Polling timed out
XX ^C[  190.203125] i2c-sh_mobile i2c-sh_mobile.0: Transfer request timed out
[  190.218750] i2c-sh_mobile i2c-sh_mobile.0: Polling timed out

I quited the command by ^C.
When I try the same on v3.7-rc7 without CONFIG_MACH_KZM9G_REFERENCE=y "i2cdump" command does not time out and shows some data.