Renesas ARM Based SoC DT Bindings Updates for v5.3

* Renesas Gen3 DWC HDMI TX Encoder
   - Add RZ/G2M (r8a774a1) support
 
 * Renesas R-Car Compare Match Timer (CMT)
  - Add R-Car H3 (r8a7795), M3-N (r8a77965) and E3 (r8a77990) support
 
 * Renesas R-Car CAN FD Controller
   - Add R-Car M3-N (r8a77965) and E3 (r8a77990), and RZ/G2E (r8a774c0) support
 
 * Renesas R-Car CAN Controller
   - Add RZ/G2M (r8a774a1) support
   - Correct RZ/G2 clocks
 
 * Vendor prefixes: Add vendor prefix for HopeRun
 
 * Renesas SoCs and boards: Add HopeRun RZ/G2[M] boards
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE4nzZofWswv9L/nKF189kaWo3T74FAl0MnQsACgkQ189kaWo3
 T74YIg//Yns57xThkUR2ibgNDSxnp3umlHklnIpAqC1YyaCdzHk1gZponUFgGDKx
 eoP6g2Wixk6FKgyUkga+rR5jDqi6L79yRkZnKS7r8GckmICwIL4eu1tArfJzrIKG
 E3EQFst/Xgj0pmykbla5xnkys3y37G4pv7Uu2DgyqpJnez3AFC3Z4+fmoyfVjNJz
 /mQfL0vwy6NBzYQ9QHf+4RCdRQJ+44Xw8Fq0E3Gc0P346wyc/RhVyKfn1T9zaRjU
 s7uL37PLgEChmdoahSpCKeAPd6BDg3H0W62jHZYVM0eHtAZdMQDSYy+OnxPfjObR
 8KP9OanFmR9+NFpvygVjaleQE9rLg67gi1fXBbnCN1QBQ/FTYZpwfJeXrhaewTb4
 FXlpWu/nhrECDf7P6A50c0gJBV4m96G0sY5yQXw6hyWNQUYpFD3XFwyi5TP0Jaqg
 wOeZJsSQDozc1BH2v4yOPIUR+2a9AfT1DSoSc9fkydUw619XkaMsqeFoQ60nD4kZ
 chHkzE0v2oNlwTGj++GIiERXzm9tDvqyNbvrYKCQ1F7WuPWMXRlvyPd8ZZ5koIpz
 mJPQtqz1rVnoILOT7eCCsKA9Or2HwoEz+uUCtqbgYhDGicNEzQJF65ZZeqHLHHuJ
 KQWg2/pIX01rtq6OhHtfjuT+ggZ0QauS1lMzRuWOBrJtnFanwoU=
 =FrKn
 -----END PGP SIGNATURE-----

Merge tag 'renesas-dt-bindings-for-v5.3' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into arm/dt

Renesas ARM Based SoC DT Bindings Updates for v5.3

* Renesas Gen3 DWC HDMI TX Encoder
  - Add RZ/G2M (r8a774a1) support

* Renesas R-Car Compare Match Timer (CMT)
 - Add R-Car H3 (r8a7795), M3-N (r8a77965) and E3 (r8a77990) support

* Renesas R-Car CAN FD Controller
  - Add R-Car M3-N (r8a77965) and E3 (r8a77990), and RZ/G2E (r8a774c0) support

* Renesas R-Car CAN Controller
  - Add RZ/G2M (r8a774a1) support
  - Correct RZ/G2 clocks

* Vendor prefixes: Add vendor prefix for HopeRun

* Renesas SoCs and boards: Add HopeRun RZ/G2[M] boards

* tag 'renesas-dt-bindings-for-v5.3' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  dt-bindings: display: renesas: Add r8a774a1 support
  dt-bindings: timer: renesas, cmt: Document r8a779{5|65|90} CMT support
  dt-bindings: can: rcar_canfd: document r8a774c0 support
  dt-bindings: can: rcar_canfd: document r8a77990 support
  dt-bindings: can: rcar_canfd: document r8a77965 support
  dt-bindings: can: rcar_can: Add r8a774c0 support
  dt-bindings: can: rcar_can: Fix RZ/G2 CAN clocks
  dt-bindings: Add vendor prefix for HopeRun
  dt-bindings: arm: renesas: Add HopeRun RZ/G2[M] boards

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2019-06-25 04:43:29 -07:00
commit af647fc733
6 changed files with 33 additions and 16 deletions

View File

@ -106,6 +106,14 @@ properties:
- description: RZ/G2M (R8A774A1)
items:
- enum:
- hoperun,hihope-rzg2m # HopeRun HiHope RZ/G2M platform
- const: renesas,r8a774a1
- items:
- enum:
- hoperun,hihope-rzg2-ex # HopeRun expansion board for HiHope RZ/G2 platforms
- const: hoperun,hihope-rzg2m
- const: renesas,r8a774a1
- description: RZ/G2E (R8A774C0)

View File

@ -12,10 +12,12 @@ following device-specific properties.
Required properties:
- compatible : Shall contain one or more of
- "renesas,r8a774a1-hdmi" for R8A774A1 (RZ/G2M) compatible HDMI TX
- "renesas,r8a7795-hdmi" for R8A7795 (R-Car H3) compatible HDMI TX
- "renesas,r8a7796-hdmi" for R8A7796 (R-Car M3-W) compatible HDMI TX
- "renesas,r8a77965-hdmi" for R8A77965 (R-Car M3-N) compatible HDMI TX
- "renesas,rcar-gen3-hdmi" for the generic R-Car Gen3 compatible HDMI TX
- "renesas,rcar-gen3-hdmi" for the generic R-Car Gen3 and RZ/G2 compatible
HDMI TX
When compatible with generic versions, nodes must list the SoC-specific
version corresponding to the platform first, followed by the

