Re: [PATCH v2 2/8] dt-bindings: rtc: realtek: Convert RTD119x to schema

From: Alexandre Belloni
Date: Mon Oct 28 2019 - 07:29:35 EST


On 28/10/2019 11:46:48+0100, Andreas Färber wrote:
> Am 25.10.19 um 23:20 schrieb Rob Herring:
> > On Sun, Oct 20, 2019 at 06:08:11AM +0200, Andreas Färber wrote:
> >> Convert the RTD119x binding to a YAML schema.
> >>
> >> Signed-off-by: Andreas Färber <afaerber@xxxxxxx>
> >> ---
> >> v2: New
> >>
> >> .../devicetree/bindings/rtc/realtek,rtd119x.txt | 16 ---------
> >> .../devicetree/bindings/rtc/realtek,rtd119x.yaml | 38 ++++++++++++++++++++++
> >> 2 files changed, 38 insertions(+), 16 deletions(-)
> >> delete mode 100644 Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt
> >> create mode 100644 Documentation/devicetree/bindings/rtc/realtek,rtd119x.yaml
> >
> >
> >> diff --git a/Documentation/devicetree/bindings/rtc/realtek,rtd119x.yaml b/Documentation/devicetree/bindings/rtc/realtek,rtd119x.yaml
> >> new file mode 100644
> >> index 000000000000..71b7396bd469
> >> --- /dev/null
> >> +++ b/Documentation/devicetree/bindings/rtc/realtek,rtd119x.yaml
>
> While renaming the file to .yaml I would like to also rename it to 1195.
> It would need to be 1x9x to cover RTD1195 and e.g. RTD1296, and looking
> forward the wildcard may need to be 1xxx to cover also RTD1619, which
> quickly becomes unrecognizable.
>

I'm fine with removing wildcards as much as possible.


--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com