Re: [PATCH v2] drm/msm/dp: Remove now unused connector_type from desc

2024-04-07 Thread Abel Vesa
On 24-04-05 20:14:11, Bjorn Andersson wrote: > Now that the connector_type is dynamically determined, the > connector_type of the struct msm_dp_desc is unused. Clean it up. > > Remaining duplicate entries are squashed. > > Signed-off-by: Bjorn Andersson Revi

Re: [PATCH v1] drm/msm/dp: assign correct DP controller ID to interface table

2024-03-28 Thread Abel Vesa
onnect to DP controller #1. > Also add interface #6, #7 and #8 connections to DP controller to > complete x1e80100 interface table. > > Signed-off-by: Kuogee Hsieh > --- Nitpick: Probably mention the x1e80100 in the subject line somehow. Reviewed-by: Abel Vesa > .../drm/msm/disp/d

[PATCH v4 1/2] drm/msm/dp: Add support for determining the eDP/DP mode from DT

2024-03-24 Thread Abel Vesa
Instead of relying on different compatibles for eDP and DP, lookup the panel node in devicetree to figure out the connector type and then pass on that information to the PHY. External DP doesn't have a panel described in DT, therefore, assume it's eDP if panel node is present. Signed-off-by: Abel

[PATCH v4 2/2] drm/msm/dp: Add support for the X1E80100

2024-03-24 Thread Abel Vesa
Add the X1E80100 DP descs and compatible. This platform will be using a single compatible for both eDP and DP mode. The actual mode will be set based on the presence of the panel node in DT. Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/dp/dp_display.c | 9

[PATCH v4 0/2] drm/msm/dp: Rework the eDP/DP modes and add support for X1E80100

2024-03-24 Thread Abel Vesa
be applied without the one mentioned above because it relies on PHY_SUBMODE_EDP and PHY_SUBMODE_DP. Signed-off-by: Abel Vesa --- Changes in v4: - Reworked the dp_display_get_connector_type to be more readable, like Bjorn suggested. - Dropped the unrelated change w.r.t. dp_aux_get call, reported

Re: [PATCH v3 1/2] drm/msm/dp: Add support for determining the eDP/DP mode from DT

2024-03-22 Thread Abel Vesa
On 24-03-22 09:30:21, Bjorn Andersson wrote: > On Fri, Mar 22, 2024 at 03:22:22PM +0200, Abel Vesa wrote: > > Instead of relying on different compatibles for eDP and DP, lookup > > the panel node in devicetree to figure out the connector type and > > then pass on that i

Re: [PATCH v3 1/2] drm/msm/dp: Add support for determining the eDP/DP mode from DT

2024-03-22 Thread Abel Vesa
On 24-03-22 15:38:03, Dmitry Baryshkov wrote: > On Fri, 22 Mar 2024 at 15:36, Abel Vesa wrote: > > > > On 24-03-22 15:30:54, Dmitry Baryshkov wrote: > > > On Fri, 22 Mar 2024 at 15:22, Abel Vesa wrote: > > > > > > > > Instead of relying

Re: [PATCH v3 1/2] drm/msm/dp: Add support for determining the eDP/DP mode from DT

2024-03-22 Thread Abel Vesa
On 24-03-22 15:30:54, Dmitry Baryshkov wrote: > On Fri, 22 Mar 2024 at 15:22, Abel Vesa wrote: > > > > Instead of relying on different compatibles for eDP and DP, lookup > > the panel node in devicetree to figure out the connector type and > > then pass on that informat

[PATCH v3 2/2] drm/msm/dp: Add support for the X1E80100

2024-03-22 Thread Abel Vesa
Add the X1E80100 DP descs and compatible. This platform will be using a single compatible for both eDP and DP mode. The actual mode will be set based on the presence of the panel node in DT. Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/dp/dp_display.c | 9 + 1 file changed, 9

[PATCH v3 1/2] drm/msm/dp: Add support for determining the eDP/DP mode from DT

