17 Jul, 2014

6 commits

  • This commit converts the PMC support code to a platform driver. Because
    the boot process needs to call into this driver very early, also set up
    a minimal environment via an early initcall.

    Signed-off-by: Thierry Reding

    Thierry Reding
     
  • Rather than rely on explicit initialization order called from SoC setup
    code, use a plain initcall and rely on initcall ordering to take care of
    dependencies.

    This driver exposes some functionality (querying the chip ID) needed at
    very early stages of the boot process. An early initcall is good enough
    provided that some of the dependencies are deferred to later stages. To
    make sure any abuses are easily caught, output a warning message if the
    chip ID is queried while it can't be read yet.

    Signed-off-by: Thierry Reding

    Thierry Reding
     
  • Subsequent patches will move some of the initialization code from SoC
    setup code to regular initcalls. To prevent breakage on other SoCs in
    multi-platform builds, these initcalls need to check that they indeed
    run on Tegra.

    Signed-off-by: Thierry Reding

    Thierry Reding
     
  • The Tegra fuse header's dummy functions for the case where Tegra20 is
    disabled are inconsistent with the correct prototypes, and have some
    syntax errors. Fix these. While at it, fix the indentation level of
    the dummy function bodies.

    Fixes: 783c8f4c8445 ("soc/tegra: Add efuse driver for Tegra")
    Cc: Peter De Schrijver
    Signed-off-by: Stephen Warren
    Signed-off-by: Thierry Reding

    Stephen Warren
     
  • The Tegra20 fuse driver is the only user of tegra_apb_readl_using_dma().
    Therefore we can simply the code by incorporating the APB DMA handling into
    the driver directly. tegra_apb_writel_using_dma() is dropped because there
    are no users.

    Signed-off-by: Peter De Schrijver
    Signed-off-by: Stephen Warren
    Signed-off-by: Thierry Reding

    Peter De Schrijver
     
  • Implement fuse driver for Tegra20, Tegra30, Tegra114 and Tegra124. This
    replaces functionality previously provided in arch/arm/mach-tegra, which
    is removed in this patch.

    While at it, move the only user of the global tegra_revision variable
    over to tegra_sku_info.revision and export tegra_fuse_readl() to allow
    drivers to read calibration fuses.

    Signed-off-by: Peter De Schrijver
    Signed-off-by: Stephen Warren
    Signed-off-by: Thierry Reding

    Peter De Schrijver
     

27 May, 2014

1 commit


24 May, 2014

2 commits

  • The GSBI (General Serial Bus Interface) driver controls the overarching
    configuration of the shared serial bus infrastructure on APQ8064, IPQ8064, and
    earlier QCOM processors. The GSBI supports UART, I2C, SPI, and UIM
    functionality in various combinations.

    Signed-off-by: Andy Gross
    Signed-off-by: Kumar Gala

    Andy Gross
     
  • Based on earlier thread "https://lkml.org/lkml/2013/10/7/662" and
    discussion at Kernel Summit'2013, it was agreed to create
    'driver/soc' for drivers which are quite SOC specific.

    Further discussion on the subject is in response to
    the earlier version of the patch is here:
    http://lwn.net/Articles/588942/

    Cc: Greg Kroah-Hartman
    Cc: Kumar Gala
    Cc: Paul Walmsley
    Cc: Olof Johansson
    Cc: Arnd Bergmann
    Signed-off-by: Sandeep Nair
    Signed-off-by: Santosh Shilimkar
    Signed-off-by: Kumar Gala

    Santosh Shilimkar