[PATCH v6 3/4] nvmem: mtk-efuse: add CPU speedbin post-processing

Luca Leonardo Scorcia l.scorcia at gmail.com
Mon Nov 30 12:11:10 PST 2026


Hello, I am interested in this series as I have the same need to identify
the cpu variant for OPPs on MT8167A/S/D.

I have two questions:

1. Is post-processing really needed? It seems that nvmem cells can use
the bits property to retrieve only the necessary bits from the cell, e.g.:

  cpu_speed_bin: cpu-speed-bin at 40 {
    reg = <0x40 0x4>;
    bits = <0 2>;
  };

To me this seems more intuitive than driver-based post-processing and
is already supported by device tree syntax. I did a quick test and it
seems to work, but I'm sure there's some step that I'm missing.

2. Am I correct in saying that at the moment there is no upstream support
for nvmem-cells references in the operating-points-v2 OPPs? How do you
plan to connect your new cpu-speedbin support to OPPs?

Thanks,
Luca



More information about the linux-arm-kernel mailing list