[Letux-kernel] [PATCH v8 2/7] nvmem: add driver for JZ4780 efuse

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Thu Mar 5 18:53:09 CET 2020



On 28/02/2020 16:00, H. Nikolaus Schaller wrote:
> From: PrasannaKumar Muralidharan <prasannatsmkumar at gmail.com>
> 
> This patch brings support for the JZ4780 efuse. Currently it only exposes
> a read only access to the entire 8K bits efuse memory and nvmem cells.
> 
> To fetch for example the MAC address:
> 
> dd if=/sys/devices/platform/134100d0.efuse/jz4780-efuse0/nvmem bs=1 skip=34 count=6 status=none | xxd
> 
> Tested-by: Mathieu Malaterre <malat at debian.org>
> Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar at gmail.com>
> Signed-off-by: Mathieu Malaterre <malat at debian.org>
> Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
> Signed-off-by: Paul Cercueil <paul at crapouillou.net>
> ---
>   drivers/nvmem/Kconfig        |  12 ++
>   drivers/nvmem/Makefile       |   2 +
>   drivers/nvmem/jz4780-efuse.c | 239 +++++++++++++++++++++++++++++++++++

Applied thanks,
--srini


More information about the Letux-kernel mailing list