From: Luca Leonardo Scorcia <l.scorcia@gmail.com>
To: devnull+rva333.protonmail.com@kernel.org
Cc: andrew-ct.chen@mediatek.com,
angelogioacchino.delregno@collabora.com, conor+dt@kernel.org,
devicetree@vger.kernel.org, krzk+dt@kernel.org,
lala.lin@mediatek.com, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org,
matthias.bgg@gmail.com, robh@kernel.org, rva333@protonmail.com,
srini@kernel.org
Subject: [PATCH v6 3/4] nvmem: mtk-efuse: add CPU speedbin post-processing
Date: Mon, 30 Nov 2026 21:11:10 +0100 [thread overview]
Message-ID: <20261130201147.439221-1-l.scorcia@gmail.com> (raw)
In-Reply-To: <20261123-6572-nvmem-v6-3-7ba710b15657@protonmail.com>
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@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
next prev parent reply other threads:[~2026-11-30 20:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 21:02 [PATCH v6 0/4] nvmem: mtk-efuse: mt6572 support Roman Vivchar via B4 Relay
2026-11-23 21:02 ` [PATCH v6 1/4] dt-bindings: nvmem: mediatek: efuse: add mt6572 Roman Vivchar via B4 Relay
2026-11-23 21:02 ` [PATCH v6 2/4] nvmem: mtk-efuse: add support for 32-bit aligned reads Roman Vivchar via B4 Relay
2026-11-23 21:02 ` [PATCH v6 3/4] nvmem: mtk-efuse: add CPU speedbin post-processing Roman Vivchar via B4 Relay
2026-11-30 20:11 ` Luca Leonardo Scorcia [this message]
2026-11-23 21:02 ` [PATCH v6 4/4] nvmem: mtk-efuse: add mt6572 support Roman Vivchar via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130201147.439221-1-l.scorcia@gmail.com \
--to=l.scorcia@gmail.com \
--cc=andrew-ct.chen@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=devnull+rva333.protonmail.com@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lala.lin@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@kernel.org \
--cc=rva333@protonmail.com \
--cc=srini@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox