[U-Boot] [PATCH 0/4] ARM: imx: cm_fx6: fix & clean up device model support

christopher.spinrath at rwth-aachen.de christopher.spinrath at rwth-aachen.de
Thu Nov 30 21:38:36 UTC 2017


From: Christopher Spinrath <christopher.spinrath at rwth-aachen.de>

Hi all,

The primary objective of this series is to reinstate basic USB support for
the cm_fx6 module which was effectively removed by Commit 5248930ebf48
("dm: imx: cm_fx6: Enable more driver model support").

This is achieved by synchronizing the devicetree with Linux (patch 1) and
by enabling device model support for keyboards (patch 2).

There are still some USB limitations/regressions not fixed by this series:

 - The OTG port doesn't work (the controller is enumerated but it looks
   like it is not switched to host mode).

 - I have to use a hub to connect any of my keyboards (USB 1.1 devices?)
   which is odd because there is already an internal hub.

Patches 3 & 4 remove some dead init code in the board file that is no longer
used/required now that device model support for the related devices is enabled.

The USB related init code in the board file is still required (removal of any
part of it renders USB completely unusable, the controllers are not enumerated)
-- is this expected? 

Cheers,
Christopher

Christopher Spinrath (4):
  ARM: imx: cm-fx6: reinstate USB support by syncing the devicetree with
    Linux
  ARM: imx: cm_fx6: defconfig: enable CONFIG_DM_KEYBOARD
  ARM: imx: cm_fx6: remove sata init code from board file
  ARM: imx: cm_fx6: remove esdhc init code from board file

 arch/arm/dts/imx6q-cm-fx6.dts  | 396 +++++++++++++++++++++++++++++++++++------
 board/compulab/cm_fx6/cm_fx6.c |  71 --------
 configs/cm_fx6_defconfig       |   1 +
 3 files changed, 343 insertions(+), 125 deletions(-)

-- 
2.15.0



More information about the U-Boot mailing list