mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Long Zhao via B4 Relay <devnull+longzhao.ambarella.com@kernel.org>
To: Andi Shyti <andi.shyti@kernel.org>, linux-i2c@vger.kernel.org
Cc: Long Zhao <zl020895@163.com>,
	linux-kernel@vger.kernel.org,  Long Zhao <longzhao@ambarella.com>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	devicetree@vger.kernel.org
Subject: [PATCH v2 0/3] i2c: add Ambarella IDC master for CV75
Date: Thu, 03 Dec 2026 12:35:14 +0800	[thread overview]
Message-ID: <20261203-cv75-i2c-v2-0-8ed4bb03c85d@ambarella.com> (raw)

Add the Ambarella I2C master binding and driver used on the CV75.
The driver supports standard, fast and fast-plus modes, 7-bit and
10-bit addressing, and repeated start.

Please take this series through the I2C tree. The CV75 SoC and DT
are already in linux-next; this series is the I2C binding and
driver only.

Tested on the CV75 EVK via the local cv75-mix branch with
CONFIG_I2C_AMBARELLA=y: controllers probe and bus transfers work.

Changes in v2:
- binding: drop ambarella,cv75-rct.h from the example and use
  clocks = <&rct 3>. (Krzysztof)
- binding: list clocks before interrupts in properties, required,
  and the example. (Sashiko)
- Link to v1: https://lore.kernel.org/r/20261201-cv75-i2c-v1-0-729176f61836@ambarella.com

To: Andi Shyti <andi.shyti@kernel.org>
To: linux-i2c@vger.kernel.org
Cc: Long Zhao <zl020895@163.com>
Cc: linux-kernel@vger.kernel.org

Signed-off-by: Long Zhao <longzhao@ambarella.com>
---
Long Zhao (3):
      dt-bindings: i2c: add Ambarella IDC controller
      i2c: ambarella: add IDC master for CV75
      MAINTAINERS: add Ambarella I2C controller

 .../bindings/i2c/ambarella,cv75-i2c.yaml           |  62 +++
 MAINTAINERS                                        |   7 +
 drivers/i2c/busses/Kconfig                         |  11 +
 drivers/i2c/busses/Makefile                        |   1 +
 drivers/i2c/busses/i2c-ambarella.c                 | 469 +++++++++++++++++++++
 5 files changed, 550 insertions(+)
---
base-commit: 34cf6dafc47441dfb6b356a095b89c3585a93714
change-id: 20261124-cv75-i2c-a1b2c3d4e5f6

Best regards,
--  
Long Zhao <longzhao@ambarella.com>



             reply	other threads:[~2026-12-03  4:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  4:35 Long Zhao via B4 Relay [this message]
2026-12-03  4:35 ` [PATCH v2 1/3] dt-bindings: i2c: add Ambarella IDC controller Long Zhao via B4 Relay
2026-12-03  4:35 ` [PATCH v2 2/3] i2c: ambarella: add IDC master for CV75 Long Zhao via B4 Relay
2026-12-03  4:35 ` [PATCH v2 3/3] MAINTAINERS: add Ambarella I2C controller Long Zhao via B4 Relay

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=20261203-cv75-i2c-v2-0-8ed4bb03c85d@ambarella.com \
    --to=devnull+longzhao.ambarella.com@kernel.org \
    --cc=andi.shyti@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=longzhao@ambarella.com \
    --cc=robh@kernel.org \
    --cc=zl020895@163.com \
    /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

all inboxes | Powered by JetHome®