Re: [PATCH v3 2/3] drm/msm/dpu: simplify clocks handling

2022-01-20 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2022-01-19 14:16:15) > diff --git a/drivers/gpu/drm/msm/msm_io_utils.c > b/drivers/gpu/drm/msm/msm_io_utils.c > index 7b504617833a..5533c87c7158 100644 > --- a/drivers/gpu/drm/msm/msm_io_utils.c > +++ b/drivers/gpu/drm/msm/msm_io_utils.c > @@ -5,6 +5,8 @@ > * Author: Ro

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

2022-01-20 Thread Stephen Boyd
Quoting Daniel Latypov (2022-01-20 13:56:39) > On Thu, Jan 20, 2022 at 1:31 PM Stephen Boyd wrote: > > I was thinking this would be more generic so that one file tests clk.c > > and all the code in there, but I guess there may be config dependencies > > like CONFIG_OF that w

Re: [PATCH v3 2/3] drm/msm/dpu: simplify clocks handling

2022-01-21 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2022-01-20 23:37:45) > On Fri, 21 Jan 2022 at 07:30, Stephen Boyd wrote: > > > > Quoting Dmitry Baryshkov (2022-01-19 14:16:15) > > > diff --git a/drivers/gpu/drm/msm/msm_io_utils.c > > > b/drivers/gpu/drm/msm/msm_io_utils.c > > &g

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

2022-01-21 Thread Stephen Boyd
Quoting Daniel Latypov (2022-01-20 21:25:03) > On Thu, Jan 20, 2022 at 8:34 PM Stephen Boyd wrote: > > > > Quoting Daniel Latypov (2022-01-20 13:56:39) > > > On Thu, Jan 20, 2022 at 1:31 PM Stephen Boyd wrote: > > > KUnit doesn't have hard technical limit

Re: [PATCH] drm/msm/dp: always add fail-safe mode into connector mode list

2022-01-24 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-01-24 12:46:10) > Some of DP link compliant test expects to return fail-safe mode > if prefer detailed timing mode can not be supported by mainlink's > lane and rate after link training. Therefore add fail-safe mode > into connector mode list as backup mode. This patch fi

Re: [PATCH] drm/msm/dp: always add fail-safe mode into connector mode list

2022-01-24 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-01-24 13:24:25) > > On 1/24/2022 1:04 PM, Stephen Boyd wrote: > > Quoting Kuogee Hsieh (2022-01-24 12:46:10) > >> Some of DP link compliant test expects to return fail-safe mode > >> if prefer detailed timing mode can not be supported by

Re: [PATCH] drm/msm/dp: add connector type to enhance debug messages

2022-01-24 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-01-24 14:44:52) > DP driver is a generic driver which supports both eDP and DP. > For debugging purpose it is required to have capabilities to > differentiate message are generated from eDP or DP. This patch > add connector type into debug messages for this purpose. > > S

[PATCH v6 00/35] component: Make into an aggregate bus

2022-01-27 Thread Stephen Boyd
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.1621729-1-swb...@chromium

[PATCH v6 01/35] component: Replace most references to 'master' with 'aggregate device'

2022-01-27 Thread Stephen Boyd
ate device probe and register with the component framework. Cc: Daniel Vetter Cc: Greg Kroah-Hartman Cc: Laurent Pinchart Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 242 +++

[PATCH v6 02/35] component: Introduce the aggregate bus_type

2022-01-27 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: Greg Kroah-Hartman Cc: Laurent Pinchart Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-

[PATCH v6 03/35] component: Add aggregate_device_parent() for driver use

2022-01-27 Thread Stephen Boyd
ana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 6 ++ include/linux/component.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/base/component.c b/drivers/base/component.c index dc748ef0b23b..13ac2004a913 100644 --- a/drivers/base/component.c +++ b/dr

[PATCH v6 05/35] drm/of: Add a drm_of_aggregate_probe() API

2022-01-27 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 | 12 ++ 2 files changed, 78 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_

[PATCH v6 07/35] drm/komeda: Migrate to aggregate driver

2022-01-27 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 v6 06/35] drm/msm: Migrate to aggregate driver

2022-01-27 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 | 48 -

