gpio expander in uboot

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

gpio expander in uboot

2,297 Views
Quentin2022
Contributor III

Hi, nxp team:

          Our board has a phy reset pin connected to a gpio expander pin(pcal6524).So how do I take control of this pin in uboot.

          Do I need to development the pcal6524 driver in uboot? I don't find pcal6523 driver in uboot.

information:

linux version: bsp35

target board:s32g3

0 Kudos
Reply
4 Replies

2,250 Views
nxf92355
NXP Employee
NXP Employee

Hi @quentin Ji

 

Current Linux BSP does not include a driver for PCAL6524 in U-Boot. you can make use of the driver that can be found in upstream https://github.com/u-boot/u-boot/blob/master/drivers/gpio/pca953x_gpio.c

 

Best Regards,

Tushar

0 Kudos
Reply

2,228 Views
Quentin2022
Contributor III
Hi nxf92355:
very thanks for you.now I can drive pcal6524 in uboot using this driver.
0 Kudos
Reply

2,222 Views
nxf92355
NXP Employee
NXP Employee

Hi @quentin Ji

 

Okay. Can i close this case,if solved ?

 

Regards,

Tushar

0 Kudos
Reply

2,265 Views
nxf92355
NXP Employee
NXP Employee

Hi @quentin Ji

 

Hope you are doing well.

There are no driver for pcal6524 in u-boot. i raised a internal ticket for that, I will update here as i got reply from internal team.

 

Best Regards ,

Tushar

0 Kudos
Reply