<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/clocksource/sh_mtu2.c, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2014-07-04T13:50:29Z</updated>
<entry>
<title>clocksource: sh_mtu2: Add DT support</title>
<updated>2014-07-04T13:50:29Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-03-04T17:28:26Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cca8d0596c4c7acb371ea1bc5eee9b404b30516a'/>
<id>urn:sha1:cca8d0596c4c7acb371ea1bc5eee9b404b30516a</id>
<content type='text'>
Document DT bindings and parse them in the MTU2 driver.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Tested-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_mtu2: Replace global spinlock with a per-device spinlock</title>
<updated>2014-07-02T14:01:50Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-03-04T14:25:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8b2463d8cae2dda0c98ab5a15f25a0350a0e998d'/>
<id>urn:sha1:8b2463d8cae2dda0c98ab5a15f25a0350a0e998d</id>
<content type='text'>
The global spinlock is used to protect the shared start/stop register.
Now that all MTU2 channels are handled by a single device instance, use
a per-device spinlock.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Tested-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_mtu2: Drop support for legacy platform data</title>
<updated>2014-07-02T14:01:50Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-03-04T17:13:57Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1a5da0e43be0c07462e445549dbdd4a1731a3e11'/>
<id>urn:sha1:1a5da0e43be0c07462e445549dbdd4a1731a3e11</id>
<content type='text'>
Now that all platforms have switched to the new-style platform data,
drop support for the legacy version.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Tested-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_mtu2: Remove unnecessary OOM messages</title>
<updated>2014-05-23T07:23:11Z</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2014-05-22T12:05:07Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c77a565b2966567b97d589e90a6b9ce725bb15b1'/>
<id>urn:sha1:c77a565b2966567b97d589e90a6b9ce725bb15b1</id>
<content type='text'>
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.

[dlezcano] : refreshed against latest modifications: kmalloc -&gt; kzalloc

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_mtu2: Sort headers alphabetically</title>
<updated>2014-04-16T10:03:34Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-03-04T13:11:47Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=346f5e76b3822a2530a03f33b00ee89dfc463326'/>
<id>urn:sha1:346f5e76b3822a2530a03f33b00ee89dfc463326</id>
<content type='text'>
This helps locating duplicates and inserting new headers.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Tested-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_mtu2: Remove FSF mail address from GPL notice</title>
<updated>2014-04-16T10:03:33Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-03-04T13:12:32Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=24c8f71707087eb177b45f4a24faedaa0d8f0287'/>
<id>urn:sha1:24c8f71707087eb177b45f4a24faedaa0d8f0287</id>
<content type='text'>
Do not include the paragraph about writing to the Free Software
Foundation's mailing address from the sample GPL notice. The FSF has
changed addresses in the past, and may do so again. Linux already
includes a copy of the GPL.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Tested-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_mtu2: Rename clock to "fck" in the non-legacy case</title>
<updated>2014-04-16T10:03:33Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-03-04T17:09:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6dc9693bb3997cb324a2ffb39deaa72081a9bd0d'/>
<id>urn:sha1:6dc9693bb3997cb324a2ffb39deaa72081a9bd0d</id>
<content type='text'>
The sh_mtu2 driver gets the MTU2 functional clock using a connection ID
of "mtu2_fck". While all SH SoCs create clock lookup entries with a NULL
device ID and a "mtu2_fck" connection ID, the ARM SoCs use the device ID
only with a NULL connection ID. This works on legacy platforms but will
break on ARM with DT boot.

Fix the situation by using a connection ID of "fck" in the non-legacy
platform data case. Clock lookup entries will be renamed to use the
device ID as well as the connection ID as platforms get moved to new
platform data. The legacy code will eventually be dropped, leaving us
with device ID based clock lookup, compatible with DT boot.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Tested-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_mtu2: Add support for multiple channels per device</title>
<updated>2014-04-16T10:03:32Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-03-04T17:05:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=faf3f4f8c805f5f8a786ba544c94bf3e01838388'/>
<id>urn:sha1:faf3f4f8c805f5f8a786ba544c94bf3e01838388</id>
<content type='text'>
MTU2 hardware devices can support multiple channels, with global
registers and per-channel registers. The sh_mtu2 driver currently models
the hardware with one Linux device per channel. This model makes it
difficult to handle global registers in a clean way.

Add support for a new model that uses one Linux device per timer with
multiple channels per device. This requires changes to platform data,
add new channel configuration fields.

Support for the legacy model is kept and will be removed after all
platforms switch to the new model.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Tested-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_mtu2: Hardcode MTU2 clock event rating to 200</title>
<updated>2014-04-16T10:03:32Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-03-04T14:19:41Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=207e21a9732a27f58843ccae1c9644f3a1636b66'/>
<id>urn:sha1:207e21a9732a27f58843ccae1c9644f3a1636b66</id>
<content type='text'>
All boards use clock event ratings of 200 for the MTU2, hardcode it in
the driver.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Tested-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
</content>
</entry>
<entry>
<title>clocksource: sh_mtu2: Set cpumask to cpu_possible_mask</title>
<updated>2014-04-16T10:03:31Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-03-04T14:22:19Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3cc950479891040366629247357512f1cc928da3'/>
<id>urn:sha1:3cc950479891040366629247357512f1cc928da3</id>
<content type='text'>
The MTU2 is not tied to CPU0, make it usable on any CPU.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Tested-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
</content>
</entry>
</feed>
