<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/soc/tegra/pmc.c, branch linux-5.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-01-06T08:45:59Z</updated>
<entry>
<title>remove ioremap_nocache and devm_ioremap_nocache</title>
<updated>2020-01-06T08:45:59Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-01-06T08:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4bdc0d676a643140bdf17dbf7eafedee3d496a3c'/>
<id>urn:sha1:4bdc0d676a643140bdf17dbf7eafedee3d496a3c</id>
<content type='text'>
ioremap has provided non-cached semantics by default since the Linux 2.6
days, so remove the additional ioremap_nocache interface.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Add reset sources and levels on Tegra194</title>
<updated>2019-11-18T12:56:58Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2019-11-18T06:33:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48914c4ecb0c0fa1d70ea7b97d758ce5fadacfb0'/>
<id>urn:sha1:48914c4ecb0c0fa1d70ea7b97d758ce5fadacfb0</id>
<content type='text'>
Tegra194 supports the same reset levels as Tegra186 but extends the set
of reset sources. Provide custom PMC register definitions to account for
the larger field for the reset sources as well as the updated list of
reset sources.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
---
Changes in v2:
- use the new Tegra194 register definitions
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Add missing IRQ callbacks on Tegra194</title>
<updated>2019-11-18T12:55:56Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2019-11-18T06:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd4a709a19d58b7805b261ceac7bef94f423e08f'/>
<id>urn:sha1:cd4a709a19d58b7805b261ceac7bef94f423e08f</id>
<content type='text'>
Reuse the IRQ callbacks from Tegra186 on Tegra194. This fixes failures
to request interrupts on Tegra194 due to the missing callbacks.

Cc: Sowjanya Komatineni &lt;skomatineni@nvidia.com&gt;
Fixes: aba19827fced ("soc/tegra: pmc: Support wake events on more Tegra SoCs")
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Acked-by: Jon Hunter &lt;jonathanh@nvidia.com&gt;
Tested-by: Jon Hunter &lt;jonathanh@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Use lower-case for hexadecimal literals</title>
<updated>2019-11-18T12:55:21Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2019-11-18T06:33:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dfd9d2dda8d0727bf3e1b191b6b78fb3c7b3a151'/>
<id>urn:sha1:dfd9d2dda8d0727bf3e1b191b6b78fb3c7b3a151</id>
<content type='text'>
The remainder of the file uses lower-case for hexadecimal literals, so
change the only odd-one-out occurrence for consistency.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Acked-by: Jon Hunter &lt;jonathanh@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Remove unnecessary memory barrier</title>
<updated>2019-10-29T13:36:24Z</updated>
<author>
<name>Dmitry Osipenko</name>
</author>
<published>2019-09-26T19:17:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69dfb3d4a89afccca1d8f282e49ad1362100cc43'/>
<id>urn:sha1:69dfb3d4a89afccca1d8f282e49ad1362100cc43</id>
<content type='text'>
The removed barrier isn't needed because writes/reads are strictly ordered
and even if PMC had separate ports for writes, it wouldn't matter since
the hardware logic takes into effect after triggering CPU's power-gating
and at that point all CPU accesses are guaranteed to be completed. That
barrier was copied from the old arch/ code during transition to the soc/
PMC driver and even that the code structure was different back then, the
barrier didn't have a real useful purpose from the start. Lastly, the
tegra_pmc_writel() naturally inserts wmb() because it uses writel(),
and thus this change doesn't actually make any difference in terms of
interacting with hardware. Hence let's remove the barrier to clean up
code a tad.

Signed-off-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Query PCLK clock rate at probe time</title>
<updated>2019-10-29T13:35:06Z</updated>
<author>
<name>Dmitry Osipenko</name>
</author>
<published>2019-09-26T19:17:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e57a243f5d896f02510e4be92df0873b4c1aab7f'/>
<id>urn:sha1:e57a243f5d896f02510e4be92df0873b4c1aab7f</id>
<content type='text'>
It is possible to get a lockup if kernel decides to enter LP2 cpuidle
from some clk-notifier, in that case CCF's "prepare" mutex is kept locked
and thus clk_get_rate(pclk) blocks on the same mutex with interrupts being
disabled, hanging machine.

Signed-off-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Acked-By: Peter De Schrijver &lt;pdeschrijver@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Configure deep sleep control settings</title>
<updated>2019-10-29T12:30:16Z</updated>
<author>
<name>Sowjanya Komatineni</name>
</author>
<published>2019-08-16T19:42:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7ccfccabb0f819eae1a191ccd94269f577e4523'/>
<id>urn:sha1:c7ccfccabb0f819eae1a191ccd94269f577e4523</id>
<content type='text'>
Tegra210 and prior Tegra chips have deep sleep entry and wakeup related
timings which are platform specific that should be configured before
entering into deep sleep.

Below are the timing specific configurations for deep sleep entry and
wakeup.
- Core rail power-on stabilization timer
- OSC clock stabilization timer after SOC rail power is stabilized.
- Core power off time is the minimum wake delay to keep the system
  in deep sleep state irrespective of any quick wake event.

These values depends on the discharge time of regulators and turn OFF
time of the PMIC to allow the complete system to finish entering into
deep sleep state.

These values vary based on the platform design and are specified
through the device tree.

This patch has implementation to configure these timings which are must
to have for proper deep sleep and wakeup operations.

Signed-off-by: Sowjanya Komatineni &lt;skomatineni@nvidia.com&gt;
Reviewed-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Configure core power request polarity</title>
<updated>2019-10-29T12:29:59Z</updated>
<author>
<name>Sowjanya Komatineni</name>
</author>
<published>2019-08-16T19:42:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=455271d9dc5f4cce3d35c5819f8f01c723bca94c'/>
<id>urn:sha1:455271d9dc5f4cce3d35c5819f8f01c723bca94c</id>
<content type='text'>
This patch configures polarity of the core power request signal
in PMC control register based on the device tree property.

PMC asserts and de-asserts power request signal based on it polarity
when it need to power-up and power-down the core rail during SC7.

Reviewed-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Sowjanya Komatineni &lt;skomatineni@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Add wake event support on Tegra210</title>
<updated>2019-10-29T12:29:30Z</updated>
<author>
<name>Sowjanya Komatineni</name>
</author>
<published>2019-08-16T19:42:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e9ae849eb1ea4617a9c7229a78c622a214283f2'/>
<id>urn:sha1:7e9ae849eb1ea4617a9c7229a78c622a214283f2</id>
<content type='text'>
This patch implements PMC wakeup sequence for Tegra210 and defines the
commonly used RTC alarm wake event.

Signed-off-by: Sowjanya Komatineni &lt;skomatineni@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>soc/tegra: pmc: Support wake events on more Tegra SoCs</title>
<updated>2019-10-29T12:26:35Z</updated>
<author>
<name>Sowjanya Komatineni</name>
</author>
<published>2019-08-16T19:42:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aba19827fced3f32bd17885db59d27538b0bd223'/>
<id>urn:sha1:aba19827fced3f32bd17885db59d27538b0bd223</id>
<content type='text'>
This patch allows to create separate irq_set_wake and irq_set_type
implementations for different Tegra designs PMC that has different
wake models which require difference wake registers and different
programming sequence.

AOWAKE model support is available for Tegra186 and Tegra194 only
and it resides within PMC and supports tiered wake architecture.

Tegra210 and prior Tegra designs uses PMC directly to receive wake
events and coordinate the wake sequence.

Reviewed-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Sowjanya Komatineni &lt;skomatineni@nvidia.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
</feed>
