xref: /freebsd/sys/contrib/device-tree/Bindings/clock/ti/ti,autoidle.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot%YAML 1.2
3*833e5d42SEmmanuel Vadot---
4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/ti/ti,autoidle.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: TI autoidle clock
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotmaintainers:
10*833e5d42SEmmanuel Vadot  - Tero Kristo <kristo@kernel.org>
11*833e5d42SEmmanuel Vadot  - Sukrut Bellary <sbellary@baylibre.com>
12*833e5d42SEmmanuel Vadot
13*833e5d42SEmmanuel Vadotdescription:
14*833e5d42SEmmanuel Vadot  Some clocks in TI SoC support the autoidle feature. These properties are
15*833e5d42SEmmanuel Vadot  applicable only if the clock supports autoidle feature. It assumes a register
16*833e5d42SEmmanuel Vadot  mapped clock which can be put to idle automatically by hardware based on
17*833e5d42SEmmanuel Vadot  usage and configuration bit setting. Autoidle clock is never an individual
18*833e5d42SEmmanuel Vadot  clock, it is always a derivative of some basic clock like a gate, divider, or
19*833e5d42SEmmanuel Vadot  fixed-factor.
20*833e5d42SEmmanuel Vadot
21*833e5d42SEmmanuel Vadotproperties:
22*833e5d42SEmmanuel Vadot  ti,autoidle-shift:
23*833e5d42SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
24*833e5d42SEmmanuel Vadot    description:
25*833e5d42SEmmanuel Vadot      bit shift of the autoidle enable bit for the clock
26*833e5d42SEmmanuel Vadot    maximum: 31
27*833e5d42SEmmanuel Vadot    default: 0
28*833e5d42SEmmanuel Vadot
29*833e5d42SEmmanuel Vadot  ti,invert-autoidle-bit:
30*833e5d42SEmmanuel Vadot    type: boolean
31*833e5d42SEmmanuel Vadot    description:
32*833e5d42SEmmanuel Vadot      autoidle is enabled by setting the bit to 0
33*833e5d42SEmmanuel Vadot
34*833e5d42SEmmanuel VadotadditionalProperties: true
35