[PATCH v3 13/34] drm/kirin: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- .../gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 20 --- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_dr

[PATCH v3 10/34] drm/malidp: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
: Laurent Pinchart Cc: Liviu Dudau Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/arm/malidp_drv.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git

[PATCH v3 20/34] drm/omap: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
l King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/omapdrm/dss/dss.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index d6a5862b4dbf..6a6ae2786d7a 100644 ---

[PATCH v3 18/34] drm/mediatek: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index ae

[PATCH v3 21/34] drm/rockchip: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
; Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchi

[PATCH v3 17/34] drm/mcde: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
ana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/mcde/mcde_drv.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/mcde/mcde_drv.c b/drivers/gpu/drm/mcde/mcde_drv.c index e60566a5739c..84fcfe77540e 100644 --- a/drivers/gp

[PATCH v3 22/34] drm/sti: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
ana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/sti/sti_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c index c7efb43b83ee..b277cc679154 100644 --- a/drivers/gpu/drm/sti/sti_d

[PATCH v3 24/34] drm/tilcdc: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 6b

[PATCH v3 19/34] drm/meson: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
l King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/meson/meson_drv.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c index bc0d60df04ae..109fb9d057e3 10

[PATCH v3 31/34] sound: hdac: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
socki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- sound/hda/hdac_component.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/sound/hda/hdac_component.c b/sound/hda/hdac_component.c index bb37e7e0bd79..9e

[PATCH v3 29/34] power: supply: ab8500: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/power/supply/ab8500_charger.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charg

[PATCH v3 28/34] mei: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
ael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/misc/mei/hdcp/mei_hdcp.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c b/drivers/misc/mei/hdcp/mei_hd

[PATCH v3 23/34] drm/sun4i: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/sun4i/sun4i_drv.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index 54

[PATCH v3 30/34] fbdev: omap2: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/video/fbdev/omap2/omapfb/dss/dss.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss.c b/drivers/video/fbdev/omap2/omapfb/dss/dss.c index a6b1c1598040..f1

[PATCH v3 25/34] drm/vc4: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/vc4/vc4_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index f6c16c5aee68..bccbde7a2f59 10

[PATCH v3 26/34] drm/zte: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
ana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/zte/zx_drm_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_drm_drv.c b/drivers/gpu/drm/zte/zx_drm_drv.c index 064056503ebb..b46f677ea51d 100644 --- a/drivers/g

[PATCH v3 32/34] ASoC: codecs: wcd938x: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
; Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- sound/soc/codecs/wcd938x.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c index f0daf8defcf1..6033de7f57ef 100644 -

[PATCH v3 15/34] drm/imx: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
l King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/imx/imx-drm-core.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 9558e9e1b431..dbf5cca5201d 10

[PATCH v3 16/34] drm/ingenic: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 25 +-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/ingenic/ingenic-dr

[PATCH v3 27/34] iommu/mtk: Migrate to aggregate driver

2021-10-25 Thread Stephen Boyd
; Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/iommu/mtk_iommu.c| 14 +- drivers/iommu/mtk_iommu.h| 6 -- drivers/iommu/mtk_iommu_v1.c | 14 +- 3 files changed, 22 insertions(+), 12 deletions(-) diff --git

[PATCH v3 34/34] component: Remove component_master_ops and friends

2021-10-25 Thread Stephen Boyd
The struct is unused now so drop it along with the functions that use it. Cc: Daniel Vetter Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/componen

[PATCH v3 33/34] component: Get rid of drm_of_component_probe()

2021-10-25 Thread Stephen Boyd
There aren't any users anymore so drop it. Cc: Laurent Pinchart Cc: Daniel Vetter Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/dr

Re: [PATCH v3 03/34] component: Introduce the aggregate bus_type

2021-10-26 Thread Stephen Boyd
mutex_lock(&component_mutex); > 2a41e6070dd7ef Russell King 2014-01-10 871 > list_add_tail(&component->node, &component_list); > 2a41e6070dd7ef Russell King 2014-01-10 872 > mutex_unlock(&component_mutex); > 2a41e6070dd7ef Russell King 2014-01-10 873 >

Re: [PATCH v3 1/2] drm/bridge: parade-ps8640: Enable runtime power management

