From: Raag Jadav <raag.jadav@intel.com>
To: Riana Tauro <riana.tauro@intel.com>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>,
lucas.demarchi@intel.com, rodrigo.vivi@intel.com,
intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v1] drm/xe/i2c: Introduce xe_i2c_present()
Date: Wed, 13 Aug 2025 10:48:10 +0200 [thread overview]
Message-ID: <aJxRSmyswbjpyE_B@black.igk.intel.com> (raw)
In-Reply-To: <9e87c59e-de7e-478b-8916-ba25a24c6f37@intel.com>
On Wed, Aug 13, 2025 at 11:28:31AM +0530, Riana Tauro wrote:
> On 8/12/2025 6:35 PM, Heikki Krogerus wrote:
> > On Tue, Aug 12, 2025 at 05:56:46PM +0530, Raag Jadav wrote:
> > > In preparation of wider usecases which require checking for I2C
> > > controller presence, introduce xe_i2c_present() helper.
> > >
> > > Suggested-by: Riana Tauro <riana.tauro@intel.com>
> > > Signed-off-by: Raag Jadav <raag.jadav@intel.com>
> >
> > LGTM. FWIW:
> >
> > Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> >
> > > ---
> > > drivers/gpu/drm/xe/xe_i2c.c | 18 ++++++++++++++++--
> > > drivers/gpu/drm/xe/xe_i2c.h | 2 ++
> > > 2 files changed, 18 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/xe/xe_i2c.c b/drivers/gpu/drm/xe/xe_i2c.c
> > > index bc7dc2099470..6534ec5de6dc 100644
> > > --- a/drivers/gpu/drm/xe/xe_i2c.c
> > > +++ b/drivers/gpu/drm/xe/xe_i2c.c
> > > @@ -146,6 +146,20 @@ static void xe_i2c_unregister_adapter(struct xe_i2c *i2c)
> > > fwnode_remove_software_node(i2c->adapter_node);
> > > }
> > > +/**
> > > + * xe_i2c_present: I2C controller is present and functional
> > > + * @xe: xe device instance
>
> '-' instead of ':' according to kernel-doc guidelines
Which means this needs to be updated file wide, but weirdly the doc parser
seems okay with it.
scripts/kernel-doc -v -none -Wall drivers/gpu/drm/xe/xe_i2c.c
> With that change
> Reviewed-by: Riana Tauro <riana.tauro@intel.com>
Awesome.
Raag
next prev parent reply other threads:[~2025-08-13 8:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-12 12:26 [PATCH v1] drm/xe/i2c: Introduce xe_i2c_present() Raag Jadav
2025-08-12 12:34 ` ✓ CI.KUnit: success for " Patchwork
2025-08-12 13:05 ` [PATCH v1] " Heikki Krogerus
2025-08-13 5:58 ` Riana Tauro
2025-08-13 8:48 ` Raag Jadav [this message]
2025-08-12 13:09 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-08-12 14:48 ` ✗ Xe.CI.Full: failure " Patchwork
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=aJxRSmyswbjpyE_B@black.igk.intel.com \
--to=raag.jadav@intel.com \
--cc=heikki.krogerus@linux.intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
--cc=riana.tauro@intel.com \
--cc=rodrigo.vivi@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.