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.

dt-bindings: es8328: convert to DT schema format

Convert the binding to DT schema format. Note, that "IPVDD-supply"
got fixed to be "HPVDD-supply" during the conversion. This was
obviously a typo in the old binding. The old binding example, DT
files, chip datasheet and Linux driver use HPVDD.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231109184453.108676-1-sebastian.reichel@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Sebastian Reichel and committed by
Mark Brown
c479f498 fc213b8d

+77 -38
-38
Documentation/devicetree/bindings/sound/es8328.txt
··· 1 - Everest ES8328 audio CODEC 2 - 3 - This device supports both I2C and SPI. 4 - 5 - Required properties: 6 - 7 - - compatible : Should be "everest,es8328" or "everest,es8388" 8 - - DVDD-supply : Regulator providing digital core supply voltage 1.8 - 3.6V 9 - - AVDD-supply : Regulator providing analog supply voltage 3.3V 10 - - PVDD-supply : Regulator providing digital IO supply voltage 1.8 - 3.6V 11 - - IPVDD-supply : Regulator providing analog output voltage 3.3V 12 - - clocks : A 22.5792 or 11.2896 MHz clock 13 - - reg : the I2C address of the device for I2C, the chip select number for SPI 14 - 15 - Pins on the device (for linking into audio routes): 16 - 17 - * LOUT1 18 - * LOUT2 19 - * ROUT1 20 - * ROUT2 21 - * LINPUT1 22 - * RINPUT1 23 - * LINPUT2 24 - * RINPUT2 25 - * Mic Bias 26 - 27 - 28 - Example: 29 - 30 - codec: es8328@11 { 31 - compatible = "everest,es8328"; 32 - DVDD-supply = <&reg_3p3v>; 33 - AVDD-supply = <&reg_3p3v>; 34 - PVDD-supply = <&reg_3p3v>; 35 - HPVDD-supply = <&reg_3p3v>; 36 - clocks = <&clks 169>; 37 - reg = <0x11>; 38 - };
+77
Documentation/devicetree/bindings/sound/everest,es8328.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/everest,es8328.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Everest ES8328 audio CODEC 8 + 9 + description: 10 + Everest Audio Codec, which can be connected via I2C or SPI. 11 + Pins on the device (for linking into audio routes) are 12 + * LOUT1 13 + * LOUT2 14 + * ROUT1 15 + * ROUT2 16 + * LINPUT1 17 + * RINPUT1 18 + * LINPUT2 19 + * RINPUT2 20 + * Mic Bias 21 + 22 + maintainers: 23 + - David Yang <yangxiaohua@everest-semi.com> 24 + 25 + properties: 26 + compatible: 27 + enum: 28 + - everest,es8328 29 + - everest,es8388 30 + 31 + reg: 32 + maxItems: 1 33 + 34 + "#sound-dai-cells": 35 + const: 0 36 + 37 + clocks: 38 + items: 39 + - description: A 22.5792 or 11.2896 MHz clock 40 + 41 + DVDD-supply: 42 + description: Regulator providing digital core supply voltage 1.8 - 3.6V 43 + 44 + AVDD-supply: 45 + description: Regulator providing analog supply voltage 3.3V 46 + 47 + PVDD-supply: 48 + description: Regulator providing digital IO supply voltage 1.8 - 3.6V 49 + 50 + HPVDD-supply: 51 + description: Regulator providing analog output voltage 3.3V 52 + 53 + required: 54 + - compatible 55 + - clocks 56 + - DVDD-supply 57 + - AVDD-supply 58 + - PVDD-supply 59 + - HPVDD-supply 60 + 61 + additionalProperties: false 62 + 63 + examples: 64 + - | 65 + i2c { 66 + #address-cells = <1>; 67 + #size-cells = <0>; 68 + es8328: codec@11 { 69 + compatible = "everest,es8328"; 70 + reg = <0x11>; 71 + AVDD-supply = <&reg_3p3v>; 72 + DVDD-supply = <&reg_3p3v>; 73 + HPVDD-supply = <&reg_3p3v>; 74 + PVDD-supply = <&reg_3p3v>; 75 + clocks = <&clks 169>; 76 + }; 77 + };