<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/pinctrl/pinconf-generic.c, branch linux-4.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-01-07T11:07:18Z</updated>
<entry>
<title>pinctrl: pinconf-generic: add missing of_node_put()</title>
<updated>2023-01-07T11:07:18Z</updated>
<author>
<name>ZhangPeng</name>
</author>
<published>2022-11-25T07:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7fb8cc3eb6716dcb14d00be9e59562fbf6259595'/>
<id>urn:sha1:7fb8cc3eb6716dcb14d00be9e59562fbf6259595</id>
<content type='text'>
[ Upstream commit 5ead93289815a075d43c415e35c8beafafb801c9 ]

of_node_put() needs to be called when jumping out of the loop, since
for_each_available_child_of_node() will increase the refcount of node.

Fixes: c7289500e29d ("pinctrl: pinconf-generic: scan also referenced phandle node")
Signed-off-by: ZhangPeng &lt;zhangpeng362@huawei.com&gt;
Link: https://lore.kernel.org/r/20221125070156.3535855-1-zhangpeng362@huawei.com
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: pinconf-generic: Print arguments for bias-pull-*</title>
<updated>2022-04-20T07:06:40Z</updated>
<author>
<name>Chen-Yu Tsai</name>
</author>
<published>2022-03-08T10:09:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b938567c2233203249a06700a465430df0e4a11'/>
<id>urn:sha1:5b938567c2233203249a06700a465430df0e4a11</id>
<content type='text'>
commit 188e5834b930acd03ad3cf7c5e7aa24db9665a29 upstream.

The bias-pull-* properties, or PIN_CONFIG_BIAS_PULL_* pin config
parameters, accept optional arguments in ohms denoting the strength of
the pin bias.

Print these values out in debugfs as well.

Fixes: eec450713e5c ("pinctrl: pinconf-generic: Add flag to print arguments")
Signed-off-by: Chen-Yu Tsai &lt;wenst@chromium.org&gt;
Reviewed-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Tested-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Link: https://lore.kernel.org/r/20220308100956.2750295-2-wenst@chromium.org
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'devel-dt-free-map' into devel</title>
<updated>2016-06-23T09:19:14Z</updated>
<author>
<name>Linus Walleij</name>
</author>
<published>2016-06-23T09:19:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd032e8dc55254cb22b529901889c5a5b9c03177'/>
<id>urn:sha1:dd032e8dc55254cb22b529901889c5a5b9c03177</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pinctrl: pinconf: Add generic helper function for freeing mappings</title>
<updated>2016-06-23T09:18:56Z</updated>
<author>
<name>Jon Hunter</name>
</author>
<published>2016-06-17T12:03:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8dfebf57bd3668adbca747d54406fb3237e47b23'/>
<id>urn:sha1:8dfebf57bd3668adbca747d54406fb3237e47b23</id>
<content type='text'>
The pinconf-generic.h file exposes functions for creating generic mappings
but it does not expose a function for freeing the mappings. Add a function
for freeing generic mappings.

Signed-off-by: Jon Hunter &lt;jonathanh@nvidia.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: pinconf: separate config parameters with commas for debugfs</title>
<updated>2016-05-31T08:29:06Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2016-05-25T06:37:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a672eb5e277d2d7ee9b585d468460f9890d2cebc'/>
<id>urn:sha1:a672eb5e277d2d7ee9b585d468460f9890d2cebc</id>
<content type='text'>
To improve debugfs readability, use commas instead of whitespaces
for separating configuration parameters.

For example, the "pinconf-pins" dump on my board will change as follows:

Without this commit:

 # head -5 pinconf-pins
 Pin config settings per pin
 Format: pin (name): configs
 pin 0 (ED0): input bias pull down output drive strength (8 mA) input enabled
 pin 1 (ED1): input bias pull down output drive strength (8 mA) input enabled
 pin 2 (ED2): input bias pull down output drive strength (8 mA) input enabled

With this commit:

 # head -5 pinconf-pins
 Pin config settings per pin
 Format: pin (name): configs
 pin 0 (ED0): input bias pull down, output drive strength (8 mA), input enabled
 pin 1 (ED1): input bias pull down, output drive strength (8 mA), input enabled
 pin 2 (ED2): input bias pull down, output drive strength (8 mA), input enabled

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map</title>
<updated>2016-04-01T13:06:36Z</updated>
<author>
<name>Irina Tirdea</name>
</author>
<published>2016-03-31T11:44:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d32f7fd3bbc32732b094d938b95169521503a9fb'/>
<id>urn:sha1:d32f7fd3bbc32732b094d938b95169521503a9fb</id>
<content type='text'>
Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map, since
it does not depend on device tree despite the current name. This
will enforce a consistent naming in pinctr-utils.c and will make
it clear it can be called from outside device tree (e.g. from
ACPI handling code).

Signed-off-by: Irina Tirdea &lt;irina.tirdea@intel.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: update document for pinconf_generic_parse_dt_config</title>
<updated>2015-12-01T10:11:05Z</updated>
<author>
<name>Yingjoe Chen</name>
</author>
<published>2015-11-25T12:13:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9ac5e25f1335bb16c638736bf25146a550eb394'/>
<id>urn:sha1:d9ac5e25f1335bb16c638736bf25146a550eb394</id>
<content type='text'>
The returned configs from pinconf_generic_parse_dt_config() is
duplicated from original. Make it clear it must be freed when no
longer necessary.

Signed-off-by: Yingjoe Chen &lt;yingjoe.chen@mediatek.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: pinconf-generic: add "input-schmitt" DT property</title>
<updated>2015-10-02T22:09:11Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2015-09-30T12:07:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69c308e2bcc303ab3eebb9b554de598dd4597b75'/>
<id>urn:sha1:69c308e2bcc303ab3eebb9b554de598dd4597b75</id>
<content type='text'>
PIN_CONFIG_INPUT_SCHMITT is defined in enum_pin_config_param,
but the corresponding DT property is missing.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: pinconf-generic: sort pin configuration params alphabetically</title>
<updated>2015-10-02T22:07:27Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2015-09-30T12:07:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c4b23dd71ea6f68be9731b68877fbc05f4fb693'/>
<id>urn:sha1:3c4b23dd71ea6f68be9731b68877fbc05f4fb693</id>
<content type='text'>
Currently, the dt_params array in drivers/pinctrl/pinconf-generic.c
is not sorted in the same order as the enum pin_config_param in
include/linux/pinctrl/pinconf-generic.h.

Sort enum pin_config_param, conf_items, dt_params, alphabetically
for consistency.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: pinconf-generic: add dt node names to error messages</title>
<updated>2015-03-27T08:53:10Z</updated>
<author>
<name>Baruch Siach</name>
</author>
<published>2015-03-19T20:17:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4024efb4047df0f317065571bd6ee9de3ab79512'/>
<id>urn:sha1:4024efb4047df0f317065571bd6ee9de3ab79512</id>
<content type='text'>
This makes the error message much more useful.

Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
</feed>
