• Nishanth Menon's avatar
    ARM: dts: omap5-uevm: fix regulator configurations mandatory for SoC · e18235a6
    Nishanth Menon authored
    commit e00c27ef
    (ARM: dts: OMAP5: Add Palmas MFD node and regulator nodes)
    introduced regulator entries for OMAP5uEVM.
    
    However, The regulator information is based on an older temporary
    pre-production board variant and does not reflect production board
    750-2628-XXX boards.
    
    The following fixes are hence mandatory to ensure right voltage is
    supplied to key OMAP5 SoC voltage rails:
    
    - LDO1 supplies VDDAPHY_CAM which is OMAP5's vdda_csiporta/b/c. This
    can only be supplied at 1.5V or 1.8V and we currently supply 2.8V.
    
    To prevent any potential device damage risk, use the specified
    1.5V-1.8V supply.
    
    Remove 'always-on' and 'boot-on' settings here as it is
    a 'on need' supply to SoC IP and is not enabled by PMIC by
    default at boot.
    
    - LDO3 supplies Low Latency Interface(LLI) hardware module which is a
    special hardware to communicate with Modem. However since uEVM is
    not setup by default for this communication, this should be disabled
    by default.
    
    Further, vdda_lli is supposed to be 1.5V and not 3V.
    
    - LDO4 supplies VDDAPHY_DISP which is vdda_dsiporta/c/vdda_hdmi
    
    This can only be supplied at 1.5V or 1.8V and we currently
    supply 2.2V.
    
    To prevent any potential device damage risk, use the specified
    1.5V-1.8V supply.
    
    Remove 'always-on' and 'boot-on' settings here as it is a 'on need'
    supply to SoC IP and is not enabled by PMIC by default at boot.
    
    - LDO6 supplies the board specified VDDS_1V2_WKUP supply going to
    ldo_emu_wkup/vdds_hsic. To stay within the SoC specification supply
    1.2V instead of 1.5V.
    
    - LDO7 supplies VDD_VPP which is vpp1. This is currently configured for
    1.5V which as per data manual "A pulse width of 1000 ns and an amplitude
    of 2V is required to program each eFuse bit. Otherwise, VPP1 must not
    be supplied".
    
    So, fix the voltage to 2V. and disable the supply since we have no plans
    of programming efuse bits - it can only be done once - in factory.
    
    Further it is not enabled by default by PMIC so, 'boot-on' must be
    removed, and the 'always-on' needs to be removed to achieve pulsing
    if efuse needs to be programmed.
    
    - LDO9 supplies the board specified vdds_sdcard supply going within SoC
    specification of 1.8V or 3.0V. Further the supply is controlled by
    switch enabled by REGEN3. So, introduce REGEN3 and map sdcard slot to
    be powered by LDO9. Remove 'always-on' allowing the LDO to be disabled
    on need basis.
    Reported-by: default avatarMarc Jüttner <m-juettner@ti.com>
    Signed-off-by: default avatarNishanth Menon <nm@ti.com>
    Acked-by: default avatarJ Keerthy <j-keerthy@ti.com>
    Acked-by: default avatarBenoit Cousson <benoit.cousson@gmail.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    e18235a6
omap5-uevm.dts 12.2 KB