[00/40] nvmem: patches for 6.4

Message ID 20230404172148.82422-1-srinivas.kandagatla@linaro.org
Headers
Series nvmem: patches for 6.4 |

Message

Srinivas Kandagatla April 4, 2023, 5:21 p.m. UTC
  Hi Greg,

Here are some nvmem patches bit more than usual for 6.4 that includes

- Support for nvmem layouts modules, post-processing, thanks to Michael and
 Miquel for being patience and driving this effort.
- Enhancements in dt core to support nvmem layout modules and some
  changes in other drivers to support this enhancements. All of these
 are acked/reviwed by respective maintainers.
- Updated to qfprom bindings to include various Qualcomm SoCs.
- sl28vpd and onie layout providers.
- u-boot-env post processing support.
- move imx provider to use new layout apis
- few minor fixes across core and providers drivers.

Can you please queue them up for 6.4.

Thanks,
Srini

AngeloGioacchino Del Regno (1):
  nvmem: mtk-efuse: Support postprocessing for GPU speed binning data

Colin Ian King (1):
  dt-bindings: nvmem: Fix spelling mistake "platforn" -> "platform"

Johan Hovold (1):
  dt-bindings: nvmem: qcom,spmi-sdam: fix example 'reg' property

Konrad Dybcio (2):
  dt-bindings: nvmem: Add compatible for SM6350
  dt-bindings: nvmem: Add compatible for SM6375

Krzysztof Kozlowski (1):
  nvmem: stm32-romem: mark OF related data as maybe unused

Michael Walle (8):
  nvmem: core: introduce NVMEM layouts
  nvmem: core: add per-cell post processing
  nvmem: core: allow to modify a cell before adding it
  nvmem: imx-ocotp: replace global post processing with layouts
  nvmem: cell: drop global cell_post_process
  nvmem: core: provide own priv pointer in post process callback
  nvmem: layouts: sl28vpd: Add new layout driver
  MAINTAINERS: add myself as sl28vpd nvmem layout driver

Miquel Raynal (15):
  of: Fix modalias string generation
  of: Update of_device_get_modalias()
  of: Rename of_modalias_node()
  of: Move of_modalias() to module.c
  of: Move the request module helper logic to module.c
  usb: ulpi: Use of_request_module()
  of: device: Kill of_device_request_module()
  nvmem: core: handle the absence of expected layouts
  nvmem: core: request layout modules loading
  nvmem: layouts: onie-tlv: Add new layout driver
  MAINTAINERS: Add myself as ONIE tlv NVMEM layout maintainer
  nvmem: Add macro to register nvmem layout drivers
  nvmem: layouts: sl28vpd: Use module_nvmem_layout_driver()
  nvmem: layouts: onie-tlv: Use module_nvmem_layout_driver()
  nvmem: layouts: onie-tlv: Drop wrong module alias

Neil Armstrong (2):
  dt-bindings: nvmem: convert amlogic-meson-mx-efuse.txt to dt-schema
  dt-bindings: nvmem: convert amlogic-efuse.txt to dt-schema

Nick Alcock (1):
  nvmem: xilinx: zynqmp: make modular

Rafał Miłecki (3):
  dt-bindings: nvmem: u-boot,env: add MAC's #nvmem-cell-cells
  nvmem: core: support specifying both: cell raw data & post read
    lengths
  nvmem: u-boot-env: post-process "ethaddr" env variable

Rob Herring (1):
  dt-bindings: nvmem: Drop unneeded quotes

Tom Rix (1):
  nvmem: layouts: sl28vpd: set varaiable sl28vpd_layout
    storage-class-specifier to static

