I2c reg write in imx_atf code imx93_psci.c

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

I2c reg write in imx_atf code imx93_psci.c

543 Views
sbmd_1234
Contributor I

Hi NXP Team,

How to access(read and write ) the i2c registers in the imx_atf code ./plat/imx/imx93/imx93_psci.c.


Thanks.

0 Kudos
Reply
4 Replies

524 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

You need to add the base address of the desired module that's within the peripheral bridge accessed (AIPS Peripheral Bridge 1).

E.g.

JosephAtNXP_0-1721774403457.png

JosephAtNXP_1-1721774407693.png

Regards

0 Kudos
Reply

496 Views
sbmd_1234
Contributor I

Hi 

I didn't get your point I want to use i2c registers for PMIC please tell me an example or something that will be good for me.

Thanks.

0 Kudos
Reply

383 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

511 Views
sbmd_1234
Contributor I

Hi 

One more query here why can't I use this command to put system in low drive mode.

echo 2 > /sys/devices/platform/imx93-lpm/mode

0 Kudos
Reply