Commit 9ff3036a authored by Fabio Estevam's avatar Fabio Estevam Committed by Mark Brown

ASoC: fsl: Mark 'big-endian' property as optional

Currently the 'big-endian' property is listed as required, which is
not correct. i.MX SoCs do not need such property, so move it under
'Optional properties' entry instead.

Also, fsl-sai.txt incorrectly referenced 'FTM_PWM registers', so
change it to 'SAI registers', which is the intended description.
Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 7608102e
...@@ -31,14 +31,16 @@ Required properties: ...@@ -31,14 +31,16 @@ Required properties:
it. This property is optional depending on the SoC it. This property is optional depending on the SoC
design. design.
- big-endian : If this property is absent, the little endian mode
will be in use as default. Otherwise, the big endian
mode will be in use for all the device registers.
- fsl,asrc-rate : Defines a mutual sample rate used by DPCM Back Ends. - fsl,asrc-rate : Defines a mutual sample rate used by DPCM Back Ends.
- fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends. - fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends.
Optional properties:
- big-endian : If this property is absent, the little endian mode
will be in use as default. Otherwise, the big endian
mode will be in use for all the device registers.
Example: Example:
asrc: asrc@2034000 { asrc: asrc@2034000 {
......
...@@ -42,6 +42,8 @@ Required properties: ...@@ -42,6 +42,8 @@ Required properties:
means all the settings for Receiving would be means all the settings for Receiving would be
duplicated from Transmition related registers. duplicated from Transmition related registers.
Optional properties:
- big-endian : If this property is absent, the native endian mode - big-endian : If this property is absent, the native endian mode
will be in use as default, or the big endian mode will be in use as default, or the big endian mode
will be in use for all the device registers. will be in use for all the device registers.
......
...@@ -33,6 +33,8 @@ Required properties: ...@@ -33,6 +33,8 @@ Required properties:
it. This property is optional depending on the SoC it. This property is optional depending on the SoC
design. design.
Optional properties:
- big-endian : If this property is absent, the native endian mode - big-endian : If this property is absent, the native endian mode
will be in use as default, or the big endian mode will be in use as default, or the big endian mode
will be in use for all the device registers. will be in use for all the device registers.
......
...@@ -28,9 +28,6 @@ Required properties: ...@@ -28,9 +28,6 @@ Required properties:
pinctrl-names. See ../pinctrl/pinctrl-bindings.txt pinctrl-names. See ../pinctrl/pinctrl-bindings.txt
for details of the property values. for details of the property values.
- big-endian : Boolean property, required if all the FTM_PWM
registers are big-endian rather than little-endian.
- lsb-first : Configures whether the LSB or the MSB is transmitted - lsb-first : Configures whether the LSB or the MSB is transmitted
first for the fifo data. If this property is absent, first for the fifo data. If this property is absent,
the MSB is transmitted first as default, or the LSB the MSB is transmitted first as default, or the LSB
...@@ -48,6 +45,11 @@ Required properties: ...@@ -48,6 +45,11 @@ Required properties:
receive data by following their own bit clocks and receive data by following their own bit clocks and
frame sync clocks separately. frame sync clocks separately.
Optional properties:
- big-endian : Boolean property, required if all the SAI
registers are big-endian rather than little-endian.
Optional properties (for mx6ul): Optional properties (for mx6ul):
- fsl,sai-mclk-direction-output: This is a boolean property. If present, - fsl,sai-mclk-direction-output: This is a boolean property. If present,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment