<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/hsi/controllers, branch v4.7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-05-09T20:45:18Z</updated>
<entry>
<title>HSI: omap-ssi: move omap_ssi_port_update_fclk</title>
<updated>2016-05-09T20:45:18Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2016-05-03T15:16:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c2f90a465df75254fb41bf6e7975464929c21e26'/>
<id>urn:sha1:c2f90a465df75254fb41bf6e7975464929c21e26</id>
<content type='text'>
After the clk change support, the ssi omap ssi core driver
now calls into the port driver to change fclk. This function
was previously inside of an #ifdef, because it was only used
when CONFIG_PM is enabled. Now it also gets used without
power management support:

drivers/hsi/built-in.o: In function `ssi_clk_event':
omap_ssi_port.c:(.text+0x1bf8): undefined reference to `omap_ssi_port_update_fclk'

This moves the function outside of the CONFIG_PM guard.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: 4bcf7414528a ("HSI: omap-ssi: add clk change support")
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: omap-ssi: include pinctrl header files</title>
<updated>2016-05-09T20:45:18Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2016-05-03T15:16:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ac8e3ff3a07cb8bf7a5ce4627c39a50e71dcd394'/>
<id>urn:sha1:ac8e3ff3a07cb8bf7a5ce4627c39a50e71dcd394</id>
<content type='text'>
The driver now uses some pinctrl functions, but fails
to build if PINCTRL is disabled because the respective
header files are only included indirectly:

drivers/hsi/controllers/omap_ssi_core.c: In function 'ssi_clk_event':
drivers/hsi/controllers/omap_ssi_core.c:317:4: error: implicit declaration of function 'pinctrl_pm_select_idle_state' [-Werror=implicit-function-declaration]
drivers/hsi/controllers/omap_ssi_core.c:339:4: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
drivers/hsi/controllers/omap_ssi_port.c: In function 'ssi_flush':
drivers/hsi/controllers/omap_ssi_port.c:520:2: error: implicit declaration of function 'pinctrl_pm_select_idle_state' [-Werror=implicit-function-declaration]

This includes the headers from the files that call the functions,
which works even if pinctrl is turned off.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: 4bcf7414528a ("HSI: omap-ssi: add clk change support")
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: omap-ssi: add COMMON_CLK dependency</title>
<updated>2016-05-09T20:45:18Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2016-05-03T15:16:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=53c703501e3c10283315f1c846d4ebea7d371c4d'/>
<id>urn:sha1:53c703501e3c10283315f1c846d4ebea7d371c4d</id>
<content type='text'>
Enabling the omap ssi driver without COMMON_CLK results in a build failure:

drivers/hsi/controllers/omap_ssi_core.c: In function 'ssi_clk_event':
drivers/hsi/controllers/omap_ssi_core.c:304:7: error: 'PRE_RATE_CHANGE' undeclared (first use in this function)

This adds a Kconfig dependency to avoid the invalid configuration.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: 4bcf7414528a ("HSI: omap-ssi: add clk change support")
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: omap-ssi: add clk change support</title>
<updated>2016-05-02T19:56:25Z</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-01-31T00:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4bcf7414528a6b7ca52d28953a732a4cf36063e8'/>
<id>urn:sha1:4bcf7414528a6b7ca52d28953a732a4cf36063e8</id>
<content type='text'>
This adds support for frequency changes of the SSI
functional clock, which may occur due to DVFS.

Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-By: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: omap_ssi: built omap_ssi and omap_ssi_port into one module</title>
<updated>2016-05-02T19:56:21Z</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-04-30T01:24:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0fae198988b873d30fe9ecb6a6271afb36df97e9'/>
<id>urn:sha1:0fae198988b873d30fe9ecb6a6271afb36df97e9</id>
<content type='text'>
Merge omap_ssi and omap_ssi_port into one module. This
fixes problems with module cycle dependencies introduced
by future patches.

Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: omap_ssi: fix removal of port platform device</title>
<updated>2016-05-02T19:56:17Z</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-04-30T01:23:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2a57aba8503d5694ee113016cb1a107831b8236f'/>
<id>urn:sha1:2a57aba8503d5694ee113016cb1a107831b8236f</id>
<content type='text'>
This avoids removal of the HSI port device when
only the platform port device should be removed
and clears the POPULATED bit in the DT node, so
that a new platform device is created when the
driver is probed again.

Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: omap_ssi: make sure probe stays available</title>
<updated>2016-05-02T19:56:12Z</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-04-29T23:01:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0845e1f20af100d1d4ac7cc111a8dfb790f94a16'/>
<id>urn:sha1:0845e1f20af100d1d4ac7cc111a8dfb790f94a16</id>
<content type='text'>
device can be unbind/rebind, so probe should
stay available.

Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: omap_ssi: fix module unloading</title>
<updated>2016-05-02T19:56:01Z</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-04-29T22:07:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f704e1103e05a65c83b85c66d947e57bc20d6edd'/>
<id>urn:sha1:f704e1103e05a65c83b85c66d947e57bc20d6edd</id>
<content type='text'>
Removal of ssi controller debugfs directory must
happen after the clients have been removed from
it.

Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: omap_ssi_port: switch to gpiod API</title>
<updated>2016-05-02T19:55:20Z</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-04-29T22:04:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=73e6ce09c068d42d627874019899f1138740a6c5'/>
<id>urn:sha1:73e6ce09c068d42d627874019899f1138740a6c5</id>
<content type='text'>
Simplify driver by switching to new gpio descriptor based API.

Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>HSI: omap_ssi_port: fix handling of_get_named_gpio result</title>
<updated>2016-01-07T15:07:54Z</updated>
<author>
<name>Andrzej Hajda</name>
<email>a.hajda@samsung.com</email>
</author>
<published>2015-09-21T13:33:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=525e1abc6b5a7d8bd9006de1da6e99722305ea2b'/>
<id>urn:sha1:525e1abc6b5a7d8bd9006de1da6e99722305ea2b</id>
<content type='text'>
The function can return negative value.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576

Signed-off-by: Andrzej Hajda &lt;a.hajda@samsung.com&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
</feed>