2024-03-22 Thread Abel Vesa
Instead of relying on different compatibles for eDP and DP, lookup the panel node in devicetree to figure out the connector type and then pass on that information to the PHY. External DP is not described in DT, therefore, assume it's eDP if panel node is present. Signed-off-by: Abel Vesa

[PATCH v3 0/2] drm/msm/dp: Rework the eDP/DP modes and add support for X1E80100

2024-03-22 Thread Abel Vesa
-connector-v1-0-86c0e1ebd...@linaro.org --- Abel Vesa (2): drm/msm/dp: Add support for determining the eDP/DP mode from DT drm/msm/dp: Add support for the X1E80100 drivers/gpu/drm/msm/dp/dp_display.c | 52 ++--- 1 file changed, 48 insertions(+), 4 deletions

Re: [PATCH v2 1/3] dt-bindings: display: msm: dp-controller: document X1E80100 compatible

2024-03-01 Thread Abel Vesa
On 24-02-27 16:45:25, Krzysztof Kozlowski wrote: > On 22/02/2024 16:55, Abel Vesa wrote: > > Add the X1E80100 to the list of compatibles and document the is-edp > > flag. The controllers are expected to operate in DP mode by default, > > and this flag can be us

[PATCH v2 3/3] drm/msm/dp: Add support for the X1E80100

2024-02-22 Thread Abel Vesa
Add the X1E80100 DP descs and compatible. This platform will be using a single compatible for both eDP and DP mode. The actual mode will be set in devicetree via is-edp flag. Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/dp/dp_display.c | 9 + 1 file

[PATCH v2 2/3] drm/msm/dp: Add support for setting the eDP mode from devicetree

2024-02-22 Thread Abel Vesa
Instead of relying on different compatibles for eDP and DP, use the is-edp property from DT to figure out the connector type and then pass on that information to the PHY. Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/dp/dp_ctrl.c| 11 +++ drivers

[PATCH v2 1/3] dt-bindings: display: msm: dp-controller: document X1E80100 compatible

2024-02-22 Thread Abel Vesa
Add the X1E80100 to the list of compatibles and document the is-edp flag. The controllers are expected to operate in DP mode by default, and this flag can be used to select eDP mode. Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 6 ++ 1 file

[PATCH v2 0/3] drm/msm/dp: Rework the eDP/DP modes and add support for X1E80100

2024-02-22 Thread Abel Vesa
the PHY know which mode it should configure itself. The PHY counterpart patchset is here: https://lore.kernel.org/all/20240220-x1e80100-phy-edp-compatible-refactor-v5-0-e8658adf5...@linaro.org/ Signed-off-by: Abel Vesa --- Changes in v2: - Added Dmitry's R-b tag to both driver patches - Dropped

[PATCH RFC 1/3] dt-bindings: display: msm: dp-controller: document X1E80100 compatible

2024-02-20 Thread Abel Vesa
Add the X1E80100 to the list of compatibles and docoment the is-edp flag. This new flag will be used from now on to dictate the mode from devicetree, instead of having separate compatibles for eDP and DP. Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/display/msm/dp

[PATCH RFC 3/3] drm/msm/dp: Add support for the X1E80100

2024-02-20 Thread Abel Vesa
Add the X1E80100 DP descs and compatible. This platform will be using a single compatible for both eDP and DP mode. The actual mode will be set in devicetree via is-edp flag. Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/dp/dp_display.c | 9 + 1 file changed, 9 insertions(+) diff

[PATCH RFC 2/3] drm/msm/dp: Add support for setting the eDP mode from devicetree

2024-02-20 Thread Abel Vesa
Instead of relying on different compatibles for eDP and DP, use the is-edp property from DT to figure out the connector type and then pass on that information to the PHY. Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/dp/dp_ctrl.c| 11 +++ drivers/gpu/drm/msm/dp/dp_ctrl.h| 1

[PATCH RFC 0/3] drm/msm/dp: Rework the eDP/DP modes and add support for X1E80100

