imx8qxp-pinctrl scu:pinctrl: pin_config_set op failed for pin 160

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8qxp-pinctrl scu:pinctrl: pin_config_set op failed for pin 160

Jump to solution
1,326 Views
relax-wu
Contributor IV

SDK:Q10.0.0_2.0.0_ANDROID_SOURCE

CPU:IMX8QX6

Use these pins of QSPI0A as ordinary IO ports in the hardware circuit. But an error was reported.
Other places that use these pins have been disabled in the device tree

fsl,pins = <
  IMX8QXP_QSPI0A_DQS_LSIO_GPIO3_IO13 0x00000020
  IMX8QXP_QSPI0A_DATA0_LSIO_GPIO3_IO09 0x00000020
  IMX8QXP_QSPI0A_DATA1_LSIO_GPIO3_IO10 0x00000020
  IMX8QXP_QSPI0A_DATA2_LSIO_GPIO3_IO11 0x00000020
>;

error log:

[ 5.599057] imx8qxp-pinctrl scu:pinctrl: pin_config_set op failed for pin 156
[ 5.606244] nvp6324_mipi 16-0030: Error applying setting, reverse things back

 

0 Kudos
1 Solution
1,323 Views
igorpadykov
NXP Employee
NXP Employee

Hi relax-wu

 

reason may be that these pads are used by M4 :

SDK_MEK-MIMX8QX   https://mcuxpresso.nxp.com/en/welcome

(folder ../driver_examples/flexspi)

One can refer to below linik how to move some resources/pads from the M4 partition

to the A cores partition

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...

 

Best regards
igor

 

View solution in original post

0 Kudos
3 Replies
1,324 Views
igorpadykov
NXP Employee
NXP Employee

Hi relax-wu

 

reason may be that these pads are used by M4 :

SDK_MEK-MIMX8QX   https://mcuxpresso.nxp.com/en/welcome

(folder ../driver_examples/flexspi)

One can refer to below linik how to move some resources/pads from the M4 partition

to the A cores partition

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...

 

Best regards
igor

 

0 Kudos
1,319 Views
relax-wu
Contributor IV

Thank you for your help, but after studying, I did not find a SCFW kit that matches Q10.0.0_2.0.0_ANDROID_SOURCE

0 Kudos
1,315 Views
igorpadykov
NXP Employee
NXP Employee

per Android documentation (Release Notes) : Android Q10.0.0_2.0.0 (Linux 5.4 kernel)

(L5.4.3_1.0.0)

https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications...

per Linux L5.4.3_1.0.0 documentation from :

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...  

SCFW Porting Kit​

 

Best regards
igor

0 Kudos