[PATCH v6 09/35] drm/malidp: Migrate to aggregate driver

2022-01-27 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 v6 08/35] drm/arm/hdlcd: Migrate to aggregate driver

2022-01-27 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..e3ed925797d5 100644 --- a/drive

[PATCH v6 04/35] component: Add {bind, unbind}_component() ops that take aggregate device

2022-01-27 Thread Stephen Boyd
Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 14 +++--- include/linux/component.h | 23 ++- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/drivers/base/component.c b/drivers/base/component

[PATCH v6 12/35] drm/kirin: Migrate to aggregate driver

2022-01-27 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 v6 13/35] drm/exynos: Migrate to aggregate driver

2022-01-27 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 v6 11/35] drm/etnaviv: Migrate to aggregate driver

2022-01-27 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 0b

[PATCH v6 10/35] drm/armada: Migrate to aggregate driver

2022-01-27 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..27739cbe2291 100644 --- a/drive

[PATCH v6 14/35] drm/imx: Migrate to aggregate driver

2022-01-27 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 cb685fe2039b..82645e42b7d3 10

[PATCH v6 18/35] drm/meson: Migrate to aggregate driver

2022-01-27 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 80f1d439841a..2add29b347a8 10

[PATCH v6 16/35] drm/mcde: Migrate to aggregate driver

2022-01-27 Thread Stephen Boyd
ana Kannan Tested-by: Linus Walleij 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 5b5afc6aaf8e..b8479355844e 10

[PATCH v6 17/35] drm/mediatek: Migrate to aggregate driver

2022-01-27 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 56

[PATCH v6 15/35] drm/ingenic: Migrate to aggregate driver

2022-01-27 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 v6 19/35] drm/omap: Migrate to aggregate driver

2022-01-27 Thread Stephen Boyd
l King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/omapdrm/dss/dss.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index 69b3e15b9356..96a290a7bd68 10

[PATCH v6 20/35] drm/rockchip: Migrate to aggregate driver

2022-01-27 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 v6 23/35] drm/tilcdc: Migrate to aggregate driver

2022-01-27 Thread Stephen Boyd
; Cc: Rob 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_d

[PATCH v6 21/35] drm/sti: Migrate to aggregate driver

2022-01-27 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..958db315d547 100644 --- a/drivers/gpu/drm/sti/sti_d

[PATCH v6 24/35] drm/vc4: Migrate to aggregate driver

2022-01-27 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 16abc3a3d601..297ecddea5fb 10

[PATCH v6 29/35] sound: hdac: Migrate to aggregate driver

2022-01-27 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..4e

[PATCH v6 28/35] fbdev: omap2: Migrate to aggregate driver

2022-01-27 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..0b

[PATCH v6 22/35] drm/sun4i: Migrate to aggregate driver

2022-01-27 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 b6

[PATCH v6 26/35] mei: Migrate to aggregate driver

2022-01-27 Thread Stephen Boyd
Bergmann Cc: Greg Kroah-Hartman Cc: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Cc: Alexander Usyskin Signed-off-by: Stephen Boyd --- drivers/misc/mei/hdcp/mei_hdcp.c | 22 +- drivers/misc/mei/pxp/mei_px

[PATCH v6 27/35] power: supply: ab8500: Migrate to aggregate driver

2022-01-27 Thread Stephen Boyd
ael J. Wysocki" 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/po

[PATCH v6 25/35] iommu/mediatek: Migrate to aggregate driver

2022-01-27 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 +- drivers/memory/mtk-smi.c | 10 -- 4 files changed, 26

[PATCH v6 30/35] ASoC: codecs: wcd938x: Migrate to aggregate driver

2022-01-27 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 eff200a07d9f..6e1c9f93c819 100644 -

[PATCH v6 35/35] component: Remove component_master_ops and friends

2022-01-27 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 v6 34/35] component: Get rid of drm_of_component_probe()

2022-01-27 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

[PATCH v6 31/35] drm/sprd: Migrate to aggregate driver

2022-01-27 Thread Stephen Boyd
: Daniel Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/sprd/sprd_drm.c | 48 +++-- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/sprd/sp

