<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92409/ncs-2-1-0---config_adp536x_bus_name-not-longer-valid</link><description>Updating to NCS 2.1.0 the CONFIG_ADP536X_BUS_NAME is still defined but seems to be not longer valid. 
 The &amp;quot;adp536x.h&amp;quot; is now in the includes. Is there a supported way to use it? 
 In the boards definition for the Thingy:91 DEVICE_DT_GET(DT_NODELABEL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Oct 2022 13:38:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92409/ncs-2-1-0---config_adp536x_bus_name-not-longer-valid" /><item><title>RE: NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?</title><link>https://devzone.nordicsemi.com/thread/391212?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 13:38:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37c89199-99ed-49a9-8471-0b499f8bd40a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That is correct that the Kconfig option is deprecated and the docs should be updated to reflect that.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Here&amp;#39;s how to get the device the correct way:&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/boards/arm/thingy91_nrf9160/adp5360_init.c#L13" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/boards/arm/thingy91_nrf9160/adp5360_init.c#L13&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?</title><link>https://devzone.nordicsemi.com/thread/390833?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 15:32:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:447d0238-ed69-4b08-8955-dfe0dcca9be6</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;So the Kconfig docu about CONFIG_ADP536X_BUS_NAME is deprecated and CONFIG_ADP536X_BUS_NAME doesn&amp;#39;t work anymore, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?</title><link>https://devzone.nordicsemi.com/thread/390832?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 15:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81d06e7e-0286-49be-8cf0-b209fb7bfa82</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should use&amp;nbsp;&lt;span&gt;DEVICE_DT_GET. T&lt;/span&gt;here is a detailed transition guide in the Zephyr v3.2.0 release notes devicetree section, and the link I posted in the previous reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?</title><link>https://devzone.nordicsemi.com/thread/390354?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 06:39:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5f4bb7b-4c3e-490d-ab6c-cbb65ce66e9a</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;thanks again for the reference!&lt;/p&gt;
&lt;p&gt;The Zephyr project will hardly explain, what Nordic recommends on a deprecated Kconfig and the gap and misleading documentation from Nordic in your first reference.&lt;/p&gt;
&lt;p&gt;Do you consider to answer my question:&lt;/p&gt;
&lt;p&gt;&amp;gt; The &amp;quot;adp536x.h&amp;quot; is now in the includes. Is there a supported way to use it?&lt;/p&gt;
&lt;p&gt;&amp;gt; In the boards definition for the Thingy:91&amp;nbsp;DEVICE_DT_GET(DT_NODELABEL(i2c2)) is used.&lt;/p&gt;
&lt;p&gt;&amp;gt; Is that the preferred way to address the&amp;nbsp; adp536x?&lt;/p&gt;
&lt;p&gt;Before you add the next &amp;quot;dead end reference&amp;quot;, please ensure, that you read an verify the content of that reference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?</title><link>https://devzone.nordicsemi.com/thread/388825?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 15:39:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59706724-8605-4be6-a847-f37e13b6170a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please read &lt;a title="https://docs.zephyrproject.org/latest/releases/release-notes-3.2.html#devicetree" href="https://docs.zephyrproject.org/latest/releases/release-notes-3.2.html#devicetree" rel="noopener noreferrer" target="_blank"&gt;https://docs.zephyrproject.org/latest/releases/release-notes-3.2.html#devicetree&lt;/a&gt;&lt;/p&gt;
&lt;div&gt;-Amanda&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?</title><link>https://devzone.nordicsemi.com/thread/388454?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 05:43:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ae8c280-5546-41a5-8f92-7592bb3992c3</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;It&amp;#39;s possible to compile&lt;/p&gt;
&lt;p&gt;i2c_dev = device_get_binding(CONFIG_ADP536X_BUS_NAME);&lt;/p&gt;
&lt;p&gt;but with NCS-2.1.0 i2c_dev is always NULL on a Thingy:91.&lt;/p&gt;
&lt;p&gt;Before I used it with NCS-2.0.1, and there the device pointer was returned.&lt;/p&gt;
&lt;p&gt;Anyway, you may just find out, if CONFIG_ADP536X_BUS_NAME is considered to be supported, but may be currently failing, maybe even only on my side, or if it&amp;#39;s considered to be replaced by something else.&lt;/p&gt;
&lt;p&gt;&amp;gt; Also, check the&amp;nbsp;adp536x/&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/nrf/libraries/others/adp536x.html#id6"&gt;Configuration&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Of course! It&amp;#39;s still in Kconfig there. Therefore it compiles.&lt;/p&gt;
&lt;p&gt;Did you check the current implementation? Could you point me to the source, where this actually used? Because my finding analyzing the code was, that this Kconfig CONFIG_ADP536X_BUS_NAME is not longer used and replaced by&amp;nbsp;DEVICE_DT_GET(DT_NODELABEL(i2c2)).&lt;/p&gt;
&lt;p&gt;I wonder, if someone at nordic is aware and take care of such changes. It makes it very hard to update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?</title><link>https://devzone.nordicsemi.com/thread/388429?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 19:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b80b87d3-84cf-40aa-b4eb-a9d254770b19</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]Updating to NCS 2.1.0 the CONFIG_ADP536X_BUS_NAME is still defined but seems to be not longer valid.[/quote]
&lt;p&gt;Please kindly elaborate more detail about &amp;quot;&lt;span&gt;but seems to be not longer valid.&lt;/span&gt;&amp;quot;. What is the log you get?&lt;/p&gt;
&lt;p&gt;Also, check the&amp;nbsp;adp536x/&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/nrf/libraries/others/adp536x.html#id6"&gt;Configuration&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>