linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: serial: samsung: add DMA properties
@ 2021-02-12 16:39 Krzysztof Kozlowski
  2021-02-12 16:39 ` [PATCH 2/2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child Krzysztof Kozlowski
  2021-03-05 20:43 ` [PATCH 1/2] dt-bindings: serial: samsung: add DMA properties Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2021-02-12 16:39 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	linux-serial, devicetree, linux-kernel

The Samsung SoC UART nodes have usually DMA so dtschema has to reflect
this to fix dtbs_check warnings like:

  arch/arm/boot/dts/exynos4210-smdkv310.dt.yaml: serial@13800000:
    'dma-names', 'dmas' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 .../devicetree/bindings/serial/samsung_uart.yaml       | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
index 21ee627b2ced..3e29b561223d 100644
--- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml
+++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
@@ -51,6 +51,16 @@ properties:
       - pattern: '^clk_uart_baud[0-3]$'
       - pattern: '^clk_uart_baud[0-3]$'
 
+  dmas:
+    items:
+      - description: DMA controller phandle and request line for RX
+      - description: DMA controller phandle and request line for TX
+
+  dma-names:
+    items:
+      - const: rx
+      - const: tx
+
   interrupts:
     description: RX interrupt and optionally TX interrupt.
     minItems: 1
-- 
2.25.1


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

end of thread, other threads:[~2021-03-07 11:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-12 16:39 [PATCH 1/2] dt-bindings: serial: samsung: add DMA properties Krzysztof Kozlowski
2021-02-12 16:39 ` [PATCH 2/2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child Krzysztof Kozlowski
2021-03-05 20:49   ` Rob Herring
2021-03-07 11:42     ` Krzysztof Kozlowski
2021-03-05 20:43 ` [PATCH 1/2] dt-bindings: serial: samsung: add DMA properties Rob Herring

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).