[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220402202917.GA36054@9a2d8922b8f1>
Date: Sun, 3 Apr 2022 01:59:17 +0530
From: Kuldeep Singh <singh.kuldeep87k@...il.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Mark Brown <broonie@...nel.org>, linux-arm-msm@...r.kernel.org,
linux-i2c@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
linux-spi@...r.kernel.org
Subject: Re: [PATCH v3 9/9] dt-bindings: qcom: qcom,gsbi: convert to dtschema
On Sat, Apr 02, 2022 at 08:40:11PM +0200, Krzysztof Kozlowski wrote:
> Convert the Qualcomm General Serial Bus Interface (GSBI) to DT
> Schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> ---
> .../bindings/soc/qcom/qcom,gsbi.txt | 87 ------------
> .../bindings/soc/qcom/qcom,gsbi.yaml | 133 ++++++++++++++++++
> 2 files changed, 133 insertions(+), 87 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.txt
> create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.yaml
Great initiative to convert everything in one go!
[...]
> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.yaml
> new file mode 100644
> index 000000000000..b97e359f3f90
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.yaml
> @@ -0,0 +1,133 @@
> +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/soc/qcom/qcom,gsbi.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm General Serial Bus Interface (GSBI)
> +
> +maintainers:
> + - Andy Gross <agross@...nel.org>
> + - Bjorn Andersson <bjorn.andersson@...aro.org>
> + - Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> +
> +description:
> + The GSBI controller is modeled as a node with zero or more child nodes, each
> + representing a serial sub-node device that is mux'd as part of the GSBI
> + configuration settings. The mode setting will govern the input/output mode
> + of the 4 GSBI IOs.
> +
> + A GSBI controller node can contain 0 or more child nodes representing serial
> + devices. These serial devices can be a QCOM UART, I2C controller, spi
> + controller, or some combination of aforementioned devices.
> +
> +properties:
> + compatible:
> + enum:
> + - qcom,gsbi-v1.0.0
Only 1 entry? const.
-Kuldeep
Powered by blists - more mailing lists