[PATCH v6 33/35] ALSA: hda/realtek: Migrate to aggregate driver

2022-01-27 Thread Stephen Boyd
socki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- sound/pci/hda/patch_realtek.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 66

[PATCH v6 32/35] usb: typec: port-mapper: Migrate to aggregate driver

2022-01-27 Thread Stephen Boyd
ssell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/usb/typec/port-mapper.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/usb/typec/port-mapper.c b/drivers/usb/typec/port-mapper.c index 07d307418b47..33fbebc6a85b 100644 ---

Re: [PATCH v3 1/6] dt-bindings: msm/dp: Add DP compatible strings for sc7280

2021-10-27 Thread Stephen Boyd
ned-off-by: Sankeerth Billakanti > > changes in v3: > - Modify the subject (Doug Anderson) > - Add sc7280-dp also to the list (Stephen Boyd) > > changes in v2: > - Sort alphabetically (Stephen Boyd) > - Cleanup residual stale changes in the patch (Matthias Kaehlc

Re: [PATCH v3 2/6] drm/msm/dp: Add DP controllers for sc7280

2021-10-27 Thread Stephen Boyd
r sc7280-dp (Dmitry Baryshkov) > - Add macro in drm_helper.h for checking ssc capability (Stephen Boyd) > - Use existing macro to check assr capability (Stephen Boyd) > - Add comment for HPD_INIT_SETUP delay (Stephen Boyd) > > changes in v2: > - Don't initialize v

Re: [PATCH v3 3/6] drm/dp: Add macro to check max_downspread capability

2021-10-27 Thread Stephen Boyd
Quoting Sankeerth Billakanti (2021-10-27 18:54:45) > Add a macro to check for the max_downspread capability in > drm_dp_helper. > > Signed-off-by: Sankeerth Billakanti > --- Looks OK to me. One question below Reviewed-by: Stephen Boyd > include/drm/drm_dp_helper.h |

Re: [PATCH v3 4/6] drm/msm/dp: Enable downspread for supported DP sinks

2021-10-27 Thread Stephen Boyd
. > > Signed-off-by: Sankeerth Billakanti > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3 5/6] drm/msm/dp: Enable ASSR for supported DP sinks

2021-10-27 Thread Stephen Boyd
le ASSR > if supported in the sink device. > > Signed-off-by: Sankeerth Billakanti > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3 6/6] drm/msm/dp: Remove the hpd init delay for eDP

2021-10-27 Thread Stephen Boyd
Quoting Sankeerth Billakanti (2021-10-27 18:54:48) > DP driver needs a 10 second delay before phy_init so that > the usb combo phy initializes and sets up the necessary > clocks for usb devices such as keyboard and mouse. > > eDP controller uses a standalone phy and need not wait for > phy initiali

Re: [v1] drm/msm/disp/dpu1: set default group ID for CTL.

2021-10-28 Thread Stephen Boyd
Quoting Kalyan Thota (2021-10-28 07:05:01) > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h > b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h > index 4ade44b..57b9be1 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h

Re: [v2] drm/msm/disp/dpu1: set default group ID for CTL.

2021-10-29 Thread Stephen Boyd
escritpion for the change (Stephen) > > Signed-off-by: Kalyan Thota > --- Reviewed-by: Stephen Boyd

Re: [PATCH] drm/msm/dsi: set default num_data_lanes

2021-11-01 Thread Stephen Boyd
; > According to the binding document of msm dsi controller, the > input/output endpoint of the controller is expected to have 4 lanes. > So let's set num_data_lanes to 4 by default. > > Signed-off-by: Philip Chen > --- Reviewed-by: Stephen Boyd

Re: [PATCH] drm/msm/dp: employ bridge mechanism for display enable and disable

2021-11-03 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-11-02 15:13:44) > Current display mode_set, enable and disable functions are implemented > as function called directly from drm encoder. This patch have display > mode_set, enable and disable be implemented as callback function of drm > bridge. Why is it important? Pleas

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

2021-11-05 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-11-05 10:48:37) > On Fri 05 Nov 10:28 PDT 2021, Kuogee Hsieh wrote: > > > From: Kuogee Hsieh > > > > Combo phy supports both USB and DP simultaneously. There may has a > > possible conflict during phy initialization phase between USB and > > DP driver which may cause

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

