Skip to content

rockchip: Add efuse support for RK3368 SoCs

Romain Perier linux-arm-kernel linux-clk linux-devicetree linux-rockchip 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Removed ARM SMC calls for efuse, we need to do as upstream ATF and uboot mainline do, so no secure-regs for efuse

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4clk: rockchip: add clock id for PCLK_EFUSE256 of RK3368 SoCsinclude/dt-bindings/clock/rk3368-cru.h+1 -01 reply
2/4clk: rockchip: export clock pclk_efuse_256 for RK3368 SoCsdrivers/clk/rockchip/clk-rk3368.c+1 -11 reply
3/4nvmem: rockchip: add support for RK3368Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt drivers/nvmem/rockchip-efuse.c+5 -02 replies
4/4arm64: dts: rockchip: add efuse for RK3368 SoCsarch/arm64/boot/dts/rockchip/rk3368.dtsi+14 -01 reply

Reviews trailers per patch

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

PatchRob HerringHeiko Stuebner
1/4
2/4
3/4A-b R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] rockchip: Add efuse support for RK3368 SoCs

This set of patches exports the right clocks, add required functions and data, and definition for enabling and supporting eFuse on RK3368 SoCs.

Note: On my geekbox rk3368, I was unable to flash a working upstream ATF or upstream uboot (missing support for LPDDR3 init and timping). I cannot test the driver without the secure mode for this efuse on my hardware.So I am asking for testing. I think that it should work like on rk3288

Changes in v2:
- Removed ARM SMC calls for efuse, we need to do as upstream ATF and uboot mainline do, so no secure-regs for efuse

Romain Perier (4):
clk: rockchip: add clock id for PCLK_EFUSE256 of RK3368 SoCs
clk: rockchip: export clock pclk_efuse_256 for RK3368 SoCs
nvmem: rockchip: add support for RK3368
arm64: dts: rockchip: add efuse for RK3368 SoCs

 Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt |  1 +
 arch/arm64/boot/dts/rockchip/rk3368.dtsi                   | 14 ++++++++++++++
 drivers/clk/rockchip/clk-rk3368.c                          |  2 +-
 drivers/nvmem/rockchip-efuse.c                             |  4 ++++
 include/dt-bindings/clock/rk3368-cru.h                     |  1 +
 5 files changed, 21 insertions(+), 1 deletion(-)
Signature · 1 line
2.11.0