<?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: How to interact with PFUZE3000 driver from user space level</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631110#M95898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I know is that we only exposed those interface of accessing PMIC via I2C to sys fs interface.&lt;/P&gt;&lt;P&gt;It should be easy to create a HAL to access these sys fs interface, but I don't know how to do that.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2017 14:56:09 GMT</pubDate>
    <dc:creator>reyes</dc:creator>
    <dc:date>2017-01-23T14:56:09Z</dc:date>
    <item>
      <title>How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631107#M95895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with a PMIC PFUZE3000 and we are using the imx6ul processor. The question is that I do not know how to interact with the driver in order to enable/disable the outputs of the PFUZE. I am only able to read the state of some of his settings through "/sys/class/regulator/ as it is shown in the next picture:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="Selection_002.png"&gt;&lt;IMG alt="Selection_002.png" src="https://community.nxp.com/t5/image/serverpage/image-id/12183iFF0E077BC836BCAF/image-size/large?v=v2&amp;amp;px=999" title="Selection_002.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As you can see I have only read permissions and I do not know how to change the "state", for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already define the Devicetree following this one &lt;A href="https://www.kernel.org/doc/Documentation/devicetree/bindings/regulator/pfuze100.txt" rel="nofollow noopener noreferrer noopener noreferrer" target="_blank"&gt;PFUZE Device tree example&lt;/A&gt;. Also I saw that I have to define a "consumer" of this driver, &lt;A href="https://www.kernel.org/doc/Documentation/power/regulator/overview.txt" rel="nofollow noopener noreferrer noopener noreferrer" target="_blank"&gt;overview regulator&lt;/A&gt;. How to define a consumer is given at the final of this documentation, &lt;A href="https://www.kernel.org/doc/Documentation/devicetree/bindings/regulator/regulator.txt" rel="nofollow noopener noreferrer noopener noreferrer" target="_blank"&gt;Consumer description&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;Firstly, it is not given enough documentation of how to define the costumer. Therefore, anyone has documentation about this.&lt;/P&gt;&lt;P&gt;Secondly, I have read something about loading the "select virtual regulator consumer" and "userspace regulator consumer as module".&lt;/P&gt;&lt;PRE class="" style="padding-left: 60px;"&gt;Linux Kernel Configuration &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Device Drivers&amp;nbsp; ---&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[*] Voltage and Current Regulator Support&amp;nbsp; ---&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;M&amp;gt;&amp;nbsp;&amp;nbsp; Virtual regulator consumer support &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;M&amp;gt;&amp;nbsp;&amp;nbsp; Userspace regulator consumer support &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;*&amp;gt;&amp;nbsp;&amp;nbsp; Analog Devices AD5398/AD5821 regulator&lt;/PRE&gt;&lt;P&gt;But, I do not know if it is the best way of it is necessary to do it in order to interact with the driver. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the support,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:53:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631107#M95895</guid>
      <dc:creator>pastrana</dc:creator>
      <dc:date>2020-11-02T13:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631108#M95896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the attached document, specifically in chapter 23 you can find more information about how to interface with the PMIC driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section 23.3.1 you can find the unified API calls needed to interface with the PMIC, and you can find more APIs and details in the regulator core source code inside the Linux&lt;/P&gt;&lt;P&gt;kernel at: &amp;lt;Yocto_BuildDir&amp;gt;/linux/drivers/regulator/core.c.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 17:44:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631108#M95896</guid>
      <dc:creator>reyes</dc:creator>
      <dc:date>2017-01-19T17:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631109#M95897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose Alberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all thanks for your reply, I was checking this documentation and I think that it is how is defined the interface, they do not say nothing about how to use it. In the "core.c" file, for example, it is defined all the functions that we can use, or better, the functions that the "sys" interface uses. However, I do not find how to use to "sys" interface for the PMIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how can I use the API that you said me??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day too,&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 07:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631109#M95897</guid>
      <dc:creator>pastrana</dc:creator>
      <dc:date>2017-01-23T07:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631110#M95898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I know is that we only exposed those interface of accessing PMIC via I2C to sys fs interface.&lt;/P&gt;&lt;P&gt;It should be easy to create a HAL to access these sys fs interface, but I don't know how to do that.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 14:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631110#M95898</guid>
      <dc:creator>reyes</dc:creator>
      <dc:date>2017-01-23T14:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631111#M95899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose Alberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your information. I am able to access using the sys interface, as it is shown in the first picture. However, I am only read permissions... I cannot change the state of the regulator... Therefore, I dont know if I am missing something in my DeviceTree, if I have to create a "consumer", I have not found so much information about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want to mean with HAL?? I read that HAL is discontinued by udev. At last, I do not know how to use udev here neither HAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply! Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631111#M95899</guid>
      <dc:creator>pastrana</dc:creator>
      <dc:date>2017-01-23T15:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631112#M95900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;You can see an example on how you can interact &lt;A href="https://git.congatec.com/arm/qmx6_kernel/commit/868d21a7fce9dc90808837e06b0d5e71e38b3b1b"&gt;here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 18:21:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631112#M95900</guid>
      <dc:creator>reyes</dc:creator>
      <dc:date>2017-01-23T18:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631113#M95901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose Alberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry but I cannot see how I can apply this example to my project... I check the &lt;A href="http://lxr.free-electrons.com/source/drivers/regulator/pfuze100-regulator.c"&gt;drivers of the PFUZE&lt;/A&gt; and I do not see anything like "enable_ldo_mode". If I write "ldo_active=on" in the command line, nothing happens..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 11:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631113#M95901</guid>
      <dc:creator>pastrana</dc:creator>
      <dc:date>2017-01-25T11:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631114#M95902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Javier,&lt;/P&gt;&lt;P&gt;As you can see from the&amp;nbsp; comment from &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/reyes"&gt;reyes&lt;/A&gt;‌,&amp;nbsp; In the &lt;A class="link-titled" href="https://git.congatec.com/arm/qmx6_kernel/commit/868d21a7fce9dc90808837e06b0d5e71e38b3b1b" title="https://git.congatec.com/arm/qmx6_kernel/commit/868d21a7fce9dc90808837e06b0d5e71e38b3b1b"&gt;https://git.congatec.com/arm/qmx6_kernel/commit/868d21a7fce9dc90808837e06b0d5e71e38b3b1b&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://git.congatec.com/arm/qmx6_kernel/commit/868d21a7fce9dc90808837e06b0d5e71e38b3b1b" title="https://git.congatec.com/arm/qmx6_kernel/commit/868d21a7fce9dc90808837e06b0d5e71e38b3b1b"&gt;ENGR00233366-1 Anatop PFUZE: LDO bypass can be configed by cmdline (868d21a7) · Commits · ARM / qmx6_kernel · GitLab&lt;/A&gt; .&amp;nbsp; This is an example how to interact with the API of the PFUZE,&amp;nbsp; but you need to create your own application, this is an example on how and where you need to do it.&amp;nbsp; In this example configured by cmdline&amp;nbsp; bypass the LDO.&amp;nbsp; So if you want to use to change the LDOs then you need to implement somehting very similar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is only the Suspend Command available. If you try right now to modify the PFUZE in the cmdLine.&amp;nbsp; Hope this clarifies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;saludos,&lt;/P&gt;&lt;P&gt;Jaime Hueso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 18:44:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631114#M95902</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2017-01-25T18:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631115#M95903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally I achieved it. I want to explain you how we have to configure the system in order to change the states of each PIN of PFUZE3000 (sw1a,sw1b,sw2,sw3,vldo1...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, as it is defined the PMIC and his drivers in the original version of Linux kernel. It has only read access, you can check it in this other post of NXP (&lt;A _jive_internal="true" href="https://community.nxp.com/thread/384400"&gt;Device Tree Created Regulator Enable - Write Error&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Therefore, if we want to change the status once it is running the system we have only one option, and it is to use a consumer-driver in order to interact with the PMIC.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Defining the Device Tree PMIC node&amp;nbsp; as it is defined in the &lt;A href="https://www.kernel.org/doc/Documentation/devicetree/bindings/regulator/pfuze100.txt"&gt;Linux Documentation&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Changing the driver "/driver/regulator/userspace-consumer.c", following &lt;A href="https://lkml.org/lkml/2014/7/30/357"&gt;this patch&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Adding a new Device Tree node "regulator-consumer" (for example), you can follow this &lt;A href="https://patchwork.ozlabs.org/patch/374912/"&gt;other patch.&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;At last you have only to compile the kernel, enabling this module in your menuconfig (CONFIG_REGULATOR_USERSPACE_CONSUMER).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afterwards, you can find the sysfs here (in my case, it may be different in your case):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"/sys/devices/platform/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0008/regulator/regulator.*"&lt;/LI&gt;&lt;LI&gt;"/sys/devices/platform/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0008/regulator/regulator.12/userspace-consumer-vldo1".&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and, if you only want to check the status or monitoring task, you can do it here:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"/sys/class/regulator/regulator.*"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Javier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 09:16:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631115#M95903</guid>
      <dc:creator>pastrana</dc:creator>
      <dc:date>2017-01-27T09:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631116#M95904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier&lt;/P&gt;&lt;P&gt;Thanks for useful post!&lt;/P&gt;&lt;P&gt;I too want to change the state of the PMIC. I am working on IMX6sx sabresd with PFUZE200. I followed steps you mentioned in the post, however, I did not end up with the sysfs like yours. Could you elaborate on third step, I mean adding a new device tree node "regulator-consumer".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2017 07:48:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631116#M95904</guid>
      <dc:creator>adelantesey</dc:creator>
      <dc:date>2017-06-11T07:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631117#M95905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/adelantesey"&gt;adelantesey&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you still have this problem?? This is my regulator-consumer node:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userspace-consumer {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "reg-userspace-consumer";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regulator-name = "pfuze-consumer";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regulator-boot-on;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regulator-supplies =&amp;nbsp;&amp;nbsp;&amp;nbsp; "sw1a", "sw1b", "sw2", "sw3",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "swbst", "vsnvs", "vrefddr", "vldo1",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vldo2", "vccsd", "v33", "vldo3", "vldo4";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sw1a-supply = &amp;lt;&amp;amp;sw1a_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sw1b-supply = &amp;lt;&amp;amp;sw1c_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sw2-supply = &amp;lt;&amp;amp;sw2_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sw3-supply = &amp;lt;&amp;amp;sw3a_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swbst-supply = &amp;lt;&amp;amp;swbst_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vsnvs-supply = &amp;lt;&amp;amp;snvs_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vrefddr-supply = &amp;lt;&amp;amp;vref_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vldo1-supply = &amp;lt;&amp;amp;vgen1_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vldo2-supply = &amp;lt;&amp;amp;vgen2_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vccsd-supply = &amp;lt;&amp;amp;vgen3_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v33-supply = &amp;lt;&amp;amp;vgen4_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vldo3-supply = &amp;lt;&amp;amp;vgen5_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vldo4-supply = &amp;lt;&amp;amp;vgen6_reg&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;Do you want to add other one or difference to mine??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Javi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 06:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631117#M95905</guid>
      <dc:creator>pastrana</dc:creator>
      <dc:date>2017-09-21T06:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631118#M95906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Hi Javier,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Thanks for your post. I have followed the instructions provided by you, however still not able to get the user space sysfs interface for consumer drivers. I have checked the sysfs interface under "/sys/class/regulator/regulator.X/ &amp;amp; "/sys/devices/platform/soc/..".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Note: I am using IMX7d-Sabre board with Yocto build.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;1. Defining the Device Tree PMIC node&amp;nbsp; as it is defined in the Linux Documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;EM&gt; Entry for "pmic: pfuze3000@8 { " is available. (DT file attached below)&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;2. Changing the driver "/driver/regulator/userspace-consumer.c", following this patch.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;EM&gt; Applied the patch.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;3. Adding a new Device Tree node "regulator-consumer" (for example), you can follow this other patch.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;---------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;file name: arch/arm/boot/dts/imx7d-sdb.dts&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;&amp;amp;i2c1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;clock-frequency = &amp;lt;100000&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-names = "default";&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c1&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = "okay";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userspace-consumer {&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "reg-userspace-consumer";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regulator-name = "pfuze-consumer";&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regulator-boot-on;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; regulator-supplies =&amp;nbsp;&amp;nbsp;&amp;nbsp; "sw1a", "sw1b", "sw2", "sw3",&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "swbst", "vsnvs", "vrefddr", "vldo1",&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vldo2", "vccsd", "v33", "vldo3", "vldo4";&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sw1a-supply = &amp;lt;&amp;amp;sw1a_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sw1b-supply = &amp;lt;&amp;amp;sw1c_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sw2-supply = &amp;lt;&amp;amp;sw2_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sw3-supply = &amp;lt;&amp;amp;sw3a_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; swbst-supply = &amp;lt;&amp;amp;swbst_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vsnvs-supply = &amp;lt;&amp;amp;snvs_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vrefddr-supply = &amp;lt;&amp;amp;vref_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vldo1-supply = &amp;lt;&amp;amp;vgen1_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vldo2-supply = &amp;lt;&amp;amp;vgen2_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vccsd-supply = &amp;lt;&amp;amp;vgen3_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v33-supply = &amp;lt;&amp;amp;vgen4_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vldo3-supply = &amp;lt;&amp;amp;vgen5_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vldo4-supply = &amp;lt;&amp;amp;vgen6_reg&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;pmic: pfuze3000@08 {&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "fsl,pfuze3000";&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0x08&amp;gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;regulators {&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;sw1a_reg: sw1a {&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;regulator-min-microvolt = &amp;lt;700000&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;regulator-max-microvolt = &amp;lt;3300000&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;regulator-boot-on;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;regulator-always-on;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;regulator-ramp-delay = &amp;lt;6250&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;4. CONFIG_REGULATOR_USERSPACE_CONSUMER is also enabled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;below is my .config file options.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONFIG_REGULATOR=y&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # CONFIG_REGULATOR_DEBUG is not set&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONFIG_REGULATOR_FIXED_VOLTAGE=y&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONFIG_REGULATOR_USERSPACE_CONSUMER=y&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # CONFIG_REGULATOR_ACT8865 is not set&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # CONFIG_REGULATOR_AD5398 is not set&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;Could you please point out, do i still missing something.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Sudhesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 05:03:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631118#M95906</guid>
      <dc:creator>sudheshkumar</dc:creator>
      <dc:date>2018-03-23T05:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to interact with PFUZE3000 driver from user space level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631119#M95907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you solve the problem?&lt;/P&gt;&lt;P&gt;Could you attach the Kernel log? for example if you make a "dmesg". By this way we can check if it is well loaded every kernel module related to the regulator and PMIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Javi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 08:39:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-interact-with-PFUZE3000-driver-from-user-space-level/m-p/631119#M95907</guid>
      <dc:creator>pastrana</dc:creator>
      <dc:date>2018-04-05T08:39:23Z</dc:date>
    </item>
  </channel>
</rss>

