<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/clk/x86, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-07-18T23:23:13Z</updated>
<entry>
<title>clk: x86: Do not gate clocks enabled by the firmware</title>
<updated>2017-07-18T23:23:13Z</updated>
<author>
<name>Carlo Caione</name>
</author>
<published>2017-07-14T08:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d31fd43c0f9a41e2678a1e78c0f22f0384c6edd3'/>
<id>urn:sha1:d31fd43c0f9a41e2678a1e78c0f22f0384c6edd3</id>
<content type='text'>
Read the enable register to determine if the clock is already in use by
the firmware. In this case avoid gating the clock.

Tested-by: Enric Balletbo i Serra &lt;enric.balletbo@collabora.com&gt;
Acked-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Darren Hart (VMware) &lt;dvhart@infradead.org&gt;
Signed-off-by: Carlo Caione &lt;carlo@endlessm.com&gt;
Fixes: 282a4e4ce5f9 ("platform/x86: Enable Atom PMC platform clocks")
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: x86: pmc-atom: Checking for IS_ERR() instead of NULL</title>
<updated>2017-05-01T18:13:25Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2017-04-22T10:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0119dc6132d2110df8f3545bd0ffe29aa0752d6b'/>
<id>urn:sha1:0119dc6132d2110df8f3545bd0ffe29aa0752d6b</id>
<content type='text'>
clkdev_hw_create() returns NULLs on error, it doesn't return error
pointers.

Fixes: 41ee7caf59e1 ("clk: x86: add "mclk" alias for Baytrail/Cherrytrail")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: x86: add "mclk" alias for Baytrail/Cherrytrail</title>
<updated>2017-04-19T16:52:32Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
</author>
<published>2017-02-20T20:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41ee7caf59e1c68d696162523cdf1fa7f717a731'/>
<id>urn:sha1:41ee7caf59e1c68d696162523cdf1fa7f717a731</id>
<content type='text'>
Due to timing requirements, TI and Conexant manage the audio
reference clock from their ASoC codec drivers using the "mclk"
string. This patch adds another lookup for the "pmc_plt_clk_3"
clock to avoid Intel-specific tests in those codec drivers and
use code as-is.

To avoid a leak, clk_add_alias() is not used in this patch.
Instead the lookup is created manually as part of the .probe()
step and dropped in the .remove() step.

"pmc_plt_clk_3" is used exclusively for audio on all known
Baytrail/CherryTrail designs and is e.g. routed on the MCLK
(pin 26) of the MinnowBoardMAX Turbot LSE connector.

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: x86: Add Atom PMC platform clocks</title>
<updated>2017-01-27T00:20:46Z</updated>
<author>
<name>Irina Tirdea</name>
</author>
<published>2017-01-23T18:07:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1141d9d08184565b71a943a50ffe712b2dfc697f'/>
<id>urn:sha1:1141d9d08184565b71a943a50ffe712b2dfc697f</id>
<content type='text'>
The BayTrail and CherryTrail platforms provide platform clocks
through their Power Management Controller (PMC).

The SoC supports up to 6 clocks (PMC_PLT_CLK[0..5]) with a
frequency of either 19.2 MHz (PLL) or 25 MHz (XTAL) for BayTrail
and a frequency of 19.2 MHz (XTAL) for CherryTrail. These clocks
are available for general system use, where appropriate, and each
have Control &amp; Frequency register fields associated with them.

Port from legacy by Pierre Bossart, integration in clock framework
by Irina Tirdea

Signed-off-by: Irina Tirdea &lt;irina.tirdea@intel.com&gt;
Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Acked-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: x86: Remove clkdev.h and clk.h includes</title>
<updated>2016-03-03T19:27:26Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2016-03-01T19:00:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4106684e114d07cdb0d7803963fa6e45aedc0ff4'/>
<id>urn:sha1:4106684e114d07cdb0d7803963fa6e45aedc0ff4</id>
<content type='text'>
This driver is a clk provider and not a clk consumer, so remove
the clk.h include. Also, drop clkdev.h because there's not clkdev
usage here either.

