Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: serial: describe SA8255p

SA8255p platform abstracts resources such as clocks, interconnect and
GPIO pins configuration in Firmware. SCMI power and perf protocols are
used to send request for resource configurations.

Add DT bindings for the QUP GENI UART controller on sa8255p platform.

The wakeup interrupt (IRQ) is treated as optional, as not all UART
instances have a wakeup-capable interrupt routed via the PDC.

Signed-off-by: Nikunj Kela <quic_nkela@quicinc.com>
Co-developed-by: Praveen Talari <quic_ptalari@quicinc.com>
Signed-off-by: Praveen Talari <quic_ptalari@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250721174532.14022-2-quic_ptalari@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Nikunj Kela and committed by
Greg Kroah-Hartman
4c83146c a8d455db

+69
+69
Documentation/devicetree/bindings/serial/qcom,sa8255p-geni-uart.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/serial/qcom,sa8255p-geni-uart.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Geni based QUP UART interface 8 + 9 + maintainers: 10 + - Praveen Talari <quic_ptalari@quicinc.com> 11 + 12 + allOf: 13 + - $ref: /schemas/serial/serial.yaml# 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - qcom,sa8255p-geni-uart 19 + - qcom,sa8255p-geni-debug-uart 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + interrupts: 25 + minItems: 1 26 + items: 27 + - description: UART core irq 28 + - description: Wakeup irq (RX GPIO) 29 + 30 + interrupt-names: 31 + description: 32 + The UART interrupt and optionally the RX in-band wakeup interrupt 33 + as not all UART instances have a wakeup-capable interrupt routed 34 + via the PDC. 35 + minItems: 1 36 + items: 37 + - const: uart 38 + - const: wakeup 39 + 40 + power-domains: 41 + minItems: 2 42 + maxItems: 2 43 + 44 + power-domain-names: 45 + items: 46 + - const: power 47 + - const: perf 48 + 49 + required: 50 + - compatible 51 + - reg 52 + - interrupts 53 + - power-domains 54 + - power-domain-names 55 + 56 + unevaluatedProperties: false 57 + 58 + examples: 59 + - | 60 + #include <dt-bindings/interrupt-controller/arm-gic.h> 61 + 62 + serial@990000 { 63 + compatible = "qcom,sa8255p-geni-uart"; 64 + reg = <0x990000 0x4000>; 65 + interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>; 66 + power-domains = <&scmi0_pd 0>, <&scmi0_dvfs 0>; 67 + power-domain-names = "power", "perf"; 68 + }; 69 + ...