Skip to content

Commit 742b504

Browse files
committed
mcux: scripts: pinctrl: Updated Offset value for PMIC I2C
Updated the scripts offset value for the PMIC I2C signals when using RT7XX Devices. An accidental prefix '0x' was added to the offset's actual decimal value. e.g. 96 -> 0x96. Real value should be 96 -> 0x60. Signed-off-by: Emilio Benavente <[email protected]>
1 parent 455abbd commit 742b504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mcux/scripts/pinctrl/lpc/lpc_cfg_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ def __init__(self, connection, imx_rt = ''):
122122
self._mux = 0
123123
elif self._name == 'PMIC_I2C_SCL' and imx_rt == "MIMXRT7XX":
124124
self._index = 1
125-
self._offset = 0x96
125+
self._offset = 0x61
126126
self._mux = 0
127127
elif self._name == 'PMIC_I2C_SDA' and imx_rt == "MIMXRT7XX":
128128
self._index = 1
129-
self._offset = 0x97
129+
self._offset = 0x60
130130
self._mux = 0
131131
if re.match(r'^\d', self._name):
132132
# If string starts with a digit, it will not be a valid C name

0 commit comments

Comments
 (0)