Skip to contentSkip to conversation

rename tas2764 to tas27xx

PATCH Superseded Raphael-Xu 3 participants 5 messages Apr 8, 2022 – Apr 11, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Raphael-Xu

author
#0 lore raw

PATCH 1/2 rename tas2764 to tas27xx

rename tas2764.yaml to tas27xx.yaml

---
 .../devicetree/bindings/sound/{tas2764.yaml => tas27xx.yaml}      | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename Documentation/devicetree/bindings/sound/{tas2764.yaml => tas27xx.yaml} (100%)
Documentation/devicetree/bindings/sound/tas27xx.yaml renamed from Documentation/devicetree/bindings/sound/tas2764.yaml +0 -0
similarity index 100%
rename from Documentation/devicetree/bindings/sound/tas2764.yaml
rename to Documentation/devicetree/bindings/sound/tas27xx.yaml
Signature · 1 line
2.35.1
author
#1 lore raw

PATCH 2/2 update to support either TAS2764 or TAS2780

update tas27xx.yaml to support either TAS2764 or TAS2780

---
 .../devicetree/bindings/sound/tas27xx.yaml     | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/sound/tas27xx.yaml +10 -8
index 5bf8c76ecda1..191f4bceb4ee 100644
@@ -1,25 +1,27 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
-# Copyright (C) 2020 Texas Instruments Incorporated
+# Copyright (C) 2020-2022 Texas Instruments Incorporated
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/sound/tas2764.yaml#"
+$id: "http://devicetree.org/schemas/sound/tas27xx.yaml#"
 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
 
-title: Texas Instruments TAS2764 Smart PA
+title: Texas Instruments TAS2764/TAS2780 Smart PA
 
 maintainers:
-  - Dan Murphy <[email protected]>
+  - Shenghao Ding <[email protected]>
 
 description: |
-  The TAS2764 is a mono, digital input Class-D audio amplifier optimized for
-  efficiently driving high peak power into small loudspeakers.
-  Integrated speaker voltage and current sense provides for
-  real time monitoring of loudspeaker behavior.
+  The TAS2764/TAS2780 is a mono, digital input Class-D audio amplifier
+  optimized for efficiently driving high peak power into small
+  loudspeakers. Integrated speaker voltage and current sense provides
+  for real time monitoring of loudspeaker behavior.
 
 properties:
   compatible:
     enum:
       - ti,tas2764
+      or
+      - ti,tas2780
 
   reg:
     maxItems: 1
Signature · 1 line
2.35.1
maintainer
#2 lore raw

Re: [PATCH v1 2/2] update to support either TAS2764 or TAS2780

Quoted 1 line · Raphael-Xu

update tas27xx.yaml to support either TAS2764 or TAS2780

DT patches must go to DT list.

Now that this is in linux-next, it's breaking 'make dt_binding_check':

./Documentation/devicetree/bindings/sound/tas27xx.yaml:24:7: [error] syntax error: could not find expected ':' (syntax) ./Documentation/devicetree/bindings/sound/tas27xx.yaml: while scanning a simple key
in "<unicode string>", line 23, column 7
could not find expected ':'
in "<unicode string>", line 24, column 7
make[1]: *** Deleting file 'Documentation/devicetree/bindings/sound/tas27xx.example.dts'
Traceback (most recent call last):
File "/usr/local/bin/dt-extract-example", line 52, in <module>
binding = yaml.load(open(args.yamlfile, encoding='utf-8').read())
File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/main.py", line 434, in load
return constructor.get_single_data()
File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 119, in get_single_data
node = self.composer.get_single_node()
File "_ruamel_yaml.pyx", line 706, in _ruamel_yaml.CParser.get_single_node
File "_ruamel_yaml.pyx", line 724, in _ruamel_yaml.CParser._compose_document
File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
File "_ruamel_yaml.pyx", line 889, in _ruamel_yaml.CParser._compose_mapping_node
File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
File "_ruamel_yaml.pyx", line 889, in _ruamel_yaml.CParser._compose_mapping_node
File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
File "_ruamel_yaml.pyx", line 889, in _ruamel_yaml.CParser._compose_mapping_node
File "_ruamel_yaml.pyx", line 773, in _ruamel_yaml.CParser._compose_node
File "_ruamel_yaml.pyx", line 852, in _ruamel_yaml.CParser._compose_sequence_node
File "_ruamel_yaml.pyx", line 904, in _ruamel_yaml.CParser._parse_next_event
ruamel.yaml.scanner.ScannerError: while scanning a simple key
in "<unicode string>", line 23, column 7
could not find expected ':'
in "<unicode string>", line 24, column 7

Quoted 11 lines
---
 .../devicetree/bindings/sound/tas27xx.yaml     | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/sound/tas27xx.yaml +0 -0
index 5bf8c76ecda1..191f4bceb4ee 100644

Documentation/devicetree/bindings/sound/tas27xx.yaml line 5

Quoted 7 lines
Documentation/devicetree/bindings/sound/tas27xx.yaml +2 -2
@@ -1,25 +1,27 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
-# Copyright (C) 2020 Texas Instruments Incorporated
+# Copyright (C) 2020-2022 Texas Instruments Incorporated
 %YAML 1.2
 ---
-$id: "http://devicetree.org/schemas/sound/tas2764.yaml#"
+$id: "http://devicetree.org/schemas/sound/tas27xx.yaml#"

This belonged in patch 1.

Quoted 15 lines
Documentation/devicetree/bindings/sound/tas27xx.yaml +3 -6
 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
 
-title: Texas Instruments TAS2764 Smart PA
+title: Texas Instruments TAS2764/TAS2780 Smart PA
 
 maintainers:
-  - Dan Murphy <[email protected]>
+  - Shenghao Ding <[email protected]>
 
 description: |
-  The TAS2764 is a mono, digital input Class-D audio amplifier optimized for
-  efficiently driving high peak power into small loudspeakers.
-  Integrated speaker voltage and current sense provides for
-  real time monitoring of loudspeaker behavior.
+  The TAS2764/TAS2780 is a mono, digital input Class-D audio amplifier

Documentation/devicetree/bindings/sound/tas27xx.yaml line 24

Quoted 10 lines
Documentation/devicetree/bindings/sound/tas27xx.yaml +5 -0
+  optimized for efficiently driving high peak power into small
+  loudspeakers. Integrated speaker voltage and current sense provides
+  for real time monitoring of loudspeaker behavior.
 
 properties:
   compatible:
     enum:
       - ti,tas2764
+      or
+      - ti,tas2780

'or' in not valid.

Please submit a fix ASAP.

Rob

maintainer
#4 lore raw
In reply to Raphael-Xu
Quoted 3 lines · Raphael-Xu

rename tas2764.yaml to tas27xx.yaml

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] rename tas2764 to tas27xx

      commit: aecf03614d5ded3f930143cda2ba3d76d09b107d
[2/2] update to support either TAS2764 or TAS2780
      commit: 239556a34385706562a481f452ce0963fb569cb8

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark