05 Aug, 2015

1 commit

  • Now that the musb-new driver has a Kconfig, we can move Kconfig options to
    enable controllers to it, so that it's easier in e.g. menuconfig.

    In addition, this allows declaring support for USB_MUSB_HOST/GADGET in
    defconfigs instead of the USB_MUSB_SUNXI controller, that will get selected
    automatically when needed.

    Signed-off-by: Paul Kocialkowski

    Paul Kocialkowski
     

25 Jul, 2015

2 commits

  • When in host mode check if there is a host cable inserted into the otg
    port by checking the id pin. If there is no host cable return an error to
    make usb_lowlevel_init() exit early, rather then waiting for 1 second
    for a device which will never show up.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • With certain features being convert to DM now we want sunxi to default
    to having DM enabled for ETH/SERIAL and USB in some cases.

    Cc: Hans de Goede
    Cc: Ian Campbell
    Signed-off-by: Tom Rini
    [hdegoede@redhat.com: Also select CONFIG_USB for all sunxi builds]
    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell
    Reviewed-by: Simon Glass

    Tom Rini
     

08 Jul, 2015

1 commit


26 Jun, 2015

2 commits

  • This sets the default commands Kconfig to match
    include/config_cmd_default.h commands in the common/Kconfig and removes
    them from include/configs.

    Signed-off-by: Joe Hershberger
    [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates]
    Signed-off-by: Tom Rini

    Joe Hershberger
     
  • Some archs/boards specify their own default by pre-defining the config
    which causes the Kconfig system to mix up the order of the configs in
    the defconfigs... This will cause merge pain if allowed to proliferate.

    Remove the configs that behave this way from the archs.

    A few configs still remain, but that is because they only exist as
    defaults and do not have a proper Kconfig entry. Those appear to be:

    SPIFLASH
    DISPLAY_BOARDINFO

    Signed-off-by: Joe Hershberger
    [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates,
    drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM]
    Signed-off-by: Tom Rini

    Joe Hershberger
     

06 Jun, 2015

1 commit


01 Jun, 2015

2 commits


13 May, 2015

1 commit

  • In order to reduce merge conflicts and to maintain the simplest possible
    defconfig files, we should be using the savedefconfig feature of Kconfig
    every time a new feature is added. This keeps the defconfig settings to
    a minimum (only those things not default) and keeps them in the same
    order as the Kconfig options.

    Signed-off-by: Joe Hershberger
    Cc: Masahiro Yamada
    Acked-by: Stephen Warren
    Cc: Tom Rini

    Joe Hershberger
     

04 May, 2015

3 commits

  • This is a preparation patch for switching all sunxi boards over to using
    the driver model.

    Note that rather then defining both CONFIG_DEFAULT_DEVICE_TREE (for u-boot)
    and CONFIG_FDTFILE (for the kernel), this commit simply replaces all
    CONFIG_FDTFILE defconfig settings with CONFIG_DEFAULT_DEVICE_TREE and
    uses CONFIG_DEFAULT_DEVICE_TREE for setting the default fdtfile env value
    in sunxi-common.h .

    Signed-off-by: Hans de Goede
    Reviewed-by: Simon Glass
    Acked-by: Ian Campbell

    Hans de Goede
     
  • Move the axp-gpio code out of the drivers/power/axp*.c code, and into
    a new separate axpi-gpio driver.

    This change drops supports for the gpio3 pin on the axp209, as that requires
    special handling, and no boards are using it.

    Besides cleaning things up by moving the code to a separate driver, as
    a bonus this change also adds support for the (non vusb) gpio pins on the
    axp221 and the gpio pins on the axp152.

    The new axp-gpio driver gets its own Kconfig option, and is only enabled
    on boards which need it. Besides that it only gets enabled in the regular
    u-boot build and not for the SPL as we never need it in the SPL.

    Signed-off-by: Hans de Goede
    Reviewed-by: Simon Glass
    Acked-by: Ian Campbell

    Hans de Goede
     
  • Add a defconfig for generic 7" tablets using the Ippo q8h v1.2 pcb,
    with an A33 SoC (the pcb can take an A23 or an A33), and a 1024x600 LCD.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede