devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 1/2] dt-bindings: serial: add Broadcom's BCMBCA family High Speed UART
@ 2023-11-22 14:42 Rafał Miłecki
  2023-11-22 14:42 ` [PATCH V2 2/2] ARM: dts: broadcom: Add BCM63138's high speed UART Rafał Miłecki
  2023-11-22 14:46 ` [PATCH V2 1/2] dt-bindings: serial: add Broadcom's BCMBCA family High Speed UART Krzysztof Kozlowski
  0 siblings, 2 replies; 16+ messages in thread
From: Rafał Miłecki @ 2023-11-22 14:42 UTC (permalink / raw)
  To: Florian Fainelli, William Zhang, Anand Gore, Kursad Oney,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Greg Kroah-Hartman, Jiri Slaby, Andre Przywara, Alexandre TORGUE,
	Neil Armstrong, linux-serial, devicetree, linux-arm-kernel,
	bcm-kernel-feedback-list, Rafał Miłecki

From: Rafał Miłecki <rafal@milecki.pl>

It's an UART controller that first appeared on BCM63138 SoC and then was
reused on other bcmbca familiy chipsets.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
V2: Extend "compatible" and rename YAML file accordingly

Krzysztof: since I reworked "compatible" I didn't want to carry on your
Reviewed in case there is sth wrong with the updated schema.

 .../bindings/serial/brcm,bcmbca-hs-uart.yaml  | 60 +++++++++++++++++++
 1 file changed, 60 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/serial/brcm,bcmbca-hs-uart.yaml

diff --git a/Documentation/devicetree/bindings/serial/brcm,bcmbca-hs-uart.yaml b/Documentation/devicetree/bindings/serial/brcm,bcmbca-hs-uart.yaml
new file mode 100644
index 000000000000..64ef9eee7be2
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/brcm,bcmbca-hs-uart.yaml
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/serial/brcm,bcmbca-hs-uart.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom Broadband SoC High Speed UART
+
+description:
+  High speed serial port controller that was designed to handle Bluetooth
+  devices communication. It supports sending custom frames that need to be
+  processed by a host system.
+
+maintainers:
+  - Rafał Miłecki <rafal@milecki.pl>
+
+allOf:
+  - $ref: serial.yaml#
+
+properties:
+  compatible:
+    items:
+      - enum:
+          - brcm,bcm4908-hs-uart
+          - brcm,bcm4912-hs-uart
+          - brcm,bcm6756-hs-uart
+          - brcm,bcm6813-hs-uart
+          - brcm,bcm6846-hs-uart
+          - brcm,bcm6855-hs-uart
+          - brcm,bcm6856-hs-uart
+          - brcm,bcm6858-hs-uart
+          - brcm,bcm6878-hs-uart
+          - brcm,bcm47622-hs-uart
+          - brcm,bcm63138-hs-uart
+          - brcm,bcm63146-hs-uart
+          - brcm,bcm63158-hs-uart
+          - brcm,bcm63178-hs-uart
+      - const: brcm,bcmbca-hs-uart
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - reg
+  - interrupts
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+    serial@fffec400 {
+        compatible = "brcm,bcm63138-hs-uart", "brcm,bcmbca-hs-uart";
+        reg = <0xfffec400 0x1e0>;
+        interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
+    };
-- 
2.35.3


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-12-05 22:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-22 14:42 [PATCH V2 1/2] dt-bindings: serial: add Broadcom's BCMBCA family High Speed UART Rafał Miłecki
2023-11-22 14:42 ` [PATCH V2 2/2] ARM: dts: broadcom: Add BCM63138's high speed UART Rafał Miłecki
2023-12-05 22:44   ` Florian Fainelli
2023-11-22 14:46 ` [PATCH V2 1/2] dt-bindings: serial: add Broadcom's BCMBCA family High Speed UART Krzysztof Kozlowski
2023-11-22 14:52   ` Rafał Miłecki
2023-11-22 15:00     ` Krzysztof Kozlowski
2023-11-22 15:32       ` Rafał Miłecki
2023-11-22 15:37         ` Krzysztof Kozlowski
2023-11-22 15:49           ` Rafał Miłecki
2023-11-22 15:50             ` Krzysztof Kozlowski
2023-11-22 15:52               ` Rafał Miłecki
2023-11-22 18:39                 ` William Zhang
2023-11-22 18:46                   ` Krzysztof Kozlowski
2023-11-22 18:56                     ` Krzysztof Kozlowski
2023-11-22 19:28                       ` Florian Fainelli
2023-11-22 19:01                     ` William Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).