Renesas DT binding updates for v6.11

- Document support for R-Car E-FUSE controllers.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZn6sygAKCRCKwlD9ZEnx
 cPItAQDPJ3ZCVWpi9zwgep13qw2DzqmA4oVwzq3RdqwA/CGV+wD/YDzpn/Qe5W3S
 2VOIAfQIWRnYQbAxQmJ8+k0krogI3Qk=
 =9+2n
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmZ+2qMACgkQYKtH/8kJ
 Uidd2w/+LOYwkAYAZOY2YT8ouOD/uXuyf8uSklHx3cBjxBjGatE3AD6lCEA7ahnE
 0tZJ3fVKItPnNBkO5sOAPhAcajUzDS84qP5/wLS3cs6wj6zvGqhi04d7beN4HrCE
 iX9PXLnopYnfLh77JnW6wALALWnOw+DQST5iIo0HiYNcd+Tkef3qQdavFVXAdSQ6
 A5i+diSU4snOlzRsOxaTbxUJIWvvwruQLgFqctqmlRGy4+pD4RuPWbnM7Xqd+yOh
 /DGEkV3tRFKJab+g5iknEi59Tb6po6c6UHSZtiRCzZ1jV7Mv6YEABqZbyyx8s6Sc
 NJL6z3TTD96E2aWOSvJhls2sPQd3yB9CmCyJdH8DPB4ao2F7OMInFOB49Y0wKfCW
 tPwvzAk5b2UN+qKXcZpxjKKNXfLaLjrAlny9xk1MYLf6Qv6qXTHRUuH+thcprYgc
 X+XHGK7Foo7puEgrhyNXc3jZlUFhgU59c5ETbOZRChMwm+zB5Tg2F81eijYdUZqz
 fYgdUO1MMqGKXVdUDHYW3OZKaD3KMAu7JCFJJQJ91RBJzI9VnGpobJEKEaeOmmG7
 AsUUFARiQgeVYVNWLXNlm0n4Yf+hYIkhKh5IjH8vPz6czzMrE4gZ26iJdZeV0H+A
 xLBWS65Hk2PoNbFXh19Cy6axvQBcZobnJK6at/Njntcwzcdaawg=
 =DyzA
 -----END PGP SIGNATURE-----

Merge tag 'renesas-dt-bindings-for-v6.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DT binding updates for v6.11

  - Document support for R-Car E-FUSE controllers.

* tag 'renesas-dt-bindings-for-v6.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  dt-bindings: fuse: Document R-Car E-FUSE / OTP_MEM
  dt-bindings: fuse: Document R-Car E-FUSE / PFC

Link: https://lore.kernel.org/r/cover.1719578279.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2024-06-28 17:45:38 +02:00
commit 24c7b96472
2 changed files with 93 additions and 0 deletions

View File

@ -0,0 +1,55 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/fuse/renesas,rcar-efuse.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: R-Car E-FUSE connected to PFC
maintainers:
- Geert Uytterhoeven <geert+renesas@glider.be>
description:
The E-FUSE is a type of non-volatile memory, which is accessible through the
Pin Function Controller (PFC) on some R-Car Gen4 SoCs.
properties:
compatible:
enum:
- renesas,r8a779a0-efuse # R-Car V3U
- renesas,r8a779f0-efuse # R-Car S4-8
reg:
maxItems: 1
description: PFC System Group Fuse Control and Monitor register block
clocks:
maxItems: 1
power-domains:
maxItems: 1
resets:
maxItems: 1
required:
- compatible
- reg
- clocks
- power-domains
- resets
additionalProperties: false
examples:
- |
#include <dt-bindings/clock/r8a779a0-cpg-mssr.h>
#include <dt-bindings/power/r8a779a0-sysc.h>
fuse: fuse@e6078800 {
compatible = "renesas,r8a779a0-efuse";
reg = <0xe6078800 0x100>;
clocks = <&cpg CPG_MOD 916>;
power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
resets = <&cpg 916>;
};

View File

@ -0,0 +1,38 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/fuse/renesas,rcar-otp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: R-Car E-FUSE connected to OTP_MEM
maintainers:
- Geert Uytterhoeven <geert+renesas@glider.be>
description:
The E-FUSE is a type of non-volatile memory, which is accessible through the
One-Time Programmable Memory (OTP_MEM) module on some R-Car Gen4 SoCs.
properties:
compatible:
enum:
- renesas,r8a779g0-otp # R-CarV4H
- renesas,r8a779h0-otp # R-CarV4M
reg:
items:
- description: OTP_MEM_0
- description: OTP_MEM_1
required:
- compatible
- reg
additionalProperties: false
examples:
- |
otp: otp@e61be000 {
compatible = "renesas,r8a779g0-otp";
reg = <0xe61be000 0x1000>, <0xe61bf000 0x1000>;
};