Skip to content

Add a property for setting minimum persentage of i2c clock high

Potin Lai linux-arm-kernel linux-aspeed linux-devicetree linux-i2c lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v32 patches 1 replySuperseded

Changes in v4 from the cover letter

* rename property to i2c-clk-high-min-percent

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2aspeed: i2c: add clock duty cycle propertydrivers/i2c/busses/i2c-aspeed.c+45 -112 replies
2/2dt-bindings: aspeed-i2c: add properties for setting i2c clock duty cycleDocumentation/devicetree/bindings/i2c/aspeed,i2c.yaml+7 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] Add a property for setting minimum persentage of i2c clock high

Introducing i2c-clk-high-min-percent property for setting minimum persentage of clock high.

This driver will go through base clock divisor and calculate a set of high/low clock with duty cycle applied. if driver could not find a suit high/low clock set, then it will use default duty cycle (50%) recalculate.

changes v3 --> v4:
* rename property to i2c-clk-high-min-percent

changes v2 --> v3:
* discard the properties for manual setting, use duty cycle to calculate high/low clock.

changes v1 --> v2:
* update bt-bindings documentation
* use meaningful values for properties instead of acture value in register

Potin Lai (2):
aspeed: i2c: add clock duty cycle property
dt-bindings: aspeed-i2c: add properties for setting i2c clock duty
cycle

 .../devicetree/bindings/i2c/aspeed,i2c.yaml   |  7 +++
 drivers/i2c/busses/i2c-aspeed.c               | 56 +++++++++++++++----
 2 files changed, 52 insertions(+), 11 deletions(-)
Signature · 1 line
2.17.1