From: Maxime Ripard <mripard@kernel.org>
To: Marc Gonzalez <mgonzalez@freebox.fr>
Cc: Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Andrzej Hajda <andrzej.hajda@intel.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Robert Foss <rfoss@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Jonas Karlman <jonas@kwiboo.se>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>,
Daniel Vetter <daniel@ffwll.ch>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-arm-msm@vger.kernel.org, Arnaud Vrac <avrac@freebox.fr>,
Pierre-Hugues Husson <phhusson@freebox.fr>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Subject: Re: [PATCH v3 1/2] dt-bindings: display: bridge: add TI TDP158
Date: Mon, 15 Jul 2024 16:40:27 +0200 [thread overview]
Message-ID: <20240715-stirring-purple-toad-7de58c@houat> (raw)
In-Reply-To: <e55d0f0e-a104-4790-b832-120dbddd93ad@freebox.fr>
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]
On Thu, Jul 04, 2024 at 07:04:41PM GMT, Marc Gonzalez wrote:
> On 01/07/2024 15:50, Maxime Ripard wrote:
>
> > The i2c register access (and the whole behaviour of the device) is
> > constrained on the I2C_EN pin status, and you can't read it from the
> > device, so it's also something we need to have in the DT.
>
> I think the purpose of the I2C_EN pin might have been misunderstood.
>
> I2C_EN is not meant to be toggled, ever, by anyone from this planet.
Toggled, probably not. Connected to a GPIO and the kernel has to assert
a level at boot, I've seen worse hardware design already.
> I2C_EN is a layout-time setting, decided by a board manufacturer:
>
> - If the TDP158 is fully configured once-and-for-all at layout-time,
> then no I2C bus is required, and I2C_EN is pulled down forever.
>
> - If the board manufacturer wants to keep open the possibility
> to adjust some parameters at run-time, then they must connect
> the device to an I2C bus, and I2C_EN is pulled up forever.
How do you express both cases in your current binding?
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]
next prev parent reply other threads:[~2024-07-15 14:40 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-27 11:13 [PATCH v3 0/2] Basic support for TI TDP158 Marc Gonzalez
2024-06-27 11:13 ` [PATCH v3 1/2] dt-bindings: display: bridge: add " Marc Gonzalez
2024-06-27 16:25 ` Conor Dooley
2024-06-27 16:45 ` Marc Gonzalez
2024-06-28 7:36 ` Krzysztof Kozlowski
2024-06-28 7:49 ` Dmitry Baryshkov
2024-07-01 14:31 ` Marc Gonzalez
2024-07-23 15:17 ` Marc Gonzalez
2024-07-23 19:57 ` Conor Dooley
2024-07-24 14:03 ` Maxime Ripard
2024-07-01 13:50 ` Maxime Ripard
2024-07-01 15:36 ` Marc Gonzalez
2024-07-08 14:59 ` Maxime Ripard
2024-07-08 20:29 ` Dmitry Baryshkov
2024-07-15 14:42 ` Maxime Ripard
2024-07-15 16:38 ` Dmitry Baryshkov
2024-07-16 9:24 ` Maxime Ripard
2024-07-16 10:59 ` Dmitry Baryshkov
2024-07-24 17:25 ` Marc Gonzalez
2024-07-24 17:34 ` Marc Gonzalez
2024-07-24 17:18 ` Marc Gonzalez
2024-07-24 17:25 ` Dmitry Baryshkov
2024-07-24 17:28 ` Marc Gonzalez
2024-07-30 8:44 ` Maxime Ripard
2024-07-04 17:04 ` Marc Gonzalez
2024-07-15 14:40 ` Maxime Ripard [this message]
2024-07-24 17:59 ` Marc Gonzalez
2024-07-30 8:27 ` Maxime Ripard
2024-07-30 8:46 ` Dmitry Baryshkov
2024-07-30 9:30 ` Maxime Ripard
2024-07-30 9:44 ` Marc Gonzalez
2024-07-30 10:38 ` Dmitry Baryshkov
2024-06-27 11:13 ` [PATCH v3 2/2] drm/bridge: add support for " Marc Gonzalez
2024-07-29 12:54 ` [PATCH v3 0/2] Basic " Marc Gonzalez
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=20240715-stirring-purple-toad-7de58c@houat \
--to=mripard@kernel.org \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=avrac@freebox.fr \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mgonzalez@freebox.fr \
--cc=neil.armstrong@linaro.org \
--cc=phhusson@freebox.fr \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=tzimmermann@suse.de \
/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