mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mukesh Savaliya <mukesh.savaliya@oss.qualcomm.com>
To: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>,
	Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 2/2] i2c: qcom-target: Add driver for Qualcomm I2C target controller
Date: Wed, 14 Oct 2026 23:57:36 +0530	[thread overview]
Message-ID: <02a7367f-ea7f-4c20-91c4-03b751562ea0@oss.qualcomm.com> (raw)
In-Reply-To: <20261005-i2c-qcom-slave-v5-2-6254cc7c08d3@oss.qualcomm.com>



On 10/5/2026 10:15 PM, Viken Dadhaniya wrote:
> QDU1000 and related Qualcomm SoCs include a dedicated I2C target
> controller that operates exclusively in target mode. The existing
> Qualcomm I2C controller drivers, GENI and QUP, are master-only and
> cannot serve systems where the SoC must respond as an I2C target on
> the bus.
> 
> Register the controller with the Linux I2C slave framework through
> i2c_algorithm.reg_slave and i2c_algorithm.unreg_slave. This allows
> standard slave backends, such as slave-24c02, to be attached at
> runtime through i2c_slave_register().
> 
> Handle IRQ events for RX FIFO service, clock stretching during read
> and write phases, STOP and repeated-start conditions, and error
> recovery through a software reset.
> 
> Enable the required AHB and XO clocks and vote for interconnect
> bandwidth. Restore the hardware state across system suspend and
> resume using regular system-sleep PM callbacks.
> 
> Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
> ---

Reviewed-by: Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com>


      reply	other threads:[~2026-10-14 18:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-05 16:45 [PATCH v5 0/2] Add Qualcomm I2C target controller driver Viken Dadhaniya
2026-10-05 16:45 ` [PATCH v5 1/2] dt-bindings: i2c: Add Qualcomm I2C target controller Viken Dadhaniya
2026-10-05 16:45 ` [PATCH v5 2/2] i2c: qcom-target: Add driver for " Viken Dadhaniya
2026-10-14 18:27   ` Mukesh Savaliya [this message]

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=02a7367f-ea7f-4c20-91c4-03b751562ea0@oss.qualcomm.com \
    --to=mukesh.savaliya@oss.qualcomm.com \
    --cc=andi.shyti@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=viken.dadhaniya@oss.qualcomm.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®