<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/hsi/hsi.c, branch v4.2.5</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>HSI: Add common DT binding for HSI client devices</title>
<updated>2014-05-15T22:54:45+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2014-03-28T21:59:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a2aa24734d9dbbd3b9062c2459936c336278fa6a'/>
<id>a2aa24734d9dbbd3b9062c2459936c336278fa6a</id>
<content type='text'>
Implement and document generic DT bindings for HSI clients.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Reviewed-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Tested-By: Ivaylo Dimitrov &lt;ivo.g.dimitrov.75@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement and document generic DT bindings for HSI clients.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Reviewed-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Tested-By: Ivaylo Dimitrov &lt;ivo.g.dimitrov.75@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: export method to (un)register clients</title>
<updated>2014-05-15T22:54:41+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2014-03-28T21:54:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8491451024bcfabdcebd772ce9ec2fc5757acd42'/>
<id>8491451024bcfabdcebd772ce9ec2fc5757acd42</id>
<content type='text'>
Expose method for registering and unregistering HSI clients, so that
client drivers can register other client drivers.

This is useful for HSI drivers, which want to use the functionality
of other HSI drivers. For example the N900 modem driver can load HSI
drivers for mcsaab protocol and speech protocol.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Reviewed-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Tested-By: Ivaylo Dimitrov &lt;ivo.g.dimitrov.75@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Expose method for registering and unregistering HSI clients, so that
client drivers can register other client drivers.

This is useful for HSI drivers, which want to use the functionality
of other HSI drivers. For example the N900 modem driver can load HSI
drivers for mcsaab protocol and speech protocol.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Reviewed-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Tested-By: Ivaylo Dimitrov &lt;ivo.g.dimitrov.75@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: Add channel resource support to HSI clients</title>
<updated>2014-05-15T22:54:36+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2014-03-28T21:48:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a088cf161cc87b39e83c7c53b9f239773422d212'/>
<id>a088cf161cc87b39e83c7c53b9f239773422d212</id>
<content type='text'>
Make HSI channel ids platform data, which can be provided
by platform data.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-By: Ivaylo Dimitrov &lt;ivo.g.dimitrov.75@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make HSI channel ids platform data, which can be provided
by platform data.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-By: Ivaylo Dimitrov &lt;ivo.g.dimitrov.75@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: method to unregister clients from an hsi port</title>
<updated>2014-05-15T22:54:29+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2013-10-06T18:23:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a0bf37edb4d34c21bdaa19a1624378924b917491'/>
<id>a0bf37edb4d34c21bdaa19a1624378924b917491</id>
<content type='text'>
This exports a method to unregister all clients from
an hsi port.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Reviewed-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Tested-By: Ivaylo Dimitrov &lt;ivo.g.dimitrov.75@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This exports a method to unregister all clients from
an hsi port.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Reviewed-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Tested-By: Ivaylo Dimitrov &lt;ivo.g.dimitrov.75@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hsi: convert bus code to use dev_groups</title>
<updated>2013-10-17T01:36:04+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-10-07T06:55:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=00173146897b15b07b8be6c95dd74486e530825d'/>
<id>00173146897b15b07b8be6c95dd74486e530825d</id>
<content type='text'>
The dev_attrs field of struct bus_type is going away soon, dev_groups
should be used instead.  This converts the hsi code to use the
correct field.

Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The dev_attrs field of struct bus_type is going away soon, dev_groups
should be used instead.  This converts the hsi code to use the
correct field.

Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: avoid format string in dev_set_name</title>
<updated>2013-07-03T23:07:41+00:00</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2013-07-03T22:04:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=02aa2a37636c8fa4fb9322d91be46ff8225b7de0'/>
<id>02aa2a37636c8fa4fb9322d91be46ff8225b7de0</id>
<content type='text'>
Calling dev_set_name with a single paramter causes it to be handled as a
format string.  Many callers are passing potentially dynamic string
content, so use "%s" in those cases to avoid any potential accidents,
including wrappers like device_create*() and bdi_register().

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling dev_set_name with a single paramter causes it to be handled as a
format string.  Many callers are passing potentially dynamic string
content, so use "%s" in those cases to avoid any potential accidents,
including wrappers like device_create*() and bdi_register().

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hsi: fix kernel-doc warnings</title>
<updated>2013-03-01T21:39:00+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2013-03-01T19:11:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8eae508b7c6ff502a71d0293b69e97c5505d5840'/>
<id>8eae508b7c6ff502a71d0293b69e97c5505d5840</id>
<content type='text'>
Fix kernel-doc warnings in hsi files:

  Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client'
  Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client'
  Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'nb' description in 'hsi_client'
  Warning(drivers/hsi/hsi.c:434): No description found for parameter 'handler'
  Warning(drivers/hsi/hsi.c:434): Excess function parameter 'cb' description in 'hsi_register_port_event'

