Skip to content

soc/tegra: More unification and cleanup for 64-bit

Thierry Reding linux-arm-kernel linux-tegra 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8soc/tegra: pmc: Restrict legacy code to 32-bit ARMdrivers/soc/tegra/pmc.c+41 -150 replies
2/8soc/tegra: pmc: Add Tegra210 supportdrivers/soc/tegra/pmc.c include/soc/tegra/pmc.h+53 -00 replies
3/8soc/tegra: Add Tegra132 supportdrivers/soc/tegra/common.c+1 -00 replies
4/8soc/tegra: Add Tegra210 supportdrivers/soc/tegra/common.c+1 -00 replies
5/8soc/tegra: fuse: Restrict legacy code to 32-bit ARMdrivers/soc/tegra/fuse/tegra-apbmisc.c+58 -90 replies
6/8soc/tegra: fuse: Unify Tegra20 and Tegra30 driversarch/arm/mach-tegra/iomap.h drivers/soc/tegra/fuse/Makefile drivers/soc/tegra/fuse/fuse-tegra.c +8 more+404 -3660 replies
7/8soc/tegra: fuse: Add Tegra210 supportdrivers/soc/tegra/fuse/Makefile drivers/soc/tegra/fuse/fuse-tegra.c drivers/soc/tegra/fuse/fuse-tegra30.c +3 more+215 -20 replies
8/8soc/tegra: fuse: Rename core_* to soc_*drivers/soc/tegra/fuse/fuse-tegra.c drivers/soc/tegra/fuse/fuse-tegra20.c drivers/soc/tegra/fuse/fuse-tegra30.c +5 more+45 -450 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchPaul Walmsley
1/8
2/8R-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.

Read the v1 thread

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