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