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

dt-bindings: reset: npcm: add clock properties

This commit adds a 25MHz reference clock and clock-cell properties to
the NPCM reset document. The addition is necessitated by the integration
of the NPCM8xx clock auxiliary bus device into the NPCM reset driver.

The inclusion of the NPCM8xx clock properties in the reset document is
crucial as the reset block also serves as a clock provider for the
NPCM8xx clock. This enhancement is intended to facilitate the use of the
NPCM8xx clock driver.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240912191038.981105-2-tmaimon77@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Tomer Maimon and committed by
Stephen Boyd
d62f45b5 9852d85e

+18
+18
Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml
··· 21 21 '#reset-cells': 22 22 const: 2 23 23 24 + '#clock-cells': 25 + const: 1 26 + 27 + clocks: 28 + items: 29 + - description: specify external 25MHz reference clock. 30 + 24 31 nuvoton,sysgcr: 25 32 $ref: /schemas/types.yaml#/definitions/phandle 26 33 description: a phandle to access GCR registers. ··· 45 38 - reg 46 39 - '#reset-cells' 47 40 - nuvoton,sysgcr 41 + 42 + if: 43 + properties: 44 + compatible: 45 + contains: 46 + enum: 47 + - nuvoton,npcm845-reset 48 + then: 49 + required: 50 + - '#clock-cells' 51 + - clocks 48 52 49 53 additionalProperties: false 50 54