On 02/09/2023 20:28, Ayush Singh wrote:
Add DT bindings for BeagleCC1352 co-processor UART.This does not look like UART controller.
Signed-off-by: Ayush Singh <ayushdevel1325@xxxxxxxxx>It's not a serial driver. Don't put it in unrelated directory.
---
.../bindings/serial/beaglecc1352.yaml | 25 +++++++++++++++++++
@@ -0,0 +1,25 @@How is this serial UART? Of what? The SoC? Do not describe interface but
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/serial/beaglecc1352.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: BeaglePlay CC1352 serial UART
the device.
+No resources? This does not seem useful... Put it then only in trivial
+maintainers:
+ - Ayush Singh <ayushdevel1325@xxxxxxxxx>
+
+properties:
+ compatible:
+ const: beagle,cc1352
devices if your hardware - hardware, not driver - does not have any
pins, interrupts or other resources.
+Node names should be generic. See also an explanation and list of
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ beaglecc1352 {
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
Best regards,
Krzysztof