2024-02-20 Thread Abel Vesa
the PHY know which mode it should configure itself. The PHY counterpart patchset is here: https://lore.kernel.org/all/20240220-x1e80100-phy-edp-compatible-refactor-v5-0-e8658adf5...@linaro.org/ Signed-off-by: Abel Vesa --- Abel Vesa (3): dt-bindings: display: msm: dp-controller: document

[PATCH v4 4/4] drm/msm/dpu: Add X1E80100 support

2024-02-20 Thread Abel Vesa
Add definitions for the display hardware used on the Qualcomm X1E80100 platform. Co-developed-by: Abhinav Kumar Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- .../drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 449 + drivers/gpu

[PATCH v4 3/4] drm/msm: mdss: Add X1E80100 support

2024-02-20 Thread Abel Vesa
Add support for MDSS on X1E80100. Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/msm_mdss.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index 65657230bbff..fab6ad4e5107 100644

[PATCH v4 2/4] dt-bindings: display/msm: Document MDSS on X1E80100

2024-02-20 Thread Abel Vesa
Document the MDSS hardware found on the Qualcomm X1E80100 platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Abel Vesa --- .../bindings/display/msm/qcom,x1e80100-mdss.yaml | 251 + 1 file changed, 251 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v4 1/4] dt-bindings: display/msm: Document the DPU for X1E80100

2024-02-20 Thread Abel Vesa
Document the DPU for Qualcomm X1E80100 platform in the SM8650 schema, as they are similar. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v4 0/4] drm/msm: Add display support for X1E80100

2024-02-20 Thread Abel Vesa
o SDMA features mask - Added Krzysztof's R-b tag to mdss schema patch - Added Dmitry's R-b tag to the dpu patch - Link to v1: https://lore.kernel.org/r/20240129-x1e80100-display-v1-0-0d9eb8254...@linaro.org --- Abel Vesa (4): dt-bindings: display/msm: Document the DPU for X1E80100 dt-b

Re: [PATCH v3 2/4] dt-bindings: display/msm: Document MDSS on X1E80100

2024-02-19 Thread Abel Vesa
On 24-02-18 15:06:45, Dmitry Baryshkov wrote: > On Sat, 17 Feb 2024 at 13:39, Abel Vesa wrote: > > > > On 24-02-16 12:32:02, Rob Herring wrote: > > > > > > On Fri, 16 Feb 2024 19:01:06 +0200, Abel Vesa wrote: > > > > Document the MDSS har

Re: [PATCH v3 2/4] dt-bindings: display/msm: Document MDSS on X1E80100

2024-02-17 Thread Abel Vesa
On 24-02-16 12:32:02, Rob Herring wrote: > > On Fri, 16 Feb 2024 19:01:06 +0200, Abel Vesa wrote: > > Document the MDSS hardware found on the Qualcomm X1E80100 platform. > > > > Reviewed-by: Krzysztof Kozlowski > > Signed-off-by: Abel Vesa > > --- > &g

[PATCH v3 0/4] drm/msm: Add display support for X1E80100

2024-02-16 Thread Abel Vesa
eatures mask - Added Krzysztof's R-b tag to mdss schema patch - Added Dmitry's R-b tag to the dpu patch - Link to v1: https://lore.kernel.org/r/20240129-x1e80100-display-v1-0-0d9eb8254...@linaro.org --- Abel Vesa (4): dt-bindings: display/msm: Document the DPU for X1E80100 dt-bindings: displa

[PATCH v3 4/4] drm/msm/dpu: Add X1E80100 support

2024-02-16 Thread Abel Vesa
Add definitions for the display hardware used on the Qualcomm X1E80100 platform. Co-developed-by: Abhinav Kumar Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- .../drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 449 + drivers/gpu

[PATCH v3 3/4] drm/msm: mdss: Add X1E80100 support

2024-02-16 Thread Abel Vesa
Add support for MDSS on X1E80100. Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/msm_mdss.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index 35423d10aafa..6eda501e2a1a 100644

[PATCH v3 1/4] dt-bindings: display/msm: Document the DPU for X1E80100

2024-02-16 Thread Abel Vesa
Document the DPU for Qualcomm X1E80100 platform in the SM8650 schema, as they are similar. Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH v3 2/4] dt-bindings: display/msm: Document MDSS on X1E80100

