Skip to content

Commit 29e64a3

Browse files
Marek Vasutbebarino
authored andcommitted
dt-bindings: clock: fsl-sai: Document i.MX8M support
The i.MX8M/Mini/Nano/Plus variant of the SAI IP has control registers shifted by +8 bytes and requires additional bus clock. Document support for the i.MX8M variant of the IP with this register shift and additional clock. Update the description slightly. Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Marek Vasut <marex@nabladev.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent c369299 commit 29e64a3

1 file changed

Lines changed: 35 additions & 6 deletions

File tree

Documentation/devicetree/bindings/clock/fsl,sai-clock.yaml

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,57 @@ maintainers:
1010
- Michael Walle <michael@walle.cc>
1111

1212
description: |
13-
It is possible to use the BCLK pin of a SAI module as a generic clock
14-
output. Some SoC are very constrained in their pin multiplexer
15-
configuration. Eg. pins can only be changed groups. For example, on the
16-
LS1028A SoC you can only enable SAIs in pairs. If you use only one SAI,
13+
It is possible to use the BCLK pin of a SAI module as a generic
14+
clock output. Some SoC are very constrained in their pin multiplexer
15+
configuration. E.g. pins can only be changed in groups. For example, on
16+
the LS1028A SoC you can only enable SAIs in pairs. If you use only one SAI,
1717
the second pins are wasted. Using this binding it is possible to use the
1818
clock of the second SAI as a MCLK clock for an audio codec, for example.
1919
2020
This is a composite of a gated clock and a divider clock.
2121
2222
properties:
2323
compatible:
24-
const: fsl,vf610-sai-clock
24+
oneOf:
25+
- items:
26+
- enum:
27+
- fsl,imx8mm-sai-clock
28+
- fsl,imx8mn-sai-clock
29+
- fsl,imx8mp-sai-clock
30+
- const: fsl,imx8mq-sai-clock
31+
- items:
32+
- enum:
33+
- fsl,imx8mq-sai-clock
34+
- fsl,vf610-sai-clock
2535

2636
reg:
2737
maxItems: 1
2838

2939
clocks:
30-
maxItems: 1
40+
minItems: 1
41+
maxItems: 2
42+
43+
clock-names:
44+
minItems: 1
45+
items:
46+
- const: bus
47+
- const: mclk1
3148

3249
'#clock-cells':
3350
const: 0
3451

52+
allOf:
53+
- if:
54+
properties:
55+
compatible:
56+
contains:
57+
const: fsl,vf610-sai-clock
58+
then:
59+
properties:
60+
clocks:
61+
maxItems: 1
62+
clock-names: false
63+
3564
required:
3665
- compatible
3766
- reg

0 commit comments

Comments
 (0)