<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/arm/cpu/tegra-common, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>ARM: tegra: collect SoC sources into mach-tegra</title>
<updated>2015-02-21T13:23:51+00:00</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2015-02-20T08:04:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=09f455dca74973ef5e42311162c8dff7e83d44a2'/>
<id>09f455dca74973ef5e42311162c8dff7e83d44a2</id>
<content type='text'>
This commit moves files as follows:

 arch/arm/cpu/arm720t/tegra20/*      -&gt; arch/arm/mach-tegra/tegra20/*
 arch/arm/cpu/arm720t/tegra30/*      -&gt; arch/arm/mach-tegra/tegra30/*
 arch/arm/cpu/arm720t/tegra114/*     -&gt; arch/arm/mach-tegra/tegra114/*
 arch/arm/cpu/arm720t/tegra124*      -&gt; arch/arm/mach-tegra/tegra124/*
 arch/arm/cpu/arm720t/tegra-common/* -&gt; arch/arm/mach-tegra/*
 arch/arm/cpu/armv7/tegra20/*        -&gt; arch/arm/mach-tegra/tegra20/*
 arch/arm/cpu/armv7/tegra30/*        -&gt; arch/arm/mach-tegra/tegra30/*
 arch/arm/cpu/armv7/tegra114/*       -&gt; arch/arm/mach-tegra/tegra114/*
 arch/arm/cpu/armv7/tegra124/*       -&gt; arch/arm/mach-tegra/tegra124/*
 arch/arm/cpu/armv7/tegra-common/*   -&gt; arch/arm/mach-tegra/*
 arch/arm/cpu/tegra20-common/*       -&gt; arch/arm/mach-tegra/tegra20/*
 arch/arm/cpu/tegra30-common/*       -&gt; arch/arm/mach-tegra/tegra30/*
 arch/arm/cpu/tegra114-common/*      -&gt; arch/arm/mach-tegra/tegra114/*
 arch/arm/cpu/tegra124-common/*      -&gt; arch/arm/mach-tegra/tegra124/*
 arch/arm/cpu/tegra-common/*         -&gt; arch/arm/mach-tegra/*

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt; [ on nyan-big ]
Cc: Stephen Warren &lt;swarren@nvidia.com&gt;
Cc: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit moves files as follows:

 arch/arm/cpu/arm720t/tegra20/*      -&gt; arch/arm/mach-tegra/tegra20/*
 arch/arm/cpu/arm720t/tegra30/*      -&gt; arch/arm/mach-tegra/tegra30/*
 arch/arm/cpu/arm720t/tegra114/*     -&gt; arch/arm/mach-tegra/tegra114/*
 arch/arm/cpu/arm720t/tegra124*      -&gt; arch/arm/mach-tegra/tegra124/*
 arch/arm/cpu/arm720t/tegra-common/* -&gt; arch/arm/mach-tegra/*
 arch/arm/cpu/armv7/tegra20/*        -&gt; arch/arm/mach-tegra/tegra20/*
 arch/arm/cpu/armv7/tegra30/*        -&gt; arch/arm/mach-tegra/tegra30/*
 arch/arm/cpu/armv7/tegra114/*       -&gt; arch/arm/mach-tegra/tegra114/*
 arch/arm/cpu/armv7/tegra124/*       -&gt; arch/arm/mach-tegra/tegra124/*
 arch/arm/cpu/armv7/tegra-common/*   -&gt; arch/arm/mach-tegra/*
 arch/arm/cpu/tegra20-common/*       -&gt; arch/arm/mach-tegra/tegra20/*
 arch/arm/cpu/tegra30-common/*       -&gt; arch/arm/mach-tegra/tegra30/*
 arch/arm/cpu/tegra114-common/*      -&gt; arch/arm/mach-tegra/tegra114/*
 arch/arm/cpu/tegra124-common/*      -&gt; arch/arm/mach-tegra/tegra124/*
 arch/arm/cpu/tegra-common/*         -&gt; arch/arm/mach-tegra/*

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt; [ on nyan-big ]
Cc: Stephen Warren &lt;swarren@nvidia.com&gt;
Cc: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: Implement XUSB pad controller</title>
<updated>2014-12-18T20:19:20+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2014-12-10T05:25:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=79c7a90f6c642c27da3de5c134816be7f0405f1d'/>
<id>79c7a90f6c642c27da3de5c134816be7f0405f1d</id>
<content type='text'>
This controller was introduced on Tegra114 to handle XUSB pads. On
Tegra124 it is also used for PCIe and SATA pin muxing and PHY control.
Only the Tegra124 PCIe and SATA functionality is currently implemented,
with weak symbols on Tegra114.

Tegra20 and Tegra30 also provide weak symbols for these functions so
that drivers can use the same API irrespective of which SoC they're
being built for.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This controller was introduced on Tegra114 to handle XUSB pads. On
Tegra124 it is also used for PCIe and SATA pin muxing and PHY control.
Only the Tegra124 PCIe and SATA functionality is currently implemented,
with weak symbols on Tegra114.

Tegra20 and Tegra30 also provide weak symbols for these functions so
that drivers can use the same API irrespective of which SoC they're
being built for.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: Implement powergate support</title>
<updated>2014-12-18T20:19:20+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2014-12-10T05:25:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=48510c089b18482de36210ec3f70d8908e8daf90'/>
<id>48510c089b18482de36210ec3f70d8908e8daf90</id>
<content type='text'>
Implement the powergate API that allows various power partitions to be
power up and down.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement the powergate API that allows various power partitions to be
power up and down.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra: make local functions static</title>
<updated>2014-10-25T11:27:37+00:00</updated>
<author>
<name>Jeroen Hofstee</name>
<email>jeroen@myspectrum.nl</email>
</author>
<published>2014-10-08T20:57:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e'/>
<id>19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e</id>
<content type='text'>
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: Use mem size from MC in combination with get_ram_size()</title>
<updated>2014-10-22T16:30:55+00:00</updated>
<author>
<name>Marcel Ziswiler</name>
<email>marcel@ziswiler.com</email>
</author>
<published>2014-10-10T21:32:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8c33ba7b1d85ea98d39171523858bbd7cd44f166'/>
<id>8c33ba7b1d85ea98d39171523858bbd7cd44f166</id>
<content type='text'>
On popular request this now completes the Warren's work started for
TK1:

aeb3fcb35956461077804720b8a252d50758d7e0
ARM: tegra: Use mem size from MC rather than ODMDATA

In addition to the move of using the Tegra memory controller (MC)
register rather than ODMDATA for T20, T30 and T114 as well it further
uses the generic get_ram_size() function (see "common/memsize.c")
&lt;supposed to be used in each and every U-Boot port&gt;TM. Added benefit is
that it should &lt;catch 99% of hardware related (i. e. reliably
reproducible) memory errors&gt; as well.

Thoroughly tested on the various Toradex line of Tegra modules
available which unfortunately does not include T114 and T124 (yet at
least) plus on the Jetson TK1.

Based-on-work-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Based-on-work-by: Tom Warren &lt;twarren@nvidia.com&gt;
Signed-off-by: Marcel Ziswiler &lt;marcel@ziswiler.com&gt;
Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On popular request this now completes the Warren's work started for
TK1:

aeb3fcb35956461077804720b8a252d50758d7e0
ARM: tegra: Use mem size from MC rather than ODMDATA

In addition to the move of using the Tegra memory controller (MC)
register rather than ODMDATA for T20, T30 and T114 as well it further
uses the generic get_ram_size() function (see "common/memsize.c")
&lt;supposed to be used in each and every U-Boot port&gt;TM. Added benefit is
that it should &lt;catch 99% of hardware related (i. e. reliably
reproducible) memory errors&gt; as well.

Thoroughly tested on the various Toradex line of Tegra modules
available which unfortunately does not include T114 and T124 (yet at
least) plus on the Jetson TK1.

Based-on-work-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Based-on-work-by: Tom Warren &lt;twarren@nvidia.com&gt;
Signed-off-by: Marcel Ziswiler &lt;marcel@ziswiler.com&gt;
Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: Use mem size from MC rather than ODMDATA</title>
<updated>2014-08-18T23:57:03+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2014-07-02T20:12:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aeb3fcb35956461077804720b8a252d50758d7e0'/>
<id>aeb3fcb35956461077804720b8a252d50758d7e0</id>
<content type='text'>
In at least Tegra124, the Tegra memory controller (MC) has a register
that controls the memory size. Read this to determine the memory size
rather than requiring this to be redundantly encoded into the ODMDATA.
This way, changes to the BCT (i.e. MC configuration) automatically
updated SW's view of the memory size, without requiring manual changes
to the ODMDATA.

Future work potentially required:
* Clip the memory size to architectural limits; U-Boot probably doesn't
  and won't support either LPAE or Tegra's "swiss cheese" memory layout,
  at least one of which would be required for &gt;2GB RAM.
* Subtract out any carveout required by firmware on future SoCs.

Based-on-work-by: Tom Warren &lt;twarren@nvidia.com&gt;
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In at least Tegra124, the Tegra memory controller (MC) has a register
that controls the memory size. Read this to determine the memory size
rather than requiring this to be redundantly encoded into the ODMDATA.
This way, changes to the BCT (i.e. MC configuration) automatically
updated SW's view of the memory size, without requiring manual changes
to the ODMDATA.

Future work potentially required:
* Clip the memory size to architectural limits; U-Boot probably doesn't
  and won't support either LPAE or Tegra's "swiss cheese" memory layout,
  at least one of which would be required for &gt;2GB RAM.
* Subtract out any carveout required by firmware on future SoCs.

Based-on-work-by: Tom Warren &lt;twarren@nvidia.com&gt;
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: Disable VPR</title>
<updated>2014-08-18T23:57:02+00:00</updated>
<author>
<name>Bryan Wu</name>
<email>pengw@nvidia.com</email>
</author>
<published>2014-06-24T02:45:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=df3443dfa449ad02bef8ddf6e2c90a6fd9394fc9'/>
<id>df3443dfa449ad02bef8ddf6e2c90a6fd9394fc9</id>
<content type='text'>
On Tegra114 and Tegra124 platforms, certain display-related registers cannot
be accessed unless the VPR registers are programmed.  For bootloader, we
probably don't care about VPR, so we disable it (which counts as programming
it, and allows those display-related registers to be accessed).

This patch is based on the commit 5f499646c83ba08079f3fdff6591f638a0ce4c0c
in Chromium OS U-Boot project.

Signed-off-by: Andrew Chew &lt;achew@nvidia.com&gt;
Signed-off-by: Jimmy Zhang &lt;jimmzhang@nvidia.com&gt;
Signed-off-by: Bryan Wu &lt;pengw@nvidia.com&gt;
[acourbot: ensure write went through, vpr.c style changes]
Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Cc: Tom Warren &lt;TWarren@nvidia.com&gt;
Cc: Stephen Warren &lt;swarren@nvidia.com&gt;
Cc: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Tested-by: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Tegra114 and Tegra124 platforms, certain display-related registers cannot
be accessed unless the VPR registers are programmed.  For bootloader, we
probably don't care about VPR, so we disable it (which counts as programming
it, and allows those display-related registers to be accessed).

This patch is based on the commit 5f499646c83ba08079f3fdff6591f638a0ce4c0c
in Chromium OS U-Boot project.

Signed-off-by: Andrew Chew &lt;achew@nvidia.com&gt;
Signed-off-by: Jimmy Zhang &lt;jimmzhang@nvidia.com&gt;
Signed-off-by: Bryan Wu &lt;pengw@nvidia.com&gt;
[acourbot: ensure write went through, vpr.c style changes]
Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Cc: Tom Warren &lt;TWarren@nvidia.com&gt;
Cc: Stephen Warren &lt;swarren@nvidia.com&gt;
Cc: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
Tested-by: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: add function to enable input clamping on tristate</title>
<updated>2014-05-13T17:41:31+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2014-04-22T20:37:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bb14469ae088682859411e45573d01ed11373960'/>
<id>bb14469ae088682859411e45573d01ed11373960</id>
<content type='text'>
The HW-defined procedure for booting Tegra requires that
CLAMP_INPUTS_WHEN_TRISTATED be enabled before programming the pinmux.
Add a function to the pinmux driver to allow boards to do this.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The HW-defined procedure for booting Tegra requires that
CLAMP_INPUTS_WHEN_TRISTATED be enabled before programming the pinmux.
Add a function to the pinmux driver to allow boards to do this.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: allow pinmux mux option not to be set by init tables</title>
<updated>2014-05-13T17:41:31+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2014-04-22T20:37:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4a68d3431ace189746ffb498dc9e844296626615'/>
<id>4a68d3431ace189746ffb498dc9e844296626615</id>
<content type='text'>
Define enum PMUX_FUNC_DEFAULT, which indicates that a table entry passed
to pinmux_config_pingrp()/pinmux_config_pingrp_table() shouldn't change
the mux option in HW.

For pins that will be used as GPIOs, the mux option is irrelevant, so we
simply don't want to define any mux option in the pinmux initialization
table.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Define enum PMUX_FUNC_DEFAULT, which indicates that a table entry passed
to pinmux_config_pingrp()/pinmux_config_pingrp_table() shouldn't change
the mux option in HW.

For pins that will be used as GPIOs, the mux option is irrelevant, so we
simply don't want to define any mux option in the pinmux initialization
table.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: pack pinmux data tables tighter</title>
<updated>2014-04-17T15:41:06+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2014-03-21T21:58:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d381294aef4a5b6ddeda3685519330a5b73d884f'/>
<id>d381294aef4a5b6ddeda3685519330a5b73d884f</id>
<content type='text'>
Use smaller fields in the Tegra pinmux structures in order to pack the
data tables into a smaller space. This saves around 1-3KB for the SPL
and around 3-8KB for the main build of U-Boot, depending on the board,
which SoC it uses, and how many pinmux table entries there are.

In order to pack PMUX_FUNC_* into a smaller space, don't hard-code the
values of PMUX_FUNC_RSVD* to values which require 16 bits to store them,
but instead let their values be assigned automatically, so they end up
fitting into 8 bits.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use smaller fields in the Tegra pinmux structures in order to pack the
data tables into a smaller space. This saves around 1-3KB for the SPL
and around 3-8KB for the main build of U-Boot, depending on the board,
which SoC it uses, and how many pinmux table entries there are.

In order to pack PMUX_FUNC_* into a smaller space, don't hard-code the
values of PMUX_FUNC_RSVD* to values which require 16 bits to store them,
but instead let their values be assigned automatically, so they end up
fitting into 8 bits.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
