All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH dt-schema 1/2] schemas: property-units: Add percentage
Date: Tue, 26 Jan 2021 17:27:55 +0100	[thread overview]
Message-ID: <20210126162756.1932692-2-geert+renesas@glider.be> (raw)
In-Reply-To: <20210126162756.1932692-1-geert+renesas@glider.be>

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


  reply	other threads:[~2021-01-26 18:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-26 16:27 [PATCH dt-schema 0/2] dt-schema: Add percentage Geert Uytterhoeven
2021-01-26 16:27 ` Geert Uytterhoeven [this message]
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

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=20210126162756.1932692-2-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=devicetree@vger.kernel.org \
    --cc=robh+dt@kernel.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 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.