Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: Convert ti,tas2552 to DT schema

Convert the TI TAS2552 codec binding to DT schema format. It's a
straight-forward conversion.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260121235757.370920-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Rob Herring (Arm) and committed by
Mark Brown
506e0825 702ce71d

+63 -37
-36
Documentation/devicetree/bindings/sound/tas2552.txt
··· 1 - Texas Instruments - tas2552 Codec module 2 - 3 - The tas2552 serial control bus communicates through I2C protocols 4 - 5 - Required properties: 6 - - compatible - One of: 7 - "ti,tas2552" - TAS2552 8 - - reg - I2C slave address: it can be 0x40 if ADDR pin is 0 9 - or 0x41 if ADDR pin is 1. 10 - - supply-*: Required supply regulators are: 11 - "vbat" battery voltage 12 - "iovdd" I/O Voltage 13 - "avdd" Analog DAC Voltage 14 - 15 - Optional properties: 16 - - enable-gpio - gpio pin to enable/disable the device 17 - 18 - tas2552 can receive its reference clock via MCLK, BCLK, IVCLKIN pin or use the 19 - internal 1.8MHz. This CLKIN is used by the PLL. In addition to PLL, the PDM 20 - reference clock is also selectable: PLL, IVCLKIN, BCLK or MCLK. 21 - For system integration the dt-bindings/sound/tas2552.h header file provides 22 - defined values to select and configure the PLL and PDM reference clocks. 23 - 24 - Example: 25 - 26 - tas2552: tas2552@41 { 27 - compatible = "ti,tas2552"; 28 - reg = <0x41>; 29 - vbat-supply = <&reg_vbat>; 30 - iovdd-supply = <&reg_iovdd>; 31 - avdd-supply = <&reg_avdd>; 32 - enable-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; 33 - }; 34 - 35 - For more product information please see the link below: 36 - https://www.ti.com/product/TAS2552
+62
Documentation/devicetree/bindings/sound/ti,tas2552.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/ti,tas2552.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Texas Instruments TAS2552 Codec 8 + 9 + maintainers: 10 + - Shenghao Ding <shenghao-ding@ti.com> 11 + - Kevin Lu <kevin-lu@ti.com> 12 + - Baojun Xu <baojun.xu@ti.com> 13 + 14 + description: > 15 + The TAS2552 can receive its reference clock via MCLK, BCLK, IVCLKIN pin or 16 + use the internal 1.8MHz. This CLKIN is used by the PLL. In addition to PLL, 17 + the PDM reference clock is also selectable: PLL, IVCLKIN, BCLK or MCLK. 18 + 19 + For system integration the dt-bindings/sound/tas2552.h header file provides 20 + defined values to select and configure the PLL and PDM reference clocks. 21 + 22 + properties: 23 + compatible: 24 + const: ti,tas2552 25 + 26 + reg: 27 + maxItems: 1 28 + 29 + vbat-supply: true 30 + iovdd-supply: true 31 + avdd-supply: true 32 + 33 + enable-gpio: 34 + maxItems: 1 35 + description: gpio pin to enable/disable the device 36 + 37 + required: 38 + - compatible 39 + - reg 40 + - vbat-supply 41 + - iovdd-supply 42 + - avdd-supply 43 + 44 + additionalProperties: false 45 + 46 + examples: 47 + - | 48 + #include <dt-bindings/gpio/gpio.h> 49 + 50 + i2c { 51 + #address-cells = <1>; 52 + #size-cells = <0>; 53 + 54 + audio-codec@41 { 55 + compatible = "ti,tas2552"; 56 + reg = <0x41>; 57 + vbat-supply = <&reg_vbat>; 58 + iovdd-supply = <&reg_iovdd>; 59 + avdd-supply = <&reg_avdd>; 60 + enable-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>; 61 + }; 62 + };
+1 -1
MAINTAINERS
··· 25781 25781 M: Baojun Xu <baojun.xu@ti.com> 25782 25782 L: linux-sound@vger.kernel.org 25783 25783 S: Maintained 25784 - F: Documentation/devicetree/bindings/sound/tas2552.txt 25784 + F: Documentation/devicetree/bindings/sound/ti,tas2552.yaml 25785 25785 F: Documentation/devicetree/bindings/sound/ti,tas2562.yaml 25786 25786 F: Documentation/devicetree/bindings/sound/ti,tas2770.yaml 25787 25787 F: Documentation/devicetree/bindings/sound/ti,tas27xx.yaml