View File

@ -6,6 +6,7 @@ Required properties:
"renesas,can-r8a7744" if CAN controller is a part of R8A7744 SoC.
"renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
"renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC.
"renesas,can-r8a774c0" if CAN controller is a part of R8A774C0 SoC.
"renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC.
"renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC.
"renesas,can-r8a7790" if CAN controller is a part of R8A7790 SoC.
@ -27,13 +28,8 @@ Required properties:
- reg: physical base address and size of the R-Car CAN register map.
- interrupts: interrupt specifier for the sole interrupt.
- clocks: phandles and clock specifiers for 2 CAN clock inputs for RZ/G2
devices.
phandles and clock specifiers for 3 CAN clock inputs for every other
SoC.
- clock-names: 2 clock input name strings for RZ/G2: "clkp1", "can_clk".
3 clock input name strings for every other SoC: "clkp1", "clkp2",
"can_clk".
- clocks: phandles and clock specifiers for 3 CAN clock inputs.
- clock-names: 3 clock input name strings: "clkp1", "clkp2", and "can_clk".
- pinctrl-0: pin control group to be used for this controller.
- pinctrl-names: must be "default".
@ -49,8 +45,7 @@ using the below properties:
Optional properties:
- renesas,can-clock-select: R-Car CAN Clock Source Select. Valid values are:
<0x0> (default) : Peripheral clock (clkp1)
<0x1> : Peripheral clock (clkp2) (not supported by
RZ/G2 devices)
<0x1> : Peripheral clock (clkp2)
<0x3> : External input clock
Example

View File

@ -3,11 +3,14 @@ Renesas R-Car CAN FD controller Device Tree Bindings
Required properties:
- compatible: Must contain one or more of the following:
- "renesas,rcar-gen3-canfd" for R-Car Gen3 compatible controller.
- "renesas,rcar-gen3-canfd" for R-Car Gen3 and RZ/G2 compatible controllers.
- "renesas,r8a774c0-canfd" for R8A774C0 (RZ/G2E) compatible controller.
- "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller.
- "renesas,r8a7796-canfd" for R8A7796 (R-Car M3-W) compatible controller.
- "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller.
- "renesas,r8a77970-canfd" for R8A77970 (R-Car V3M) compatible controller.
- "renesas,r8a77980-canfd" for R8A77980 (R-Car V3H) compatible controller.
- "renesas,r8a77990-canfd" for R8A77990 (R-Car E3) compatible controller.
When compatible with the generic version, nodes must list the
SoC-specific version corresponding to the platform first, followed by the
@ -26,12 +29,13 @@ The name of the child nodes are "channel0" and "channel1" respectively. Each
child node supports the "status" property only, which is used to
enable/disable the respective channel.
Required properties for "renesas,r8a7795-canfd" and "renesas,r8a7796-canfd"
Required properties for "renesas,r8a774c0-canfd", "renesas,r8a7795-canfd",
"renesas,r8a7796-canfd", "renesas,r8a77965-canfd", and "renesas,r8a77990-canfd"
compatible:
In R8A7795 and R8A7796 SoCs, canfd clock is a div6 clock and can be used by both
CAN and CAN FD controller at the same time. It needs to be scaled to maximum
frequency if any of these controllers use it. This is done using the below
properties:
In R8A774C0, R8A7795, R8A7796, R8A77965, and R8A77990 SoCs, canfd clock is a
div6 clock and can be used by both CAN and CAN FD controller at the same time.
It needs to be scaled to maximum frequency if any of these controllers use it.
This is done using the below properties:
- assigned-clocks: phandle of canfd clock.
- assigned-clock-rates: maximum frequency of this clock.

View File

@ -42,12 +42,18 @@ Required Properties:
- "renesas,r8a7793-cmt1" for the 48-bit CMT1 device included in r8a7793.
- "renesas,r8a7794-cmt0" for the 32-bit CMT0 device included in r8a7794.
- "renesas,r8a7794-cmt1" for the 48-bit CMT1 device included in r8a7794.
- "renesas,r8a7795-cmt0" for the 32-bit CMT0 device included in r8a7795.
- "renesas,r8a7795-cmt1" for the 48-bit CMT1 device included in r8a7795.
- "renesas,r8a7796-cmt0" for the 32-bit CMT0 device included in r8a7796.
- "renesas,r8a7796-cmt1" for the 48-bit CMT1 device included in r8a7796.
- "renesas,r8a77965-cmt0" for the 32-bit CMT0 device included in r8a77965.
- "renesas,r8a77965-cmt1" for the 48-bit CMT1 device included in r8a77965.
- "renesas,r8a77970-cmt0" for the 32-bit CMT0 device included in r8a77970.
- "renesas,r8a77970-cmt1" for the 48-bit CMT1 device included in r8a77970.
- "renesas,r8a77980-cmt0" for the 32-bit CMT0 device included in r8a77980.
- "renesas,r8a77980-cmt1" for the 48-bit CMT1 device included in r8a77980.
- "renesas,r8a77990-cmt0" for the 32-bit CMT0 device included in r8a77990.
- "renesas,r8a77990-cmt1" for the 48-bit CMT1 device included in r8a77990.
- "renesas,rcar-gen2-cmt0" for 32-bit CMT0 devices included in R-Car Gen2
and RZ/G1.

View File

@ -371,6 +371,8 @@ patternProperties:
description: Holt Integrated Circuits, Inc.
"^honeywell,.*":
description: Honeywell
"^hoperun,.*":
description: Jiangsu HopeRun Software Co., Ltd.
"^hp,.*":
description: Hewlett Packard
"^holtek,.*":