summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/rt5640.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ASoC: dt-bindings: Correct interrupt flags in examplesKrzysztof Kozlowski2020-09-171-1/+1
| | | | | | | | | | | | | | | | | GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. These are simple defines so they could be used in DTS but they will not have the same meaning: 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE 2. GPIO_ACTIVE_LOW = 1 = IRQ_TYPE_EDGE_RISING Correct the interrupt flags, assuming the author of the code wanted some logical behavior behind the name "ACTIVE_xxx", this is: ACTIVE_HIGH => IRQ_TYPE_LEVEL_HIGH Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200908145954.4629-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: rt5640: Add devicetree-bindings for dmic, jack-detectHans de Goede2018-05-111-0/+35
| | | | | | | | | | | | Add devicetree-bindings for the dmic, jack-detect source and overcurrent- detect threshold settings. The dmic bindings mirror the existing bindings for the rt5645. The jd-src and ovcd bindings mirror the existing bindings for the rt5651. Cc devicetree@vger.kernel.org Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: rt5640: add master clock handling for rt5640Sugar Zhang2016-02-221-0/+3
| | | | | | | enable/disable master clock when codec is active or not. Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: rt5640: Fill up the IN3's supportOder Chiou2015-10-221-1/+4
| | | | | Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: rt5640: Revise the input pin name of IN1 and IN2 in document of the ↵Oder Chiou2015-10-221-2/+2
| | | | | | | devicetree Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* ASoC: rt5640: Add the info of rt5639 to the binding documentOder Chiou2014-04-141-5/+8
| | | | | | | The patch adds the info of rt5639 to the binding document. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* ASoC: dt: Move RT5640 pin list from Tegra board binding to CODEC bindingMark Brown2013-08-131-0/+20
| | | | | | | The pin list is the same for any board using the CODEC. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Stephen Warren <swarren@nvidia.com>
* ASoC: rt5640: add device tree supportStephen Warren2013-06-121-0/+30
Modify the RT5640 driver to parse platform data from device tree. Write a DT binding document to describe those properties. Slight re-ordering of rt5640_i2c_probe() to better fit the DT parsing. Since ldo1_en is optional, guard usage of it with gpio_is_valid(), rather than open-coding an if (gpio) check. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>