]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pinctrl: sandbox: add sandbox pinctrl driver
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 27 Aug 2015 03:44:30 +0000 (12:44 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:18 +0000 (12:19 +0200)
commitb45b3671242f5a23a8b4a2d755608f789c1bcaea
tree08fa402a192aa404577f72f32ed81e28c8675e94
parentf029fa8f4eaf0c29d4e96ffe46cb91a4892b9fe0
pinctrl: sandbox: add sandbox pinctrl driver

This driver actually does nothing but test pinctrl uclass, and
demonstrate how things work.

To try this driver, uncomment /* #define DEBUG */ in the
drivers/pinctrl/pinctrl-sandbox.c, and debug messages will be
displayed.

  DRAM:  128 MiB
  sandbox pinmux: group = 1 (serial_a), function = 1 (serial)
  Using default environment

  In:    cros-ec-keyb
  Out:   lcd
  Err:   lcd
  Net:   Net Initialization Skipped
  eth0: eth@10002000, eth1: eth@80000000, eth5: eth@90000000
  => i2c dev 0
  Setting bus to 0
  sandbox pinmux: group = 0 (i2c), function = 0 (i2c)
  sandbox pinconf: group = 0 (i2c), param = 3, arg = 1

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dts
configs/sandbox_defconfig
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-sandbox.c [new file with mode: 0644]