1. 04 9月, 2015 1 次提交
    • M
      mmc: dw_mmc: Probe the MMC from OF · 129adf5b
      Marek Vasut 提交于
      Rework the driver to probe the MMC controller from Device Tree
      and make it mandatory. There is no longer support for probing
      from the ancient qts-generated header files.
      
      This patch now also removes previous temporary workaround.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      Cc: Tom Rini <trini@konsulko.com>
      129adf5b
  2. 03 9月, 2015 10 次提交
    • S
      rockchip: Add config_distro_bootcmd support · 6460fc42
      Sjoerd Simons 提交于
      Now that MMC works in U-Boot add config distro command support to start
      Linux in a standard fashion. One oddity here is that linux fails to load
      when the fdt is relocated to above 512MB, so set fdt_high to make sure it's
      loaded below that.
      Signed-off-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk>
      Acked-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      6460fc42
    • S
      rockchip: Add basic support for jerry · e2e947ff
      Simon Glass 提交于
      This builds and displays an SPL message, but does not function beyond that.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      e2e947ff
    • S
      rockchip: Add basic support for firefly-rk3288 · 17aa548c
      Simon Glass 提交于
      The Firefly RK3288 is a suitable target board for initial mainline Rockchip
      support. It includes a good set of peripherals, a recent SoC and it is
      readily available.
      
      This adds only some basic files required to allow the baord to display a
      serial message in SPL and hang.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      17aa548c
    • S
      power: Add support for ACT8846 PMIC · d2c88f7d
      Simon Glass 提交于
      Add a driver for the ACT8846 PMIC. This supports several LDOs and BUCKs and
      is connected to the I2C bus. This driver supports using a regulator driver
      to access the regulators.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      d2c88f7d
    • S
      rockchip: Add support for the SPI image · 10b84fe1
      Simon Glass 提交于
      The Rockchip boot ROM requires a particular file format for booting from SPI.
      It consists of a 512-byte header encoded with RC4, some padding and then up
      to 32KB of executable code in 2KB blocks, separated by 2KB empty blocks.
      
      Add support to mkimage so that an SPL image (u-boot-spl-dtb.bin) can be
      converted to this format. This allows booting from SPI flash on supported
      machines.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      10b84fe1
    • S
      rockchip: Add support for the SD image · f9a3c278
      Simon Glass 提交于
      The Rockchip boot ROM requires a particular file format. It consists of
      64KB of zeroes, a 512-byte header encoded with RC4, and then some executable
      code.
      
      Add support to mkimage so that an SPL image (u-boot-spl-dtb.bin) can be
      converted to this format.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      f9a3c278
    • S
      rockchip: Add the rkimage format to mkimage · a131c1f4
      Simon Glass 提交于
      Rockchip SoCs require certain formats for code that they execute, The
      simplest format is a 4-byte header at the start of a binary file. Add
      support for this so that we can create images that the boot ROM understands.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      a131c1f4
    • S
      rockchip: Bring in RK3288 device tree file includes and bindings · 344c8376
      Simon Glass 提交于
      Bring in required device tree files from Linux. Since mainline Linux is
      somewhat behind, use the files from the Chromium tree. We can re-sync once
      further code is acccepted upstream.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      344c8376
    • S
      mmc: Support bypass mode with the get_mmc_clk() method · e3563f2e
      Simon Glass 提交于
      Some SoCs want to adjust the input clock to the DWMMC block as a way of
      controlling the MMC bus clock. Update the get_mmc_clk() method to support
      this.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NJaehoon Chung <jh80.chung@samsung.com>
      e3563f2e
    • S
      pinctrl: Add the concept of peripheral IDs · c5acf4a2
      Simon Glass 提交于
      My original pinctrl patch operating using a peripheral ID enum. This was
      shared between pinmux and clock and provides an easy way to specify a device
      that needs to be controlled, even it is does not (yet) have a driver within
      driver model.
      
      Masahiro's new simple pinctrl gets around this by providing a
      set_state_simple() pinctrl method. By passing a device to that call the
      peripheral ID becomes unnecessary. If the driver needs it, it can calculate
      it itself and use it internally.
      
      However this does not solve the problem for peripheral clocks. The 'pure'
      solution would be to pass a driver to the clock uclass also. But this
      requires that all devices should have a driver, and a struct udevide. Also
      a key optimisation of the clock uclass is allowing a peripheral clock to
      be set even when there is no device for that clock.
      
      There may be a better way to achive the same goal, but for now it seems
      expedient to add in peripheral ID to the pinctrl uclass. Two methods are
      added - one to get the peripheral ID and one to select it. The existing
      set_state_simple() is effectively the union of these.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      c5acf4a2
  3. 02 9月, 2015 29 次提交