Acked-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: x86: Remove CLK_IS_ROOT</title>
<updated>2016-03-03T19:27:18Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2016-03-01T19:00:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=553b4858177d62a4969925ade1ea894c2a07b235'/>
<id>urn:sha1:553b4858177d62a4969925ade1ea894c2a07b235</id>
<content type='text'>
This flag is a no-op now. Remove usage of the flag.

Acked-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: x86: drop owner assignment from platform_drivers</title>
<updated>2014-10-20T14:20:23Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2014-10-20T14:20:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e030f980b3ed2d9f3a3e37f3e6941494c7c0c471'/>
<id>urn:sha1:e030f980b3ed2d9f3a3e37f3e6941494c7c0c471</id>
<content type='text'>
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>ACPI / LPSS: add support for Intel BayTrail</title>
<updated>2013-06-18T23:08:47Z</updated>
<author>
<name>Mika Westerberg</name>
</author>
<published>2013-05-13T12:42:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f627217064dbef1eef53ceb01edb9c94203991e0'/>
<id>urn:sha1:f627217064dbef1eef53ceb01edb9c94203991e0</id>
<content type='text'>
Intel BayTrail has almost the same Low Power Subsystem than Lynxpoint with
few differences. Peripherals are clocked with different speeds (typically
lower) and the clock is not always gated. To support this we add
possibility to share a common fixed rate clock and make clock gating
optional.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Acked-by: Mike Turquette &lt;mturquette@linaro.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI / LPSS: register clock device for Lynxpoint DMA properly</title>
<updated>2013-05-14T04:53:58Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2013-05-08T08:55:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b59cc200ac025aca597fb21862c1c9e667f2eff2'/>
<id>urn:sha1:b59cc200ac025aca597fb21862c1c9e667f2eff2</id>
<content type='text'>
The DMA controller in Lynxpoint is enumerated as a regular ACPI device now. To
work properly it is using the LPSS root clock as a functional clock. That's why
we have to register the clock device accordingly to the ACPI ID of the DMA
controller. The acpi_lpss.c module is responsible to do the job.

This patch also removes hardcoded name of the DMA device in clk-lpt.c and the
name of the root clock in acpi_lpss.c.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI / scan: Add special handler for Intel Lynxpoint LPSS devices</title>
<updated>2013-03-21T21:44:38Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2013-03-06T22:46:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f58b082aed43400c03e53beacc50a9f9eb23ac91'/>
<id>urn:sha1:f58b082aed43400c03e53beacc50a9f9eb23ac91</id>
<content type='text'>
Devices on the Intel Lynxpoint Low Power Subsystem (LPSS) have some
common features that aren't shared with any other platform devices,
including the clock and LTR (Latency Tolerance Reporting) registers.
It is better to handle those features in common code than to bother
device drivers with doing that (I/O functionality-wise the LPSS
devices are generally compatible with other devices that don't
have those special registers and may be handled by the same drivers).

The clock registers of the LPSS devices are now taken care of by
the special clk-x86-lpss driver, but the MMIO mappings used for
accessing those registers can also be used for accessing the LTR
registers on those devices (LTR support for the Lynxpoint LPSS is
going to be added by a subsequent patch).  Thus it is convenient
to add a special ACPI scan handler for the Lynxpoint LPSS devices
that will create the MMIO mappings for accessing the clock (and
LTR in the future) registers and will register the LPSS devices'
clocks, so the clk-x86-lpss driver will only need to take care of
the main Lynxpoint LPSS clock.

Introduce a special ACPI scan handler for Intel Lynxpoint LPSS
devices as described above.  This also reduces overhead related to
browsing the ACPI namespace in search of the LPSS devices before the
registration of their clocks, removes some LPSS-specific (and
somewhat ugly) code from acpi_platform.c and shrinks the overall code
size slightly.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Acked-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
</feed>
