<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/clk/x86, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-04-10T22:54:12Z</updated>
<entry>
<title>clk: x86: Add system specific quirk to mark clocks as critical</title>
<updated>2019-04-10T22:54:12Z</updated>
<author>
<name>David Müller</name>
</author>
<published>2019-04-08T13:33:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c2e07130090ae001a97a6b65597830d6815e93e'/>
<id>urn:sha1:7c2e07130090ae001a97a6b65597830d6815e93e</id>
<content type='text'>
Since commit 648e921888ad ("clk: x86: Stop marking clocks as
CLK_IS_CRITICAL"), the pmc_plt_clocks of the Bay Trail SoC are
unconditionally gated off. Unfortunately this will break systems where these
clocks are used for external purposes beyond the kernel's knowledge. Fix it
by implementing a system specific quirk to mark the necessary pmc_plt_clks as
critical.

Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
Signed-off-by: David Müller &lt;dave.mueller@gmx.ch&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branches 'clk-qcom-msm8998', 'clk-fractional-parent', 'clk-x86-mv' and 'clk-SA-fixes' into clk-next</title>
<updated>2019-03-08T18:29:15Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2019-03-08T18:29:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75f486c015b51d00412f0671e3dfbb45b42f27ce'/>
<id>urn:sha1:75f486c015b51d00412f0671e3dfbb45b42f27ce</id>
<content type='text'>
 - Updates for qcom MSM8998 GCC clks
 - qcom MSM8998 RPM managed clks
 - Random static analysis fixes for clk drivers

* clk-qcom-msm8998:
  clk: qcom: Make common clk_hw registrations
  clk: qcom: smd: Add support for MSM8998 rpm clocks
  clk: qcom: Skip halt checks on gcc_usb3_phy_pipe_clk for 8998
  clk: qcom: Add missing freq for usb30_master_clk on 8998
  clk: qcom: Add CLK_SET_RATE_PARENT for 8998 branch clocks

* clk-fractional-parent:
  clk: fractional-divider: check parent rate only if flag is set

* clk-x86-mv:
  clk: x86: Move clk-lpss.h to platform_data/x86

* clk-SA-fixes:
  clk: mediatek: fix platform_no_drv_owner.cocci warnings
  clk: tegra: dfll: Fix debugfs_simple_attr.cocci warnings
  clk: qoriq: Improve an error message
</content>
</entry>
<entry>
<title>clk: x86: Move clk-lpss.h to platform_data/x86</title>
<updated>2019-02-22T08:14:31Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2019-02-18T19:34:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9443a63283ae7eb78f735341da22bc3a69a464d'/>
<id>urn:sha1:a9443a63283ae7eb78f735341da22bc3a69a464d</id>
<content type='text'>
clk-lpss.h is solely x86 related header. Move it to correct folder.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: clk-st: avoid clkdev lookup leak at remove</title>
<updated>2019-02-06T18:35:04Z</updated>
<author>
<name>Matti Vaittinen</name>
</author>
<published>2018-12-07T11:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3236214e7dead87e7aefd32259aaf0bf41cf050'/>
<id>urn:sha1:d3236214e7dead87e7aefd32259aaf0bf41cf050</id>
<content type='text'>
Use devm based clkdev lookup registration to avoid leaking lookup
structures.

Signed-off-by: Matti Vaittinen &lt;matti.vaittinen@fi.rohmeurope.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: x86: Stop marking clocks as CLK_IS_CRITICAL</title>
<updated>2018-09-18T01:47:58Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2018-09-12T09:34:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=648e921888ad96ea3dc922739e96716ad3225d7f'/>
<id>urn:sha1:648e921888ad96ea3dc922739e96716ad3225d7f</id>
<content type='text'>
Commit d31fd43c0f9a ("clk: x86: Do not gate clocks enabled by the
firmware"), which added the code to mark clocks as CLK_IS_CRITICAL, causes
all unclaimed PMC clocks on Cherry Trail devices to be on all the time,
resulting on the device not being able to reach S0i3 when suspended.

The reason for this commit is that on some Bay Trail / Cherry Trail devices
the r8169 ethernet controller uses pmc_plt_clk_4. Now that the clk-pmc-atom
driver exports an "ether_clk" alias for pmc_plt_clk_4 and the r8169 driver
has been modified to get and enable this clock (if present) the marking of
the clocks as CLK_IS_CRITICAL is no longer necessary.

This commit removes the CLK_IS_CRITICAL marking, fixing Cherry Trail
devices not being able to reach S0i3 greatly decreasing their battery
drain when suspended.

Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=193891#c102
Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=196861
Cc: Johannes Stezenbach &lt;js@sig21.net&gt;
Cc: Carlo Caione &lt;carlo@endlessm.com&gt;
Reported-by: Johannes Stezenbach &lt;js@sig21.net&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail</title>
<updated>2018-09-18T01:47:58Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2018-09-12T09:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1e3454d39f992e5409cd19f97782185950df6e7'/>
<id>urn:sha1:b1e3454d39f992e5409cd19f97782185950df6e7</id>
<content type='text'>
Commit d31fd43c0f9a ("clk: x86: Do not gate clocks enabled by the
firmware") causes all unclaimed PMC clocks on Cherry Trail devices to be on
all the time, resulting on the device not being able to reach S0i2 or S0i3
when suspended.

The reason for this commit is that on some Bay Trail / Cherry Trail devices
the ethernet controller uses pmc_plt_clk_4. This commit adds an "ether_clk"
alias, so that the relevant ethernet drivers can try to (optionally) use
this, without needing X86 specific code / hacks, thus fixing ethernet on
these devices without breaking S0i3 support.

This commit uses clkdev_hw_create() to create the alias, mirroring the code
for the already existing "mclk" alias for pmc_plt_clk_3.

Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=193891#c102
Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=196861
Cc: Johannes Stezenbach &lt;js@sig21.net&gt;
Cc: Carlo Caione &lt;carlo@endlessm.com&gt;
Reported-by: Johannes Stezenbach &lt;js@sig21.net&gt;
Acked-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>clk: x86: Set default parent to 48Mhz</title>
<updated>2018-08-30T21:47:41Z</updated>
<author>
<name>Akshu Agrawal</name>
</author>
<published>2018-08-21T06:51:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bded6c03e398dc6e862dc8301fb9a60175740653'/>
<id>urn:sha1:bded6c03e398dc6e862dc8301fb9a60175740653</id>
<content type='text'>
System clk provided in ST soc can be set to:
48Mhz, non-spread
25Mhz, spread
To get accurate rate, we need it to set it at non-spread
option which is 48Mhz.

Signed-off-by: Akshu Agrawal &lt;akshu.agrawal@amd.com&gt;
Reviewed-by: Daniel Kurtz &lt;djkurtz@chromium.org&gt;
Fixes: 421bf6a1f061 ("clk: x86: Add ST oscout platform clock")
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: x86: Add ST oscout platform clock</title>
<updated>2018-05-17T10:44:06Z</updated>
<author>
<name>Akshu Agrawal</name>
</author>
<published>2018-05-09T09:59:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=421bf6a1f061a6edba47e5e7a5458f29eb791de9'/>
<id>urn:sha1:421bf6a1f061a6edba47e5e7a5458f29eb791de9</id>
<content type='text'>
Stoney SoC provides oscout clock. This clock can support 25Mhz and
48Mhz of frequency.
The clock is available for general system use.

Signed-off-by: Akshu Agrawal &lt;akshu.agrawal@amd.com&gt;
Reviewed-by: Daniel Kurtz &lt;djkurtz@chromium.org&gt;
Reviewed-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<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>
</feed>
