<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/soc/tegra/pmc.c, branch linux-4.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-08-13T14:49:58Z</updated>
<entry>
<title>soc/tegra: pmc: Use existing pclk reference</title>
<updated>2015-08-13T14:49:58Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2015-08-04T13:25:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=592431b0369dc7a1f4a68f15ff0c48d94b66297f'/>
<id>urn:sha1:592431b0369dc7a1f4a68f15ff0c48d94b66297f</id>
<content type='text'>
The driver requests the pclk clock at probe time already and stores its
reference to it in struct tegra_pmc, so there is no need to look it up
everytime it is needed. Use the existing reference instead.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Remove unnecessary return statement</title>
<updated>2015-08-13T14:49:43Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2015-07-03T09:50:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a4466a6a418b96d6cb07ffb46cefa13df8f12ef'/>
<id>urn:sha1:4a4466a6a418b96d6cb07ffb46cefa13df8f12ef</id>
<content type='text'>
Functions returning no value don't need an explicit return statement.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Add Tegra210 support</title>
<updated>2015-07-16T08:38:27Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2015-03-23T10:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2fe4694d8ac0f997f6d7088437b710fc4e4a185'/>
<id>urn:sha1:c2fe4694d8ac0f997f6d7088437b710fc4e4a185</id>
<content type='text'>
Tegra210 uses a power management controller that is compatible with
earlier SoC generations but adds a couple of power partitions for new
hardware blocks.

Reviewed-by: Paul Walmsley &lt;paul@pwsan.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Restrict legacy code to 32-bit ARM</title>
<updated>2015-07-16T08:38:26Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2015-04-29T10:42:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d71e90377fd74334dcfb5c265e204eef1613b53'/>
<id>urn:sha1:7d71e90377fd74334dcfb5c265e204eef1613b53</id>
<content type='text'>
For backwards-compatibility with old device trees, if no PMC node exists
this driver hard-codes the I/O memory region. All 64-bit ARM device tree
files are recent enough that they can be required to have this node, and
therefore the legacy code path is not required on 64-bit ARM.

Based on work done by Paul Walmsley &lt;pwalmsley@nvidia.com&gt;.

Cc: Paul Walmsley &lt;pwalmsley@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Avoid usage of uninitialized variable</title>
<updated>2015-07-16T08:38:20Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2015-07-09T07:59:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95169cd23bfa88003f8be06234dbd65f5737add0'/>
<id>urn:sha1:95169cd23bfa88003f8be06234dbd65f5737add0</id>
<content type='text'>
Make sure to only drop the reference to the OF node after it's been
successfully obtained.

Fixes: 3568df3d31d6 ("soc: tegra: Add thermal reset (thermtrip) support to PMC")
Cc: &lt;stable@vger.kernel.org&gt; # v4.0+
Reviewed-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'module-builtin_driver-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux</title>
<updated>2015-07-02T17:42:13Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2015-07-02T17:42:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75462c8a87ec229e6796df5075318d824df31ead'/>
<id>urn:sha1:75462c8a87ec229e6796df5075318d824df31ead</id>
<content type='text'>
Pull module_platform_driver replacement from Paul Gortmaker:
 "Replace module_platform_driver with builtin_platform driver in non
  modules.

  We see an increasing number of non-modular drivers using
  modular_driver() type register functions.  There are several downsides
  to letting this continue unchecked:

   - The code can appear modular to a reader of the code, and they won't
     know if the code really is modular without checking the Makefile
     and Kconfig to see if compilation is governed by a bool or
     tristate.

   - Coders of drivers may be tempted to code up an __exit function that
     is never used, just in order to satisfy the required three args of
     the modular registration function.

   - Non-modular code ends up including the &lt;module.h&gt; which increases
     CPP overhead that they don't need.

   - It hinders us from performing better separation of the module init
     code and the generic init code.

  So here we introduce similar macros for builtin drivers.  Then we
  convert builtin drivers (controlled by a bool Kconfig) by making the
  following type of mapping:

    module_platform_driver()       ---&gt;  builtin_platform_driver()
    module_platform_driver_probe() ---&gt;  builtin_platform_driver_probe().

  The set of drivers that are converted here are just the ones that
  showed up as relying on an implicit include of &lt;module.h&gt; during a
  pending header cleanup.  So we convert them here vs adding an include
  of &lt;module.h&gt; to non-modular code to avoid compile fails.  Additonal
  conversions can be done asynchronously at any time.

  Once again, an unused module_exit function that is removed here
  appears in the diffstat as an outlier wrt all the other changes"

