[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9a584eac-6ac9-e4ed-ef90-49569f4a4baa@linaro.org>
Date: Sat, 2 Apr 2022 22:38:23 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Kuldeep Singh <singh.kuldeep87k@...il.com>
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 02/04/2022 22:29, Kuldeep Singh wrote:
> 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.
v1.0.0 looks like there could be some more, although they did not reach
mainline. The GSBI seems to be replaced by different blocks, so maybe
there will be no new entries here.
Best regards,
Krzysztof
Powered by blists - more mailing lists