lkml.org 
[lkml]   [2021]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V2 0/6] nvmem: add "cell-type" property to support mac-address
From
Date
Hi Joakim,


I pushed some WIP changes to
https://git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git/log/?h=topic/post-processing
with Rob's feedback,

Do you think you could try it out and see if this works for you?

--srini

On 23/09/2021 12:01, Joakim Zhang wrote:
> This patch set adds "cell-type" property to parse mac address, take i.MX
> as an example, which need reverse byte for mac address.
>
> ChangeLogs:
> V1->V2:
> * correct comments: @cell_read_callback -> @cell_post_process
> * s/imx8mm/imx8m/ in commit message title
> * add reviewed-by tags
>
> Joakim Zhang (2):
> arm64: dts: imx8m: add "cell-type" property for mac-address
> arm64: dts: imx8m: remove unused "nvmem_macaddr_swap" property for FEC
>
> Srinivas Kandagatla (4):
> dt-bindings: nvmem: add cell-type to nvmem cells
> nvmem: core: parse nvmem cell-type from device tree
> nvmem: core: add nvmem cell post processing callback
> nvmem: imx-ocotp: add support for post porcessing.
>
> .../devicetree/bindings/nvmem/nvmem.yaml | 11 +++++++
> arch/arm64/boot/dts/freescale/imx8mm.dtsi | 3 +-
> arch/arm64/boot/dts/freescale/imx8mn.dtsi | 3 +-
> arch/arm64/boot/dts/freescale/imx8mp.dtsi | 10 ++++++-
> arch/arm64/boot/dts/freescale/imx8mq.dtsi | 3 +-
> drivers/nvmem/core.c | 12 ++++++++
> drivers/nvmem/imx-ocotp.c | 30 +++++++++++++++++++
> include/dt-bindings/nvmem/nvmem.h | 8 +++++
> include/linux/nvmem-provider.h | 5 ++++
> 9 files changed, 81 insertions(+), 4 deletions(-)
> create mode 100644 include/dt-bindings/nvmem/nvmem.h
>

\
 
 \ /
  Last update: 2021-09-28 16:44    [W:0.108 / U:2.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site