2021-11-05 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-11-05 10:28:11) > From: Kuogee Hsieh > > Combo phy supports both USB and DP simultaneously. There may has a > possible conflict during phy initialization phase between USB and > DP driver which may cause USB phy timeout when USB tries to power > up its phy. This patch ha

Re: [PATCH] drm/msm/dp: Drop now unused hpd_high member

2021-11-09 Thread Stephen Boyd
tes as well. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3] drm/msm: use compatible lists to find mdp node

2021-11-09 Thread Stephen Boyd
ed-off-by: Krishna Manikandan > > Changes in v2: > - Use compatible lists instead of duplicate string > check (Stephen Boyd) > > Changes in v3: > - Use match tables to find the mdp node (Stephen Boyd) > --- With the export symbol dropped Reviewed-by: Stephen Boyd

Re: [PATCH] drm/bridge: parade-ps8640: Fix additional suspend/resume at bootup

2021-11-15 Thread Stephen Boyd
and it seems that this problem can be solved. > To be safe, I'd just round up to a full 1000. > > Signed-off-by: yangcong > --- Reviewed-by: Stephen Boyd

Re: [PATCH] drm/msm: Fix mmap to include VM_IO and VM_DONTDUMP

2021-11-15 Thread Stephen Boyd
> NOTE: it was confirmed that VM_IO was the important flag to fix the > problem I was seeing, but adding back VM_DONTDUMP seems like a sane > thing to do so I'm doing that too. > > Fixes: 510410bfc034 ("drm/msm: Implement mmap as GEM object function") > Reported-by: Stephen Boyd > Signed-off-by: Douglas Anderson > --- Reviewed-by: Stephen Boyd Tested-by: Stephen Boyd

Re: [PATCH linux-next] drm/msm/dp: remove unneeded variable

2021-11-15 Thread Stephen Boyd
Quoting cgel@gmail.com (2021-11-10 04:05:12) > From: Changcheng Deng > > Fix the following coccicheck review: > ./drivers/gpu/drm/msm/dp/dp_debug.c: Unneeded variable > > Remove unneeded variable used to store return value. > > Reported-by: Zeal Robot > Signed-off-by: Changcheng Deng > --- >

Re: [PATCH v1 1/3] dt-bindings: phy: Add eDP PHY compatible for sc7280

2021-11-16 Thread Stephen Boyd
Quoting Sankeerth Billakanti (2021-11-15 23:07:36) > Add compatible string for the supported eDP PHY on sc7280 platform. > > Signed-off-by: Sankeerth Billakanti > --- Reviewed-by: Stephen Boyd

Re: [PATCH v1 2/3] phy: qcom: Add support for eDP PHY on sc7280

2021-11-16 Thread Stephen Boyd
Quoting Sankeerth Billakanti (2021-11-15 23:07:37) > The sc7280 platform supports native eDP controller and PHY. > This change will add support for the eDP PHY on sc7280. > > Signed-off-by: Sankeerth Billakanti > --- Reviewed-by: Stephen Boyd

Re: [PATCH v1 3/3] phy: qcom: Program SSC only if supported by sink

2021-11-16 Thread Stephen Boyd
gt; --- I suppose as long as the existing user has already chosen to set the opts in the controller driver then this is fine. Reviewed-by: Stephen Boyd

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

2021-11-18 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-11-09 13:38:13) > From: Kuogee Hsieh > > Current DP drivers have regulators, clocks, irq and phy are grouped > together within a function and executed not in a symmetric manner. > This increase difficulty of code maintenance and limited code scalability. > This patch div

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

2021-12-02 Thread Stephen Boyd
e aggregate driver approach - Allow one aggregate driver to be used for multiple aggregate devices [1] https://lore.kernel.org/r/20210508074118.1621729-1-swb...@chromium.org Stephen Boyd (34): component: Introduce struct aggregate_device component: Remove most references to 'master&#

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

2021-12-02 Thread Stephen Boyd
Cc: Daniel Vetter Cc: Greg Kroah-Hartman Cc: Laurent Pinchart Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/d

