Skip to content

Add i2c clock manual tuning feature for aspeed-i2c driver

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. v2 Latest2 patches 2 repliesIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

* update bt-bindings documentation
* use meaningful values for properties instead of acture value in register

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2aspeed: i2c: add manual clock setting featuredrivers/i2c/busses/i2c-aspeed.c+56 -10 replies
2/2dt-bindings: aspeed-i2c: add properties for manual clock settingDocumentation/devicetree/bindings/i2c/aspeed,i2c.yaml+44 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add i2c clock manual tuning feature for aspeed-i2c driver

Current aspeed-i2c driver could calculate a suited clock divisor and high/low cycles automatically, and it try to assign high/low periods with close number of cycles.

Because of board schematic design, sometimes we need to manual tune i2c clock timing register to get longer high clock cycle to match hardware requirement, which is not supportted in current driver.

In this patch series, we add new properties for manually assigning clock divisor, high clock cycles and low clock cycles.

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

Potin Lai (1):
aspeed: i2c: add manual clock setting feature

Potin Lai (1):
dt-bindings: aspeed-i2c: add properties for manual clock setting

 .../devicetree/bindings/i2c/aspeed,i2c.yaml   | 44 ++++++++++++++
 drivers/i2c/busses/i2c-aspeed.c               | 57 ++++++++++++++++++-
 2 files changed, 100 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1