2024-02-16 Thread Abel Vesa
Document the MDSS hardware found on the Qualcomm X1E80100 platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Abel Vesa --- .../bindings/display/msm/qcom,x1e80100-mdss.yaml | 253 + 1 file changed, 253 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 4/4] drm/msm/dpu: Add X1E80100 support

2024-02-14 Thread Abel Vesa
Add definitions for the display hardware used on the Qualcomm X1E80100 platform. Co-developed-by: Abhinav Kumar Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- .../drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 449 + drivers/gpu

[PATCH v2 0/4] drm/msm: Add display support for X1E80100

2024-02-14 Thread Abel Vesa
sk - Added Krzysztof's R-b tag to mdss schema patch - Added Dmitry's R-b tag to the dpu patch - Link to v1: https://lore.kernel.org/r/20240129-x1e80100-display-v1-0-0d9eb8254...@linaro.org --- Abel Vesa (4): dt-bindings: display/msm: document MDSS on X1E80100 dt-bindings: display/msm

[PATCH v2 3/4] drm/msm: mdss: Add X1E80100 support

2024-02-14 Thread Abel Vesa
Add support for MDSS on X1E80100. Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/msm_mdss.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index 35423d10aafa..6eda501e2a1a 100644 --- a/drivers/gpu/drm/msm

[PATCH v2 1/4] dt-bindings: display/msm: document MDSS on X1E80100

2024-02-14 Thread Abel Vesa
Document the MDSS hardware found on the Qualcomm X1E80100 platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Abel Vesa --- .../bindings/display/msm/qcom,x1e80100-mdss.yaml | 252 + 1 file changed, 252 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 2/4] dt-bindings: display/msm: Document the DPU for X1E80100

2024-02-14 Thread Abel Vesa
Document the DPU for Qualcomm X1E80100 platform in the SM8650 schema, as they are similar. Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

Re: [PATCH 3/5] drm/msm: mdss: Add X1E80100 support

2024-02-08 Thread Abel Vesa
On 24-02-08 15:42:04, Dmitry Baryshkov wrote: > On Thu, 8 Feb 2024 at 15:37, Abel Vesa wrote: > > > > On 24-01-29 17:11:25, Dmitry Baryshkov wrote: > > > On Mon, 29 Jan 2024 at 15:19, Abel Vesa wrote: > > > > > > > > Add support for MDSS on X1

Re: [PATCH 3/5] drm/msm: mdss: Add X1E80100 support

2024-02-08 Thread Abel Vesa
On 24-01-29 17:11:25, Dmitry Baryshkov wrote: > On Mon, 29 Jan 2024 at 15:19, Abel Vesa wrote: > > > > Add support for MDSS on X1E80100. > > > > Signed-off-by: Abel Vesa > > --- > > drivers/gpu/drm/msm/msm_mdss.c | 10 ++ > > 1 file changed,

Re: [PATCH 4/5] drm/msm/dp: Try looking for link-frequencies into the port@0's endpoint first

2024-01-31 Thread Abel Vesa
On 24-01-29 17:08:29, Dmitry Baryshkov wrote: > On Mon, 29 Jan 2024 at 15:19, Abel Vesa wrote: > > > > From: Abhinav Kumar > > > > On platforms where the endpoint used is on port@0, looking for port@1 > > instead results in just ignoring the max link-frequenci

[PATCH 4/5] drm/msm/dp: Try looking for link-frequencies into the port@0's endpoint first

2024-01-29 Thread Abel Vesa
From: Abhinav Kumar On platforms where the endpoint used is on port@0, looking for port@1 instead results in just ignoring the max link-frequencies altogether. Look at port@0 first, then, if not found, look for port@1. Signed-off-by: Abhinav Kumar Signed-off-by: Abel Vesa --- drivers/gpu/drm

[PATCH 3/5] drm/msm: mdss: Add X1E80100 support

