* [PATCH dt-schema 0/2] dt-schema: Add percentage
@ 2021-01-26 16:27 Geert Uytterhoeven
2021-01-26 16:27 ` [PATCH dt-schema 1/2] schemas: property-units: " Geert Uytterhoeven
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2021-01-26 16:27 UTC (permalink / raw)
To: Rob Herring; +Cc: devicetree, Geert Uytterhoeven
Hi Rob,
This patch series adds percentages to the lists of recognized
properties, as requested in[1].
Thanks!
[1] "Re: [PATCH v2] dt-bindings: clk: versaclock5: Miscellaneous fixes
and improvements:"
https://lore.kernel.org/linux-devicetree/20210125212442.GA1019390@robh.at.kernel.org/
Geert Uytterhoeven (2):
schemas: property-units: Add percentage
meta-schemas: vendor-props: Add percentage
meta-schemas/vendor-props.yaml | 2 +-
schemas/property-units.yaml | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
--
2.25.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH dt-schema 1/2] schemas: property-units: Add percentage
2021-01-26 16:27 [PATCH dt-schema 0/2] dt-schema: Add percentage Geert Uytterhoeven
@ 2021-01-26 16:27 ` Geert Uytterhoeven
2021-01-26 16:27 ` [PATCH dt-schema 2/2] meta-schemas: vendor-props: " Geert Uytterhoeven
2021-01-27 16:36 ` [PATCH dt-schema 0/2] dt-schema: " Rob Herring
2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2021-01-26 16:27 UTC (permalink / raw)
To: Rob Herring; +Cc: devicetree, Geert Uytterhoeven
Add percentages to the list of recognized units.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
schemas/property-units.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/schemas/property-units.yaml b/schemas/property-units.yaml
index 20e6f6ebf06b8d93..655e9eec615319e1 100644
--- a/schemas/property-units.yaml
+++ b/schemas/property-units.yaml
@@ -26,6 +26,11 @@ patternProperties:
"-bits$":
$ref: "types.yaml#/definitions/uint32-array"
description: Number of bits
+
+ "-percent$":
+ $ref: "types.yaml#/definitions/uint32-array"
+ description: percentage
+
# Time/Frequency
"-mhz$":
$ref: "types.yaml#/definitions/uint32-array"
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH dt-schema 2/2] meta-schemas: vendor-props: Add percentage
2021-01-26 16:27 [PATCH dt-schema 0/2] dt-schema: Add percentage Geert Uytterhoeven
2021-01-26 16:27 ` [PATCH dt-schema 1/2] schemas: property-units: " Geert Uytterhoeven
@ 2021-01-26 16:27 ` Geert Uytterhoeven
2021-01-27 16:36 ` [PATCH dt-schema 0/2] dt-schema: " Rob Herring
2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2021-01-26 16:27 UTC (permalink / raw)
To: Rob Herring; +Cc: devicetree, Geert Uytterhoeven
Add percentages to the list of recognized vendor properties.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
meta-schemas/vendor-props.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-schemas/vendor-props.yaml b/meta-schemas/vendor-props.yaml
index c620490d220a4518..35092ab5fef8d231 100644
--- a/meta-schemas/vendor-props.yaml
+++ b/meta-schemas/vendor-props.yaml
@@ -14,7 +14,7 @@ patternProperties:
'^linux,.*$': true
'-(gpio|gpios)$': true
'-supply$': true
- '-(bits|mhz|hz|sec|ms|us|ns|ps|mm)$': true
+ '-(bits|percent|mhz|hz|sec|ms|us|ns|ps|mm)$': true
'-(microamp|microamp-hours|ohms|micro-ohms|microwatt-hours)$': true
'-(microvolt|picofarads|celsius|millicelsius|kpascal)$': true
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH dt-schema 0/2] dt-schema: Add percentage
2021-01-26 16:27 [PATCH dt-schema 0/2] dt-schema: Add percentage Geert Uytterhoeven
2021-01-26 16:27 ` [PATCH dt-schema 1/2] schemas: property-units: " Geert Uytterhoeven
2021-01-26 16:27 ` [PATCH dt-schema 2/2] meta-schemas: vendor-props: " Geert Uytterhoeven
@ 2021-01-27 16:36 ` Rob Herring
2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2021-01-27 16:36 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: devicetree
On Tue, Jan 26, 2021 at 05:27:54PM +0100, Geert Uytterhoeven wrote:
> Hi Rob,
>
> This patch series adds percentages to the lists of recognized
> properties, as requested in[1].
>
> Thanks!
>
> [1] "Re: [PATCH v2] dt-bindings: clk: versaclock5: Miscellaneous fixes
> and improvements:"
> https://lore.kernel.org/linux-devicetree/20210125212442.GA1019390@robh.at.kernel.org/
>
> Geert Uytterhoeven (2):
> schemas: property-units: Add percentage
> meta-schemas: vendor-props: Add percentage
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-27 16:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-26 16:27 [PATCH dt-schema 0/2] dt-schema: Add percentage Geert Uytterhoeven
2021-01-26 16:27 ` [PATCH dt-schema 1/2] schemas: property-units: " Geert Uytterhoeven
2021-01-26 16:27 ` [PATCH dt-schema 2/2] meta-schemas: vendor-props: " Geert Uytterhoeven
2021-01-27 16:36 ` [PATCH dt-schema 0/2] dt-schema: " Rob Herring
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.