Skip to content

Replace Tegra FUSE API by nvmem API

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7soc/tegra: fuse: Restore base on sysfs failuredrivers/soc/tegra/fuse/fuse-tegra.c+10 -60 replies
2/7soc/tegra: fuse: Implement nvmem devicedrivers/soc/tegra/fuse/fuse-tegra.c drivers/soc/tegra/fuse/fuse.h+38 -470 replies
3/7soc/tegra: fuse: Add cell informationdrivers/soc/tegra/fuse/fuse-tegra.c+90 -00 replies
4/7soc/tegra: fuse: Register cell lookups for compatibilitydrivers/soc/tegra/fuse/fuse-tegra.c drivers/soc/tegra/fuse/fuse-tegra30.c drivers/soc/tegra/fuse/fuse.h+168 -00 replies
5/7drm/nouveau: tegra: Use nvmem APIdrivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c+8 -40 replies
6/7phy: tegra: xusb: Use nvmem APIdrivers/phy/tegra/xusb-tegra124.c drivers/phy/tegra/xusb-tegra186.c drivers/phy/tegra/xusb-tegra210.c+14 -130 replies
7/7thermal: tegra: Use nvmem APIdrivers/thermal/tegra/soctherm-fuse.c drivers/thermal/tegra/soctherm.c drivers/thermal/tegra/soctherm.h +3 more+18 -380 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Replace Tegra FUSE API by nvmem API

From: Thierry Reding <[email protected]>

The nvmem API provides a generic API to retrieve the kind of information currently retrieved using the custom Tegra FUSE API. Convert the Tegra FUSE driver to be an nvmem provider and export cells used by existing drivers.

The three non-SoC drivers included in this series are meant to serve as examples for how to use this. I'm not Cc'ing them to the subsystem maintainers because the idea is to first merge the soc/tegra patches and after that convert the consumers. Once the first patches are applied, I will send out the consumers conversion patches to the respective subsystems.

What's not included in this series is a cleanup patch that finally removes the custom Tegra FUSE API. I'll follow up with that once these patches have been applied.

Thierry

Thierry Reding (7):
soc/tegra: fuse: Restore base on sysfs failure soc/tegra: fuse: Implement nvmem device soc/tegra: fuse: Add cell information soc/tegra: fuse: Register cell lookups for compatibility drm/nouveau: tegra: Use nvmem API
phy: tegra: xusb: Use nvmem API
thermal: tegra: Use nvmem API

 .../gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c   |  12 +-
 drivers/phy/tegra/xusb-tegra124.c             |  10 +-
 drivers/phy/tegra/xusb-tegra186.c             |   7 +-
 drivers/phy/tegra/xusb-tegra210.c             |  10 +-
 drivers/soc/tegra/fuse/fuse-tegra.c           | 193 +++++++++++++-----
 drivers/soc/tegra/fuse/fuse-tegra30.c         | 154 ++++++++++++++
 drivers/soc/tegra/fuse/fuse.h                 |   8 +
 drivers/thermal/tegra/soctherm-fuse.c         |  19 +-
 drivers/thermal/tegra/soctherm.c              |   4 +-
 drivers/thermal/tegra/soctherm.h              |   9 +-
 drivers/thermal/tegra/tegra124-soctherm.c     |   8 -
 drivers/thermal/tegra/tegra132-soctherm.c     |   8 -
 drivers/thermal/tegra/tegra210-soctherm.c     |   8 -
 13 files changed, 344 insertions(+), 106 deletions(-)
Signature · 1 line
2.22.0