;
> ---
Acked-by: Stephen Boyd
Quoting Krzysztof Kozlowski (2025-01-27 05:21:05)
> diff --git a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.h
> b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.h
> index fdb6c648e16f..7541ffde6521 100644
> --- a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.h
> +++ b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.h
> @@ -6,6 +6,7 @@
>
Quoting Miquel Raynal (2024-12-23 10:43:13)
> Hi Maxime,
>
> On 17/12/2024 at 13:47:53 +01, Maxime Ripard wrote:
>
> > On Thu, Nov 21, 2024 at 06:41:14PM +0100, Miquel Raynal wrote:
> >> There are mainly two ways to change a clock frequency.
> >
> > There's much more than that :)
>
> "mainly"
>
Quoting Miquel Raynal (2024-12-23 10:38:20)
> Hi Stephen,
>
> >> +/* do not passively change this clock rate during subtree rate
> >> propagation */
> >> +#define CLK_NO_RATE_CHANGE_DURING_PROPAGATION BIT(14)
> >
> > Why doesn't rate locking work?
>
> Can you be more specific? What function from
Quoting Michal Wilczynski (2024-12-23 04:55:35)
> The T-Head TH1520 SoC’s AP clock controller now needs two address ranges
> to manage both the Application Processor (AP) and Video Output (VO)
> subsystem clocks. Update the device tree bindings to require two `reg`
> entries, one for the AP clocks
Quoting Dmitry Baryshkov (2024-12-15 14:44:21)
> Now as the msm_dp_catalog module became nearly empty, drop it, accessing
> registers directly from the corresponding submodules.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Tested-by: Stephen Boyd # sc7180-trogdor
Quoting Dmitry Baryshkov (2024-12-15 14:44:20)
> There is little point in rereading DP controller revision over and over
> again. Read it once, after the first software reset and propagate it to
> the dp_panel module.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Steph
gt; Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Tested-by: Stephen Boyd # sc7180-trogdor
Quoting Dmitry Baryshkov (2024-12-15 14:44:10)
> The dp_audio module doesn't make any use of the passed DP panel
> instance. Drop the argument.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Tested-by: Stephen Boyd # sc7180-trogdor
Quoting Dmitry Baryshkov (2024-12-15 14:44:07)
> Use msm_dp_utils_pack_sdp_header() and call msm_dp_write_link() directly
> to program audio packet data. Use 0 as Packet ID, as it was not
> programmed earlier.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Steph
: Dmitry Baryshkov
> ---
For the series
Tested-by: Stephen Boyd # sc7180-trogdor
Quoting Dmitry Baryshkov (2024-12-11 15:41:41)
> Move all register-level functions to dp_aux.c, inlining one line
> wrappers during this process.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Quoting Dmitry Baryshkov (2024-12-11 15:41:40)
> Move msm_dp_read()/msm_write_foo() functions to the dp_catalog.h,
> allowing other modules to access the data directly.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
; Fixes: 31f7148fd370 ("drm/msm/dpu: move pstate->pipe initialization to
> dpu_plane_atomic_check")
> Reported-by: Stephen Boyd
> Closes: https://gitlab.freedesktop.org/drm/msm/-/issues/67
> Signed-off-by: Abhinav Kumar
> ---
Tested-by: Stephen Boyd # sc7180-trogdor
Quoting Dmitry Baryshkov (2024-12-02 02:06:44)
> It makes it easier to keep all interrupts-related code in dp_ctrl
> submodule. Move all functions to dp_ctrl.c.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Quoting Dmitry Baryshkov (2024-12-02 02:06:42)
> Move several misnamed functions accessing AUX bus to dp_aux.c, further
> cleaning up dp_catalog submodule.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Quoting Dmitry Baryshkov (2024-12-02 02:06:43)
> All other submodules pass arguments directly. Drop struct
> msm_dp_panel_in that is used to wrap dp_panel's submodule args and pass
> all data to msm_dp_panel_get() directly.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Quoting Dmitry Baryshkov (2024-12-02 02:06:41)
> Move audio-related functions to dp_audio.c, following up the cleanup
> done by the rest of the submodules. Inline functions with simple
> register access patterns.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Quoting Dmitry Baryshkov (2024-12-02 02:06:39)
> Use msm_dp_utils_pack_sdp_header() and call msm_dp_write_link() directly
> to program audio packet data. Use 0 as Packet ID, as it was not
> programmed earlier.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boy
Quoting Dmitry Baryshkov (2024-12-02 02:06:40)
> Drop obsolete functions to access audio packet headers. The dp_audio.c
> now writes them using msm_dp_write_link() directly.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Quoting Dmitry Baryshkov (2024-12-02 02:06:38)
> Move panel-related functions to dp_panel.c, following up the cleanup
> done by the rest of the submodules.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
dp_catalog.c, pending later cleanup.
>
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
mitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Quoting Dmitry Baryshkov (2024-12-11 13:16:56)
> On Wed, 11 Dec 2024 at 23:11, Stephen Boyd wrote:
> >
> > It is pure DP. Maybe we can have a google,cros-ec-usbc-hdmi compatible
> > string here because this is a weird design.
>
> Just google,cros-ec-hdmi for the corresponding connector?
>
Sure.
mitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
quot;)
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Reported-by: kernel test robot
> Closes:
> https://lore.kernel.org/oe-kbuild-all/202411081748.0ppl9mij-...@intel.com/
> Signed-off-by: Dmitry Baryshkov
> ---
Reviewed-by: Stephen Boyd
Quoting Dmitry Baryshkov (2024-12-02 02:06:36)
> diff --git a/drivers/gpu/drm/msm/dp/dp_aux.c b/drivers/gpu/drm/msm/dp/dp_aux.c
> index
> bc8d46abfc619d669dce339477d58fb0c464a3ea..46e8a2e13ac1d1249fbad9b50a6d64c52d51cf38
> 100644
> --- a/drivers/gpu/drm/msm/dp/dp_aux.c
> +++ b/drivers/gpu/drm/msm
Quoting Dmitry Baryshkov (2024-12-05 10:47:08)
> On Tue, Dec 03, 2024 at 03:50:58PM -0800, Stephen Boyd wrote:
> >
> > The easiest way to imagine this is that we took the usb-c-connector and
> > jammed an HDMI dongle in there with some glue so that it can never be
> > r
Quoting Dmitry Baryshkov (2024-12-02 02:06:35)
> diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.h
> b/drivers/gpu/drm/msm/dp/dp_catalog.h
> index
> 13486c9c8703748e69e846be681951368df0a29e..2c500dc0898edfe1d6bdac2eedf3c1b78056cf6b
> 100644
> --- a/drivers/gpu/drm/msm/dp/dp_catalog.h
> +++ b/driv
Quoting Miquel Raynal (2024-11-21 09:41:14)
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index
> adfc5bfb93b5a65b6f58c52ca2c432d651f7dd7d..94d93470479e77769e63e97462b176261103b552
> 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -1927,7 +1927,6 @@ long clk_get_accuracy(
Quoting Stephen Boyd (2024-12-04 12:21:11)
> Quoting Michal Wilczynski (2024-12-04 02:11:26)
> >
> > To address this, I'll specify the 'reg' property in each node to define
> > the address ranges explicitly fragmenting the address space for the VOSYS
>
Quoting Michal Wilczynski (2024-12-04 02:11:26)
> On 12/3/24 16:45, Krzysztof Kozlowski wrote:
> > On 03/12/2024 14:41, Michal Wilczynski wrote:
>
> [1] -
> https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20Video%20Image%20Processing%20User%20Manual.pdf
> >
> >> +
Quoting Dmitry Baryshkov (2024-11-21 14:59:42)
> On Tue, Nov 19, 2024 at 08:09:31PM -0500, Stephen Boyd wrote:
> >
> > It sounds like we're debating how to handle lane assignment in the
> > kernel. Either way, the code is going to be implemented in the bridge
> >
Quoting Dave Stevenson (2024-11-27 06:43:38)
>
> V2 includes fixing Maxime's comment on "[PATCH 31/37] clk: bcm: rpi:
> Allow cpufreq driver to also adjust gpu clocks" that Stephen also
> commented on.
>
> Stephen: Sorry, maintaining newbie, particularly for clocks. I see in
> linux-clk patchwork
Quoting Michal Wilczynski (2024-12-03 05:41:24)
> diff --git a/drivers/clk/thead/Makefile b/drivers/clk/thead/Makefile
> index 7ee0bec1f251..d7cf88390b69 100644
> --- a/drivers/clk/thead/Makefile
> +++ b/drivers/clk/thead/Makefile
> @@ -1,2 +1,2 @@
> # SPDX-License-Identifier: GPL-2.0
> -obj-$(CON
Quoting Dave Stevenson (2024-10-23 09:50:27)
> From: Dom Cobley
>
> The ISP clock can be controlled by the driver, so register it
> with the clock subsystem.
>
> Signed-off-by: Dom Cobley
> Signed-off-by: Dave Stevenson
> ---
Acked-by: Stephen Boyd
With Maxime's suggestion:
Acked-by: Stephen Boyd
Signed-off-by: Dave Stevenson
> ---
Acked-by: Stephen Boyd
cating it
> all over the place.
>
> Signed-off-by: Maxime Ripard
> Signed-off-by: Dave Stevenson
> ---
Acked-by: Stephen Boyd
Quoting Dave Stevenson (2024-10-23 09:50:29)
> From: Dom Cobley
>
> There isn't a reason not to minimise the clocks, and it saves
> some power.
>
> Signed-off-by: Dom Cobley
> Signed-off-by: Dave Stevenson
> ---
Acked-by: Stephen Boyd
Quoting Dmitry Baryshkov (2024-11-15 09:17:15)
> On Mon, Nov 11, 2024 at 06:16:27PM -0800, Stephen Boyd wrote:
> > Quoting Dmitry Baryshkov (2024-11-08 23:05:18)
> > > On Thu, Nov 07, 2024 at 04:28:24PM -0800, Stephen Boyd wrote:
> > > > Quoting Dmitry Baryshkov (202
Quoting Dmitry Baryshkov (2024-11-08 23:05:18)
> On Thu, Nov 07, 2024 at 04:28:24PM -0800, Stephen Boyd wrote:
> > Quoting Dmitry Baryshkov (2024-10-31 15:54:49)
> > > On Thu, Oct 31, 2024 at 02:45:29PM -0700, Stephen Boyd wrote:
> > > > Quoting Dmitry Baryshkov (202
Quoting Dmitry Baryshkov (2024-10-31 15:54:49)
> On Thu, Oct 31, 2024 at 02:45:29PM -0700, Stephen Boyd wrote:
> > Quoting Dmitry Baryshkov (2024-10-31 11:42:36)
> > > On Tue, Oct 29, 2024 at 01:15:51PM -0700, Stephen Boyd wrote:
> >
> > Or use a displayport proper
Quoting Dmitry Baryshkov (2024-10-31 11:42:36)
> On Tue, Oct 29, 2024 at 01:15:51PM -0700, Stephen Boyd wrote:
> > At this point we need to tell the DP bridge, like IT6505, that it's one
> > or the other output endpoints that it should use, but we haven't
> > directl
Quoting Dmitry Baryshkov (2024-10-25 03:49:36)
> On Tue, Oct 22, 2024 at 06:15:47PM -0700, Stephen Boyd wrote:
> > Quoting Dmitry Baryshkov (2024-09-20 02:38:53)
> > > On Sat, Aug 31, 2024 at 09:06:53PM GMT, Stephen Boyd wrote:
>
> >
> > Either way the problem see
Quoting Dmitry Baryshkov (2024-09-20 02:38:53)
> On Sat, Aug 31, 2024 at 09:06:53PM GMT, Stephen Boyd wrote:
>
> Based on our disccusions at LPC, here are several DT examples that seem
> sensible to implement this case and several related cases from other
> ChromeBooks.
(Apolog
Quoting Dmitry Baryshkov (2024-09-19 03:40:19)
> On Sat, Aug 31, 2024 at 09:06:51PM GMT, Stephen Boyd wrote:
> > diff --git a/Documentation/devicetree/bindings/usb/usb-switch.yaml
> > b/Documentation/devicetree/bindings/usb/usb-switch.yaml
> > index f5dc7e23b134..816f295f
Quoting Dzmitry Sankouski (2024-09-13 08:07:45)
> clk-rcg2.c uses 2 variable names for pre divisor register value:
> pre_div and hid_div.
>
> Replace hid_div with pre_div. Update calc_rate docs to reflect, that
> pre_div is not pure divisor, but a register value, and requires conversion.
>
> Sign
Quoting Tzung-Bi Shih (2024-09-06 01:18:21)
> On Wed, Sep 04, 2024 at 02:45:36PM -0700, Stephen Boyd wrote:
> > Quoting Tzung-Bi Shih (2024-09-04 02:36:45)
> > > On Sat, Aug 31, 2024 at 09:06:56PM -0700, Stephen Boyd wrote:
> > > > + /* Inject HPD from the GPIO
Quoting Tzung-Bi Shih (2024-09-04 02:36:45)
> On Sat, Aug 31, 2024 at 09:06:56PM -0700, Stephen Boyd wrote:
> > +static void cros_typec_inject_hpd(struct cros_typec_data *typec,
> > + struct ec_response_usb_pd_mux_info *resp,
> > +
Quoting Andy Shevchenko (2024-09-04 06:00:57)
> On Tue, Sep 03, 2024 at 06:20:14PM -0400, Stephen Boyd wrote:
> > Quoting Andy Shevchenko (2024-09-02 04:35:46)
> > > On Sat, Aug 31, 2024 at 09:06:44PM -0700, Stephen Boyd wrote:
>
> > > > + adev->dev.o
Quoting Andy Shevchenko (2024-09-02 04:12:49)
> On Sat, Aug 31, 2024 at 09:06:49PM -0700, Stephen Boyd wrote:
>
> Is it possible to move these Cc:s after --- line below?
Ok.
>
> > /**
> > * devcon_match_fn_t - device connection match function
> > * @fwnode: R
Quoting Andy Shevchenko (2024-09-02 04:17:12)
> On Sat, Aug 31, 2024 at 09:06:48PM -0700, Stephen Boyd wrote:
> > The usage of this match function is hard to understand at a glance.
> > Document the arguments and the return value so it is clear how to
> > implement the functi
Quoting Andy Shevchenko (2024-09-02 04:35:46)
> On Sat, Aug 31, 2024 at 09:06:44PM -0700, Stephen Boyd wrote:
> > Extend the aux-hpd bridge driver to support assigning DP lanes to USB
> > type-c pins based on typec mux state entry. Existing users of this
> > driver only n
: Prashant Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
drivers/platform/chrome/cros_ec_typec.c | 74 +
drivers/platform/chrome/cros_ec_typec.h | 2 +
2 files changed, 76 insertions(+)
diff --git a/drivers/platf
he EC
doesn't hide these details from the AP so we have to reimplement the
logic in the kernel.
Cc: Prashant Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
drivers/platform/chrome/cros_ec_typec.c | 31 +++--
drivers/platf
a port into DP mode, the mode switch
registered in the drm_dp_typec bridge driver will signal HPD state to
the drm_bridge chain because the typec subsystem will configure the usbc
switches connected to the port with the data this driver provides.
Cc: Prashant Malani
Cc: Benson Leung
Cc: Tzu
(Arm)
Cc: Krzysztof Kozlowski
Cc: Conor Dooley
Acked-by: Lee Jones
Cc: Benson Leung
Cc: Guenter Roeck
Cc: Prashant Malani
Cc: Tzung-Bi Shih
Cc:
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
.../bindings/mfd/google,cros-ec.yaml | 7 +-
.../bindings/usb
:
Cc: Pin-yen Lin
Suggested-by: Krzysztof Kozlowski
Signed-off-by: Stephen Boyd
---
Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 2 +-
.../bindings/{chrome => usb}/google,cros-ec-typec.yaml| 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
rename Docum
on the output. Add an example to show how this new port
can be used.
Reviewed-by: Rob Herring (Arm)
Cc: Krzysztof Kozlowski
Cc: Conor Dooley
Cc: Benson Leung
Cc: Guenter Roeck
Cc: Prashant Malani
Cc: Tzung-Bi Shih
Cc:
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
.../devicetree
The usage of this match function is hard to understand at a glance.
Document the arguments and the return value so it is clear how to
implement the function.
Suggested-by: Andy Shevchenko
Signed-off-by: Stephen Boyd
---
include/linux/property.h | 21 +++--
1 file changed, 19
d
and accelerate binding checks.
Reviewed-by: Rob Herring (Arm)
Cc: Krzysztof Kozlowski
Cc: Conor Dooley
Cc: Benson Leung
Cc: Guenter Roeck
Cc: Prashant Malani
Cc: Tzung-Bi Shih
Cc:
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/usb/usb-switch.yaml
ko
Cc: Daniel Scally
Cc: Heikki Krogerus
Cc: Sakari Ailus
Cc: Greg Kroah-Hartman
Cc: Vinod Koul
Cc: "Rafael J. Wysocki"
Cc: Mika Westerberg
Cc: Alexandre Belloni
Cc: Ivan Orlov
Cc: Rob Herring
Cc: Krzysztof Kozlowski
Cc: Conor Dooley
Cc:
Cc:
Cc:
Cc: Pin-yen Lin
Signed-off-
shant Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/bridge/aux-hpd-bridge.c | 31 +
include/drm/bridge/aux-bridge.h | 9 +++
2 files changed, 40 insertions(+)
diff --
enson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/bridge/aux-hpd-bridge.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/bridge/aux-hpd-bridge.c
b/drivers/gpu/drm/bridge/aux-hpd
and the device doesn't have an orientation switch wired
down on the board between the connector and the DP controller.
Cc: Prashant Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/bridge/aux-hpd-bri
t Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/bridge/aux-hpd-bridge.c | 483 +++-
include/drm/bridge/aux-bridge.h | 17 +
2 files changed, 488 insertions(+), 12 deletions(-)
diff
Simplify driver error paths by adding devm_typec_switch_register() which
will unregister the typec switch when the parent device is unbound.
Cc: Heikki Krogerus
Cc: Greg Kroah-Hartman
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
drivers/usb/typec/mux.c | 36
Simplify driver error paths by adding devm_typec_mux_register() which
will unregister the typec mux when the parent device is unbound.
Cc: Heikki Krogerus
Cc: Greg Kroah-Hartman
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
drivers/usb/typec/mux.c | 35
c: David Airlie
Cc: Daniel Vetter
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/drm_bridge.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c
index bd18c1e91dee..e350
Ease driver development by adding stubs for the typec_switch APIs when
CONFIG_TYPEC=n. Copy the same method used for the typec_mux APIs to be
consistent.
Cc: Heikki Krogerus
Cc: Greg Kroah-Hartman
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
include/linux/usb/typec_mux.h | 43
assignment.
Cc: Andrzej Hajda
Cc: Neil Armstrong
Cc: Robert Foss
Cc: Laurent Pinchart
Cc: Jonas Karlman
Cc: Jernej Skrabec
Cc: Maarten Lankhorst
Cc: Maxime Ripard
Cc: Thomas Zimmermann
Cc: David Airlie
Cc: Daniel Vetter
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-of
* Move the DT graph and other properties to the cros-ec-typec binding
* Skip mode-switch/orientation-switch properties because we're not
registering typec structs anymore
Stephen Boyd (18):
drm/atomic-helper: Introduce lane remapping support to bridges
drm/bridge: Verify lane
Quoting Tzung-Bi Shih (2024-08-22 07:34:31)
> On Mon, Aug 19, 2024 at 03:38:27PM -0700, Stephen Boyd wrote:
> > -title: Google Chrome OS EC(Embedded Controller) Type C port driver.
> > +title: Google Chrome OS Embedded Controller (EC) USB type-c port driver
>
> Given that it
Quoting Tzung-Bi Shih (2024-08-22 07:35:13)
> On Mon, Aug 19, 2024 at 03:38:29PM -0700, Stephen Boyd wrote:
> > +struct cros_typec_dp_bridge {
> > + struct cros_typec_data *typec_data;
> > + struct drm_dp_typec_bridge_dev *dev;
> > +};
>
> It look
Quoting Tzung-Bi Shih (2024-08-22 07:37:05)
> On Mon, Aug 19, 2024 at 03:38:30PM -0700, Stephen Boyd wrote:
> > @@ -671,6 +674,20 @@ static int cros_typec_configure_mux(struct
> > cros_typec_data *typec, int port_num,
> > if (port->mux_flags == resp.flags &&
Quoting Andy Shevchenko (2024-08-20 03:20:44)
> On Mon, Aug 19, 2024 at 03:38:24PM -0700, Stephen Boyd wrote:
> > include/linux/property.h| 5 +++--
>
> > -typedef void *(*devcon_match_fn_t)(const struct fwnode_handle *fwnode,
> > const char *id,
> > -
Quoting Andy Shevchenko (2024-08-20 10:29:41)
> On Tue, Aug 20, 2024 at 10:24:47AM -0700, Stephen Boyd wrote:
> > Quoting Andy Shevchenko (2024-08-20 10:17:46)
> > > On Tue, Aug 20, 2024 at 10:12:55AM -0700, Stephen Boyd wrote:
> > > > Quoting Andy Shevchenko (2024-08
Quoting Andy Shevchenko (2024-08-20 10:17:46)
> On Tue, Aug 20, 2024 at 10:12:55AM -0700, Stephen Boyd wrote:
> > Quoting Andy Shevchenko (2024-08-20 03:09:29)
> > > On Mon, Aug 19, 2024 at 03:38:16PM -0700, Stephen Boyd wrote:
> > > > + /*
> > > > +
Quoting Stephen Boyd (2024-08-20 10:19:48)
> Quoting Andy Shevchenko (2024-08-20 10:16:40)
> > On Tue, Aug 20, 2024 at 10:01:07AM -0700, Stephen Boyd wrote:
> > > Quoting Andy Shevchenko (2024-08-20 03:16:09)
> > > > On Mon, Aug 19, 2024 at 03:38:19PM -0700, Stephen B
Quoting Andy Shevchenko (2024-08-20 10:16:40)
> On Tue, Aug 20, 2024 at 10:01:07AM -0700, Stephen Boyd wrote:
> > Quoting Andy Shevchenko (2024-08-20 03:16:09)
> > > On Mon, Aug 19, 2024 at 03:38:19PM -0700, Stephen Boyd wrote:
> > > > + ptr = devres_alloc(devm_t
Quoting Andy Shevchenko (2024-08-20 03:09:29)
> On Mon, Aug 19, 2024 at 03:38:16PM -0700, Stephen Boyd wrote:
> > Verify during drm_atomic_bridge_check() that the lane assignment set in
> > a bridge's atomic_check() callback is going to be satisfied by the
> > previous
Quoting Andy Shevchenko (2024-08-20 03:16:09)
> On Mon, Aug 19, 2024 at 03:38:19PM -0700, Stephen Boyd wrote:
> > + ptr = devres_alloc(devm_typec_switch_unregister, sizeof(*ptr),
> > GFP_KERNEL);
> > + if (!ptr)
> > + return ERR_PTR(-ENOMEM);
he EC
doesn't hide these details from the AP so we have to reimplement the
logic in the kernel.
Cc: Prashant Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
drivers/platform/chrome/cros_ec_typec.c | 27 +++--
1 file c
: Prashant Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
drivers/platform/chrome/cros_ec_typec.c | 79 +
1 file changed, 79 insertions(+)
diff --git a/drivers/platform/chrome/cros_ec_typec.c
b/drivers/platf
n Lin
Suggested-by: Krzysztof Kozlowski
Signed-off-by: Stephen Boyd
---
Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 2 +-
.../bindings/{chrome => usb}/google,cros-ec-typec.yaml| 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
rename Documentation/devicetree/
a port into DP mode, the mode switch
registered in the drm_dp_typec bridge driver will signal HPD state to
the drm_bridge chain because the typec subsystem will configure the usbc
switches connected to the port with the data this driver provides.
Cc: Prashant Malani
Cc: Benson Leung
Cc: Tzu
zysztof Kozlowski
Cc: Conor Dooley
Cc: Lee Jones
Cc: Benson Leung
Cc: Guenter Roeck
Cc: Prashant Malani
Cc: Tzung-Bi Shih
Cc:
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
.../bindings/mfd/google,cros-ec.yaml | 7 +-
.../bindings/usb/google,cros-ec-typec.yaml| 229 +
d
and accelerate binding checks.
Cc: Rob Herring
Cc: Krzysztof Kozlowski
Cc: Conor Dooley
Cc: Benson Leung
Cc: Guenter Roeck
Cc: Prashant Malani
Cc: Tzung-Bi Shih
Cc:
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/usb/usb-switch.yaml | 74 ---
1
on the output. Add an example to show how this new port
can be used.
Cc: Rob Herring
Cc: Krzysztof Kozlowski
Cc: Conor Dooley
Cc: Benson Leung
Cc: Guenter Roeck
Cc: Prashant Malani
Cc: Tzung-Bi Shih
Cc:
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/usb/usb
ko
Cc: Daniel Scally
Cc: Heikki Krogerus
Cc: Sakari Ailus
Cc: Greg Kroah-Hartman
Cc: Vinod Koul
Cc: "Rafael J. Wysocki"
Cc: Mika Westerberg
Cc: Alexandre Belloni
Cc: Ivan Orlov
Cc: Rob Herring
Cc: Krzysztof Kozlowski
Cc: Conor Dooley
Cc:
Cc:
Cc:
Cc: Pin-yen Lin
Signed-off-
shant Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/bridge/aux-hpd-bridge.c | 30 +
include/drm/bridge/aux-bridge.h | 9
2 files changed, 39 insertions(+)
diff --
enson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/bridge/aux-hpd-bridge.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/bridge/aux-hpd-bridge.c
b/drivers/gpu/drm/bridge/aux-hpd
Simplify driver error paths by adding devm_typec_switch_register() which
will unregister the typec switch when the parent device is unbound.
Cc: Heikki Krogerus
Cc: Greg Kroah-Hartman
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
drivers/usb/typec/mux.c | 27
and the device doesn't have an orientation switch wired
down on the board between the connector and the DP controller.
Cc: Prashant Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/bridge/aux-hpd-bri
t Malani
Cc: Benson Leung
Cc: Tzung-Bi Shih
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/bridge/aux-hpd-bridge.c | 476 +++-
include/drm/bridge/aux-bridge.h | 17 +
2 files changed, 481 insertions(+), 12 deletions(-)
diff
Simplify driver error paths by adding devm_typec_mux_register() which
will unregister the typec mux when the parent device is unbound.
Cc: Heikki Krogerus
Cc: Greg Kroah-Hartman
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
drivers/usb/typec/mux.c | 37
Ease driver development by adding stubs for the typec_switch APIs when
CONFIG_TYPEC=n. Copy the same method used for the typec_mux APIs to be
consistent.
Cc: Heikki Krogerus
Cc: Greg Kroah-Hartman
Cc:
Cc: Pin-yen Lin
Signed-off-by: Stephen Boyd
---
include/linux/usb/typec_mux.h | 42
c: David Airlie
Cc: Daniel Vetter
Cc:
Cc: Pin-yen Lin
Cc: Dmitry Baryshkov
Signed-off-by: Stephen Boyd
---
drivers/gpu/drm/drm_bridge.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c
index bd18c1e91dee..68c7
1 - 100 of 1233 matches
Mail list logo