* tag 'module-builtin_driver-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux:
  drivers/clk: convert sunxi/clk-mod0.c to use builtin_platform_driver
  drivers/power: Convert non-modular syscon-reboot to use builtin_platform_driver
  drivers/soc: Convert non-modular soc-realview to use builtin_platform_driver
  drivers/soc: Convert non-modular tegra/pmc to use builtin_platform_driver
  drivers/cpufreq: Convert non-modular s5pv210-cpufreq.c to use builtin_platform_driver
  drivers/cpuidle: Convert non-modular drivers to use builtin_platform_driver
  drivers/platform: Convert non-modular pdev_bus to use builtin_platform_driver
  platform_device: better support builtin boilerplate avoidance
</content>
</entry>
<entry>
<title>drivers/soc: Convert non-modular tegra/pmc to use builtin_platform_driver</title>
<updated>2015-06-16T18:12:38Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2015-05-02T00:10:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d4d9ed6ef5219857865dd57d425f9729d0a39ff'/>
<id>urn:sha1:7d4d9ed6ef5219857865dd57d425f9729d0a39ff</id>
<content type='text'>
This file depends on Kconfig ARCH_TEGRA which is a bool, so
we use the appropriate registration function, which avoids us
relying on an implicit inclusion of &lt;module.h&gt; which we are
doing currently.

While this currently works, we really don't want to be including
the module.h header in non-modular code, which we'd be forced
to do, pending some upcoming code relocation from init.h into
module.h.  So we fix it now by using the non-modular equivalent.

Cc: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Cc: Thierry Reding &lt;thierry.reding@gmail.com&gt;
Cc: Alexandre Courbot &lt;gnurou@gmail.com&gt;
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: move to using a restart handler</title>
<updated>2015-05-04T12:21:45Z</updated>
<author>
<name>David Riley</name>
</author>
<published>2015-03-18T09:52:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7892158a96629c46c46dfae52eaf951f51222cf5'/>
<id>urn:sha1:7892158a96629c46c46dfae52eaf951f51222cf5</id>
<content type='text'>
The pmc driver was previously exporting tegra_pmc_restart, which was
assigned to machine_desc.init_machine, taking precedence over the
restart handlers registered through register_restart_handler().

Signed-off-by: David Riley &lt;davidriley@chromium.org&gt;
[tomeu.vizoso@collabora.com: Rebased]
Signed-off-by: Tomeu Vizoso &lt;tomeu.vizoso@collabora.com&gt;
Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
[treding@nvidia.com: minor cleanups]
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc: tegra: Add thermal reset (thermtrip) support to PMC</title>
<updated>2015-01-23T15:20:49Z</updated>
<author>
<name>Mikko Perttunen</name>
</author>
<published>2015-01-06T10:52:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3568df3d31d62b4368830cc6aac868cecdefd187'/>
<id>urn:sha1:3568df3d31d62b4368830cc6aac868cecdefd187</id>
<content type='text'>
This adds a device tree controlled option to enable PMC-based
thermal reset in overheating situations. Thermtrip is supported on
Tegra30, Tegra114 and Tegra124. The thermal reset only works when
the thermal sensors are calibrated, so a soctherm driver is also
required.

The thermtrip event is triggered by the soctherm block, and all
soctherm sensors default to showing a temperature of zero Celsius
before they are initialized. Because of this, it is safe to initialize
thermtrip and soctherm in any order.

Signed-off-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Add Tegra132 support</title>
<updated>2015-01-09T15:14:53Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2015-01-09T10:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9a40a4a58bac4ff92d0c7e5aa82043074533a6a'/>
<id>urn:sha1:a9a40a4a58bac4ff92d0c7e5aa82043074533a6a</id>
<content type='text'>
Tegra132 uses the same GPU as Tegra124 and therefore requires the same
method to remove clamps. However Tegra132 has a separate chip ID, so in
order to avoid having to extend the list of chip IDs for the special
case, add a feature flag to the SoC data.

Reviewed-by: Paul Walmsley &lt;pwalmsley@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
</feed>
