26 May, 2015

1 commit


25 May, 2015

2 commits

  • Prior to this commit, ZC702 and ZC706 shared the same configuration
    and were built as follows:

    ZC702: make zynq_zc70x_defconfig && make
    ZC706: make zynq_zc70x_defconfig && make DEVICE_TREE=zynq-zc706

    This commit introduces separate configuration for them, which makes
    the next commit much easier.

    Going forward, the recommended build commands are:

    ZC702: make zynq_zc702_defconfig && make
    ZC706: make zynq_zc706_defconfig && make

    Although the old work flow is still supported, CONFIG_TARGET_ZC70X
    has been marked as deprecated. If used, the warning message is
    shown to prompt users to switch to the new scheme.

    Signed-off-by: Masahiro Yamada
    Acked-by: Joe Hershberger
    Signed-off-by: Michal Simek

    Masahiro Yamada
     
  • This commit allows users to enable/disable the Freescale NFC
    controller found in systems like Vybrid (VF610), MPC5125, MCF54418
    or Kinetis K70 via Kconfig with more detailed help docs.

    Signed-off-by: Stefan Agner
    Acked-by: Stefano Babic
    [scottwood: updated vf610twr_nand_defconfig]
    Signed-off-by: Scott Wood

    Stefan Agner
     

21 May, 2015

2 commits


20 May, 2015

2 commits


16 May, 2015

2 commits


15 May, 2015

7 commits

  • 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: Przemyslaw Marczak
    Acked-by: Simon Glass
    Tested on sandbox:
    Tested-by: Simon Glass

    Przemyslaw Marczak
     
  • This commit cleanups the PMIC framework documentation.

    Signed-off-by: Przemyslaw Marczak
    Acked-by: Simon Glass
    Tested on sandbox:
    Tested-by: Simon Glass

    Przemyslaw Marczak
     
  • Since this framework is still under the construction, the main
    documentation is kept in the header files.

    Signed-off-by: Przemyslaw Marczak
    Acked-by: Simon Glass

    Przemyslaw Marczak
     
  • 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: Przemyslaw Marczak
    Acked-by: Simon Glass

    Przemyslaw Marczak
     
  • 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: Przemyslaw Marczak
    Acked-by: Simon Glass

    Przemyslaw Marczak
     
  • 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: Przemyslaw Marczak
    Acked-by: Simon Glass

    Przemyslaw Marczak
     
  • 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

    Changes:
    - new uclass-id: UCLASS_REGULATOR
    - new config: CONFIG_DM_REGULATOR

    Signed-off-by: Przemyslaw Marczak
    Acked-by: Simon Glass

    Przemyslaw Marczak
     

14 May, 2015

3 commits


13 May, 2015

1 commit

  • Remove board support for afeb9260, tny_a9260, and sbc35_a9g20.

    They have not been converted into Generic Board yet.
    See doc/README.generic-board for details.

    Signed-off-by: Masahiro Yamada
    Cc: Sergey Lapin
    Cc: Albin Tonnerre
    Cc: Andreas Bießmann

    Masahiro Yamada
     

10 May, 2015

1 commit


08 May, 2015

1 commit


07 May, 2015

1 commit


06 May, 2015

1 commit


05 May, 2015

1 commit


30 Apr, 2015

2 commits


23 Apr, 2015

1 commit


21 Apr, 2015

1 commit


19 Apr, 2015

7 commits


17 Apr, 2015

2 commits

  • Add a uclass for PCI controllers and a generic one for PCI devices. Adjust
    the 'pci' command and the existing PCI support to work with this new uclass.
    Keep most of the compatibility code in a separate file so that it can be
    removed one day.

    TODO: Add more header file comments to the new parts of pci.h

    Signed-off-by: Simon Glass

    Simon Glass
     
  • At present a VGA console assumes a keyboard unless a CONFIG option is set.
    This difference can be dealt with by a device tree option, allowing boards
    that are otherwise the same to use the same configuration.

    Signed-off-by: Simon Glass

    Simon Glass
     

14 Apr, 2015

1 commit

  • Implement an alias name check for devices where GPT limitations prevent
    user-friendly partition names such as "boot", "system" and "cache". Or,
    where the actual partition name doesn't match a standard partition name
    used commonly with fastboot.

    To set an alias, add an environment setting as follows:
    fastboot_partition_alias_=

    Example: fastboot_partition_alias_boot=LNX

    Signed-off-by: Michael Scott
    Acked-by: Steve Rae
    Cc: Steve Rae
    Cc: Lukasz Majewski

    Michael Scott
     

13 Apr, 2015

1 commit