From: "Ravi Kumar Bokka (Temp)" <rbokka@codeaurora.org>
To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
Douglas Anderson <dianders@chromium.org>,
Rob Herring <robh+dt@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Andy Gross <agross@kernel.org>
Cc: dhavalp@codeaurora.org, mturney@codeaurora.org,
rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org,
saiprakash.ranjan@codeaurora.org, sparate@codeaurora.org,
mkurumel@codeaurora.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/4] dt-bindings: nvmem: qfprom: Convert to yaml
Date: Wed, 17 Jun 2020 21:56:38 +0530 [thread overview]
Message-ID: <0181cfe3-6627-e599-8f2f-1f433d9e0596@codeaurora.org> (raw)
In-Reply-To: <ed6d22a1-0d38-9874-d5cc-efe39f360baa@linaro.org>
On 6/17/2020 8:48 PM, Srinivas Kandagatla wrote:
>
>
> On 17/06/2020 15:51, Douglas Anderson wrote:
>> From: Ravi Kumar Bokka <rbokka@codeaurora.org>
>>
>> This switches the bindings over from txt to yaml.
>>
>> Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org>
>> Signed-off-by: Douglas Anderson <dianders@chromium.org>
>> ---
>>
>> Changes in v3:
>> - Split conversion to yaml into separate patch new in v3.
>> - Use 'const' for compatible instead of a 1-entry enum.
>> - Changed filename to match compatible string.
>> - Add #address-cells and #size-cells to list of properties.
>> - Fixed up example.
>>
>> .../bindings/nvmem/qcom,qfprom.yaml | 45 +++++++++++++++++++
>> .../devicetree/bindings/nvmem/qfprom.txt | 35 ---------------
>> 2 files changed, 45 insertions(+), 35 deletions(-)
>> create mode 100644
>> Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
>> delete mode 100644 Documentation/devicetree/bindings/nvmem/qfprom.txt
>>
>> diff --git a/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
>> b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
>> new file mode 100644
>> index 000000000000..5efa5e7c4d81
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml
>> @@ -0,0 +1,45 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Qualcomm Technologies Inc, QFPROM Efuse bindings
>> +
>> +maintainers:
>> + - Ravi Kumar Bokka <rbokka@codeaurora.org>
>> +
>
> Am not sure this was intentional, but the old maintainer name is totally
> lost in this patch!
>
> Please fix this!
>
Hi Srinivas,
The existed qfprom dt-bindings in .txt format.
I will make it as it is to merge whole content in .yaml format once
confirm all the parameters with this new driver changes.
>
>
>> +allOf:
>> + - $ref: "nvmem.yaml#"
>> +
>> +properties:
>> + compatible:
>> + const: qcom,qfprom
>> +
>> + reg:
>> + items:
>> + - description: The corrected region.
>> +
>> + # Needed if any child nodes are present.
>> + "#address-cells":
>> + const: 1
>> + "#size-cells":
>> + const: 1
>> +
>> +required:
>> + - compatible
>> + - reg
>> +
>> +examples:
>> + - |
>> + efuse@784000 {
>> + compatible = "qcom,qfprom";
>> + reg = <0 0x00784000 0 0x8ff>;
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> +
>> + hstx-trim-primary@1eb {
>> + reg = <0x1eb 0x1>;
>> + bits = <1 4>;
>> + };
>> + };
>> diff --git a/Documentation/devicetree/bindings/nvmem/qfprom.txt
>> b/Documentation/devicetree/bindings/nvmem/qfprom.txt
>> deleted file mode 100644
>> index 26fe878d5c86..000000000000
>> --- a/Documentation/devicetree/bindings/nvmem/qfprom.txt
>> +++ /dev/null
>> @@ -1,35 +0,0 @@
>> -= Qualcomm QFPROM device tree bindings =
>> -
>> -This binding is intended to represent QFPROM which is found in most
>> QCOM SOCs.
>> -
>> -Required properties:
>> -- compatible: should be "qcom,qfprom"
>> -- reg: Should contain registers location and length
>> -
>> -= Data cells =
>> -Are child nodes of qfprom, bindings of which as described in
>> -bindings/nvmem/nvmem.txt
>> -
>> -Example:
>> -
>> - qfprom: qfprom@700000 {
>> - compatible = "qcom,qfprom";
>> - reg = <0x00700000 0x8000>;
>> - ...
>> - /* Data cells */
>> - tsens_calibration: calib@404 {
>> - reg = <0x4404 0x10>;
>> - };
>> - };
>> -
>> -
>> -= Data consumers =
>> -Are device nodes which consume nvmem data cells.
>> -
>> -For example:
>> -
>> - tsens {
>> - ...
>> - nvmem-cells = <&tsens_calibration>;
>> - nvmem-cell-names = "calibration";
>> - };
>>
--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a
member of the Code Aurora Forum, hosted by the Linux Foundation.
next prev parent reply other threads:[~2020-06-17 16:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 14:51 [PATCH v3 0/4] nvmem: qfprom: Patches for fuse blowing on Qualcomm SoCs Douglas Anderson
2020-06-17 14:51 ` [PATCH v3 1/4] dt-bindings: nvmem: qfprom: Convert to yaml Douglas Anderson
2020-06-17 15:18 ` Srinivas Kandagatla
2020-06-17 16:26 ` Ravi Kumar Bokka (Temp) [this message]
2020-06-17 17:28 ` Doug Anderson
2020-06-18 18:43 ` Rob Herring
2020-06-17 14:51 ` [PATCH v3 2/4] dt-bindings: nvmem: Add properties needed for blowing fuses Douglas Anderson
2020-06-17 15:19 ` Srinivas Kandagatla
2020-06-17 17:22 ` Doug Anderson
2020-06-18 10:10 ` Srinivas Kandagatla
2020-06-18 13:48 ` Doug Anderson
2020-06-18 14:01 ` Srinivas Kandagatla
2020-06-18 15:32 ` Doug Anderson
[not found] ` <159249930746.62212.6196028697481604160@swboyd.mtv.corp.google.com>
2020-06-18 17:25 ` Doug Anderson
2020-06-19 9:22 ` Srinivas Kandagatla
2020-06-17 14:51 ` [PATCH v3 3/4] nvmem: qfprom: Add fuse blowing support Douglas Anderson
2020-06-17 15:03 ` Jeffrey Hugo
2020-06-17 15:18 ` Srinivas Kandagatla
2020-06-17 17:13 ` Doug Anderson
2020-06-23 13:35 ` Pavel Machek
2020-06-23 14:48 ` Doug Anderson
2020-06-17 14:51 ` [PATCH v3 4/4] arm64: dts: qcom: sc7180: Add properties to qfprom for fuse blowing Douglas Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0181cfe3-6627-e599-8f2f-1f433d9e0596@codeaurora.org \
--to=rbokka@codeaurora.org \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dhavalp@codeaurora.org \
--cc=dianders@chromium.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mkurumel@codeaurora.org \
--cc=mturney@codeaurora.org \
--cc=rnayak@codeaurora.org \
--cc=robh+dt@kernel.org \
--cc=saiprakash.ranjan@codeaurora.org \
--cc=sparate@codeaurora.org \
--cc=srinivas.kandagatla@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox