1. 03 Sep, 2015 1 commit
  2. 14 Aug, 2015 1 commit
  3. 12 Aug, 2015 1 commit
  4. 06 Aug, 2015 2 commits
    • Simon Glass's avatar
      dm: video: Add support for the Parade PS8622/625 bridge · bcd5dfff
      Simon Glass authored
      This chip provides an eDP to LVDS bridge which is useful for SoCs that don't
      support LVDS displays (or it would waste scarce pins). The setup is included
      in the device tree.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    • Simon Glass's avatar
      dm: i2c: Add support for multiplexed I2C buses · 3d1957f0
      Simon Glass authored
      Add a new I2C_MUX uclass. Devices in this class can multiplex between
      several I2C buses, selecting them one at a time for use by the system.
      The multiplexing mechanism is left to the driver to decide - it may be
      controlled by GPIOs, for example.
      The uclass supports only two methods: select() and deselect().
      The current mux state is expected to be stored in the mux itself since
      it is the only thing that knows how to make things work. The mux can
      record the current state and then avoid switching unless it is necessary.
      So select() can be skipped if the mux is already in the correct state.
      Also deselect() can be made a nop if required.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  5. 05 Aug, 2015 1 commit
  6. 28 Jul, 2015 1 commit
  7. 21 Jul, 2015 2 commits
  8. 03 Jul, 2015 1 commit
  9. 01 Jul, 2015 2 commits
  10. 05 Jun, 2015 1 commit
    • Paul Kocialkowski's avatar
      fdt: Pass the device serial number through devicetree · 10be5b5d
      Paul Kocialkowski authored
      Before device-tree, the device serial number used to be passed to the kernel
      using ATAGs (on ARM). This is now deprecated and all the handover to the kernel
      should now be done using device-tree. Thus, this passes the serial-number
      property to the kernel using the serial-number property of the root node, as
      expected by the kernel.
      The serial number is a string that somewhat represents the device's serial
      number. It might come from some form of storage (e.g. an eeprom) and be
      programmed at factory-time by the manufacturer or come from identification
      bits available in e.g. the SoC.
      Signed-off-by: default avatarPaul Kocialkowski <contact@paulk.fr>
      Reviewed-by: default avatarSimon Glass <sgj@chromium.org>
  11. 04 Jun, 2015 2 commits
  12. 15 May, 2015 5 commits
    • Przemyslaw Marczak's avatar
      sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator · 5d387d0d
      Przemyslaw Marczak authored
      This commit adds emulation of sandbox PMIC device, which includes:
      - PMIC I2C emulation driver
      - PMIC I/O driver (UCLASS_PMIC)
      - PMIC regulator driver (UCLASS_REGULATOR)
      The sandbox PMIC has 12 significant registers and 4 as padding to 16 bytes,
      which allows using 'i2c md' command with the default count (16).
      The sandbox PMIC provides regulators:
      - 2x BUCK
      - 2x LDO
      Each, with adjustable output:
      - Enable state
      - Voltage
      - Current limit (LDO1/BUCK1 only)
      - Operation mode (different for BUCK and LDO)
      Each attribute has it's own register, beside the enable state, which depends
      on operation mode.
      The header file: sandbox_pmic.h includes PMIC's default register values,
      which are set on i2c pmic emul driver's probe() method.
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Tested on sandbox:
      Tested-by: default avatarSimon Glass <sjg@chromium.org>
    • Przemyslaw Marczak's avatar
      dm: regulator: add fixed voltage regulator driver · 9923a8b4
      Przemyslaw Marczak authored
      This driver implements regulator operations for fixed Voltage/Current
      value regulators. beside the standard regulator constraints, which are
      put into the uclass platform data, a typical fixed regulator node provides
      few additional properties like:
      - gpio
      - gpio-open-drain
      - enable-active-high
      - startup-delay-us
      The only 'gpio' is used by this driver and is kept in structure of type
      'fixed_regulator_platdata', as a device platform data (dev->platdata).
      The driver implements:
      - get_value
      - get_current
      - get_enable
      - set_enable
      The regulator calls and commands can be used for fixed-regulator devices,
      and the proper error will be returned for prohibited.
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
    • Przemyslaw Marczak's avatar
      dm: regulator: add max77686 regulator driver · 1757df46
      Przemyslaw Marczak authored
      This commit adds support to MAX77686 regulator driver,
      based on a driver model regulator's API. It implements
      almost all regulator operations, beside those for setting
      and geting the Current value.
      For proper bind and operation it requires the MAX77686 PMIC driver.
      New file: drivers/power/regulator/max77686.c
      New config: CONFIG_DM_REGULATOR_MAX77686
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
    • Przemyslaw Marczak's avatar
      dm: pmic: add max77686 pmic driver · 52a3de5e
      Przemyslaw Marczak authored
      This is the implementation of driver model PMIC driver.
      The max77686 PMIC driver implements read/write operations and driver
      bind method - to bind its childs.
      This driver will try to bind the regulator devices by using it's child
      info array with regulator prefixes and driver names. This should succeed
      when compatible regulator driver is compiled. If no regulator driver found,
      then the pmic can still provide read/write operations, and can be used with
      PMIC function calls.
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
    • Przemyslaw Marczak's avatar
      dm: regulator: add implementation of driver model regulator uclass · af41e8db
      Przemyslaw Marczak authored
      This commit introduces the implementation of dm regulator API.
      Device tree support allows for auto binding. And by the basic
      uclass operations, it allows to driving the devices in a common
      way. For detailed informations, please look into the header file.
      Core files:
      - drivers/power/regulator-uclass.c - provides regulator common functions api
      - include/power/regulator.h - define all structures required by the regulator
      - new uclass-id: UCLASS_REGULATOR
      - new config: CONFIG_DM_REGULATOR
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
  13. 13 May, 2015 2 commits
  14. 10 May, 2015 1 commit
  15. 18 Apr, 2015 2 commits
  16. 06 Apr, 2015 1 commit
  17. 19 Feb, 2015 1 commit
  18. 13 Feb, 2015 1 commit
  19. 30 Jan, 2015 4 commits
  20. 06 Jan, 2015 1 commit
    • Sjoerd Simons's avatar
      cros-ec-keyboard: Synchronize DT binding from linux · 93322749
      Sjoerd Simons authored
      The ChromeOS EC keyboard is used by various different chromebooks. Peach
      pi being the third board in the u-boot tree to use it (snow and peach
      pit the other two). Rather then embedding the same big DT node in the
      peach-pi DT again, copy the dtsi snippit & bindings documentation from
      linux and include it in all 3 boards.
      This slightly changes the dt bindings in u-boot:
        * google,key-rows becomes keypad,num-rows
        * google,key-colums becomes keypad,num-colums
        * google,repeat-delay-ms and google,repeat-rate-ms are no longer used
          and replaced by hardcoded values (similar to tegra kbc)
      Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Tested-by: default avatarSimon Glass <sjg@chromium.org>
  21. 25 Nov, 2014 3 commits
  22. 21 Nov, 2014 1 commit
  23. 22 Oct, 2014 2 commits
  24. 10 Sep, 2014 1 commit