[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220613205840.x7bgrj567prroede@notapiano>
Date: Mon, 13 Jun 2022 16:58:40 -0400
From: Nícolas F. R. A. Prado
<nfraprado@...labora.com>
To: Prashant Malani <pmalani@...omium.org>
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
bleung@...omium.org, swboyd@...omium.org,
heikki.krogerus@...ux.intel.com,
Andrzej Hajda <andrzej.hajda@...el.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...ux.ie>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
"open list:DRM DRIVERS" <dri-devel@...ts.freedesktop.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hsin-Yi Wang <hsinyi@...omium.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Jonas Karlman <jonas@...boo.se>,
José Expósito <jose.exposito89@...il.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Maxime Ripard <maxime@...no.tech>,
Neil Armstrong <narmstrong@...libre.com>,
Pin-Yen Lin <treapking@...omium.org>,
Robert Foss <robert.foss@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Sam Ravnborg <sam@...nborg.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Tzung-Bi Shih <tzungbi@...gle.com>,
Xin Ji <xji@...logixsemi.com>
Subject: Re: [PATCH v2 0/7] usb: typec: Introduce typec-switch binding
On Thu, Jun 09, 2022 at 06:09:39PM +0000, Prashant Malani wrote:
> This series introduces a binding for Type-C data lane switches. These
> control the routing and operating modes of USB Type-C data lanes based
> on the PD messaging from the Type-C port driver regarding connected
> peripherals.
>
> The first patch introduces a change to the Type-C mux class mode-switch
> matching code, while the second adds a config guard to a Type-C header.
> The next couple of patches introduce the new "typec-switch" binding as
> well as one user of it (the ANX7625 drm bridge).
>
> The remaining patches add functionality to the anx7625 driver to
> register the mode-switches, as well as program its crosspoint
> switch depending on which Type-C port has a DisplayPort (DP) peripheral
> connected to it.
>
> v1: https://lore.kernel.org/linux-usb/20220607190131.1647511-1-pmalani@chromium.org/
>
> Changes since v1:
> - Fixed function signature error in "else case" of typec_mux.h
> - typec-switch.yaml: Fixed indentation, compatible, and node names in examples.
> - anx7625.yaml:
> + Introduced patternProperties for "switch" children (suggested by Krzysztof Kozlowski).
> + Added unevaluatedProperties descriptor (suggested by Krzysztof Kozlowski).
> + Added "address-cells" and "size-cells" properties to "switches".
>
> Pin-Yen Lin (1):
> drm/bridge: anx7625: Add typec_mux_set callback function
>
> Prashant Malani (6):
> usb: typec: mux: Allow muxes to specify mode-switch
> usb: typec: mux: Add CONFIG guards for functions
> dt-bindings: usb: Add Type-C switch binding
> dt-bindings: drm/bridge: anx7625: Add mode-switch support
> drm/bridge: anx7625: Register number of Type C switches
> drm/bridge: anx7625: Register Type-C mode switches
For the whole series,
Reviewed-by: Nícolas F. R. A. Prado <nfraprado@...labora.com>
Tested-by: Nícolas F. R. A. Prado <nfraprado@...labora.com>
Tested that external display works on both ports of mt8192-asurada-spherion.
Thanks,
Nícolas
>
> .../display/bridge/analogix,anx7625.yaml | 63 ++++++++
> .../devicetree/bindings/usb/typec-switch.yaml | 74 +++++++++
> drivers/gpu/drm/bridge/analogix/anx7625.c | 151 ++++++++++++++++++
> drivers/gpu/drm/bridge/analogix/anx7625.h | 20 +++
> drivers/usb/typec/mux.c | 8 +-
> include/linux/usb/typec_mux.h | 38 +++++
> 6 files changed, 352 insertions(+), 2 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/usb/typec-switch.yaml
>
> --
> 2.36.1.476.g0c4daa206d-goog
>
Powered by blists - more mailing lists