Don't document "private:" fields with kernel-doc notation.
If you want to leave them fully documented, that's OK, but
then don't mark them as "private:".

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Carlos Chinea &lt;carlos.chinea@nokia.com&gt;
Cc: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: linux-kernel@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Acked-by: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix kernel-doc warnings in hsi files:

  Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client'
  Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client'
  Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'nb' description in 'hsi_client'
  Warning(drivers/hsi/hsi.c:434): No description found for parameter 'handler'
  Warning(drivers/hsi/hsi.c:434): Excess function parameter 'cb' description in 'hsi_register_port_event'

Don't document "private:" fields with kernel-doc notation.
If you want to leave them fully documented, that's OK, but
then don't mark them as "private:".

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Carlos Chinea &lt;carlos.chinea@nokia.com&gt;
Cc: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: linux-kernel@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Acked-by: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: hsi: Rework hsi_event interface</title>
<updated>2012-04-23T11:23:32+00:00</updated>
<author>
<name>Carlos Chinea</name>
<email>carlos.chinea@nokia.com</email>
</author>
<published>2012-04-11T07:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ec1c56ff813a198d656d4aa42e5de03e45751bf8'/>
<id>ec1c56ff813a198d656d4aa42e5de03e45751bf8</id>
<content type='text'>
Remove custom hack and make use of the notifier chain interfaces for
delivering events from the ports to their associated clients.
Clients that want to receive port events need to register their callbacks
using hsi_register_port_event(). The callbacks can be called in interrupt
context. Use hsi_unregestier_port_event() to undo the registration.

Signed-off-by: Carlos Chinea &lt;carlos.chinea@nokia.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove custom hack and make use of the notifier chain interfaces for
delivering events from the ports to their associated clients.
Clients that want to receive port events need to register their callbacks
using hsi_register_port_event(). The callbacks can be called in interrupt
context. Use hsi_unregestier_port_event() to undo the registration.

Signed-off-by: Carlos Chinea &lt;carlos.chinea@nokia.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: hsi: Remove controllers and ports from the bus</title>
<updated>2012-04-23T11:23:32+00:00</updated>
<author>
<name>Carlos Chinea</name>
<email>carlos.chinea@nokia.com</email>
</author>
<published>2012-04-10T12:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6f02b9e9b44a3bfc0046da3ff2707dae0b5e2f30'/>
<id>6f02b9e9b44a3bfc0046da3ff2707dae0b5e2f30</id>
<content type='text'>
HSI controllers and ports do not belong to the HSI bus.
Those devices are not supposed to have a driver attached to them.

Signed-off-by: Carlos Chinea &lt;carlos.chinea@nokia.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HSI controllers and ports do not belong to the HSI bus.
Those devices are not supposed to have a driver attached to them.

Signed-off-by: Carlos Chinea &lt;carlos.chinea@nokia.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: hsi: Fix error path cleanup on client registration</title>
<updated>2012-04-23T11:23:31+00:00</updated>
<author>
<name>Carlos Chinea</name>
<email>carlos.chinea@nokia.com</email>
</author>
<published>2012-04-11T08:01:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=90e41f9dc75b47ab94e2191e4c86aa8259699a33'/>
<id>90e41f9dc75b47ab94e2191e4c86aa8259699a33</id>
<content type='text'>
HSI client structure should be freed on error path after
calling device_registration by dropping a reference to it.

Signed-off-by: Carlos Chinea &lt;carlos.chinea@nokia.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HSI client structure should be freed on error path after
calling device_registration by dropping a reference to it.

Signed-off-by: Carlos Chinea &lt;carlos.chinea@nokia.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