2021-10-26 Thread Stephen Boyd
0 * 1000, 200 * 1000); > + > + if (ret < 0) > + dev_warn(dev, "HPD didn't go high: %d\n", ret); > + > + return ret; > +} > + > +static ssize_t ps8640_aux_transfer_msg(struct drm_dp_aux *aux, > + struct drm_dp_aux_msg *msg) > { > struct ps8640 *ps_bridge = aux_to_ps8640(aux); > struct regmap *map = ps_bridge->regmap[PAGE0_DP_CNTL]; Otherwise Reviewed-by: Stephen Boyd

Re: [PATCH v6 1/2] drm/bridge: parade-ps8640: Use regmap APIs

2021-09-21 Thread Stephen Boyd
Quoting Philip Chen (2021-09-21 11:06:16) > Replace the direct i2c access (i2c_smbus_* functions) with regmap APIs, > which will simplify the future update on ps8640 driver. > > Reviewed-by: Douglas Anderson > Acked-by: Sam Ravnborg > Signed-off-by: Philip Chen > --- Reviewed-by: Stephen Boyd

Re: [PATCH v6 2/2] drm/bridge: parade-ps8640: Add support for AUX channel

2021-09-21 Thread Stephen Boyd
Quoting Philip Chen (2021-09-21 11:06:17) > Implement the first version of AUX support, which will be useful as > we expand the driver to support varied use cases. > > Reviewed-by: Sam Ravnborg > Signed-off-by: Philip Chen > --- Reviewed-by: Stephen Boyd

Re: [PATCH 8/8] usb: typec: altmodes/displayport: Notify drm subsys of hotplug events

2021-09-24 Thread Stephen Boyd
(Sorry for the slow reply) Quoting Hans de Goede (2021-09-16 06:17:56) > Hi, > > On 9/16/21 5:20 AM, Stephen Boyd wrote: > > Quoting Hans de Goede (2021-08-17 14:52:01) > >> diff --git a/drivers/usb/typec/altmodes/displayport.c > >> b/drivers/usb/typec/

Re: [PATCH] drm/msm/submit: fix overflow check on 64-bit architectures

2021-09-27 Thread Stephen Boyd
om_user ahead of locking > bos") > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Stephen Boyd

Re: [PATCH] drm/msm/dp: only signal audio when disconnected detected at dp_pm_resume

2021-09-28 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-09-28 09:11:12) > Only signal audio when disconnected detected at dp_pm_resume since > connected status will be signaled to audio at next plugin handler. Please add more details. This says what the patch does but it would be better if it included why it is important. Doe

Re: [PATCH v2] drm/msm/dp: only signal audio when disconnected detected at dp_pm_resume

2021-09-29 Thread Stephen Boyd
es in V2: > -- add details commit text > > Fixes: 078867ce04ed ("drm/msm/dp: signal audio plugged change at > dp_pm_resume") > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH v2 2/3] dt-bindings: drm/bridge: ps8640: Add aux-bus child

2021-09-29 Thread Stephen Boyd
> Signed-off-by: Philip Chen > --- Reviewed-by: Stephen Boyd

Re: [PATCH v1 2/4] arm64: dts: qcom: sc7280: add display dt nodes

2021-09-30 Thread Stephen Boyd
Quoting mkri...@codeaurora.org (2021-09-30 04:56:59) > On 2021-08-19 01:27, Stephen Boyd wrote: > > Quoting Krishna Manikandan (2021-08-18 03:27:02) > >> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi > >> b/arch/arm64/boot/dts/qcom/sc7280.dtsi > >> index 53a

Re: [PATCH v3 3/5] drm/msm/dp: Support up to 3 DP controllers

2021-10-04 Thread Stephen Boyd
stered priv->dp[] and update the logic for associating > each struct msm_dp with the struct dpu_encoder_virt. > > Lastly, bump the number of struct msm_dp instances carries by priv->dp > to 3, the currently known maximum number of controllers found in a > Qualcomm SoC. > > S

Re: [PATCH v3 3/5] drm/msm/dp: Refactor ioremap wrapper

2021-10-04 Thread Stephen Boyd
n failure, so omit the unnecessary prints from the caller. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd I realize this will cause some prints when we use old DTs. I suppose that's OK though because we'll have more incentive to update existing DT.

Re: [PATCH v3 3/5] drm/msm/dp: Support up to 3 DP controllers

2021-10-04 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-04 18:15:20) > On Mon 04 Oct 17:58 PDT 2021, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2021-10-01 11:00:56) > > > Based on the removal of the g_dp_display and the movement of the > > > priv->dp lookup into the DP code i

Re: [RFC] drm/msm/dp: Allow attaching a drm_panel

