From: Rob Herring <robh@kernel.org>
To: "xinlei.lee" <xinlei.lee@mediatek.com>
Cc: linux-arm-kernel@lists.infradead.org, thierry.reding@gmail.com,
lee.jones@linaro.org, linux-pwm@vger.kernel.org,
linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com,
jitao.shi@mediatek.com,
Project_Global_Chrome_Upstream_Group@mediatek.com,
linux-kernel@vger.kernel.org, allen-kh.cheng@mediatek.com,
u.kleine-koenig@pengutronix.de, devicetree@vger.kernel.org,
Xinlei Lee <xinlei.lee@mediatek.corp-partner.google.com>
Subject: Re: [v2,1/4] dt-bindings: pwm: Convert pwm-mtk-disp.txt to mediatek,pwm-disp.yaml format
Date: Thu, 24 Feb 2022 14:49:26 -0600 [thread overview]
Message-ID: <YhfvVmtX9hj6E6KQ@robh.at.kernel.org> (raw)
In-Reply-To: <0f8c014c077d0fc75c8552e457482d9daf68d73b.camel@mediatek.com>
On Thu, Feb 17, 2022 at 08:35:58PM +0800, xinlei.lee wrote:
> On Wed, 2022-02-16 at 16:51 -0600, Rob Herring wrote:
> > On Wed, 16 Feb 2022 17:32:48 +0800, xinlei.lee@mediatek.com wrote:
> > > From: Xinlei Lee <xinlei.lee@mediatek.corp-partner.google.com>
> > >
> > > Convert pwm-mtk-disp.txt to mediatek,pwm-disp.yaml format as
> > > suggested by maintainer
> > >
> > > Signed-off-by: Xinlei Lee <
> > > xinlei.lee@mediatek.corp-partner.google.com>
> > > ---
> > > .../bindings/pwm/mediatek,pwm-disp.yaml | 71
> > > +++++++++++++++++++
> > > .../devicetree/bindings/pwm/pwm-mtk-disp.txt | 44 ------------
> > > 2 files changed, 71 insertions(+), 44 deletions(-)
> > > create mode 100755
> > > Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml
> > > delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-mtk-
> > > disp.txt
> > >
> >
> > Running 'make dtbs_check' with the schema in this patch gives the
> > following warnings. Consider if they are expected or the schema is
> > incorrect. These may not be new warnings.
> >
> > Note that it is not yet a requirement to have 0 warnings for
> > dtbs_check.
> > This will change in the future.
> >
> > Full log is available here:
> > https://patchwork.ozlabs.org/patch/1593550
> >
> >
> > pwm@1400a000: compatible:0: 'mediatek,mt7623-disp-pwm' is not one of
> > ['mediatek,mt2701-disp-pwm', 'mediatek,mt6595-disp-pwm',
> > 'mediatek,mt8173-disp-pwm', 'mediatek,mt8183-disp-pwm']
> > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dt.yaml
> > arch/arm/boot/dts/mt7623n-rfb-emmc.dt.yaml
> >
> > pwm@1400a000: compatible: ['mediatek,mt7623-disp-pwm',
> > 'mediatek,mt2701-disp-pwm'] is too long
> > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dt.yaml
> > arch/arm/boot/dts/mt7623n-rfb-emmc.dt.yaml
> >
> > pwm@1400a000: 'oneOf' conditional failed, one must be fixed:
> > arch/arm/boot/dts/mt2701-evb.dt.yaml
> > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dt.yaml
> > arch/arm/boot/dts/mt7623n-rfb-emmc.dt.yaml
> >
> > pwm@1400a000: 'power-domains' is a required property
> > arch/arm/boot/dts/mt2701-evb.dt.yaml
> > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dt.yaml
> > arch/arm/boot/dts/mt7623n-rfb-emmc.dt.yaml
> >
> > pwm@1401e000: compatible: ['mediatek,mt8173-disp-pwm',
> > 'mediatek,mt6595-disp-pwm'] is too long
> > arch/arm64/boot/dts/mediatek/mt8173-elm.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-evb.dt.yaml
> >
> > pwm@1401e000: 'oneOf' conditional failed, one must be fixed:
> > arch/arm64/boot/dts/mediatek/mt8173-elm.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-evb.dt.yaml
> >
> > pwm@1401e000: 'power-domains' is a required property
> > arch/arm64/boot/dts/mediatek/mt8173-elm.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-evb.dt.yaml
> >
> > pwm@1401f000: compatible: ['mediatek,mt8173-disp-pwm',
> > 'mediatek,mt6595-disp-pwm'] is too long
> > arch/arm64/boot/dts/mediatek/mt8173-elm.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dt.yaml
> > arch/arm64/boot/dts/mediatek/mt8173-evb.dt.yaml
> >
> Hi Rob:
>
> Thanks for your review. I'm trying to modify the dtbs_check warning you
> mentioned. I would like to ask what cmd I can use to test the modified
> dtbs_check locally.
# Enable building all dtbs
make allmodconfig
make dtbs_check DT_SCHEMA_FILES=path/to/schema.yaml
> Also for WARNING: DT binding docs and includes should be a separate
> patch. I've also made some attempts including splitting the delete .txt
> and create .yaml files into two patches, but the warning doesn't
> resolve. Do you have any suggestions for the results of checkpatch
> ?This will help a lot with the next edition I send out.
Ignore it for conversion patches.
Rob
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-02-24 20:50 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-16 9:32 [v2,0/4] Convert pwm-mtk-disp.txt to mediatek,pwm-disp.yaml format xinlei.lee
2022-02-16 9:32 ` [v2, 1/4] dt-bindings: pwm: Convert pwm-mtk-disp.txt to mediatek, pwm-disp.yaml format xinlei.lee
2022-02-16 10:22 ` [v2,1/4] dt-bindings: pwm: Convert pwm-mtk-disp.txt to mediatek,pwm-disp.yaml format Krzysztof Kozlowski
2022-02-17 1:40 ` xinlei.lee
2022-02-16 22:51 ` [v2, 1/4] dt-bindings: pwm: Convert pwm-mtk-disp.txt to mediatek, pwm-disp.yaml format Rob Herring
2022-02-17 12:35 ` [v2,1/4] dt-bindings: pwm: Convert pwm-mtk-disp.txt to mediatek,pwm-disp.yaml format xinlei.lee
2022-02-24 20:49 ` Rob Herring [this message]
2022-02-25 6:24 ` [v2, 1/4] dt-bindings: pwm: Convert pwm-mtk-disp.txt to mediatek, pwm-disp.yaml format Chen-Yu Tsai
2022-02-25 7:19 ` xinlei.lee
2022-02-25 7:22 ` Chen-Yu Tsai
2022-02-16 9:32 ` [v2,2/4] dt-bindings: pwm: Add compatible for MediaTek MT8192 xinlei.lee
2022-02-16 10:24 ` Krzysztof Kozlowski
2022-02-16 9:32 ` [v2,3/4] dt-bindings: pwm: Add compatible for MediaTek MT8195 xinlei.lee
2022-02-16 10:24 ` Krzysztof Kozlowski
2022-02-16 9:32 ` [v2,4/4] dt-bindings: pwm: Add compatible for MediaTek MT8186 xinlei.lee
2022-02-16 10:25 ` Krzysztof Kozlowski
2022-02-24 21:19 ` Rob Herring
2022-02-25 6:17 ` xinlei.lee
2022-02-25 6:26 ` Chen-Yu Tsai
2022-02-25 7:22 ` xinlei.lee
[not found] ` <7d54ecb2-bb7a-ab3d-9e29-fa2541ec549d@mediatek.com>
2022-02-16 10:16 ` [v2,0/4] Convert pwm-mtk-disp.txt to mediatek,pwm-disp.yaml format xinlei.lee
2022-02-16 10:19 ` Krzysztof Kozlowski
2022-02-16 10:24 ` Krzysztof Kozlowski
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=YhfvVmtX9hj6E6KQ@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=allen-kh.cheng@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=jitao.shi@mediatek.com \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pwm@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=xinlei.lee@mediatek.com \
--cc=xinlei.lee@mediatek.corp-partner.google.com \
/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