<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/arch/arm/mach-davinci/clock.c, branch master</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2018-06-26T10:45:55+00:00</updated>
<entry>
<title>ARM: davinci: remove legacy clocks</title>
<updated>2018-06-26T10:45:55+00:00</updated>
<author>
<name>David Lechner</name>
<email>david@lechnology.com</email>
</author>
<published>2018-05-18T16:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=88ff663d50e09fdb36dae41fdf803d01529e6883'/>
<id>urn:sha1:88ff663d50e09fdb36dae41fdf803d01529e6883</id>
<content type='text'>
This removes the unused legacy clock code from arch/arm/mach-davinci/.

Signed-off-by: David Lechner &lt;david@lechnology.com&gt;
Reviewed-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: normalize clk API</title>
<updated>2017-07-27T11:15:29+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2014-01-28T20:17:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=31d5cf1476a09c95d8f5c2d1d77fa57f7d802b52'/>
<id>urn:sha1:31d5cf1476a09c95d8f5c2d1d77fa57f7d802b52</id>
<content type='text'>
davinci still has its own clk implementation, but lacks
a clk_get_parent() helper, which can lead to link errors
in randconfig builds.

This adds the usual implementation.

Acked-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: Make __clk_{enable,disable} functions public</title>
<updated>2017-01-02T10:40:42+00:00</updated>
<author>
<name>Alexandre Bailon</name>
<email>abailon@baylibre.com</email>
</author>
<published>2016-12-09T16:59:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=48cd30b49527f04078ef7de217cc188157f76ba6'/>
<id>urn:sha1:48cd30b49527f04078ef7de217cc188157f76ba6</id>
<content type='text'>
In some cases, there is a need to enable a clock as part of
clock enable callback of a different clock. For example, USB
2.0 PHY clock enable requires USB 2.0 clock to be enabled.
In this case, it is safe to instead call __clk_enable()
since the clock framework lock is already taken. Calling
clk_enable() causes recursive locking error.

A similar case arises in the clock disable path.

To enable such usage, make __clk_{enable,disable} functions
publicly available outside of clock.c. Also, call them
davinci_clk_{enable|disable} now to be consistent with how
other davinci-specific clock functions are named.

Note that these functions are not exported to drivers. They
are meant for usage in platform specific clock management
code.

Signed-off-by: Alexandre Bailon &lt;abailon@baylibre.com&gt;
Suggested-by: David Lechner &lt;david@lechnology.com&gt;
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: Move clock init after ioremap.</title>
<updated>2016-04-27T10:33:49+00:00</updated>
<author>
<name>David Lechner</name>
<email>david@lechnology.com</email>
</author>
<published>2016-04-14T19:13:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91'/>
<id>urn:sha1:6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91</id>
<content type='text'>
Some clocks (such as the USB PHY clocks in DA8xx) will need to use iomem.
The davinci_common_init() function must be called before the ioremap, so
the clock init is now split out as separate function.

Signed-off-by: David Lechner &lt;david@lechnology.com&gt;
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: clk: add set_parent callback for mux clocks</title>
<updated>2016-04-14T10:01:48+00:00</updated>
<author>
<name>David Lechner</name>
<email>david@lechnology.com</email>
</author>
<published>2016-03-24T23:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8a9d088f66f84d7317b4adc64d3d3114f1ee8583'/>
<id>urn:sha1:8a9d088f66f84d7317b4adc64d3d3114f1ee8583</id>
<content type='text'>
Introduce a set_parent callback that will be used for mux clocks, such as
the USB PHY muxes and the async3 clock domain mux.

Signed-off-by: David Lechner &lt;david@lechnology.com&gt;
[nsekhar@ti.com: checkpatch fixes]
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: make headers more local</title>
<updated>2015-12-01T20:52:51+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2015-01-30T09:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3acf731ccad039d91721b6cd9fc85569e9f958ca'/>
<id>urn:sha1:3acf731ccad039d91721b6cd9fc85569e9f958ca</id>
<content type='text'>
Some header files are never included outside of a mach-davinci
directory and do not need to be made visible in include/mach,
so let's just move them all down one level.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: clock: Correct return values for API functions</title>
<updated>2015-10-07T11:11:29+00:00</updated>
<author>
<name>Peter Ujfalusi</name>
<email>peter.ujfalusi@ti.com</email>
</author>
<published>2015-09-14T09:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f6c1a8a6ce19d30c235ef0fa285d5110aafaefe2'/>
<id>urn:sha1:f6c1a8a6ce19d30c235ef0fa285d5110aafaefe2</id>
<content type='text'>
Fix the values returned by the publicly used functions.
These function should return 0 when they are called with clk == NULL in
similar manner as the clock API does to avoid different behavior in drivers
used by daVinci and other architectures.

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: Use standard logging styles</title>
<updated>2014-11-18T15:36:41+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2014-11-01T00:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a7ca2bcf2d2ef15c343a12f2a4c2e06380a0f495'/>
<id>urn:sha1:a7ca2bcf2d2ef15c343a12f2a4c2e06380a0f495</id>
<content type='text'>
Convert printks to pr_&lt;level&gt; and pr_warning to pr_warn.

Other miscellanea:

o Coalesce formats
o Realign arguments
o Use %s, __func__ instead of embedded function names
o Add pr_fmt to mityomapl138 and mux

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: clock: return 0 upon error from clk_round_rate()</title>
<updated>2013-11-27T09:18:33+00:00</updated>
<author>
<name>Paul Walmsley</name>
<email>pwalmsley@nvidia.com</email>
</author>
<published>2013-11-27T00:56:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4408c26bc37fa8ada493ad41a6c7659b76fff483'/>
<id>urn:sha1:4408c26bc37fa8ada493ad41a6c7659b76fff483</id>
<content type='text'>
clk_round_rate() should return 0 now upon an error, rather than returning
a negative error code.  This is because clk_round_rate() is being changed
to return an unsigned return type rather than a signed type, since some
clock sources can generate rates higher than (2^31)-1 Hz.

Signed-off-by: Paul Walmsley &lt;paul@pwsan.com&gt;
Cc: Philip Avinash &lt;avinashphilip@ti.com&gt;
Cc: Sekhar Nori &lt;nsekhar@ti.com&gt;
Cc: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>ARM: davinci: clk framework support for enable/disable functionality</title>
<updated>2013-04-01T11:24:47+00:00</updated>
<author>
<name>Philip Avinash</name>
<email>avinashphilip@ti.com</email>
</author>
<published>2013-03-25T09:37:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c6007ffe842892484027a40b6ac18d29ac11e2ce'/>
<id>urn:sha1:c6007ffe842892484027a40b6ac18d29ac11e2ce</id>
<content type='text'>
DaVinci clock implementation does not support clock enable/disable
functionality on non-PSC clock nodes.

On DA850 SoC, EHRPWM module requires support for enable/disable
of TBCLK controlled using a system module register.

This patch adds a method for enabling/disabling non-PSC clocks
into DaVinci clock implementation.

Signed-off-by: Philip Avinash &lt;avinashphilip@ti.com&gt;
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
</feed>
