public inbox for linux-aspeed@lists.ozlabs.org
 help / color / mirror / Atom feed
From: Potin Lai <potin.lai.pt@gmail.com>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH v4 2/2] dt-bindings: aspeed-i2c: add properties for setting i2c clock duty cycle
Date: Fri, 10 Jun 2022 13:47:22 +0800	[thread overview]
Message-ID: <20220610054722.32229-3-potin.lai.pt@gmail.com> (raw)
In-Reply-To: <20220610054722.32229-1-potin.lai.pt@gmail.com>

Introduce a new property for setting a minimum duty cycle for clock high.

* i2c-clk-high-min-percent: a minimum percentage of clock high

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
 Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml b/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
index ea643e6c3ef5..4ea6a112f299 100644
--- a/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
@@ -49,6 +49,13 @@ properties:
     description:
       states that there is another master active on this bus
 
+  i2c-clk-high-min-percent:
+    minimum: 1
+    maximum: 100
+    default: 50
+    description:
+      a minimum percentage of clock high
+
 required:
   - reg
   - compatible
-- 
2.17.1


  parent reply	other threads:[~2022-06-10  5:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  5:47 [PATCH v4 0/2] Add a property for setting minimum persentage of i2c clock high Potin Lai
2022-06-10  5:47 ` [PATCH v4 1/2] aspeed: i2c: add clock duty cycle property Potin Lai
2022-06-22 14:50   ` Potin Lai
2025-03-20 22:13   ` Andi Shyti
2022-06-10  5:47 ` Potin Lai [this message]
2022-06-14 21:41   ` [PATCH v4 2/2] dt-bindings: aspeed-i2c: add properties for setting i2c clock duty cycle 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=20220610054722.32229-3-potin.lai.pt@gmail.com \
    --to=potin.lai.pt@gmail.com \
    --cc=linux-aspeed@lists.ozlabs.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