gpio expander in uboot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

gpio expander in uboot

2,298 次查看
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 项奖励
回复
4 回复数

2,251 次查看
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 项奖励
回复

2,229 次查看
Quentin2022
Contributor III
Hi nxf92355:
very thanks for you.now I can drive pcal6524 in uboot using this driver.
0 项奖励
回复

2,223 次查看
nxf92355
NXP Employee
NXP Employee

Hi @quentin Ji

 

Okay. Can i close this case,if solved ?

 

Regards,

Tushar

0 项奖励
回复

2,266 次查看
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 项奖励
回复