1. 22 Aug, 2016 5 commits
  2. 20 Aug, 2016 2 commits
  3. 17 Aug, 2016 4 commits
  4. 16 Aug, 2016 5 commits
    • Stefan Roese's avatar
      i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail) · ca6c5e03
      Stefan Roese authored
      This patch adds support for the SMBus block read/write functionality.
      Other protocols like the SMBus quick command need to get added
      if this is needed.
      This patch also removed the SMBus related defines from the Ivybridge
      pch.h header. As they are integrated in this driver and should be
      used from here. This change is added in this patch to avoid compile
      breakage to keep the source git bisectable.
      Tested on a congatec BayTrail board to configure the SMSC2513 USB
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: George McCollister <george.mccollister@gmail.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
    • Stefan Roese's avatar
      misc: Add simple driver for some Nuvoton NCT6102D devices · 4cf9e464
      Stefan Roese authored
      This simple driver provides some functions to control some of the
      integrated devices. The watchdog is enabled per default. This driver
      adds a function to disable the watchdog. Also the internal legacy
      UART (io address 0x3f8/0x2f8) is enabled per default.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Cc: Simon Glass <sjg@chromium.org>
    • Jaehoon Chung's avatar
      mmc: mmc_legacy: fix the compiler error with disabled CONFIG_DM_MMC_OPS · 177381a9
      Jaehoon Chung authored
      To prevent the compiler error, split the checking condition whether
      cfg->ops is NULL or not.
      It's more clearly, because it's not included in mmc_config structure
      when CONFIG_DM_MMC_OPS is disabled.
      drivers/mmc/mmc_legacy.c: In function ‘mmc_create’:
      drivers/mmc/mmc_legacy.c:118:31: error: ‘const struct mmc_config’ has no member named ‘ops’
      drivers/mmc/mmc_legacy.c:118:58: error: ‘const struct mmc_config’ has no member named ‘ops’
      make[1]: *** [drivers/mmc/mmc_legacy.o] Error 1
      Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
    • Yangbo Lu's avatar
      mmc: send CMD0 before CMD1 for some MMC cards · d188b113
      Yangbo Lu authored
      When the MMC framework was added in u-boot, the mmc_go_idle was
      added before mmc_send_op_cond_iter in function mmc_send_op_cond
      annotating that some cards seemed to need this. Actually, we still
      need to do this in function mmc_complete_op_cond for those cards.
      This has been verified on Micron MTFC4GACAECN eMMC chip.
      Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
    • Sekhar Nori's avatar
      drivers: mmc: omap_hsmmc: fix build breakage · 4de2de51
      Sekhar Nori authored
      structure member 'cd_inverted' of omap_hsmmc_data
      is available only when OMAP_HSMMC_USE_GPIO is
      When CONFIG_DM_MMC is defined, but not
      CONFIG_OMAP_GPIO, this will cause build breakage
      in omap_hsmmc driver of the sort:
        CC      drivers/mmc/omap_hsmmc.o
      ../drivers/mmc/omap_hsmmc.c: In function 'omap_hsmmc_ofdata_to_platdata':
      ../drivers/mmc/omap_hsmmc.c:1763:6: error: 'struct omap_hsmmc_data' has no member named 'cd_inverted'
        priv->cd_inverted = fdtdec_get_bool(fdt, node, "cd-inverted");
      Fix this by accessing cd_inverted only when
      OMAP_HSMMC_USE_GPIO is defined.
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Acked-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
  5. 15 Aug, 2016 24 commits