summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/sgtl5000.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ASoC: sgtl5000: Convert to json-schemaThierry Reding2020-07-211-60/+0
| | | | | | | | | Convert the Freescale SGTL5000 device tree bindings from free-form text format to json-schema. Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200608174658.1315325-1-thierry.reding@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: sgtl5000: Allow SCLK pad drive strength to be changedAlison Wang2019-01-071-0/+9
| | | | | | | | | | | | This patch introduces "sclk-strength" property to allow SCLK pad drive strength to be changed via device tree. When running playback test on LS1028ARDB, Tx Frame sync error interrupt will occur sometimes. Some noises also exist. After changing SCLK pad drive strength to the maximum value, the issues are gone. Signed-off-by: Alison Wang <alison.wang@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: sgtl5000: fix spelling in devicetree binding documentMarcel Ziswiler2018-07-201-1/+1
| | | | | | | This fixes a spelling mistake. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: sgtl5000: Make the node name genericFabio Estevam2018-05-051-1/+1
| | | | | | | | | | | | According to Devicetree Specification v0.2 document: "The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model." Do as suggested in the binding example. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: sgtl5000: Pass the required '#sound-dai-cells'Fabio Estevam2018-03-121-0/+3
| | | | | | | | | | | DTC now warns about missing #sound-dai-cells: arch/arm/boot/dts/imx6ul-geam.dtb: Warning (sound_dai_property): /sound/simple-audio-card,codec: Missing property '#sound-dai-cells' in node /soc/aips-bus@2100000/i2c@21a0000/codec@a or bad phandle (referred from sound-dai[0]) Pass the required '#sound-dai-cells' property to improve the documentation. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: sgtl5000: Remove leading zero from '@0a' notationMarco Franchi2017-10-261-1/+1
| | | | | | | | | | Improve the binding example by removing the leading 0 from '@0a' notation, which fixes the following build warning: Warning (unit_address_format): Node /sgtl5000@0a unit name should not have leading 0s Signed-off-by: Marco Franchi <marco.franchi@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: sgtl5000: Allow LRCLK pad drive strength to be changedFabio Estevam2017-04-101-0/+9
| | | | | | | | | | | | | | | | | | | | | Introduce the "lrclk-strength" property to allow LRCLK pad drive strength to be changed via device tree. When running a stress playback loop test on a mx6dl wandboard channel swap can be noticed on about 10% of the times. While debugging this issue I noticed that when probing the SGTL5000 LRCLK pin with the scope the swap did not happen. After removing the probe the swap started to happen again. After changing the LRCLK pad drive strength to the maximum value the issue is gone. Same fix works on a mx6dl Colibri board as well. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: sgtl5000: Place optional properties in the correct sectionFabio Estevam2016-06-021-9/+9
| | | | | | | | | | 'micbias-resistor-k-ohms' and 'micbias-voltage-m-volts' are optional properties, so move them below the 'Optional properties' line. While at it, fix a typo in 'mentioned'. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* Merge branch 'fix/sgtl5000' of ↵Mark Brown2014-10-201-0/+10
|\ | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-sgtl5000 Conflicts: Documentation/devicetree/bindings/sound/sgtl5000.txt
| * ASoC: sgtl500: Document the required suppliesFabio Estevam2014-10-151-0/+10
| | | | | | | | | | | | | | | | | | | | sgtl5000 has two required supplies: VDDA and VDDIO and one optional supply: VDDD, so document this properly. Not passing VDDA and VDDIO prevents the driver to probe successfully. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* | ASoC: sgtl5000: Add MicBias voltage supportJean-Michel Hautbois2014-10-201-1/+6
| | | | | | | | | | | | | | | | | | Some systems may require to specify a bias different than default (1.25V). This adds a property in sgtl5000 codec. The property is specified in milli-volts so that it is coherent with datasheet. Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* | ASoC: sgtl5000: Add MicBias resistor support in DTJean-Michel Hautbois2014-10-201-0/+8
|/ | | | | | | | | | Some systems may require a different resistor than the default one (4K). This adds a property in sgtl5000 codec. It keeps the default of 4K when nothing is specified so it does not break existing code. Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: sgtl5000: Add 'clocks' entry as a required properyFabio Estevam2013-06-121-0/+3
| | | | | | | | Since commit 9e13f345 (ASoC: sgtl5000: Let the codec acquire its clock) , the 'clocks' entry is mandatory, so update the binding doc. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* ASoC: dt: sgtl5000.txt: Add description for 'reg' fieldFabio Estevam2012-04-241-0/+2
| | | | | | | Add description for 'reg' field. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: sgtl5000: rename device tree binding documentShawn Guo2012-03-041-0/+11
It moves and renames sgtl5000 device tree binding document to make it aligned with other codecs. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>