Forums - qpnp-labibb-regulator expansion board i2c power

4 posts / 0 new
Last post
qpnp-labibb-regulator expansion board i2c power
bgauthier
Join Date: 21 Jun 21
Posts: 3
Posted: Mon, 2022-12-19 12:09
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
handzhu
Join Date: 6 Jun 22
Posts: 54
Posted: Thu, 2022-12-22 21:22

Hi 

seems you can download the source code and qualcomm document, 

maybe you can create a case to qualcomm, (Multimedia->Display->Display Tuning)

  • Up0
  • Down0
bgauthier
Join Date: 21 Jun 21
Posts: 3
Posted: Wed, 2023-01-04 06:47

Good morning, Handzu,

Thanks for helping me with this problem.

Yes, I do have access to the source code of the HDK865/SM8250.
Would you mind letting me know where to create a case at Qualcomm, I don't have that URL.

Thanks again, best regards
Bruno

 

  • Up0
  • Down0
handzhu
Join Date: 6 Jun 22
Posts: 54
Posted: Wed, 2023-01-04 22:04

Hi 

you can try to access the qualcomm case support system:

https://qualcomm-cdmatech-support.lightning.force.com/

  • Up0
  • Down0
or Register

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.