2021-10-04 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-04 18:11:11) > On Mon 04 Oct 17:36 PDT 2021, Doug Anderson wrote: > > > Hi, > > > > On Fri, Oct 1, 2021 at 2:00 PM Bjorn Andersson > > wrote: > > > > > > On Fri 27 Aug 13:52 PDT 2021, Doug Anderson wrote: > > > > > > > Hi, > > > > > > > > On Mon, Jul 26, 2021 at 4:

Re: [PATCH v1 2/4] arm64: dts: qcom: sc7280: add display dt nodes

2021-10-04 Thread Stephen Boyd
Quoting mkri...@codeaurora.org (2021-09-30 23:39:07) > On 2021-09-30 23:28, Stephen Boyd wrote: > > Quoting mkri...@codeaurora.org (2021-09-30 04:56:59) > >> On 2021-08-19 01:27, Stephen Boyd wrote: > >> > Quoting Krishna Manikandan (2021-08-18 03:27:02) > >&

Re: [PATCH v1] drm/msm: use compatible string to find mdp node

2021-10-05 Thread Stephen Boyd
Quoting Krishna Manikandan (2021-10-05 02:44:31) > In the current implementation, substring comparison > using device node name is used to find mdp node > during driver probe. Use compatible string instead > of node name to get mdp node from the parent mdss node. > > Signed-off-by: Krishna Manikand

Re: [PATCH] drm/msm/dp: Shorten SETUP timeout

2021-10-05 Thread Stephen Boyd
nderstand that it's waiting 100ms times the 'delay' number. What? Reviewed-by: Stephen Boyd

Re: [PATCH] drm/msm/dp: Shorten SETUP timeout

2021-10-05 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-05 14:40:38) > On Tue 05 Oct 11:45 PDT 2021, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2021-10-04 19:37:50) > > > Found in the middle of a patch from Sankeerth was the reduction of the > > > INIT_SETUP timeout from 10s to 100m

Re: [PATCH] drm/msm/dp: Shorten SETUP timeout

2021-10-05 Thread Stephen Boyd
Quoting khs...@codeaurora.org (2021-10-05 16:04:40) > On 2021-10-05 15:36, Stephen Boyd wrote: > > Quoting Bjorn Andersson (2021-10-05 14:40:38) > >> On Tue 05 Oct 11:45 PDT 2021, Stephen Boyd wrote: > >> > >> > Quoting Bjorn Andersson (2021-10-04 19:37:50)

Re: [PATCH v4 3/7] drm/msm/dp: Allow specifying connector_type per controller

2021-10-05 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-05 16:13:19) > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index 5d3ee5ef07c2..eaf08f9e7d87 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -115,8 +115,25 @@ struct d

Re: [PATCH v4 3/7] drm/msm/dp: Allow specifying connector_type per controller

2021-10-05 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-05 16:13:19) > As the following patches introduced support for multiple DP blocks in a > platform and some of those block might be eDP it becomes useful to be > able to specify the connector type per block. > > Although there's only a single block at this point, the

Re: [PATCH v4 3/7] drm/msm/dp: Allow specifying connector_type per controller

2021-10-05 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-05 16:13:19) > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index 5d3ee5ef07c2..eaf08f9e7d87 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -115,8 +115,25 @@ struct d

Re: [PATCH v4 7/7] drm/msm/dp: Add sc8180x DP controllers

