Skip to content
  • Ram Chandrasekar's avatar
    driver: thermal: bcl_pmic5: Use mitigation level interrupts · 62dc88e1
    Ram Chandrasekar authored
    
    
    BCL peripheral will eventually translate all the vbat and ibat
    interrupts to mitigation level interrupts. And the interrupts also will
    correspond to the levels instead of the vbat or ibat events. So use
    these interrupts in HLOS to trigger mitigation.
    
    The vbat and ibat will still be registered as sensors, but they wont
    support interrupts and hence no mitigation for violation. Instead the
    levels will be registered as interrupts and the mitigation config should
    be based on this mitigation level sensor.
    
    Update devicetree changes to reflect above mentioned design change for
    all targets those are using bcl_pmic5 driver.
    
    Change-Id: I45d2f63f2390eb4c59c45ca7d8aff758e1f88ce0
    Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
    Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
    62dc88e1