Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 25, 2015
  1. @sumananna @nmenon

    [CPUINFO] Correct I2C bus number to fix cpuinfo for OMAP4/5

    sumananna authored nmenon committed
    The cpuinfo option prints out the PMIC and AudioIC device
    information alongside the SoC information. This data is
    gathered by querying the devices using appropriate i2c
    commands. The I2C bus number being used currently matches
    the bus numbers from the legacy non-DT boots, and does not
    match the DT alias numbers from the current DT-based boots.
    The PMIC and AudioIC info is incorrect as a result, and it
    also causes additional delays due to i2c timeouts on every
    omapconf command (especially on OMAP5).
    
    Fix this I2C bus number so that the cpuinfo information is
    printed properly for OMAP4 and OMAP5 SoCs. The behavior on
    other SoCs is same as before this patch.
    
    Signed-off-by: Suman Anna <s-anna@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Feb 3, 2015
  1. @nmenon

    [PMIC][TPS659038]: Introduce support to detect TPS65917 PMIC for DRA72x

    Subramaniam Chanderashekarapuram authored nmenon committed
    The TPS65917 PMIC is like a scaled down version of the TPS659038 used
    with DRA72 processor family EVMs.
    
    Add support for TPS65917 by defining a the necessary register
    entries within TPS659038. The voltage regulator mappings are as per
    DRA72x-evm.
    
    Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @nmenon

    [PMIC][TPS659038]: Fix usage of smp_id in debug print

    Subramaniam Chanderashekarapuram authored nmenon committed
    smps_id is not a valid variable in tps659038_vsel_to_uv. This caused
    a build error when debug flag TPS659038_DEBUG  was enabled. Hence
    fixing the dprintf call.
    
    This fixes the compile error seen when building with debug flag enabled
    
    Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Aug 8, 2014
  1. @nmenon

    [PMIC] Support AM335X voltage domain to TPS65217X SMPS mapping

    Gilberto Rodriguez authored nmenon committed
    PMIC is now able to convert AM335X voltage domains to PMIC SMPS IDs
    and vice versa.
    
    NOTE: This mapping is as per BeagleBone Black platform, which happens to
    be one of the most prevelant AM335X public platform.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @nmenon

    [TPS65217X][PMIC] PMIC detection and support for TPS65217X

    Gilberto Rodriguez authored nmenon committed
    PMIC can detect TPS65217X and supports function calls to TPS65217X
    voltage get functions. Updated chips_info_show pmic printf for the
    TPS65217X. NOTE: linking this with AM335X voltage domain happens in a
    follow on patch.
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
  3. @nmenon

    [TPS65217X][PMIC] Add basic support for TPS65217X

    Gilberto Rodriguez authored nmenon committed
    Add functions and definitions to support TPS65217X (PMIC for
    beaglebone black).
    
    Signed-off-by: Gilberto Rodriguez <gilrod@ti.com>
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Jun 26, 2014
  1. @nmenon

    [PMIC][TPS659038] Fix ES1.1 ID detection

    Shilpa Byrichetty authored nmenon committed
    It seems that DRA7-EVMs with latest ES1.1 PMICs have a different IDCODE.
    These PMIC variants are populated on Rev G+platforms which have ES1.1 of
    DRA75x populated.
    
    So, fix it in presence detection.
    
    Signed-off-by: Shilpa Byrichetty <shilpab@spectrumdigital.com>
    [nm@ti.com: convert original change to a proper patch]
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on May 19, 2014
  1. @nmenon

    [DRA7] rename enum to 75X

    nmenon authored
    With DRA72X CPU support, it is confusing to retain DRA_7XX enum to
    indicate the 75x SoC. So, rename it to indicate 75X SoC.
    
    Signed-off-by: Nishanth Menon <nm@ti.com>
    Reviewed-by: Misael Lopez Cruz <misael.lopez@ti.com>
Commits on Aug 16, 2013
  1. @jinzheng @nmenon

    [DRA7][VOLTAGE] omapconf set voltage <rail> <voltage>

    jinzheng authored nmenon committed
    Support Voltage rail configuration on DRA7 (EVM reference).
    
    It set 'rail' voltage to 'voltage'.
    Supported 'rail': mpu, core, iva, gpu, dspeve.
    'voltage' is in unit Volts.
    (ex: omapconf set volt mpu 1.15)
    
    Acked-by: Jin Zheng <j-zheng@ti.com>
    Signed-off-by: Jin Zheng <j-zheng@ti.com>
  2. @jinzheng @nmenon

    [DRA7] Add support for voltage domains

    jinzheng authored nmenon committed
    Added initial support for DRA7xx voltage domains.
    
    Acked-by: Nishanth Menon <nm@ti.com>
    Signed-off-by: Jin Zheng <j-zheng@ti.com>
  3. @jinzheng @nmenon

    [PMIC][DRA7] PMIC detection for TPS659038

    jinzheng authored nmenon committed
    Provide TPS659038 chip and revision detection as well as some of
    other important data detection for this PMIC, such as SMPS information.
    
    Acked-by: Nishanth Menon <nm@ti.com>
    Signed-off-by: Jin Zheng <j-zheng@ti.com>
  4. @jinzheng @nmenon

    [PMIC] use array index matching for PMIC matches

    jinzheng authored nmenon committed
    In original code, the pmic_names and smps_names arrays
    are initialized base upon the enum values in pmic_id and
    pmic_smps_id.
    
    As we keep adding new PMIC and voltage domains, it'll increase
    the mismatching chances. Therefore, it'll be handy if we initialize
    the arrays by matching the values exactly to its corresponding index.
    
    Acked-by: Nishanth Menon <nm@ti.com>
    Signed-off-by: Jin Zheng <j-zheng@ti.com>
Commits on May 15, 2013
  1. @nmenon

    pmic: twl603x: use TWL6030_I2C_BUS macro for i2c-bus

    nmenon authored
    hardcoding the i2cbus address will cause issues when i2c-bus
    changes
    
    Signed-off-by: Nishanth Menon <nm@ti.com>
  2. @nmenon

    pmic: tps62361: handle PFM flag sanely

    nmenon authored
    Mask out the PFM flag so that we dont get weird voltage
    results
    
    Signed-off-by: Nishanth Menon <nm@ti.com>
Commits on Feb 5, 2013
  1. [KINDLE] remove twl603x_smps_offset_get() VDD_MPU error message

    Patrick Titiano authored
    Remove twl603x_smps_offset_get() error message.
    Kindle Fire products do use TWL6032 power IC.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Commits on Oct 24, 2012
  1. [PMIC] add function to round voltage

    Patrick Titiano authored
    Add function to convert RAW voltage (e.g from Data Manual) into stepped SMPS voltage.
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Commits on Sep 21, 2012
  1. initial public release v1.50

    Patrick Titiano authored
    initial public release v1.50
    
    Signed-off-by: Patrick Titiano <p-titiano@ti.com>
Something went wrong with that request. Please try again.