2021-10-05 Thread Stephen Boyd
= 3, > +}; > + > static const struct of_device_id dp_dt_match[] = { > { .compatible = "qcom,sc7180-dp", .data = &sc7180_dp_cfg }, > + { .compatible = "qcom,sc8180x-dp", .data = &sc8180x_dp_cfg }, > + { .compatible = "qcom,sc8180x-edp", .data = &sc8180x_dp_cfg }, Otherwise Reviewed-by: Stephen Boyd

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-05 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-05 16:13:21) > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index bdaf227f05dc..674cddfee5b0 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -79,6 +79,8 @@ struct dp_d

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-05 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-05 18:43:16) > On Tue 05 Oct 17:43 PDT 2021, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2021-10-05 16:13:21) > > > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > > > b/drivers/gpu/drm/msm/dp/dp_display.c > > >

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-05 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-05 19:37:52) > On Tue 05 Oct 19:06 PDT 2021, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2021-10-05 18:43:16) > > > On Tue 05 Oct 17:43 PDT 2021, Stephen Boyd wrote: > > > > > > > Quoting Bjorn Andersson (2021-10-0

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2021-10-05 23:10:22) > On Wed, 6 Oct 2021 at 07:26, Stephen Boyd wrote: > > > > Quoting Bjorn Andersson (2021-10-05 19:37:52) > > > On Tue 05 Oct 19:06 PDT 2021, Stephen Boyd wrote: > > > > > > > Quoting Bjorn Andersson (2021-

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-06 10:07:17) > On Tue 05 Oct 21:26 PDT 2021, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2021-10-05 19:37:52) > > > On Tue 05 Oct 19:06 PDT 2021, Stephen Boyd wrote: > > > > > > > Quoting Bjorn Andersson (2021-10-

Re: [PATCH v4 5/7] drm/msm/dp: Support up to 3 DP controllers

2021-10-06 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-10-06 11:05:09) > On Wed 06 Oct 10:19 PDT 2021, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2021-10-06 10:07:17) > > > On Tue 05 Oct 21:26 PDT 2021, Stephen Boyd wrote: > > > > > > > Quoting Bjorn Andersson (2021-10-

[PATCH v2 00/34] component: Make into an aggregate bus

2021-10-06 Thread Stephen Boyd
regate device - New patch for bind_component/unbind_component ops that takes the aggregate device - Convert all drivers in the tree to use the aggregate driver approach - Allow one aggregate driver to be used for multiple aggregate devices [1] https://lore.kernel.org/r/20210508074118.16

[PATCH v2 01/34] component: Introduce struct aggregate_device

2021-10-06 Thread Stephen Boyd
Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 250 -- include/linux/component.h | 2 +- 2 files changed, 134 insertions(+), 118 deletio

[PATCH v2 02/34] component: Introduce the aggregate bus_type

2021-10-06 Thread Stephen Boyd
s to attach shutdown logic (and in the future runtime PM logic) to the aggregate driver so that it runs the hooks in the correct order. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/componen

[PATCH v2 05/34] component: Add {bind, unbind}_component() ops that take aggregate device

2021-10-06 Thread Stephen Boyd
they need it, and they'll always be able to get back to the device they were using before by using the 'parent' member of the aggregate device struct. Suggested-by: Daniel Vetter Signed-off-by: Stephen Boyd --- drivers/base/component.c | 14 +++--- inclu

[PATCH v2 06/34] drm/of: Add a drm_of_aggregate_probe() API

2021-10-06 Thread Stephen Boyd
c: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/drm_of.c | 85 +++- include/drm/drm_of.h | 11 ++ 2 files changed, 77 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_

[PATCH v2 04/34] drm/msm: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
play pipeline is called before any of the component device driver shutdown hooks are called. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/msm/msm_drv.c | 46 +++--

[PATCH v2 03/34] component: Move struct aggregate_device out to header file

2021-10-06 Thread Stephen Boyd
This allows aggregate driver writers to use the device passed to their probe/remove/shutdown functions properly instead of treating it as an opaque pointer. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --

[PATCH v2 09/34] drm/malidp: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
: Laurent Pinchart Cc: Liviu Dudau Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/arm/malidp_drv.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git

[PATCH v2 08/34] drm/arm/hdlcd: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
l King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/arm/hdlcd_drv.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c b/drivers/gpu/drm/arm/hdlcd_drv.c index 479c2422a2e0..8f3e5924042a 100644 --- a/drive

[PATCH v2 07/34] drm/komeda: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
; Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- .../gpu/drm/arm/display/komeda/komeda_drv.c | 20 --- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c b/drivers/gpu/drm/arm/disp

[PATCH v2 11/34] drm/etnaviv: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
socki" Cc: Rob Clark Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c index 7d

[PATCH v2 12/34] drm/kirin: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- .../gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 20 --- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_dr

[PATCH v2 13/34] drm/exynos: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drive

[PATCH v2 10/34] drm/armada: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
ana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/armada/armada_drv.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c index 8e3e98f13db4..b3559363ea43 100644 --- a/drive

[PATCH v2 14/34] drm/imx: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
l King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/imx/imx-drm-core.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 9558e9e1b431..dbf5cca5201d 10

[PATCH v2 19/34] drm/omap: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
l King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/omapdrm/dss/dss.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index d6a5862b4dbf..6a6ae2786d7a 100644 ---

[PATCH v2 22/34] drm/sun4i: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/sun4i/sun4i_drv.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index 54

[PATCH v2 20/34] drm/rockchip: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
; Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchi

[PATCH v2 21/34] drm/sti: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
ssell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/sti/sti_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c index c7efb43b83ee..b277cc679154 100644 --- a/drive

[PATCH v2 17/34] drm/mediatek: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index ae

[PATCH v2 16/34] drm/mcde: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
ana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/mcde/mcde_drv.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/mcde/mcde_drv.c b/drivers/gpu/drm/mcde/mcde_drv.c index e60566a5739c..84fcfe77540e 100644 --- a/drivers/gp

[PATCH v2 15/34] drm/ingenic: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 24 +-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/ingenic/ingenic-drm-drv.c b/d

[PATCH v2 27/34] mei: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
ael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/misc/mei/hdcp/mei_hdcp.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/misc/mei/hdcp/mei_hdcp.c b/drivers/misc/mei/hdcp/mei_hd

[PATCH v2 18/34] drm/meson: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
l King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/meson/meson_drv.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_drv.c b/drivers/gpu/drm/meson/meson_drv.c index bc0d60df04ae..109fb9d057e3 10

[PATCH v2 33/34] component: Remove component_master_ops and friends

2021-10-06 Thread Stephen Boyd
The struct is unused now so drop it along with the functions that use it. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 109 +++--- drive

[PATCH v2 26/34] iommu/mtk: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
; Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/iommu/mtk_iommu.c| 14 +- drivers/iommu/mtk_iommu.h| 6 -- drivers/iommu/mtk_iommu_v1.c | 14 +- 3 files changed, 22 insertions(+), 12 deletions(-) diff --git

[PATCH v2 24/34] drm/vc4: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/vc4/vc4_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index f6c16c5aee68..bccbde7a2f59 10

[PATCH v2 23/34] drm/tilcdc: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 6b

[PATCH v2 32/34] component: Get rid of drm_of_component_probe()

2021-10-06 Thread Stephen Boyd
There aren't any users anymore so drop it. Cc: Laurent Pinchart Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/drm_of.c | 87 +--- inclu

[PATCH v2 31/34] ASoC: codecs: wcd938x: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- sound/soc/codecs/wcd938x.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c index f0daf8defcf1..6033de7f57ef 100644 --- a

[PATCH v2 29/34] fbdev: omap2: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/video/fbdev/omap2/omapfb/dss/dss.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss.c b/drivers/video/fbdev/omap2/omapfb/dss/dss.c index a6b1c1598040..f1

[PATCH v2 25/34] drm/zte: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
ana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/zte/zx_drm_drv.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/zte/zx_drm_drv.c b/drivers/gpu/drm/zte/zx_drm_drv.c index 064056503ebb..b46f677ea51d 100644 --- a/drivers/g

[PATCH v2 28/34] power: supply: ab8500: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
c: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/power/supply/ab8500_charger.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c index 15

[PATCH v2 34/34] component: Remove all references to 'master'

2021-10-06 Thread Stephen Boyd
Remove all references to 'master' in the code now that we've migrated all the users of the ops structure to the aggregate driver. Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- driv

[PATCH v2 30/34] sound: hdac: Migrate to aggregate driver

2021-10-06 Thread Stephen Boyd
socki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- sound/hda/hdac_component.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/sound/hda/hdac_component.c b/sound/hda/hdac_component.c index bb37e7e0bd79..9e

Re: [PATCH v2 01/34] component: Introduce struct aggregate_device

2021-10-07 Thread Stephen Boyd
Quoting Laurent Pinchart (2021-10-06 18:17:25) > Hi Stephen, > > Thank you for the patch. > > On Wed, Oct 06, 2021 at 12:37:46PM -0700, Stephen Boyd wrote: > > Replace 'struct master' with 'struct aggregate_device' and then rename > > 'master

Re: [PATCH v2 02/34] component: Introduce the aggregate bus_type

2021-10-07 Thread Stephen Boyd
Quoting Saravana Kannan (2021-10-06 20:07:11) > On Wed, Oct 6, 2021 at 12:38 PM Stephen Boyd wrote: > > diff --git a/drivers/base/component.c b/drivers/base/component.c > > index 0a41bbe14981..d99e99cabb99 100644 > > --- a/drivers/base/component.c > > +++

Re: [PATCH] drm/msm/dp: Simplify the dp_debug debugfs show function

2021-10-07 Thread Stephen Boyd
> > Signed-off-by: Bjorn Andersson > --- Thanks Reviewed-by: Stephen Boyd > drivers/gpu/drm/msm/dp/dp_debug.c | 161 +- > 1 file changed, 24 insertions(+), 137 deletions(-) > > diff --git a/drivers/gpu/drm/msm/dp/dp_debug.c > b/drive

Re: [PATCH v14 1/4] drm/msm/dp: do not initialize phy until plugin interrupt received

2022-01-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-01-14 09:54:31) > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index 7cc4d21..2616f7b 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -372,21 +373,38 @@ static int dp_displa

