[U-Boot] Please pull u-boot-dm
Simon Glass
sjg at chromium.org
Fri Jan 30 02:16:22 CET 2015
Hi Tom,
This includes:
- Export redesign
- Uniphier and Exynos I2C driver model conversions
- Modular exponentiation framework for hardware acceleration (RSA /
verified boot)
- Proper device tree support for GPIOs in driver model
- New driver model bus features (used by I2C, SPI)
- Driver model I2C compatibility layer
- cros_ec improvements
The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf:
lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500)
are available in the git repository at:
http://git.denx.de/u-boot-dm.git
for you to fetch changes up to 85df958ce267c602a4ec5f1e41f336c5a8d3b441:
dm: cros_ec: Convert cros_ec_i2c over to driver model (2015-01-29
17:10:01 -0700)
----------------------------------------------------------------
Martin Dorwig (1):
Export redesign
Masahiro Yamada (7):
i2c: add CONFIG_DM_I2C to Kconfig
i2c: UniPhier: add driver for UniPhier i2c controller
i2c: UniPhier: add driver for UniPhier FIFO-builtin i2c controller
ARM: UniPhier: enable I2C for UniPhier SoCs
ARM: UniPhier: enable CONFIG_I2C_EEPROM
cmd_i2c: change variable type for 10bit addressing support
generic-board: show model name in board_init_f() too
Przemyslaw Marczak (11):
dm: i2c-uclass-compat: fix missed argument
arndale: config: disable max77686 support
exynos5250: config: disable max77686 driver
smdk5250: config: enable max77686 driver support
exynos4: dts: add missing i2c properties
arndale: dts: add missing i2c aliases
exynos5: pinmux: check flag for i2c config
dm: i2c: s3c24x0: adjust to dm-i2c api
odroid u3: dts: add missing i2c aliases
odroid u3: enable dm i2c support
exynos5: enable dm i2c
Ruchika Gupta (10):
rsa: Split the rsa-verify to separate the modular exponentiation
FIT: Modify option FIT_SIGNATURE in Kconfig
DM: crypto/rsa_mod_exp: Add rsa Modular Exponentiation DM driver
configs: Move CONFIG_FIT_SIGNATURE to defconfig
lib/rsa: Modify rsa to use DM driver
DM: crypto/fsl - Add Freescale rsa DM driver
lib/rsa: Add Kconfig for devices supporting RSA Modular Exponentiation
hash: Add function to find hash_algo struct with progressive hash
Use hash.c in mkimage
rsa: Use checksum algorithms from struct hash_algo
Simon Glass (53):
dm: gpio: Bring in GPIO device tree binding
dm: exynos: Bring in GPIO device tree binding
dm: tegra: Bring in GPIO device tree binding
dm: fdt: Add a function to decode phandles with arguments
dm: gpio: Add a native driver model API
dm: gpio: Add a driver GPIO translation method
dm: gpio: Add better functions to request GPIOs
dm: gpio: Mark the old GPIO API deprecated
dm: demo: Add a simple GPIO demonstration
dm: cros_ec: Remove use of fdtdec GPIO support
dm: tegra: Add a GPIO translation function
dm: exynos: Add a GPIO translation function
dm: tegra: video: Remove use of fdtdec GPIO support
dm: tegra: nand: Remove use of fdtdec GPIO support
dm: zynq: Remove inline gpio functions
dm: mmc: Remove use of fdtdec GPIO support
dm: usb: Remove use of fdtdec GPIO support
dm: spi: Remove use of fdtdec GPIO support
dm: tegra: dts: Use TEGRA_GPIO() macro for all GPIOs
dm: exynos: dts: Use GPIO bank phandles for GPIOs
dm: fdt: Remove the old GPIO functions
dm: Drop gpio.h header from fdtdec.c
dm: i2c: Rename driver model I2C functions to permit compatibility
dm: i2c: Add a compatbility layer
dm: i2c: Provide an offset length parameter where needed
dm: Don't run tests if U-Boot cannot be built
dm: core: Improve comments for uclass_first/next_device()
dm: core: Set device tree node for root device
dm: core: Tidy up error handling in device_bind()
dm: core: Allocate platform data when binding a device
dm: core: Allow parents to have platform data for their children
dm: core: Allow uclasses to specify platdata for a device's children
dm: core: Add a post_bind method for parents
dm: core: Add a function to get a device's uclass ID
dm: core: Add a flag to control sequence numbering
dm: core: Allow uclasses to specify private data for a device's children
dm: spi: Move the per-child data size to the uclass
dm: core: Allow the uclass to set up a device's child after binding
dm: sandbox: sf: Tidy up the error handling in sandbox_sf_probe()
dm: core: Allow uclass to set up a device's child before it is probed
dm: spi: Set up the spi_slave device pointer in child_pre_probe()
dm: spi: Move slave details to child platdata
dm: i2c: Move slave details to child platdata
dm: tegra: Drop unused COMPAT features for I2C, SPI
dm: exynos: Drop unused COMPAT features for SPI
dm: core: Ignore disabled devices when binding
dm: cros_ec: Don't require protocol 3 support
dm: cros_ec_spi: Remove old pre-driver-model code
dm: Update documentation for new bus features
dm: i2c: dts: Support an offset-len device tree property
dm: exynos: dts: Set the offset length for cros_ec
dm: i2c: Add two more I2C init functions to the compatibility layer
dm: cros_ec: Convert cros_ec_i2c over to driver model
Kconfig | 3 +-
Makefile | 7 +
README | 7 +-
arch/arm/cpu/armv7/exynos/pinmux.c | 27 ++-
arch/arm/cpu/tegra20-common/pmu.c | 2 +-
arch/arm/dts/exynos4.dtsi | 31 ++--
arch/arm/dts/exynos4210-origen.dts | 2 +-
arch/arm/dts/exynos4210-trats.dts | 4 +-
arch/arm/dts/exynos4210-universal_c210.dts | 12 +-
arch/arm/dts/exynos4412-odroid.dts | 9 +-
arch/arm/dts/exynos4412-trats2.dts | 6 +-
arch/arm/dts/exynos5.dtsi | 4 +-
arch/arm/dts/exynos5250-arndale.dts | 8 +
arch/arm/dts/exynos5250-smdk5250.dts | 2 +-
arch/arm/dts/exynos5250-snow.dts | 11 +-
arch/arm/dts/exynos5420-peach-pit.dts | 8 +-
arch/arm/dts/exynos5422-odroidxu3.dts | 2 +-
arch/arm/dts/exynos5800-peach-pi.dts | 10 +-
arch/arm/dts/tegra114-dalmore.dts | 5 +-
arch/arm/dts/tegra124-jetson-tk1.dts | 9 +-
arch/arm/dts/tegra124-venice2.dts | 9 +-
arch/arm/dts/tegra20-colibri_t20_iris.dts | 10 +-
arch/arm/dts/tegra20-harmony.dts | 28 ++--
arch/arm/dts/tegra20-medcom-wide.dts | 9 +-
arch/arm/dts/tegra20-paz00.dts | 18 +-
arch/arm/dts/tegra20-seaboard.dts | 22 ++-
arch/arm/dts/tegra20-tamonten.dtsi | 9 +-
arch/arm/dts/tegra20-tec.dts | 9 +-
arch/arm/dts/tegra20-trimslice.dts | 8 +-
arch/arm/dts/tegra20-ventana.dts | 18 +-
arch/arm/dts/tegra20-whistler.dts | 2 +-
arch/arm/dts/tegra30-apalis.dts | 10 +-
arch/arm/dts/tegra30-beaver.dts | 10 +-
arch/arm/dts/tegra30-cardhu.dts | 8 +-
arch/arm/dts/tegra30-colibri.dts | 6 +-
arch/arm/dts/tegra30-tamonten.dtsi | 4 +-
arch/arm/include/asm/arch-exynos/pinmux.h | 3 +
arch/arm/include/asm/arch-pantheon/gpio.h | 0
arch/arm/include/asm/arch-tegra/tegra_mmc.h | 7 +-
arch/arm/include/asm/arch-tegra20/display.h | 9 +-
arch/arm/include/asm/arch-zynq/gpio.h | 15 --
arch/blackfin/cpu/cpu.c | 3 +-
arch/sandbox/dts/sandbox.dts | 11 +-
board/BuS/eb_cpux9k2/cpux9k2.c | 2 +-
board/avionic-design/common/tamonten-ng.c | 4 +-
board/nvidia/cardhu/cardhu.c | 12 +-
board/nvidia/dalmore/dalmore.c | 10 +-
board/nvidia/whistler/whistler.c | 14 +-
board/samsung/odroid/odroid.c | 14 +-
board/toradex/apalis_t30/apalis_t30.c | 8 +-
common/Makefile | 2 +
common/board_f.c | 2 +-
common/board_info.c | 35 ++++
common/board_r.c | 18 +-
common/cmd_demo.c | 29 +++-
common/cmd_i2c.c | 52 +++---
common/cmd_load.c | 2 +-
common/console.c | 20 +--
common/exports.c | 28 +---
common/hash.c | 78 ++++++---
common/image-sig.c | 6 +-
configs/am335x_boneblack_vboot_defconfig | 4 +
configs/ids8313_defconfig | 3 +
configs/ph1_ld4_defconfig | 2 +
configs/ph1_pro4_defconfig | 2 +
configs/ph1_sld8_defconfig | 2 +
configs/sandbox_defconfig | 4 +
configs/zynq_microzed_defconfig | 4 +
configs/zynq_zc70x_defconfig | 4 +
configs/zynq_zc770_xm010_defconfig | 4 +
configs/zynq_zc770_xm012_defconfig | 4 +
configs/zynq_zc770_xm013_defconfig | 4 +
configs/zynq_zed_defconfig | 4 +
configs/zynq_zybo_defconfig | 4 +
doc/README.standalone | 41 +++--
doc/device-tree-bindings/gpio/gpio-samsung.txt | 41 +++++
doc/device-tree-bindings/gpio/gpio.txt | 211
+++++++++++++++++++++++
doc/device-tree-bindings/gpio/nvidia,tegra20-gpio.txt | 40 +++++
doc/device-tree-bindings/i2c/i2c.txt | 28 ++++
doc/driver-model/README.txt | 91 +++++-----
doc/driver-model/spi-howto.txt | 40 ++++-
drivers/core/device-remove.c | 16 +-
drivers/core/device.c | 121 ++++++++++----
drivers/core/root.c | 8 +
drivers/core/uclass.c | 34 +++-
drivers/crypto/Kconfig | 1 +
drivers/crypto/Makefile | 1 +
drivers/crypto/fsl/Kconfig | 6 +
drivers/crypto/fsl/Makefile | 1 +
drivers/crypto/fsl/fsl_rsa.c | 60 +++++++
drivers/crypto/fsl/jobdesc.c | 28 ++++
drivers/crypto/fsl/jobdesc.h | 5 +
drivers/crypto/fsl/rsa_caam.h | 28 ++++
drivers/crypto/rsa_mod_exp/Kconfig | 5 +
drivers/crypto/rsa_mod_exp/Makefile | 7 +
drivers/crypto/rsa_mod_exp/mod_exp_sw.c | 39 +++++
drivers/crypto/rsa_mod_exp/mod_exp_uclass.c | 31 ++++
drivers/demo/demo-shape.c | 71 ++++++++
drivers/demo/demo-uclass.c | 20 +++
drivers/gpio/gpio-uclass.c | 396
++++++++++++++++++++++++++++++++++++--------
drivers/gpio/s5p_gpio.c | 13 +-
drivers/gpio/sandbox.c | 20 +++
drivers/gpio/tegra_gpio.c | 18 ++
drivers/i2c/Kconfig | 22 +++
drivers/i2c/Makefile | 3 +
drivers/i2c/i2c-uclass-compat.c | 108 ++++++++++++
drivers/i2c/i2c-uclass.c | 81 +++++----
drivers/i2c/i2c-uniphier-f.c | 367
++++++++++++++++++++++++++++++++++++++++
drivers/i2c/i2c-uniphier.c | 227
+++++++++++++++++++++++++
drivers/i2c/s3c24x0_i2c.c | 237
+++++++++++++++++++++-----
drivers/i2c/sandbox_i2c.c | 30 +---
drivers/i2c/tegra_i2c.c | 18 --
drivers/misc/cros_ec.c | 34 ++--
drivers/misc/cros_ec_i2c.c | 82 ++++-----
drivers/misc/cros_ec_spi.c | 70 +-------
drivers/mmc/s5p_sdhci.c | 20 +--
drivers/mmc/tegra_mmc.c | 36 ++--
drivers/mtd/nand/tegra_nand.c | 9 +-
drivers/mtd/spi/sandbox.c | 12 +-
drivers/mtd/spi/sf_probe.c | 3 +-
drivers/power/as3722.c | 6 +-
drivers/power/tps6586x.c | 4 +-
drivers/serial/serial-uclass.c | 1 +
drivers/spi/cadence_qspi.c | 1 -
drivers/spi/designware_spi.c | 1 -
drivers/spi/exynos_spi.c | 1 -
drivers/spi/sandbox_spi.c | 1 -
drivers/spi/soft_spi.c | 72 ++++----
drivers/spi/spi-uclass.c | 95 +++++++----
drivers/spi/tegra114_spi.c | 1 -
drivers/spi/tegra20_sflash.c | 1 -
drivers/spi/tegra20_slink.c | 1 -
drivers/usb/host/ehci-exynos.c | 10 +-
drivers/usb/host/ehci-tegra.c | 38 ++---
drivers/usb/host/xhci-exynos5.c | 10 +-
drivers/video/tegra.c | 54 +++---
examples/standalone/stubs.c | 64 +++----
include/_exports.h | 99 +++++++----
include/asm-generic/global_data.h | 2 +-
include/asm-generic/gpio.h | 265
+++++++++++++++++++++++++++++
include/common.h | 13 +-
include/configs/am335x_evm.h | 6 +-
include/configs/arndale.h | 2 -
include/configs/exynos5-common.h | 7 +-
include/configs/exynos5250-common.h | 3 -
include/configs/ids8313.h | 3 -
include/configs/odroid.h | 5 +-
include/configs/sandbox.h | 4 -
include/configs/smdk5250.h | 2 +
include/configs/snow.h | 1 +
include/configs/ti_am335x_common.h | 2 +
include/configs/uniphier.h | 3 +
include/configs/zynq-common.h | 6 -
include/cros_ec.h | 3 +-
include/dm-demo.h | 4 +
include/dm/device.h | 29 ++++
include/dm/test.h | 3 +
include/dm/uclass-id.h | 1 +
include/dm/uclass-internal.h | 11 ++
include/dm/uclass.h | 21 +++
include/exports.h | 22 +--
include/fdtdec.h | 123 +++++---------
include/hash.h | 38 +++--
include/i2c.h | 105 ++++++++++--
include/image.h | 5 +-
include/sdhci.h | 6 +-
include/spi.h | 42 +++--
include/u-boot/rsa-checksum.h | 17 +-
include/u-boot/rsa-mod-exp.h | 75 +++++++++
lib/Kconfig | 2 +
lib/fdtdec.c | 202
++++++++++++----------
lib/rsa/Kconfig | 27 +++
lib/rsa/Makefile | 2 +-
lib/rsa/rsa-checksum.c | 50 +++---
lib/rsa/rsa-mod-exp.c | 303
+++++++++++++++++++++++++++++++++
lib/rsa/rsa-verify.c | 348
+++++++++-----------------------------
test/dm/bus.c | 250
+++++++++++++++++++++++++++-
test/dm/core.c | 11 ++
test/dm/gpio.c | 69 +++++++-
test/dm/i2c.c | 70 ++++----
test/dm/spi.c | 6 +-
test/dm/test-dm.sh | 9 +-
test/dm/test-fdt.c | 20 ++-
test/dm/test.dts | 27 ++-
tools/Makefile | 4 +-
185 files changed, 4637 insertions(+), 1610 deletions(-)
create mode 100644 arch/arm/include/asm/arch-pantheon/gpio.h
create mode 100644 common/board_info.c
create mode 100644 doc/device-tree-bindings/gpio/gpio-samsung.txt
create mode 100644 doc/device-tree-bindings/gpio/gpio.txt
create mode 100644 doc/device-tree-bindings/gpio/nvidia,tegra20-gpio.txt
create mode 100644 doc/device-tree-bindings/i2c/i2c.txt
create mode 100644 drivers/crypto/fsl/Kconfig
create mode 100644 drivers/crypto/fsl/fsl_rsa.c
create mode 100644 drivers/crypto/fsl/rsa_caam.h
create mode 100644 drivers/crypto/rsa_mod_exp/Kconfig
create mode 100644 drivers/crypto/rsa_mod_exp/Makefile
create mode 100644 drivers/crypto/rsa_mod_exp/mod_exp_sw.c
create mode 100644 drivers/crypto/rsa_mod_exp/mod_exp_uclass.c
create mode 100644 drivers/i2c/i2c-uclass-compat.c
create mode 100644 drivers/i2c/i2c-uniphier-f.c
create mode 100644 drivers/i2c/i2c-uniphier.c
create mode 100644 include/u-boot/rsa-mod-exp.h
create mode 100644 lib/rsa/Kconfig
create mode 100644 lib/rsa/rsa-mod-exp.c
Regards,
Simon
More information about the U-Boot
mailing list