soc/tegra: More unification and cleanup for 64-bit
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | soc/tegra: pmc: Restrict legacy code to 32-bit ARMdrivers/ | +41 | 0 replies | |
| 2/8 | soc/tegra: pmc: Add Tegra210 supportdrivers/ include/ | +53 | 0 replies | |
| 3/8 | soc/tegra: Add Tegra132 supportdrivers/ | +1 | 0 replies | |
| 4/8 | soc/tegra: Add Tegra210 supportdrivers/ | +1 | 0 replies | |
| 5/8 | soc/tegra: fuse: Restrict legacy code to 32-bit ARMdrivers/ | +58 | 0 replies | |
| 6/8 | soc/tegra: fuse: Unify Tegra20 and Tegra30 driversarch/ drivers/ drivers/ +8 more | +404 | 0 replies | |
| 7/8 | soc/tegra: fuse: Add Tegra210 supportdrivers/ drivers/ drivers/ +3 more | +215 | 0 replies | |
| 8/8 | soc/tegra: fuse: Rename core_* to soc_*drivers/ drivers/ drivers/ +5 more | +45 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Paul Walmsley |
|---|---|
| 1/8 | |
| 2/8 | R-b |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] soc/tegra: More unification and cleanup for 64-bit
From: Thierry Reding <[email protected]>
This set of patches restricts the legacy code to 32-bit ARM for the PMC and FUSE drivers and follows up by adding Tegra210 support. Note how in particular the FUSE driver required quite a few changes to unify it for all SoC families. This makes it easier to test and extend in the future as new SoC support is added.
Mark, you requested the restriction of the legacy compatibility code in an earlier version that Paul posted. Can you take a look at this series and see if it matches your expectations? I've kept soc_is_tegra() to be consistent across all generations, but legacy code paths are guarded by an IS_ENABLED(CONFIG_ARM). I think that's a good compromise between the options that had been discussed earlier, but let me know if you want to see this done differently.
Thierry
Thierry Reding (8):
soc/tegra: pmc: Restrict legacy code to 32-bit ARM soc/tegra: pmc: Add Tegra210 support soc/tegra: Add Tegra132 support
soc/tegra: Add Tegra210 support
soc/tegra: fuse: Restrict legacy code to 32-bit ARM soc/tegra: fuse: Unify Tegra20 and Tegra30 drivers soc/tegra: fuse: Add Tegra210 support soc/tegra: fuse: Rename core_* to soc_*
arch/arm/mach-tegra/iomap.h | 3 - drivers/soc/tegra/common.c | 2 + drivers/soc/tegra/fuse/Makefile | 2 + drivers/soc/tegra/fuse/fuse-tegra.c | 255 ++++++++++++++++++++++++------- drivers/soc/tegra/fuse/fuse-tegra20.c | 172 ++++++++------------- drivers/soc/tegra/fuse/fuse-tegra30.c | 221 +++++++++------------------ drivers/soc/tegra/fuse/fuse.h | 95 ++++++++---- drivers/soc/tegra/fuse/speedo-tegra114.c | 22 +-- drivers/soc/tegra/fuse/speedo-tegra124.c | 26 ++-- drivers/soc/tegra/fuse/speedo-tegra20.c | 28 ++-- drivers/soc/tegra/fuse/speedo-tegra210.c | 184 ++++++++++++++++++++++ drivers/soc/tegra/fuse/speedo-tegra30.c | 48 +++--- drivers/soc/tegra/fuse/tegra-apbmisc.c | 76 +++++++-- drivers/soc/tegra/pmc.c | 104 +++++++++++-- include/soc/tegra/fuse.h | 6 +- include/soc/tegra/pmc.h | 5 + 16 files changed, 815 insertions(+), 434 deletions(-) create mode 100644 drivers/soc/tegra/fuse/speedo-tegra210.c
Signature · 1 line
2.3.5