<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Connecting Buttons to Intel Edison</title>
	<atom:link href="https://hobby.farit.ru/connecting-buttons-intel-edison/feed/" rel="self" type="application/rss+xml" />
	<link>https://hobby.farit.ru/connecting-buttons-intel-edison/</link>
	<description></description>
	<lastBuildDate>Fri, 27 Feb 2026 07:11:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.39</generator>
	<item>
		<title>By: Andy Shevchenko</title>
		<link>https://hobby.farit.ru/connecting-buttons-intel-edison/#comment-15</link>
		<dc:creator><![CDATA[Andy Shevchenko]]></dc:creator>
		<pubDate>Tue, 03 Jan 2017 16:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://hobby.farit.ru/?p=152#comment-15</guid>
		<description><![CDATA[Oh, your forum ate &lt;pre&gt; stuff and all proper code. I think you can fix it, or tell me your email I will send you stuff I have regarding to test code for my &lt;b&gt;eds&lt;/b&gt; branch.]]></description>
		<content:encoded><![CDATA[<p>Oh, your forum ate &lt;pre&gt; stuff and all proper code. I think you can fix it, or tell me your email I will send you stuff I have regarding to test code for my <b>eds</b> branch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Shevchenko</title>
		<link>https://hobby.farit.ru/connecting-buttons-intel-edison/#comment-14</link>
		<dc:creator><![CDATA[Andy Shevchenko]]></dc:creator>
		<pubDate>Tue, 03 Jan 2017 16:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://hobby.farit.ru/?p=152#comment-14</guid>
		<description><![CDATA[Just an example of pin control configuration (this one enable PWM output,  you may adjust to your needs):

#include 
#include 
#include 

static unsigned long pwm_config[] = {
       PIN_CONF_PACKED(PIN_CONFIG_BIAS_DISABLE, 0),
};

static struct pinctrl_map pwm_mapping[] __initdata = {
       PIN_MAP_MUX_GROUP_DEFAULT(&quot;0000:00:17.0&quot;,  &quot;pinctrl-merrifield&quot;, &quot;pwm0_grp&quot;, &quot;pwm0&quot;),
       PIN_MAP_MUX_GROUP_DEFAULT(&quot;0000:00:17.0&quot;,  &quot;pinctrl-merrifield&quot;, &quot;pwm1_grp&quot;, &quot;pwm1&quot;),
       PIN_MAP_MUX_GROUP_DEFAULT(&quot;0000:00:17.0&quot;,  &quot;pinctrl-merrifield&quot;, &quot;pwm2_grp&quot;, &quot;pwm2&quot;),
       PIN_MAP_MUX_GROUP_DEFAULT(&quot;0000:00:17.0&quot;,  &quot;pinctrl-merrifield&quot;, &quot;pwm3_grp&quot;, &quot;pwm3&quot;),
       PIN_MAP_CONFIGS_PIN_DEFAULT(&quot;0000:00:17.0&quot;, &quot;pinctrl-merrifield&quot;, &quot;GP12_PWM0&quot;, pwm_config),
       PIN_MAP_CONFIGS_PIN_DEFAULT(&quot;0000:00:17.0&quot;, &quot;pinctrl-merrifield&quot;, &quot;GP13_PWM1&quot;, pwm_config),
       PIN_MAP_CONFIGS_PIN_DEFAULT(&quot;0000:00:17.0&quot;, &quot;pinctrl-merrifield&quot;, &quot;GP182_PWM2&quot;, pwm_config),
       PIN_MAP_CONFIGS_PIN_DEFAULT(&quot;0000:00:17.0&quot;, &quot;pinctrl-merrifield&quot;, &quot;GP183_PWM3&quot;, pwm_config),
};

static int __init mrfld_pwm_init(void)
{
       return pinctrl_register_mappings(pwm_mapping, ARRAY_SIZE(pwm_mapping));
}
]]></description>
		<content:encoded><![CDATA[<p>Just an example of pin control configuration (this one enable PWM output,  you may adjust to your needs):</p>
<p>#include<br />
#include<br />
#include </p>
<p>static unsigned long pwm_config[] = {<br />
       PIN_CONF_PACKED(PIN_CONFIG_BIAS_DISABLE, 0),<br />
};</p>
<p>static struct pinctrl_map pwm_mapping[] __initdata = {<br />
       PIN_MAP_MUX_GROUP_DEFAULT(&#8220;0000:00:17.0&#8243;,  &#8220;pinctrl-merrifield&#8221;, &#8220;pwm0_grp&#8221;, &#8220;pwm0&#8243;),<br />
       PIN_MAP_MUX_GROUP_DEFAULT(&#8220;0000:00:17.0&#8243;,  &#8220;pinctrl-merrifield&#8221;, &#8220;pwm1_grp&#8221;, &#8220;pwm1&#8243;),<br />
       PIN_MAP_MUX_GROUP_DEFAULT(&#8220;0000:00:17.0&#8243;,  &#8220;pinctrl-merrifield&#8221;, &#8220;pwm2_grp&#8221;, &#8220;pwm2&#8243;),<br />
       PIN_MAP_MUX_GROUP_DEFAULT(&#8220;0000:00:17.0&#8243;,  &#8220;pinctrl-merrifield&#8221;, &#8220;pwm3_grp&#8221;, &#8220;pwm3&#8243;),<br />
       PIN_MAP_CONFIGS_PIN_DEFAULT(&#8220;0000:00:17.0&#8243;, &#8220;pinctrl-merrifield&#8221;, &#8220;GP12_PWM0&#8243;, pwm_config),<br />
       PIN_MAP_CONFIGS_PIN_DEFAULT(&#8220;0000:00:17.0&#8243;, &#8220;pinctrl-merrifield&#8221;, &#8220;GP13_PWM1&#8243;, pwm_config),<br />
       PIN_MAP_CONFIGS_PIN_DEFAULT(&#8220;0000:00:17.0&#8243;, &#8220;pinctrl-merrifield&#8221;, &#8220;GP182_PWM2&#8243;, pwm_config),<br />
       PIN_MAP_CONFIGS_PIN_DEFAULT(&#8220;0000:00:17.0&#8243;, &#8220;pinctrl-merrifield&#8221;, &#8220;GP183_PWM3&#8243;, pwm_config),<br />
};</p>
<p>static int __init mrfld_pwm_init(void)<br />
{<br />
       return pinctrl_register_mappings(pwm_mapping, ARRAY_SIZE(pwm_mapping));<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