Re: [PATCH v5 25/32] iommu/mtk: Migrate to aggregate driver

2022-01-14 Thread Stephen Boyd
Quoting Yong Wu (2022-01-14 01:06:31) > On Wed, 2022-01-12 at 20:25 -0800, Stephen Boyd wrote: > > > > > > [2.654526] [ cut here ] > > > [2.68] refcount_t: addition on 0; use-after-free. > > > > > > After this pa

Re: [PATCH v15 1/4] drm/msm/dp: do not initialize phy until plugin interrupt received

2022-01-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-01-14 13:11:47) > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index 7cc4d21..7cd6222 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -696,12 +699,9 @@ static int dp_irq_hpd

Re: [PATCH v2 1/3] clk: Introduce a clock request API

2022-01-14 Thread Stephen Boyd
Quoting Maxime Ripard (2022-01-14 08:15:56) > On Thu, Jan 13, 2022 at 01:44:25PM -0800, Stephen Boyd wrote: > > > > > I don't see a problem with re-evaluating the rate every time we call > > clk_set_rate_range(). That's probably the bug that I can't reca

Re: [PATCH v2 1/3] clk: Introduce a clock request API

2022-01-14 Thread Stephen Boyd
Quoting Maxime Ripard (2022-01-14 08:15:56) > On Thu, Jan 13, 2022 at 01:44:25PM -0800, Stephen Boyd wrote: > > > > I don't see a problem with re-evaluating the rate every time we call > > clk_set_rate_range(). That's probably the bug that I can't recall. Can

