]> Gentwo Git Trees - linux/.git/commit
dt-bindings: clocks: add binding for gated-fixed-clocks
authorHeiko Stuebner <heiko@sntech.de>
Fri, 6 Sep 2024 08:25:07 +0000 (10:25 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 15 Oct 2024 23:04:19 +0000 (16:04 -0700)
commita4a7cbe36623ffaabbae413c0eacf40d033db71f
tree973012a02d4f07de1bddcd87fafb3c0e08d8cbb4
parent9852d85ec9d492ebef56dc5f229416c925758edc
dt-bindings: clocks: add binding for gated-fixed-clocks

In contrast to fixed clocks that are described as ungateable, boards
sometimes use additional oscillators for things like PCIe reference
clocks, that need actual supplies to get enabled and enable-gpios to be
toggled for them to work.

This adds a binding for such oscillators that are not configurable
themself, but need to handle supplies for them to work.

In schematics they often can be seen as

         ----------------
Enable - | 100MHz,3.3V, | - VDD
         |    3225      |
   GND - |              | - OUT
         ----------------

or similar. The enable pin might be separate but can also just be tied
to the vdd supply, hence it is optional in the binding.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240906082511.2963890-2-heiko@sntech.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/gated-fixed-clock.yaml [new file with mode: 0644]