mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <Hermes.Wu@ite.com.tw>
To: <daniel@makrotopia.org>, <luca.ceresoli@bootlin.com>
Cc: <andrzej.hajda@intel.com>, <neil.armstrong@linaro.org>,
	<rfoss@kernel.org>, <Laurent.pinchart@ideasonboard.com>,
	<jonas@kwiboo.se>, <jernej.skrabec@gmail.com>,
	<maarten.lankhorst@linux.intel.com>, <mripard@kernel.org>,
	<tzimmermann@suse.de>, <airlied@gmail.com>, <simona@ffwll.ch>,
	<matthias.bgg@gmail.com>,
	<angelogioacchino.delregno@collabora.com>,
	<allen.chen@ite.com.tw>, <treapking@chromium.org>,
	<wenst@chromium.org>, <dri-devel@lists.freedesktop.org>,
	<linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>
Subject: RE: [PATCH v8 08/14] drm/bridge: it6505: avoid division by zero in audio FS debug print
Date: Wed, 18 Nov 2026 03:12:14 +0000	[thread overview]
Message-ID: <9485b4a86b124cc3a528ca147609bf4c@ite.com.tw> (raw)
In-Reply-To: <179481904178.211952.8076269834336042526@makrotopia.org>

Hi Daniel, Luca,

On Mon, Nov 16, 2026 at 08:56:18AM +0000, Daniel Golle wrote:
> On Tue, Oct 20, 2026 at 06:51:39PM +0200, Luca Ceresoli wrote:
> > If you could share what that register is for, it would probably answer some
> > of those questions.
>
> I don't have documentation for it either, and with ITE gone there is
> nobody left to ask.

REG_AUDIO_INPUT_FREQ (0xBE) is a read-only input audio frequency
counter. The driver uses it to check whether the I2S BCLK is
present and changing, i.e. whether there is audio input.

> As for the logging, I don't think it is worth an extra i2c read and a
> division in the enable path, so in v9 I'll drop the read and the
> print from it6505_enable_audio() instead of guarding the division.

Fine with us, the value is only informational there.

Best regards,
Hermes

  reply	other threads:[~2026-11-18  3:12 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-27 23:49 [PATCH v8 00/14] drm/bridge: it6505: DP audio support + shared-DAI hw_params fix Daniel Golle
2026-09-27 23:49 ` [PATCH v8 01/14] drm/bridge: it6505: quiesce event sources and work on remove() Daniel Golle
2026-10-20 16:51   ` Luca Ceresoli
2026-09-27 23:49 ` [PATCH v8 02/14] drm/bridge: it6505: quiesce work items before powering off Daniel Golle
2026-10-20 16:51   ` Luca Ceresoli
2026-09-27 23:49 ` [PATCH v8 03/14] drm/bridge: it6505: balance and disable runtime PM on remove Daniel Golle
2026-10-20 16:51   ` Luca Ceresoli
2026-09-27 23:50 ` [PATCH v8 04/14] drm/bridge: it6505: unregister DP AUX adapter on bridge detach Daniel Golle
2026-10-20 16:51   ` Luca Ceresoli
2026-11-16  8:52     ` Daniel Golle
2026-09-27 23:50 ` [PATCH v8 05/14] drm/bridge: it6505: complete poweroff even if disabling regulators fails Daniel Golle
2026-10-20 16:51   ` Luca Ceresoli
2026-09-27 23:50 ` [PATCH v8 06/14] drm/bridge: it6505: bail out of the IRQ handler when status reads fail Daniel Golle
2026-10-20 16:51   ` Luca Ceresoli
2026-11-16  8:55     ` Daniel Golle
2026-09-27 23:50 ` [PATCH v8 07/14] drm/bridge: it6505: avoid division by zero in pixel clock calculation Daniel Golle
2026-10-20 16:51   ` Luca Ceresoli
2026-09-27 23:50 ` [PATCH v8 08/14] drm/bridge: it6505: avoid division by zero in audio FS debug print Daniel Golle
2026-10-20 16:51   ` Luca Ceresoli
2026-11-16  8:56     ` Daniel Golle
2026-11-18  3:12       ` Hermes.Wu [this message]
2026-09-27 23:50 ` [PATCH v8 09/14] drm/bridge: it6505: guard against zero channel count in audio infoframe Daniel Golle
2026-09-27 23:50 ` [PATCH v8 10/14] drm/bridge: it6505: hold endpoint OF node reference while parsing it Daniel Golle
2026-09-27 23:51 ` [PATCH v8 11/14] drm/bridge: it6505: reject a too short link-frequencies property Daniel Golle
2026-09-27 23:51 ` [PATCH v8 12/14] drm/bridge: it6505: don't write an error code back to the reset register Daniel Golle
2026-09-27 23:51 ` [PATCH v8 13/14] drm/bridge: it6505: Add audio support Daniel Golle
2026-09-27 23:51 ` [PATCH v8 14/14] drm/bridge: it6505: Don't reject audio hw_params without an encoder Daniel Golle
2026-11-14 12:19 ` [PATCH v8 00/14] drm/bridge: it6505: DP audio support + shared-DAI hw_params fix Daniel Golle
2026-11-16  7:22   ` Luca Ceresoli
2026-11-16  9:00     ` Daniel Golle

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=9485b4a86b124cc3a528ca147609bf4c@ite.com.tw \
    --to=hermes.wu@ite.com.tw \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=allen.chen@ite.com.tw \
    --cc=andrzej.hajda@intel.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=daniel@makrotopia.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=matthias.bgg@gmail.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=treapking@chromium.org \
    --cc=tzimmermann@suse.de \
    --cc=wenst@chromium.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®