This patch adds "reverse-data" property at nvmem provider to reverse buffer if nvmem consumer needed. Please refer to [1] which reverse data at consumer side, but already rejected by Rob Herring. [1] https://lkml.org/lkml/2021/4/9/352 Joakim Zhang (4): bindings: nvmem: introduce "reverse-data" property nvmem: core: introduce "reverse-data" property to reverse buffer arm64: dts: imx8m: add "reverse-data" property for MAC ocopt arm64: dts: imx8m: remove unused "nvmem_macaddr_swap" property for FEC .../devicetree/bindings/nvmem/nvmem.yaml | 5 ++++ arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +- drivers/nvmem/core.c | 30 +++++++++++++++++++ include/linux/nvmem-provider.h | 2 ++ 7 files changed, 41 insertions(+), 4 deletions(-) -- 2.17.1