diff mbox series

arm64: dts: renesas: r8a779f4: Add UFS tuning parameters in E-FUSE

Message ID 3e4fca228eb049d54a1ae520104558505dbdf803.1741179629.git.geert+renesas@glider.be (mailing list archive)
State New
Headers show
Series arm64: dts: renesas: r8a779f4: Add UFS tuning parameters in E-FUSE | expand

Commit Message

Geert Uytterhoeven March 5, 2025, 1:35 p.m. UTC
Describe the location in the E-FUSE block of the PLL and AFE tuning
parameters for the Universal Flash Storage controller.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Updated DT bindings and driver code are available in "[PATCH v3 0/7]
scsi: ufs: renesas: Add support for R-Car S4-8 ES1.2"
https://lore.kernel.org/cover.1741179611.git.geert+renesas@glider.be
---
 arch/arm64/boot/dts/renesas/r8a779f4.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Comments

Rob Herring March 5, 2025, 10:23 p.m. UTC | #1
On Wed, 05 Mar 2025 14:35:13 +0100, Geert Uytterhoeven wrote:
> Describe the location in the E-FUSE block of the PLL and AFE tuning
> parameters for the Universal Flash Storage controller.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Updated DT bindings and driver code are available in "[PATCH v3 0/7]
> scsi: ufs: renesas: Add support for R-Car S4-8 ES1.2"
> https://lore.kernel.org/cover.1741179611.git.geert+renesas@glider.be
> ---
>  arch/arm64/boot/dts/renesas/r8a779f4.dtsi | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/renesas/' for 3e4fca228eb049d54a1ae520104558505dbdf803.1741179629.git.geert+renesas@glider.be:

arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dtb: ufs@e6860000: Unevaluated properties are not allowed ('nvmem-cell-names', 'nvmem-cells' were unexpected)
	from schema $id: http://devicetree.org/schemas/ufs/renesas,ufs.yaml#
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a779f4.dtsi b/arch/arm64/boot/dts/renesas/r8a779f4.dtsi
index ebed41892df3346c..b216d605c321c2f3 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f4.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779f4.dtsi
@@ -10,3 +10,20 @@ 
 / {
 	compatible = "renesas,r8a779f4", "renesas,r8a779f0";
 };
+
+&fuse {
+	nvmem-layout {
+		compatible = "fixed-layout";
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		ufs_tune: calib@144 {
+			reg = <0x144 0x08>;
+		};
+	};
+};
+
+&ufs {
+	nvmem-cells = <&ufs_tune>;
+	nvmem-cell-names = "calibration";
+};