Re: [PATCH v15 1/4] drm/msm/dp: do not initialize phy until plugin interrupt received

2022-01-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-01-14 14:28:52) > > On 1/14/2022 1:41 PM, Stephen Boyd wrote: > > Quoting Kuogee Hsieh (2022-01-14 13:11:47) > >> diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > >> b/drivers/gpu/drm/msm/dp/dp_display.c > >> index 7cc4d21..7c

Re: [PATCH v17 1/4] drm/msm/dp: do not initialize phy until plugin interrupt received

2022-01-14 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-01-14 16:58:32) > @@ -1363,14 +1368,14 @@ static int dp_pm_suspend(struct device *dev) > if (dp_power_clk_status(dp->power, DP_CTRL_PM)) > dp_ctrl_off_link_stream(dp->ctrl); > > + dp_display_host_phy_exit(dp); > + > +

Re: [PATCH v5 25/32] iommu/mtk: Migrate to aggregate driver

2022-01-14 Thread Stephen Boyd
Quoting Yong Wu (2022-01-14 23:39:52) > On Fri, 2022-01-14 at 15:30 -0600, Stephen Boyd wrote: > > > > This sounds more correct to me. I'm not an expert on runtime PM > > though > > as I always have to read the code to remember how it works. if the > > devic

Re: [PATCH v18 1/4] drm/msm/dp: do not initialize phy until plugin interrupt received

2022-01-18 Thread Stephen Boyd
anges in v17: > -- remove core_initialized checking before execute attention_cb() > > Changes in v18: > -- remove core_initialized checking at dp_pm_suspend > > Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Snapdragon > Chipsets") > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH] dt-bindings: Improve phandle-array schemas

2022-01-19 Thread Stephen Boyd
ion: 1st arg cell > - description: 2nd arg cell > > With this change, some examples need updating so that the bracketing of > property values matches the schema. [..] > Signed-off-by: Rob Herring > --- Acked-by: Stephen Boyd

Re: [PATCH v3 01/10] clk: Add Kunit tests for rate

2022-01-20 Thread Stephen Boyd
Quoting Maxime Ripard (2022-01-20 06:34:08) > Let's test various parts of the rate-related clock API with the kunit > testing framework. > > Cc: kunit-...@googlegroups.com > Suggested-by: Stephen Boyd > Signed-off-by: Maxime Ripard > --- This is great! Thanks for d

<    1   2   3   4   5   6   7   8   9   10   >