From: allen-kh.cheng <allen-kh.cheng@mediatek.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
"Srinivas Kandagatla" <srinivas.kandagatla@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@canonical.com>
Cc: Lala Lin <lala.lin@mediatek.com>,
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
<devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>,
Chen-Yu Tsai <wenst@chromium.org>,
Ryder Lee <ryder.lee@kernel.org>
Subject: Re: [PATCH v2 1/1] dt-bindings: nvmem: mediatek: Convert mtk-efuse binding to YAML
Date: Tue, 26 Apr 2022 14:23:01 +0800 [thread overview]
Message-ID: <9d65b713e3ffdd34dcca532c4c97fa98b124bde4.camel@mediatek.com> (raw)
In-Reply-To: <e64bdca8-7b18-b450-830c-ca07946a73fb@linaro.org>
Hi Krzysztof,
On Mon, 2022-04-25 at 18:38 +0200, Krzysztof Kozlowski wrote:
> On 25/04/2022 10:48, Allen-KH Cheng wrote:
> > Convert MediaTek eFuse devicetree binding to YAML.
> >
> > Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> > ---
> > .../devicetree/bindings/nvmem/mtk,efuse.yaml | 70
> > +++++++++++++++++++
>
> The vendor prefix is mediatek. Quoting my previous reply:
>
> Same comments as usual, so "vendor,device-name", e.g.
> "mediatek,efuse"
> if this is going to match all possible future MediaTek chips or
> "mediatek,mt7622-efuse"
>
> so keep it mediatek,efuse.yaml.
>
Yes, this can match can match current MTK chips.
I will keep the file name.
> > .../devicetree/bindings/nvmem/mtk-efuse.txt | 43 ------------
> > 2 files changed, 70 insertions(+), 43 deletions(-)
> > create mode 100644
> > Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml
> > delete mode 100644 Documentation/devicetree/bindings/nvmem/mtk-
> > efuse.txt
> >
> > diff --git a/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml
> > b/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml
> > new file mode 100644
> > index 000000000000..d056bc61dd5b
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/nvmem/mtk,efuse.yaml
> > @@ -0,0 +1,70 @@
> > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id:
> > https://urldefense.com/v3/__http://devicetree.org/schemas/nvmem/mtk,efuse.yaml*__;Iw!!CTRNKA9wMg0ARbw!2opCfMBuhT3qG85-CIdLu3yviYqRI08FFlpx4vGOKsJLRgOilZDcv1zCy75fOabzogXR6t7cqOrvYULjSab_7sq-qA$
> >
> > +$schema:
> > https://urldefense.com/v3/__http://devicetree.org/meta-schemas/core.yaml*__;Iw!!CTRNKA9wMg0ARbw!2opCfMBuhT3qG85-CIdLu3yviYqRI08FFlpx4vGOKsJLRgOilZDcv1zCy75fOabzogXR6t7cqOrvYULjSaY9-kvJ9A$
> >
> > +
> > +title: MediaTek eFuse device tree bindings
>
> No changes here. Please read my comments from your v1, don't ignore
> them.
>
My apologies for the mistake, I see the reply of v1 after I send v2.
I will remove "device tree bindings".
> > +
> > +maintainers:
> > + - Lala Lin <lala.lin@mediatek.com>
> > + - Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> > +
> > +allOf:
> > + - $ref: "nvmem.yaml#"
> > +
> > +properties:
> > + compatible:
> > + oneOf:
> > + - enum:
> > + - mediatek,mt8173-efuse
> > + - mediatek,efuse
>
> Still no changes...
>
I just want to confirm again.
"Generic compatibles should not be used standalone"
It seems we should remove mediatek,efuse and keep "mediatek,mt8173-
efuse"in binding. have I got that right?
> > + - items:
> > + - enum:
> > + - mediatek,mt7622-efuse
> > + - mediatek,mt7623-efuse
> > + - mediatek,mt8183-efuse
> > + - mediatek,mt8192-efuse
> > + - mediatek,mt8195-efuse
> > + - mediatek,mt8516-efuse
> > + - const: mediatek,efuse
> > +
> > + reg:
> > + maxItems: 1
> > +
> > +patternProperties:
> > + "^.*@[0-9a-f]+$":
> > + type: object
> > +
> > + properties:
> > + reg:
> > + maxItems: 1
> > + description:
> > + Offset and size in bytes within the storage device.
> > +
> > + required:
> > + - reg
> > +
> > + additionalProperties: false
>
> Still no changes.
>
Will remove this.
Thanks,
Allen
> > +
> > +required:
> > + - compatible
> > + - reg
> > +
> > +unevaluatedProperties: false
> > +
> > +examples:
> > + - |
> > +
>
> Still no changes.
>
>
> Best regards,
> Krzysztof
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
next prev parent reply other threads:[~2022-04-26 6:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-25 8:47 [PATCH v2 0/1] dt-bindings: nvmem: mediatek: Convert mtk-efuse binding to YAML Allen-KH Cheng
2022-04-25 8:48 ` [PATCH v2 1/1] " Allen-KH Cheng
2022-04-25 16:38 ` Krzysztof Kozlowski
2022-04-26 6:23 ` allen-kh.cheng [this message]
2022-04-26 6:31 ` Krzysztof Kozlowski
2022-04-26 10:02 ` allen-kh.cheng
2022-04-26 10:14 ` Krzysztof Kozlowski
2022-04-27 9:28 ` allen-kh.cheng
2022-04-27 9:39 ` Krzysztof Kozlowski
2022-04-27 10:00 ` allen-kh.cheng
2022-04-27 13:53 ` Krzysztof Kozlowski
2022-04-27 14:00 ` allen-kh.cheng
2022-04-26 10:03 ` allen-kh.cheng
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=9d65b713e3ffdd34dcca532c4c97fa98b124bde4.camel@mediatek.com \
--to=allen-kh.cheng@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski@canonical.com \
--cc=krzysztof.kozlowski@linaro.org \
--cc=lala.lin@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=ryder.lee@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=wenst@chromium.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