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

dt-bindings: qcom: se-common: Add QUP Peripheral-specific properties for I2C, SPI, and SERIAL bus

Introduce a new YAML schema for QUP-supported peripherals. Define common
properties used across QUP-supported peripherals.

Add property `qcom,enable-gsi-dma` to configure the Serial Engine (SE) for
QCOM GPI DMA mode.

Reference the common schema YAML in the GENI I2C, SPI, and SERIAL YAML
files.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Co-developed-by: Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>
Signed-off-by: Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>
Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250911043256.3523057-2-viken.dadhaniya@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Viken Dadhaniya and committed by
Bjorn Andersson
9bc71308 0ea45354

+29
+1
Documentation/devicetree/bindings/i2c/qcom,i2c-geni-qcom.yaml
··· 75 75 76 76 allOf: 77 77 - $ref: /schemas/i2c/i2c-controller.yaml# 78 + - $ref: /schemas/soc/qcom/qcom,se-common-props.yaml# 78 79 - if: 79 80 properties: 80 81 compatible:
+1
Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml
··· 12 12 13 13 allOf: 14 14 - $ref: /schemas/serial/serial.yaml# 15 + - $ref: /schemas/soc/qcom/qcom,se-common-props.yaml# 15 16 16 17 properties: 17 18 compatible:
+26
Documentation/devicetree/bindings/soc/qcom/qcom,se-common-props.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/soc/qcom/qcom,se-common-props.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: QUP Peripheral-specific properties for I2C, SPI and SERIAL bus 8 + 9 + description: 10 + The Generic Interface (GENI) based Qualcomm Universal Peripheral (QUP) is 11 + a programmable module that supports a wide range of serial interfaces 12 + such as UART, SPI, I2C, I3C, etc. This defines the common properties used 13 + across QUP-supported peripherals. 14 + 15 + maintainers: 16 + - Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com> 17 + - Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> 18 + 19 + properties: 20 + qcom,enable-gsi-dma: 21 + $ref: /schemas/types.yaml#/definitions/flag 22 + description: 23 + Configure the Serial Engine (SE) to transfer data in QCOM GPI DMA mode. 24 + By default, FIFO mode (PIO/CPU DMA) will be selected. 25 + 26 + additionalProperties: true
+1
Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml
··· 25 25 26 26 allOf: 27 27 - $ref: /schemas/spi/spi-controller.yaml# 28 + - $ref: /schemas/soc/qcom/qcom,se-common-props.yaml# 28 29 29 30 properties: 30 31 compatible: