Hi Greg,
Here is set of nvmem patches for 5.18 which includes
- A fix for dt_bindings check failure on Sunplus nvmem bindings.
- update to nvmem bindings
- Parse cells from pre-encoded info in brcm nvmem provider.
Can you please queue them up for 5.18.
Thanks,
srini
Rafał Miłecki (3):
nvmem: brcm_nvram: parse NVRAM content into NVMEM cells
dt-bindings: nvmem: make "reg" property optional
dt-bindings: nvmem: brcm,nvram: add basic NVMEM cells
Vincent Shih (1):
nvmem: dt-bindings: Fix the error of dt-bindings check
.../devicetree/bindings/nvmem/brcm,nvram.yaml | 25 +++++-
.../devicetree/bindings/nvmem/nvmem.yaml | 3 -
.../bindings/nvmem/sunplus,sp7021-ocotp.yaml | 4 +-
drivers/nvmem/brcm_nvram.c | 90 +++++++++++++++++++
4 files changed, 114 insertions(+), 8 deletions(-)
--
2.21.0
From: Rafał Miłecki <[email protected]>
Most NVMEM providers have cells at hardcoded addresses however there are
some exceptions. Some devices store cells layout in internal structs
using custom formats.
It's important to allow NVMEM consumers to still reference such NVMEM
cells. Making "reg" optional allows defining NVMEM cells by their names
only and using them with phandles.
Signed-off-by: Rafał Miłecki <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
---
Documentation/devicetree/bindings/nvmem/nvmem.yaml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
index 43ed7e32e5ac..3bb349c634cb 100644
--- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml
+++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml
@@ -60,9 +60,6 @@ patternProperties:
description:
Size in bit within the address range specified by reg.
- required:
- - reg
-
additionalProperties: true
examples:
--
2.21.0
From: Vincent Shih <[email protected]>
1. Remove the unnecessary header file for dt-binding check
2. Replace OTPRX with 0x15 since it is not defined here.
3. Modify the name of the node of the clock driver.
Fixes: 8fb29b450182 ("dt-bindings: nvmem: Add bindings doc for Sunplus OCOTP driver")
Reported-by: Rob Herring <[email protected]>
Signed-off-by: Vincent Shih <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
---
.../devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
index 4b28f37dfb67..a7644ebbc2ca 100644
--- a/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
@@ -60,13 +60,11 @@ unevaluatedProperties: false
examples:
- |
- #include <dt-bindings/clock/sp-sp7021.h>
-
otp: otp@9c00af00 {
compatible = "sunplus,sp7021-ocotp";
reg = <0x9c00af00 0x34>, <0x9c00af80 0x58>;
reg-names = "hb_gpio", "otprx";
- clocks = <&clks OTPRX>;
+ clocks = <&clkc 0x15>;
#address-cells = <1>;
#size-cells = <1>;
--
2.21.0