[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231119131332.999-1-jszhang@kernel.org>
Date: Sun, 19 Nov 2023 21:13:30 +0800
From: Jisheng Zhang <jszhang@...nel.org>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org, Chao Wei <chao.wei@...hgo.com>,
Chen Wang <unicorn_wang@...look.com>
Subject: [PATCH 0/2] nvmem: Add Sophgo eFuse driver
Sophgo SoCs such as CV1800B contain eFuses used to store
factory-programmed data such as calibration values for the built-in
ethernet PHY.
As for CV1800B, HW automatically loads the eFuse content into CONTENT
base registers which are organized as 32bit values exposed as MMIO.
Currently, add read support for the eFuse. This is a preparation step
for supporting the built-in ethernet phy.
Since the clk support isn't mainlined, so cv1800b DT patches are not
included.
Jisheng Zhang (2):
dt-bindings: nvmem: Add sophgo,efuses
nvmem: Add Sophgo eFuse driver
.../bindings/nvmem/sophgo,efuse.yaml | 54 +++++++++++
drivers/nvmem/Kconfig | 13 +++
drivers/nvmem/Makefile | 2 +
drivers/nvmem/sophgo-efuse.c | 97 +++++++++++++++++++
4 files changed, 166 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/sophgo,efuse.yaml
create mode 100644 drivers/nvmem/sophgo-efuse.c
--
2.42.0
Powered by blists - more mailing lists