2024-01-29 Thread Abel Vesa
Add support for MDSS on X1E80100. Signed-off-by: Abel Vesa --- drivers/gpu/drm/msm/msm_mdss.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index 455b2e3a0cdd..eddf7fdbb60a 100644 --- a/drivers/gpu/drm/msm

[PATCH 5/5] drm/msm/dpu: Add X1E80100 support

2024-01-29 Thread Abel Vesa
Add definitions for the display hardware used on the Qualcomm X1E80100 platform. Co-developed-by: Abhinav Kumar Signed-off-by: Abhinav Kumar Signed-off-by: Abel Vesa --- .../drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 449 + drivers/gpu/drm/msm/disp/dpu1

[PATCH 2/5] dt-bindings: display/msm: Document the DPU for X1E80100

2024-01-29 Thread Abel Vesa
Document the DPU for Qualcomm X1E80100 platform in the SM8650 schema, as they are similar. Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/display/msm/qcom,sm8650-dpu.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH 1/5] dt-bindings: display/msm: document MDSS on X1E80100

2024-01-29 Thread Abel Vesa
Document the MDSS hardware found on the Qualcomm X1E80100 platform. Signed-off-by: Abel Vesa --- .../bindings/display/msm/qcom,x1e80100-mdss.yaml | 249 + 1 file changed, 249 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/qcom,x1e80100-mdss.yaml

[PATCH 0/5] drm/msm: Add display support for X1E80100

2024-01-29 Thread Abel Vesa
Vesa --- Abel Vesa (4): dt-bindings: display/msm: document MDSS on X1E80100 dt-bindings: display/msm: Document the DPU for X1E80100 drm/msm: mdss: Add X1E80100 support drm/msm/dpu: Add X1E80100 support Abhinav Kumar (1): drm/msm/dp: Try looking for link-frequencies

[PATCH v2] drm/panel-edp: Add SDC ATNA45AF01

2023-12-04 Thread Abel Vesa
Add support for the SDC ATNA45AF01 panel. Signed-off-by: Abel Vesa --- Changes in v2: - moved the panel entry in the proper place, as suggested by Doug - Link to v1: https://lore.kernel.org/r/20231201-x1e80100-drm-panel-edp-v1-1-ef9def711...@linaro.org --- drivers/gpu/drm/panel/panel-edp.c | 2

[PATCH] drm/panel-edp: Add SDC ATNA45AF01

2023-12-01 Thread Abel Vesa
Add support for the SDC ATNA45AF01 panel. Signed-off-by: Abel Vesa --- drivers/gpu/drm/panel/panel-edp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c index 825fa2a0d8a5..467a42eddbe9 100644 --- a/drivers/gpu/drm/panel

Re: [PATCH 1/2] drm/panel-edp: fix name for IVO product id 854b

2023-01-02 Thread Abel Vesa
On 23-01-02 09:21:40, Johan Hovold wrote: > On Sun, Jan 01, 2023 at 10:58:42PM -0600, Steev Klimaszewski wrote: > > On Sat, Dec 31, 2022 at 8:27 AM Abel Vesa wrote: > > > > > > The actual name is R133NW4K-R0. > > > > > > Fixes: 0f9fa5f58c784 (&q

[PATCH 2/2] drm/panel-edp: add IVO M133NW4J panel entry

2022-12-31 Thread Abel Vesa
Add an eDP panel entry for IVO M133NW4J. Due to lack of documentation, use the delay_200_500_p2e100 timings like some other IVO entries for now. Signed-off-by: Abel Vesa --- Assuming the information from here is correct: https://raw.githubusercontent.com/linuxhw/EDID/master/DigitalDisplay.md

[PATCH 1/2] drm/panel-edp: fix name for IVO product id 854b

2022-12-31 Thread Abel Vesa
The actual name is R133NW4K-R0. Fixes: 0f9fa5f58c784 ("drm/panel-edp: add IVO M133NW4J-R3 panel entry") Signed-off-by: Abel Vesa --- Assuming the information from here is correct: https://raw.githubusercontent.com/linuxhw/EDID/master/DigitalDisplay.md drivers/gpu/drm/panel/panel