devicetree: bindings: Deprecate property, update example

Deprecate "renesas,channels-mask" and update the r8a7790 CMT example.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Magnus Damm and committed by
Daniel Lezcano
63d9e8ca 7f03a0ec

+17 -7
+17 -7
Documentation/devicetree/bindings/timer/renesas,cmt.txt
··· 60 in clock-names. 61 - clock-names: must contain "fck" for the functional clock. 62 63 - - renesas,channels-mask: bitmask of the available channels. 64 65 66 - Example: R8A7790 (R-Car H2) CMT0 node 67 - 68 - CMT0 on R8A7790 implements hardware channels 5 and 6 only and names 69 - them channels 0 and 1 in the documentation. 70 71 cmt0: timer@ffca0000 { 72 - compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2"; 73 reg = <0 0xffca0000 0 0x1004>; 74 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>, 75 <0 142 IRQ_TYPE_LEVEL_HIGH>; 76 clocks = <&mstp1_clks R8A7790_CLK_CMT0>; 77 clock-names = "fck"; 78 79 - renesas,channels-mask = <0x60>; 80 };
··· 60 in clock-names. 61 - clock-names: must contain "fck" for the functional clock. 62 63 + - renesas,channels-mask: <deprecated>, information kept in device driver. 64 65 66 + Example: R8A7790 (R-Car H2) CMT0 and CMT1 nodes 67 68 cmt0: timer@ffca0000 { 69 + compatible = "renesas,cmt0-r8a7790", "renesas,rcar-gen2-cmt0"; 70 reg = <0 0xffca0000 0 0x1004>; 71 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>, 72 <0 142 IRQ_TYPE_LEVEL_HIGH>; 73 clocks = <&mstp1_clks R8A7790_CLK_CMT0>; 74 clock-names = "fck"; 75 + }; 76 77 + cmt1: timer@e6130000 { 78 + compatible = "renesas,cmt1-r8a7790", "renesas,rcar-gen2-cmt1"; 79 + reg = <0 0xe6130000 0 0x1004>; 80 + interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>, 81 + <0 121 IRQ_TYPE_LEVEL_HIGH>, 82 + <0 122 IRQ_TYPE_LEVEL_HIGH>, 83 + <0 123 IRQ_TYPE_LEVEL_HIGH>, 84 + <0 124 IRQ_TYPE_LEVEL_HIGH>, 85 + <0 125 IRQ_TYPE_LEVEL_HIGH>, 86 + <0 126 IRQ_TYPE_LEVEL_HIGH>, 87 + <0 127 IRQ_TYPE_LEVEL_HIGH>; 88 + clocks = <&mstp3_clks R8A7790_CLK_CMT1>; 89 + clock-names = "fck"; 90 };