Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: mediatek,mt7621-sysc: add '#reset-cells' property

Make system controller a reset provider for all the peripherals in the
MT7621 SoC adding '#reset-cells' property.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20220210094859.927868-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sergio Paracuellos and committed by
Greg Kroah-Hartman
478b09fa 5d2ed511

+12
+12
Documentation/devicetree/bindings/clock/mediatek,mt7621-sysc.yaml
··· 22 22 23 23 The clocks are provided inside a system controller node. 24 24 25 + This node is also a reset provider for all the peripherals. 26 + 27 + Reset related bits are defined in: 28 + [2]: <include/dt-bindings/reset/mt7621-reset.h>. 29 + 25 30 properties: 26 31 compatible: 27 32 items: ··· 40 35 description: 41 36 The first cell indicates the clock number, see [1] for available 42 37 clocks. 38 + const: 1 39 + 40 + "#reset-cells": 41 + description: 42 + The first cell indicates the reset bit within the register, see 43 + [2] for available resets. 43 44 const: 1 44 45 45 46 ralink,memctl: ··· 72 61 compatible = "mediatek,mt7621-sysc", "syscon"; 73 62 reg = <0x0 0x100>; 74 63 #clock-cells = <1>; 64 + #reset-cells = <1>; 75 65 ralink,memctl = <&memc>; 76 66 clock-output-names = "xtal", "cpu", "bus", 77 67 "50m", "125m", "150m",