[PATCH v4 02/34] component: Remove most references to 'master'

2021-12-02 Thread Stephen Boyd
ravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 250 +++--- include/linux/component.h | 2 +- 2 files changed, 124 insertions(+), 128 deletions(-) diff --git a/drivers/base/component.c b/drivers/base/component.c index d25048d04b70..

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

2021-12-02 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: Greg Kroah-Hartman Cc: Laurent Pinchart Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Cc: Kai

[PATCH v4 04/34] component: Move struct aggregate_device out to header file

2021-12-02 Thread Stephen Boyd
: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 15 --- include/linux/component.h | 19 --- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/drivers/base/component.c b/drivers/base/component.c index eec82caeae5e..dc38a8939ae6 10

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

2021-12-02 Thread Stephen Boyd
Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/base/component.c | 14 +++--- include/linux/component.h | 22 ++ 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/drivers/base/component.c b/drivers/base/component

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

2021-12-02 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 | 12 ++ 2 files changed, 78 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_

[PATCH v4 07/34] drm/msm: Migrate to aggregate driver

2021-12-02 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 v4 08/34] drm/komeda: Migrate to aggregate driver

2021-12-02 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 v4 09/34] drm/arm/hdlcd: Migrate to aggregate driver

2021-12-02 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..5c03eb98d814 100644 --- a/drive

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

2021-12-02 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 v4 14/34] drm/exynos: Migrate to aggregate driver

2021-12-02 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 v4 13/34] drm/kirin: Migrate to aggregate driver

2021-12-02 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 v4 18/34] drm/mediatek: Migrate to aggregate driver

2021-12-02 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 v4 15/34] drm/imx: Migrate to aggregate driver

2021-12-02 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 cb685fe2039b..9e28bb16364c 10

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

2021-12-02 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 5b5afc6aaf8e..1652f9e0601d 100644 --- a/drivers/gp

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

2021-12-02 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 7f41a33592c8..3028f2a45f66 10

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

2021-12-02 Thread Stephen Boyd
l King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/gpu/drm/omapdrm/dss/dss.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index d6a5862b4dbf..9328d97f19ab 10

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

2021-12-02 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 v4 11/34] drm/armada: Migrate to aggregate driver

2021-12-02 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 v4 16/34] drm/ingenic: Migrate to aggregate driver

2021-12-02 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 v4 23/34] drm/sun4i: Migrate to aggregate driver

2021-12-02 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 v4 12/34] drm/etnaviv: Migrate to aggregate driver

2021-12-02 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 v4 24/34] drm/tilcdc: Migrate to aggregate driver

2021-12-02 Thread Stephen Boyd
; Cc: Rob 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_d

[PATCH v4 32/34] mei: pxp: Migrate to aggregate driver

2021-12-02 Thread Stephen Boyd
Vetter Cc: "Rafael J. Wysocki" Cc: Rob Clark Cc: Russell King Cc: Saravana Kannan Signed-off-by: Stephen Boyd --- drivers/misc/mei/pxp/mei_pxp.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/misc/mei/pxp/mei_pxp.c b/drivers/mi

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

2021-12-02 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 v4 33/34] component: Get rid of drm_of_component_probe()

2021-12-02 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

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

2021-12-02 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 v4 26/34] iommu/mtk: Migrate to aggregate driver

2021-12-02 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 v4 34/34] component: Remove component_master_ops and friends

2021-12-02 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 v4 25/34] drm/vc4: Migrate to aggregate driver

2021-12-02 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 16abc3a3d601..82a44ebf9121 10

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

2021-12-02 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 52de7d14b139..f44f5d41bfdb 100644 -

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

2021-12-02 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 v4 27/34] mei: Migrate to aggregate driver

2021-12-02 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 v4 29/34] fbdev: omap2: Migrate to aggregate driver

2021-12-02 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

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

2021-12-02 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-11-09 13:38:13) > From: Kuogee Hsieh > > Current DP drivers have regulators, clocks, irq and phy are grouped > together within a function and executed not in a symmetric manner. > This increase difficulty of code maintenance and limited code scalability. > This patch div

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