Forums - PM6150L, PM6150 and LPI GPIOs

2 posts / 0 new
Last post
PM6150L, PM6150 and LPI GPIOs
cquast
Join Date: 19 Feb 21
Posts: 7
Posted: Thu, 2021-07-15 02:20

Hello!

As far as I understand, the QCS610 devkit has at least four different kinds of GPIOs:

PM6150L, PM6150 and LPI GPIO, and normal GPIOs. Can somebody explain to me how and when to use them? Or is there a document with a good documentation that I might have missed?

What I think I understood (I am using a Linux system):

1. In /sys/kernel/debug/gpio, I can see three different gpiochips: gpiochip0 for controlling normal GPIOs, gpiochip1 for pm6150l, gpiochip2 for pm6150. I tried to export the pm6150l gpio9, but I got the following error:

root@c610-board:/sys/class/gpio# echo 1270 > export
sh: write error: Device or resource busy

2. Is the LPI only connected to the DSP? We would very much like to use the UART it provides, to communicate with peripherals. Is that possible? In the dts files, I can see the line compatible = "qcom,lpi-pinctrl", but there does not seem to be any driver that handles this compatible string?

Best regards,

Christina

  • Up0
  • Down0
Suchit
Profile picture
Join Date: 4 Nov 16
Location: Ahmedabad
Posts: 1
Posted: Wed, 2021-09-08 20:57
Have you got anything. I have same questions in QCS610. We are using Android LA. How we can access LPI GPIO? Do we need dsp hexagonal SDK .. Any example how we can access LPI gpio .do we need adsp SDK etc to access LPI gpio.
  • 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.