Yang Li (3):
  nvmem: bcm-ocotp: Use devm_platform_ioremap_resource()
  nvmem: nintendo-otp: Use devm_platform_ioremap_resource()
  nvmem: vf610-ocotp: Use devm_platform_get_and_ioremap_resource()

 .../nvmem/allwinner,sun4i-a10-sid.yaml        |   2 +-
 .../nvmem/amlogic,meson-gxbb-efuse.yaml       |  57 ++++
 .../bindings/nvmem/amlogic,meson6-efuse.yaml  |  57 ++++
 .../bindings/nvmem/amlogic-efuse.txt          |  48 ----
 .../bindings/nvmem/amlogic-meson-mx-efuse.txt |  22 --
 .../bindings/nvmem/apple,efuses.yaml          |   2 +-
 .../devicetree/bindings/nvmem/brcm,nvram.yaml |   2 +-
 .../bindings/nvmem/fsl,layerscape-sfp.yaml    |   2 +-
 .../devicetree/bindings/nvmem/imx-iim.yaml    |   2 +-
 .../devicetree/bindings/nvmem/imx-ocotp.yaml  |   2 +-
 .../bindings/nvmem/ingenic,jz4780-efuse.yaml  |   2 +-
 .../nvmem/layouts/onie,tlv-layout.yaml        |   2 +-
 .../bindings/nvmem/mediatek,efuse.yaml        |   2 +-
 .../nvmem/microchip,sama7g5-otpc.yaml         |   2 +-
 .../devicetree/bindings/nvmem/mxs-ocotp.yaml  |   2 +-
 .../bindings/nvmem/nintendo-otp.yaml          |   2 +-
 .../bindings/nvmem/qcom,qfprom.yaml           |   4 +-
 .../bindings/nvmem/qcom,spmi-sdam.yaml        |  33 ++-
 .../devicetree/bindings/nvmem/rmem.yaml       |   2 +-
 .../bindings/nvmem/rockchip-efuse.yaml        |   2 +-
 .../nvmem/socionext,uniphier-efuse.yaml       |   2 +-
 .../bindings/nvmem/st,stm32-romem.yaml        |   2 +-
 .../bindings/nvmem/sunplus,sp7021-ocotp.yaml  |   2 +-
 .../devicetree/bindings/nvmem/u-boot,env.yaml |   7 +-
 Documentation/driver-api/nvmem.rst            |  15 ++
 MAINTAINERS                                   |  12 +
 drivers/acpi/bus.c                            |   7 +-
 drivers/gpu/drm/drm_mipi_dsi.c                |   2 +-
 drivers/hsi/hsi_core.c                        |   2 +-
 drivers/i2c/busses/i2c-powermac.c             |   2 +-
 drivers/i2c/i2c-core-of.c                     |   2 +-
 drivers/nvmem/Kconfig                         |   7 +-
 drivers/nvmem/Makefile                        |   1 +
 drivers/nvmem/bcm-ocotp.c                     |   4 +-
 drivers/nvmem/core.c                          | 169 +++++++++++-
 drivers/nvmem/imx-ocotp.c                     |  30 ++-
 drivers/nvmem/layouts/Kconfig                 |  23 ++
 drivers/nvmem/layouts/Makefile                |   7 +
 drivers/nvmem/layouts/onie-tlv.c              | 244 ++++++++++++++++++
 drivers/nvmem/layouts/sl28vpd.c               | 153 +++++++++++
 drivers/nvmem/mtk-efuse.c                     |  53 +++-
 drivers/nvmem/nintendo-otp.c                  |   4 +-
 drivers/nvmem/stm32-romem.c                   |   2 +-
 drivers/nvmem/u-boot-env.c                    |  26 ++
 drivers/nvmem/vf610-ocotp.c                   |   3 +-
 drivers/of/Makefile                           |   2 +-
 drivers/of/base.c                             |  18 +-
 drivers/of/device.c                           |  75 +-----
 drivers/of/module.c                           |  74 ++++++
 drivers/spi/spi.c                             |   4 +-
 drivers/usb/common/ulpi.c                     |   2 +-
 include/linux/nvmem-consumer.h                |   7 +
 include/linux/nvmem-provider.h                |  74 +++++-
 include/linux/of.h                            |  18 +-
 include/linux/of_device.h                     |   6 -
 55 files changed, 1081 insertions(+), 229 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/nvmem/amlogic,meson-gxbb-efuse.yaml
 create mode 100644 Documentation/devicetree/bindings/nvmem/amlogic,meson6-efuse.yaml
 delete mode 100644 Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt
 delete mode 100644 Documentation/devicetree/bindings/nvmem/amlogic-meson-mx-efuse.txt
 create mode 100644 drivers/nvmem/layouts/Kconfig
 create mode 100644 drivers/nvmem/layouts/Makefile
 create mode 100644 drivers/nvmem/layouts/onie-tlv.c
 create mode 100644 drivers/nvmem/layouts/sl28vpd.c
 create mode 100644 drivers/of/module.c