1. 21 7月, 2018 1 次提交
  2. 27 5月, 2018 1 次提交
  3. 09 5月, 2018 1 次提交
  4. 01 3月, 2018 1 次提交
  5. 22 9月, 2017 1 次提交
  6. 12 9月, 2017 1 次提交
  7. 03 9月, 2017 1 次提交
  8. 12 7月, 2017 1 次提交
    • M
      drivers/misc: Add basic support for ATSHA204A Crypto module · aa5eb9a3
      Marek Behún 提交于
      This module can be found on the Turris Omnia board connected
      via the I2C interface.
      
      Among some cryptographic functions, the chip has a 512 bit
      One Time Programmable memory, 88 byte configuration memory
      and 512 byte general purpose memory.
      
      The Turris Omnia stores serial number and device MAC address in
      the OTP memory.
      
      This commit adds basic support for reading the EEPROM and also
      exposes the chips Random Number Generator.
      
      The driver is based on code by
        Josh Datko, Cryptotronix, jbd@cryptotronix.com
      and also
        Tomas Hlavacek, CZ.NIC, tomas.hlavacek@nic.cz
      Signed-off-by: NTomas Hlavacek <tomas.hlavacek@nic.cz>
      Signed-off-by: NMarek Behun <marek.behun@nic.cz>
      
       create mode 100644 drivers/misc/atsha204a-i2c.c
       create mode 100644 include/atsha204a-i2c.h
      Signed-off-by: NStefan Roese <sr@denx.de>
      aa5eb9a3
  9. 07 6月, 2017 1 次提交
    • P
      rockchip: efuse: add (misc) driver for RK3399 non-secure efuse block · 49cd8e85
      Philipp Tomsich 提交于
      This adds a simple driver for reading the efuse block of the RK3399.
      It should be easy enough to add drivers for other devices (e.g. the
      RK3328, RK3368, etc.) by passing the device details via driver_data.
      
      Unlike the kernel driver (using the nvmem subsystem), we don't expose
      the efuse as multiple named cells, but rather as a linear memory that
      can be read using misc_read(...).
      
      The primary use case (as of today) is the generation of a 'serial#'
      (and a 'cpuid#') environment variable for the RK3399-Q7 (Puma)
      system-on-module.
      
      Note that this adds a debug-only (i.e. only if DEBUG is defined)
      command 'rk3399_dump_efuses' that dumps the efuse block's content.
      N.B.: The name 'rk3399_dump_efuses' was intentionally chosen to
            include a SoC-name (together with a comment in the function) to
            remind whoever adds support for additional SoCs that this
            function currently makes assumptions regarding the size of the
            fuse-box based on the RK3399. The hope is that the function is
            adjusted to reflect any changes resulting from generalising the
            driver for multiple SoCs and is then renamed.
      Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      49cd8e85
  10. 22 5月, 2017 1 次提交
  11. 28 9月, 2016 1 次提交
    • S
      misc: implement Tegra CAR core driver · bd3ee84a
      Stephen Warren 提交于
      The Tegra CAR (Clock And Reset) module provides control of most clocks
      and reset signals within the Tegra SoC. This change implements a driver
      for this module. However, since the module implements multiple kinds of
      services (clocks, resets, perhaps more), all this driver does is bind
      various sub-devices, which in turn provide the real services. This driver
      is essentially an "MFD" (Multi-Function Device) in Linux kernel speak.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      bd3ee84a
  12. 16 8月, 2016 2 次提交
    • S
      misc: Add simple driver for some Nuvoton NCT6102D devices · 4cf9e464
      Stefan Roese 提交于
      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: NStefan Roese <sr@denx.de>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      Cc: Simon Glass <sjg@chromium.org>
      4cf9e464
    • S
      misc: add Tegra BPMP driver · 73dd5c4c
      Stephen Warren 提交于
      The Tegra BPMP (Boot and Power Management Processor) is a separate
      auxiliary CPU embedded into Tegra to perform power management work, and
      controls related features such as clocks, resets, power domains, PMIC I2C
      bus, etc. This driver provides the core low-level communication path by
      which feature-specific drivers (such as clock) can make requests to the
      BPMP. This driver is similar to an MFD driver in the Linux kernel. It is
      unconditionally selected by CONFIG_TEGRA186 since virtually any Tegra186
      build of U-Boot will need the feature.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      73dd5c4c
  13. 12 8月, 2016 1 次提交
  14. 22 7月, 2016 1 次提交
  15. 27 5月, 2016 1 次提交
    • S
      Rename reset to sysreset · 11636258
      Stephen Warren 提交于
      The current reset API implements a method to reset the entire system.
      In the near future, I'd like to introduce code that implements the device
      tree reset bindings; i.e. the equivalent of the Linux kernel's reset API.
      This controls resets to individual HW blocks or external chips with reset
      signals. It doesn't make sense to merge the two APIs into one since they
      have different semantic purposes. Resolve the naming conflict by renaming
      the existing reset API to sysreset instead, so the new reset API can be
      called just reset.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      11636258
  16. 23 5月, 2016 2 次提交
  17. 28 1月, 2016 1 次提交
  18. 22 1月, 2016 1 次提交
  19. 30 10月, 2015 1 次提交
  20. 23 10月, 2015 2 次提交
  21. 12 9月, 2015 1 次提交
  22. 13 8月, 2015 1 次提交
  23. 22 7月, 2015 1 次提交
    • S
      dm: Add a system reset uclass · f9917454
      Simon Glass 提交于
      It is common for system reset to be available at multiple levels in modern
      hardware. For example, an SoC may provide a reset option, and a board may
      provide its own reset for reasons of security or thoroughness. It is useful
      to be able to model this hardware without hard-coding the behaviour in the
      SoC or board. Also there is a distinction sometimes between resetting just
      the CPU (leaving GPIO state alone) and resetting all the PMICs, just cutting
      power.
      
      To achieve this, add a simple system reset uclass. It allows multiple devices
      to provide reset functionality and provides a way to walk through them,
      requesting a particular reset type until is it provided.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      f9917454
  24. 09 5月, 2015 1 次提交
  25. 19 4月, 2015 2 次提交
  26. 06 3月, 2015 1 次提交
  27. 19 2月, 2015 1 次提交
  28. 13 2月, 2015 1 次提交
  29. 25 9月, 2014 1 次提交
  30. 30 7月, 2014 1 次提交
    • M
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada 提交于
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      dd84058d