From: Conor Dooley <conor@kernel.org>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
heikki.krogerus@linux.intel.com, matthias.bgg@gmail.com,
dmitry.baryshkov@linaro.org, neil.armstrong@linaro.org,
andersson@kernel.org, nathan@kernel.org,
luca.weiss@fairphone.com, tianping.fang@mediatek.com,
linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, kernel@collabora.com
Subject: Re: [PATCH v2 1/2] dt-bindings: usb: Introduce ITE IT5205 Alt. Mode Passive MUX
Date: Mon, 22 Jan 2024 18:06:15 +0000 [thread overview]
Message-ID: <20240122-delouse-popsicle-a6f94cce9fb4@spud> (raw)
In-Reply-To: <9605c20a-12ad-49ad-8114-d59f2f772514@collabora.com>
[-- Attachment #1: Type: text/plain, Size: 2862 bytes --]
On Mon, Jan 22, 2024 at 11:27:11AM +0100, AngeloGioacchino Del Regno wrote:
> Il 19/01/24 17:18, Conor Dooley ha scritto:
> > On Fri, Jan 19, 2024 at 01:58:11PM +0100, AngeloGioacchino Del Regno wrote:
> > > Introduce a binding for the ITE IT5205 Alternate Mode Passive MUX,
> > > used for connecting, disconnecting and switching orientation and
> > > control the SBU signals for alternate modes on USB Type-C ports.
> > >
> > > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> > > ---
> > > .../devicetree/bindings/usb/ite,it5205.yaml | 72 +++++++++++++++++++
> > > 1 file changed, 72 insertions(+)
> > > create mode 100644 Documentation/devicetree/bindings/usb/ite,it5205.yaml
> > >
> > > diff --git a/Documentation/devicetree/bindings/usb/ite,it5205.yaml b/Documentation/devicetree/bindings/usb/ite,it5205.yaml
> > > new file mode 100644
> > > index 000000000000..36ec4251b5f2
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/usb/ite,it5205.yaml
> > > @@ -0,0 +1,72 @@
> > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> > > +%YAML 1.2
> > > +---
> > > +$id: http://devicetree.org/schemas/usb/ite,it5205.yaml#
> > > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > > +
> > > +title: ITE IT5202 Type-C USB Alternate Mode Passive MUX
> > > +
> > > +maintainers:
> > > + - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> > > + - Tianping Fang <tianping.fang@mediatek.com>
> > > +
> > > +properties:
> > > + compatible:
> > > + const: ite,it5205
> > > +
> > > + reg:
> > > + maxItems: 1
> > > +
> > > + vcc-supply:
> > > + description: Power supply for VCC pin (3.3V)
> > > +
> > > + mode-switch:
> > > + description: Flag the port as possible handle of altmode switching
> > > + type: boolean
> > > +
> > > + orientation-switch:
> > > + description: Flag the port as possible handler of orientation switching
> > > + type: boolean
> > > +
> > > + ite,ovp-enable:
> > > + description: Enable Over Voltage Protection functionality
> > > + type: boolean
> >
> > Bitta devil's advocacy perhaps, but why is this DT property? Is it not
> > known whether or not this is supported based on the compatible, and
> > whether or not to enable it is a decision for the operating system to
> > make?
> >
> >
>
> AFAIK, not all board designs can use the OVP. On some, this may be unstable - the
> use case where this can be safely enabled is when there's nothing in between the
> mux and the controller, and between the mux and the port.
Okay, if it varies based on the configuration that makes sense. Perhaps
in the future consider mentioning stuff like that in the commit message.
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Thanks,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-01-22 18:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-19 12:58 [PATCH v2 0/2] Add ITE IT5205 Passive MUX AngeloGioacchino Del Regno
2024-01-19 12:58 ` [PATCH v2 1/2] dt-bindings: usb: Introduce ITE IT5205 Alt. Mode " AngeloGioacchino Del Regno
2024-01-19 16:18 ` Conor Dooley
2024-01-22 10:27 ` AngeloGioacchino Del Regno
2024-01-22 18:06 ` Conor Dooley [this message]
2024-01-23 11:52 ` AngeloGioacchino Del Regno
2024-01-22 9:39 ` Krzysztof Kozlowski
2024-01-19 12:58 ` [PATCH v2 2/2] usb: typec: mux: Add ITE IT5205 Alternate Mode Passive MUX driver AngeloGioacchino Del Regno
2024-01-19 13:12 ` Dmitry Baryshkov
2024-01-20 4:52 ` kernel test robot
2024-01-20 10:58 ` kernel test robot
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=20240122-delouse-popsicle-a6f94cce9fb4@spud \
--to=conor@kernel.org \
--cc=andersson@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=kernel@collabora.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-usb@vger.kernel.org \
--cc=luca.weiss@fairphone.com \
--cc=matthias.bgg@gmail.com \
--cc=nathan@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh+dt@kernel.org \
--cc=tianping.fang@mediatek.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