<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/pinctrl/pinctrl-single.c, branch v3.7.3</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>pinctrl: pinctrl-single: add debugfs pin h/w state info</title>
<updated>2012-09-28T07:12:53+00:00</updated>
<author>
<name>Matt Porter</name>
<email>mporter@ti.com</email>
</author>
<published>2012-09-26T19:07:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7d66ce7f8cf4df01a39a5abad4769df23ff59b8a'/>
<id>7d66ce7f8cf4df01a39a5abad4769df23ff59b8a</id>
<content type='text'>
Adds support for displaying the individual pin h/w config state.

Signed-off-by: Matt Porter &lt;mporter@ti.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds support for displaying the individual pin h/w config state.

Signed-off-by: Matt Porter &lt;mporter@ti.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux</title>
<updated>2012-09-13T07:00:10+00:00</updated>
<author>
<name>Peter Ujfalusi</name>
<email>peter.ujfalusi@ti.com</email>
</author>
<published>2012-09-11T08:54:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9e605cb68a21d5704839a192a46ebcf387773704'/>
<id>9e605cb68a21d5704839a192a46ebcf387773704</id>
<content type='text'>
With pinctrl-single,bits it is possible to update just part of the register
within the pinctrl-single,function-mask area.
This is useful when one register configures mmore than one pin's mux.

pinctrl-single,bits takes three parameters:
&lt;reg offset, value, sub-mask&gt;

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
[Removed a misplaced comment]
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With pinctrl-single,bits it is possible to update just part of the register
within the pinctrl-single,function-mask area.
This is useful when one register configures mmore than one pin's mux.

pinctrl-single,bits takes three parameters:
&lt;reg offset, value, sub-mask&gt;

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
[Removed a misplaced comment]
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: pinctrl-single: Make sure we do not change bits outside of mask</title>
<updated>2012-09-10T07:14:03+00:00</updated>
<author>
<name>Peter Ujfalusi</name>
<email>peter.ujfalusi@ti.com</email>
</author>
<published>2012-09-05T09:01:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=00ba7a502d9a8ba49c54a88f5903bf7bfc33e449'/>
<id>00ba7a502d9a8ba49c54a88f5903bf7bfc33e449</id>
<content type='text'>
Use the pcs-&gt;fmask to make sure that the value is not changing (setting)
bits in areas where it should not.
To avoid situations like this:

pmx_dummy: pinmux@4a100040 {
	compatible = "pinctrl-single";
	reg = &lt;0x4a100040 0x0196&gt;;
	#address-cells = &lt;1&gt;;
	#size-cells = &lt;0&gt;;
	pinctrl-single,register-width = &lt;16&gt;;
	pinctrl-single,function-mask = &lt;0x00ff&gt;;
};

&amp;pmx_dummy {
	pinctrl-names = "default";
	pinctrl-0 = &lt;&amp;board_pins&gt;;

	board_pins: pinmux_board_pins {
		pinctrl-single,pins = &lt;
			0x6c 0xf0f
			0x6e 0x10f
			0x70 0x23f
			0x72 0xa5f
		&gt;;
	};
};

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the pcs-&gt;fmask to make sure that the value is not changing (setting)
bits in areas where it should not.
To avoid situations like this:

pmx_dummy: pinmux@4a100040 {
	compatible = "pinctrl-single";
	reg = &lt;0x4a100040 0x0196&gt;;
	#address-cells = &lt;1&gt;;
	#size-cells = &lt;0&gt;;
	pinctrl-single,register-width = &lt;16&gt;;
	pinctrl-single,function-mask = &lt;0x00ff&gt;;
};

&amp;pmx_dummy {
	pinctrl-names = "default";
	pinctrl-0 = &lt;&amp;board_pins&gt;;

	board_pins: pinmux_board_pins {
		pinctrl-single,pins = &lt;
			0x6c 0xf0f
			0x6e 0x10f
			0x70 0x23f
			0x72 0xa5f
		&gt;;
	};
};

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: Add one-register-per-pin type device tree based pinctrl driver</title>
<updated>2012-07-14T20:33:08+00:00</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2012-07-10T09:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8b8b091bf07fa7ef7f13c1ac40b30bcf74050b60'/>
<id>8b8b091bf07fa7ef7f13c1ac40b30bcf74050b60</id>
<content type='text'>
Add one-register-per-pin type device tree based pinctrl driver.

This driver has been tested on omap2+ series of processors,
where there is either an 8 or 16-bit padconf register for each pin.
Support for other similar pinmux controllers can be added.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add one-register-per-pin type device tree based pinctrl driver.

This driver has been tested on omap2+ series of processors,
where there is either an 8 or 16-bit padconf register for each pin.
Support for other similar pinmux controllers can be added.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
