Message ID | 2f337169f8183d48b7d94ee13565fea804aade84.1741179611.git.geert+renesas@glider.be (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | scsi: ufs: renesas: Add support for R-Car S4-8 ES1.2 | expand |
On Wed, Mar 05, 2025 at 02:34:09PM +0100, Geert Uytterhoeven wrote: > On R-Car S4-8 ES1.2, the E-FUSE block contains PLL and AFE tuning > parameters for the Universal Flash Storage controller. Document the > related NVMEM properties, and update the example. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Conor Dooley <conor.dooley@microchip.com> > --- > v3: > - New. > --- > .../devicetree/bindings/ufs/renesas,ufs.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/ufs/renesas,ufs.yaml b/Documentation/devicetree/bindings/ufs/renesas,ufs.yaml > index 1949a15e73d25849..ac11ac7d1d12f6c9 100644 > --- a/Documentation/devicetree/bindings/ufs/renesas,ufs.yaml > +++ b/Documentation/devicetree/bindings/ufs/renesas,ufs.yaml > @@ -33,6 +33,16 @@ properties: > resets: > maxItems: 1 > > + nvmem-cells: > + maxItems: 1 > + > + nvmem-cell-names: > + items: > + - const: calibration > + > +dependencies: > + nvmem-cells: [ nvmem-cell-names ] > + > required: > - compatible > - reg > @@ -58,4 +68,6 @@ examples: > freq-table-hz = <200000000 200000000>, <38400000 38400000>; > power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>; > resets = <&cpg 1514>; > + nvmem-cells = <&ufs_tune>; > + nvmem-cell-names = "calibration"; > }; > -- > 2.43.0 >
diff --git a/Documentation/devicetree/bindings/ufs/renesas,ufs.yaml b/Documentation/devicetree/bindings/ufs/renesas,ufs.yaml index 1949a15e73d25849..ac11ac7d1d12f6c9 100644 --- a/Documentation/devicetree/bindings/ufs/renesas,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/renesas,ufs.yaml @@ -33,6 +33,16 @@ properties: resets: maxItems: 1 + nvmem-cells: + maxItems: 1 + + nvmem-cell-names: + items: + - const: calibration + +dependencies: + nvmem-cells: [ nvmem-cell-names ] + required: - compatible - reg @@ -58,4 +68,6 @@ examples: freq-table-hz = <200000000 200000000>, <38400000 38400000>; power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>; resets = <&cpg 1514>; + nvmem-cells = <&ufs_tune>; + nvmem-cell-names = "calibration"; };
On R-Car S4-8 ES1.2, the E-FUSE block contains PLL and AFE tuning parameters for the Universal Flash Storage controller. Document the related NVMEM properties, and update the example. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- v3: - New. --- .../devicetree/bindings/ufs/renesas,ufs.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+)