mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: NanamiKite <nanami@yosoro.hk>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH v1 0/2] iio: imu: Add support for QST QMI8658C
Date: Fri, 4 Dec 2026 11:47:58 +0200	[thread overview]
Message-ID: <axKMTowm7Jz04XbA@ashevche-desk.local> (raw)
In-Reply-To: <tencent_B56B88B0062C57D844D703DB526F00460A09@qq.com>

On Fri, Dec 04, 2026 at 04:55:02PM +0800, NanamiKite wrote:
> This series adds a DT binding and an initial I2C driver for the QST
> QMI8658C 6-axis IMU (3-axis accelerometer, 3-axis gyroscope, and
> temperature sensor).
> 
> Right now it only covers direct sysfs reads, scale/ODR settings,
> mount-matrix, and vdd/vddio supplies. Triggers, FIFO, interrupts, and
> runtime PM can come later once the basic layout looks reasonable.
> 
> A few things I'd like feedback on:

First of all, please setup the email and patch sending on your side.
The three patches were sent as three different emails! No, we want
a single email thread (for example, --thread to `git format-patch` makes
this happen).

> - Keeping both accel and gyro enabled for now: the chip uses different
>   ODR tables for the same aODR register values depending on whether the
>   gyro is on or off. Leaving it in 6DOF mode keeps the ODR table simple
>   for an initial driver, or would you rather see separate modes from
>   the start?
> - Regulator startup delay: the datasheet lists t0 = 150 ms from power
>   up. Should probe() sleep after enabling supplies before reading
>   WHO_AM_I, in case a board actually switches them off?
> - Chip IDs: my QMI8658C module returns WHO_AM_I = 0x05 and
>   REVISION_ID = 0x7b (rev 0.9 datasheet says 0x79). The driver warns on
>   an unexpected WHO_AM_I rather than failing probe, and only logs
>   REVISION_ID at dbg level.

Why a brand new driver? You should research existing ones and if there are some
close enough explain, why they are not suitable to host this HW.

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2026-12-04  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  8:55 NanamiKite
2026-12-04  9:47 ` Andy Shevchenko [this message]
2026-12-04 10:59   ` NanamiKite

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=axKMTowm7Jz04XbA@ashevche-desk.local \
    --to=andriy.shevchenko@intel.com \
    --cc=andy@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nanami@yosoro.hk \
    --cc=nuno.sa@analog.com \
    --cc=robh@kernel.org \
    /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®