Forums - qpnp-labibb-regulator expansion board i2c power

1 post / 0 new
qpnp-labibb-regulator expansion board i2c power
bgauthier
Join Date: 21 Jun 21
Posts: 3
Posted: Mon, 2022-12-19 13:37
Hi All,
 
I have an i2c controlled MIPI OLED display mounted on the expansion board of an HDK 865/SM8250.
 
I need to control the AB/LAB/ELVDD/Amoled Boost and IBB/ELVSS/Inverted Block Boost regulators via my own driver with custom values.
 
I followed the Qualcomm documentation and did:
 
  1. Replace the vendor/qcom/proprietary/devicetree-4.19/qcom/pm8150l.dtsi::pm8150a_amoled::compatible from "qcom,qpnp-amoled-regulator"  to "qcom,qpnp-labibb-regulator"
  2. Modified kernel/msm-4.19/arch/arm64/configs/vendor/kona_defconfig from (CONFIG_REGULATOR_QPNP_AMOLED=y, CONFIG_REGULATOR_QPNP_LABIBB=n) to (CONFIG_REGULATOR_QPNP_AMOLED=n, CONFIG_REGULATOR_QPNP_LABIBB=y), 
  3. Trace the kernel/msm-4.19/drivers/regulator/qpnp-labibb-regulator.c and adapted the device tree until the qpnp-labibb-regulator load happily.

I seem to be able to controlled the AB and IBB regulators with (1. to 3.) above.

However, when switching the regulator control from 'amoled' to 'labibb' (see 1. above), the expansion board i2c controller is no longer powered when turning on Android which prevent me to send commands to my MIPI OLED display over i2c.

Question: "What am I misssing to turn-on the power on the expansion board when using the 'qcom,qpnp-labibb-regulator' driver"?
 
Thanks and regards,
Bruno
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.