<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Dynamic I2C Slave Address Configuration on i.MX95 LPI2C</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Dynamic-I2C-Slave-Address-Configuration-on-i-MX95-LPI2C/m-p/2399307#M246163</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;1. Yes, is possible with LPI2C module of i.MX95.&lt;/P&gt;
&lt;P&gt;2. No, driver modifications are needed.&lt;/P&gt;
&lt;P&gt;The current NXP BSP Linux driver supports both master and slave modes but, the slave address is read once from the Device Tree.&lt;/P&gt;
&lt;P&gt;3. The best approach for this modify driver to&amp;nbsp;read the GPIO address and change line during probe.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/b096ce610e956cc2596006343df8a2a26ed6e019/drivers/i2c/busses/i2c-imx-lpi2c.c" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/blob/b096ce610e956cc2596006343df8a2a26ed6e019/drivers/i2c/busses/i2c-imx-lpi2c.c&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;4. We have an&amp;nbsp;slave DTS example that uses i2c-imx-lpi2c.c driver but the address cannot be changed in runtime using GPIOs. You can take a look in the next link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/74521e3f425001c27a54323ee8de4f7c59ee88dc/arch/arm64/boot/dts/freescale/imx95-15x15-evk-i2c-spi-slave.dts" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/blob/74521e3f425001c27a54323ee8de4f7c59ee88dc/arch/arm64/boot/dts/freescale/imx95-15x15-evk-i2c-spi-slave.dts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2026 20:54:01 GMT</pubDate>
    <dc:creator>JorgeCas</dc:creator>
    <dc:date>2026-07-27T20:54:01Z</dc:date>
    <item>
      <title>Dynamic I2C Slave Address Configuration on i.MX95 LPI2C</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamic-I2C-Slave-Address-Configuration-on-i-MX95-LPI2C/m-p/2399205#M246154</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P class=""&gt;I am working on the i&lt;STRONG&gt;.MX95&lt;/STRONG&gt; platform and using the &lt;STRONG&gt;LPI2C controller in I2C slave mode&lt;/STRONG&gt; under Linux.&lt;/P&gt;&lt;P&gt;Currently, the I2C slave address is defined statically in the Device Tree. My requirement is to determine the slave address dynamically based on an external GPIO input (for example, a board ID or address-select GPIO) instead of hardcoding it in the Device Tree.&lt;/P&gt;&lt;P&gt;I would like to know:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Does the &lt;STRONG&gt;i.MX95 LPI2C hardware&lt;/STRONG&gt; support changing the I2C slave address dynamically at runtime?&lt;/LI&gt;&lt;LI&gt;Does the &lt;STRONG&gt;NXP BSP/Linux LPI2C slave driver&lt;/STRONG&gt; support updating the slave address after boot, or would it require driver modifications?&lt;/LI&gt;&lt;LI&gt;Is there any recommended mechanism from the SoC or BSP perspective to select the slave address based on an external GPIO before or during slave registration?&lt;/LI&gt;&lt;LI&gt;Are there any reference implementations or examples demonstrating dynamic I2C slave address configuration?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any guidance or recommended approach would be appreciated.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Arun Kumar&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2026 11:50:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamic-I2C-Slave-Address-Configuration-on-i-MX95-LPI2C/m-p/2399205#M246154</guid>
      <dc:creator>arun16598</dc:creator>
      <dc:date>2026-07-27T11:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic I2C Slave Address Configuration on i.MX95 LPI2C</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamic-I2C-Slave-Address-Configuration-on-i-MX95-LPI2C/m-p/2399307#M246163</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;1. Yes, is possible with LPI2C module of i.MX95.&lt;/P&gt;
&lt;P&gt;2. No, driver modifications are needed.&lt;/P&gt;
&lt;P&gt;The current NXP BSP Linux driver supports both master and slave modes but, the slave address is read once from the Device Tree.&lt;/P&gt;
&lt;P&gt;3. The best approach for this modify driver to&amp;nbsp;read the GPIO address and change line during probe.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/b096ce610e956cc2596006343df8a2a26ed6e019/drivers/i2c/busses/i2c-imx-lpi2c.c" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/blob/b096ce610e956cc2596006343df8a2a26ed6e019/drivers/i2c/busses/i2c-imx-lpi2c.c&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;4. We have an&amp;nbsp;slave DTS example that uses i2c-imx-lpi2c.c driver but the address cannot be changed in runtime using GPIOs. You can take a look in the next link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/74521e3f425001c27a54323ee8de4f7c59ee88dc/arch/arm64/boot/dts/freescale/imx95-15x15-evk-i2c-spi-slave.dts" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/blob/74521e3f425001c27a54323ee8de4f7c59ee88dc/arch/arm64/boot/dts/freescale/imx95-15x15-evk-i2c-spi-slave.dts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2026 20:54:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamic-I2C-Slave-Address-Configuration-on-i-MX95-LPI2C/m-p/2399307#M246163</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2026-07-27T20:54:01Z</dc:date>
    </item>
  </channel>
</rss>

