[PATCH v1 0/2] Add support for eDP on SC7280

2021-08-11 Thread Sankeerth Billakanti
r eDP on SC7280 platform. Add the new compatible string to documentation. Sankeerth Billakanti (2): drm/msm/dp: Add support for SC7280 eDP dt-bindings: Add SC7280 compatible string .../bindings/display/msm/dp-controller.yaml| 3 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

[PATCH v1 1/2] drm/msm/dp: Add support for SC7280 eDP

2021-08-11 Thread Sankeerth Billakanti
backlight and pwm via pmic. 2. ASSR support programming on the sink. 3. SSC support programming on the sink. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 4 ++-- drivers/gpu/drm/msm/dp/dp_ctrl.c | 19 +++ drivers/gpu/drm/msm/dp

[PATCH v1 2/2] dt-bindings: Add SC7280 compatible string

2021-08-11 Thread Sankeerth Billakanti
The Qualcomm SC7280 platform supports an eDP controller, add compatible string for it to msm/binding. Signed-off-by: Sankeerth Billakanti --- Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH v1 3/3] drm/msm/disp/dpu1: add support for edp encoder

2021-05-05 Thread Sankeerth Billakanti
This change will enable dpu encoder support for the native eDP interface on next generation snapdragon platforms. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 7 +- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 33 + 2

[PATCH v1 2/3] drm/msm/edp: add support for next gen edp

2021-05-05 Thread Sankeerth Billakanti
interface on the next generation snapdragon platforms. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/Makefile |6 + drivers/gpu/drm/msm/edp/edp_common.c |4 + drivers/gpu/drm/msm/edp/edp_common.h |6 + drivers/gpu/drm/msm/edp

[PATCH v1 0/3] Add support for next gen eDP driver on SnapDragon

2021-05-05 Thread Sankeerth Billakanti
generation eDP controller and phy driver implementation. A common interface to choose enable the required eDP driver. Sankeerth Billakanti (3): drm/msm/edp: support multiple generations of edp hardware drm/msm/edp: add support for next gen edp drm/msm/disp/dpu1: add support for edp encoder

[PATCH v1 0/3] Add support for next gen eDP driver on sc7280

2021-05-05 Thread Sankeerth Billakanti
generation eDP controller and phy driver implementation. A common interface to choose enable the required eDP driver. Sankeerth Billakanti (3): drm/msm/edp: support multiple generations of edp hardware drm/msm/edp: add support for next gen edp drm/msm/disp/dpu1: add support for edp encoder

[PATCH v1 2/3] drm/msm/edp: add support for next gen edp

2021-05-05 Thread Sankeerth Billakanti
interface on the next generation snapdragon platforms. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/Makefile |6 + drivers/gpu/drm/msm/edp/edp_common.c |4 + drivers/gpu/drm/msm/edp/edp_common.h |6 + drivers/gpu/drm/msm/edp

[PATCH v1 3/3] drm/msm/disp/dpu1: add support for edp encoder

2021-05-05 Thread Sankeerth Billakanti
This change will enable dpu encoder support for the native eDP interface on next generation snapdragon platforms. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 7 +- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 33 + 2

[PATCH v5 0/9] Add support for the eDP panel on sc7280 CRD

2022-03-16 Thread Sankeerth Billakanti
=* https://patchwork.kernel.org/project/linux-arm-msm/list/?series=613654&state=* Sankeerth Billakanti (9): arm64: dts: qcom: sc7280: rename edp_out label to mdss_edp_out arm64: dts: qcom: sc7280: Add support for eDP panel on CRD arm64: dts: qcom: sc7280: Enable backlight for eDP panel drm/pa

[PATCH v5 1/9] arm64: dts: qcom: sc7280: rename edp_out label to mdss_edp_out

2022-03-16 Thread Sankeerth Billakanti
Rename the edp_out label in the sc7280 platform to mdss_edp_out so that the nodes related to mdss are all grouped together in the board specific files. Signed-off-by: Sankeerth Billakanti --- Changes in v5: - Change the order of patches - Modify commit text arch/arm64/boot/dts/qcom/sc7280

[PATCH v5 2/9] arm64: dts: qcom: sc7280: Add support for eDP panel on CRD

2022-03-16 Thread Sankeerth Billakanti
Enable support for eDP interface via aux_bus on CRD platform. Signed-off-by: Sankeerth Billakanti --- Changes in v5: - Change the order of patches - Remove the backlight nodes - Remove the bias setting - Fix compilation issue - Model VREG_EDP_BP for backlight power Changes in v4

[PATCH v5 3/9] arm64: dts: qcom: sc7280: Enable backlight for eDP panel

2022-03-16 Thread Sankeerth Billakanti
Enable backlight support for eDP panel on CRD platform for sc7280. Signed-off-by: Sankeerth Billakanti --- Changes in v5: - Separate out backlight nodes arch/arm64/boot/dts/qcom/sc7280-crd.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/qcom

[PATCH v5 4/9] drm/panel-edp: add LQ140M1JW46 edp panel entry

2022-03-16 Thread Sankeerth Billakanti
Add panel identification entry for the sharp LQ140M1JW46 eDP panel with power sequencing delay information. Signed-off-by: Sankeerth Billakanti --- 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

[PATCH v5 5/9] drm/msm/dp: Add eDP support via aux_bus

2022-03-16 Thread Sankeerth Billakanti
the regulator and clock votes for the controller resources are balanced. EV_HPD_INIT_SETUP needs to execute immediately to enable the interrupts for the aux transactions from panel-edp to get the modes supported. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_display.c

[PATCH v5 6/9] drm/msm/dp: wait for hpd high before any sink interaction

2022-03-16 Thread Sankeerth Billakanti
after the panel is powered on. The panel power will be enabled from the panel-edp driver. The controller driver needs to wait for the hpd line to be asserted by the sink. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_aux.c | 6 ++ drivers/gpu/drm/msm/dp

[PATCH v5 7/9] drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP

2022-03-16 Thread Sankeerth Billakanti
reflect the connect and disconnect interrupt status without generating an actual HW interrupt. The controller driver should not handle those masked interrupts. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_catalog.c | 9 +++-- drivers/gpu/drm/msm/dp/dp_display.c | 24

[PATCH v5 8/9] drm/msm/dp: Handle eDP mode_valid case

2022-03-16 Thread Sankeerth Billakanti
The panel-edp driver modes needs to be validated differently from DP because the link capabilities are not available for EDP by that time. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_display.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/msm/dp

[PATCH v5 9/9] drm/msm/dp: Support edp/dp without hpd

2022-03-16 Thread Sankeerth Billakanti
Some eDP sinks or platform boards will not support hpd. This patch adds support for those cases. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_catalog.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.c b/drivers

RE: [PATCH v5 6/9] drm/msm/dp: wait for hpd high before any sink interaction

2022-03-25 Thread Sankeerth Billakanti
> -Original Message- > From: Doug Anderson > Sent: Friday, March 25, 2022 9:36 PM > To: Sankeerth Billakanti (QUIC) > Cc: Stephen Boyd ; David Airlie ; > dri-devel ; bjorn.anders...@linaro.org; > Thierry Reding ; Sam Ravnborg > ; Kuogee Hsieh (QUIC) ; >

[PATCH v6 0/8] Add support for the eDP panel over aux_bus

2022-03-30 Thread Sankeerth Billakanti
=* https://patchwork.kernel.org/project/linux-arm-msm/list/?series=613654&state=* Sankeerth Billakanti (8): drm/msm/dp: Add eDP support via aux_bus drm/msm/dp: wait for hpd high before aux transaction drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP drm/msm/dp: avoid handling maske

[PATCH v6 1/8] drm/msm/dp: Add eDP support via aux_bus

2022-03-30 Thread Sankeerth Billakanti
initialized. The generic panel probe needs the controller resources to be enabled to support the aux transactions originating from the panel probe. Signed-off-by: Sankeerth Billakanti --- Changes in v6: - Remove initialization - Fix aux_bus node leak - Split the patches drivers/gpu/drm/msm/dp

[PATCH v6 2/8] drm/msm/dp: wait for hpd high before aux transaction

2022-03-30 Thread Sankeerth Billakanti
sink can be hotplugged and unplugged anytime. The hpd line gets asserted to indicate the sink is connected and ready. Hence there is no need to wait for the hpd line to be asserted for a DP sink. Signed-off-by: Sankeerth Billakanti --- Changes in v6: - Wait for hpd high only for eDP - Split

[PATCH v6 3/8] drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP

2022-03-30 Thread Sankeerth Billakanti
interrupts. Any disruption in the link status will be indicated via the IRQ_HPD interrupts. So, the eDP controller driver can just enable the IRQ_HPD and replug interrupts. The DP controller driver still needs to enable all the interrupts. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm

[PATCH v6 4/8] drm/msm/dp: avoid handling masked interrupts

2022-03-30 Thread Sankeerth Billakanti
The interrupt register will still reflect the connect and disconnect interrupt status without generating an actual HW interrupt. The controller driver should not handle those masked interrupts. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_catalog.c | 5 +++-- 1 file changed

[PATCH v6 5/8] drm/msm/dp: prevent multiple votes for dp resources

2022-03-30 Thread Sankeerth Billakanti
The aux_bus support with the dp_display driver will enable the dp resources during msm_dp_modeset_init. The host_init has to return early if the core is already initialized to prevent putting an additional vote for the dp controller resources. Signed-off-by: Sankeerth Billakanti --- drivers/gpu

[PATCH v6 6/8] drm/msm/dp: remove unnecessary delay during boot

2022-03-30 Thread Sankeerth Billakanti
Remove the unnecessary delay in executing the EV_HPD_INIT_SETUP event. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index

[PATCH v6 7/8] drm/msm/dp: Support edp/dp without hpd

2022-03-30 Thread Sankeerth Billakanti
Some eDP sinks or platform boards will not support hpd. This patch adds support for those cases. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_catalog.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.c

[PATCH v6 8/8] drm/msm/dp: Handle eDP mode_valid differently from dp

2022-03-30 Thread Sankeerth Billakanti
The panel-edp driver modes needs to be validated differently from DP because the link capabilities are not available for EDP by that time. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_display.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/msm/dp

[PATCH v2 2/2] dt-bindings: Add SC7280 compatible string

2021-10-21 Thread Sankeerth Billakanti
From: Sankeerth Billakanti The Qualcomm SC7280 platform supports an eDP controller, add compatible string for it to dp-controller. Signed-off-by: Sankeerth Billakanti --- Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v2 0/2] Add support for eDP on SC7280

2021-10-21 Thread Sankeerth Billakanti
ments Changes in V1: - Add support for eDP on SC7280 platform. - Add the new compatible string to documentation. Sankeerth Billakanti (2): drm/msm/dp: Add support for SC7280 eDP dt-bindings: Add SC7280 compatible string .../bindings/display/msm/dp-controller.yaml | 1 + drivers/gp

[PATCH v2 1/2] drm/msm/dp: Add support for SC7280 eDP

2021-10-21 Thread Sankeerth Billakanti
From: Sankeerth Billakanti The eDP controller on SC7280 is similar to the eDP/DP controllers supported by the current driver implementation. SC7280 supports one EDP and one DP controller which can operate concurrently. The following are some required changes to support eDP on sc7280: 1. SC7280

[PATCH v1 0/2] Add support for the eDP panel on sc7280 CRD

2022-01-24 Thread Sankeerth Billakanti
amp;archive=both Sankeerth Billakanti (2): ARM64: dts: qcom: enable eDP panel support for sc7280 drm/panel-edp: Add sharp panel support for sc7280 arch/arm64/boot/dts/qcom/sc7280-crd.dts | 127 drivers/gpu/drm/panel/panel-edp.c | 11 +++ 2 files changed

[PATCH v1 1/2] ARM64: dts: qcom: enable eDP panel support for sc7280

2022-01-24 Thread Sankeerth Billakanti
Enable the eDP display panel support with backlight on sc7280 platform. Signed-off-by: Sankeerth Billakanti --- arch/arm64/boot/dts/qcom/sc7280-crd.dts | 127 1 file changed, 127 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-crd.dts b/arch/arm64

[PATCH v1 2/2] drm/panel-edp: Add sharp panel support for sc7280

2022-01-24 Thread Sankeerth Billakanti
Add eDP panel support for sc7280 CRD platform. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/panel/panel-edp.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c index 176ef0c..bb2e346 100644 --- a

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

2021-10-28 Thread Sankeerth Billakanti
The sc7280 eDP sink that supports downspread will fail link training if source does not enable SSC / downspread. This change will set the downspread bit in the DP sink if supported and indicate SSC support to the DP PHY driver. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp

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

2021-10-28 Thread Sankeerth Billakanti
From: Sankeerth Billakanti The Qualcomm SC7280 platform supports one eDP controller and a DP controller. This change will add the compatible string for both eDP and DP to msm dp-controller binding. Signed-off-by: Sankeerth Billakanti changes in v3: - Modify the subject (Doug Anderson

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

2021-10-28 Thread Sankeerth Billakanti
Add a macro to check for the max_downspread capability in drm_dp_helper. Signed-off-by: Sankeerth Billakanti --- include/drm/drm_dp_helper.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index afdf7f4..b39e7a0 100644 --- a

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

2021-10-28 Thread Sankeerth Billakanti
delay for eDP controller. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_display.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 61385d6..de6a1fd 100644 --- a

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

2021-10-28 Thread Sankeerth Billakanti
The eDP controller on SC7280 is similar to the eDP/DP controllers supported by the current driver implementation. SC7280 supports one EDP and one DP controller which can operate concurrently. This change adds the support for eDP and DP controller on sc7280. Signed-off-by: Sankeerth Billakanti

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

2021-10-28 Thread Sankeerth Billakanti
The eDP sink on sc7280 supports ASSR and dp driver will enable ASSR in the source hardware. The driver needs to enable the ASSR field in the DPCD configuration register to avoid screen corruption. This change will enable ASSR if supported in the sink device. Signed-off-by: Sankeerth Billakanti

[PATCH v3 0/6] Add support for eDP controller on SC7280

2021-10-28 Thread Sankeerth Billakanti
subsequent patch series. This is based on Bjorn's changes in the below mentioned series to support both eDP and DP programming through the same driver: https://patchwork.kernel.org/project/linux-arm-msm/list/?series=564841 Sankeerth Billakanti (6): dt-bindings: msm/dp: Add DP compa

[PATCH v4 4/5] drm/msm/dp: Enable downspread for supported DP sinks

2021-11-02 Thread Sankeerth Billakanti
The sc7280 eDP sink that supports downspread will fail link training if source does not enable SSC / downspread. This change will set the downspread bit in the DP sink if supported and indicate SSC support to the DP PHY driver. Signed-off-by: Sankeerth Billakanti Reviewed-by: Stephen Boyd

[PATCH v4 1/5] dt-bindings: msm/dp: Add DP compatible strings for sc7280

2021-11-02 Thread Sankeerth Billakanti
From: Sankeerth Billakanti The Qualcomm SC7280 platform supports one eDP controller and a DP controller. This change will add the compatible string for both eDP and DP to msm dp-controller binding. Signed-off-by: Sankeerth Billakanti changes in v3: - Modify the subject (Doug Anderson

[PATCH v4 0/5] Add support for eDP controller on SC7280

2021-11-02 Thread Sankeerth Billakanti
subsequent patch series. This is based on Bjorn's changes in the below mentioned series to support both eDP and DP programming through the same driver: https://patchwork.kernel.org/project/linux-arm-msm/list/?series=564841 Sankeerth Billakanti (5): dt-bindings: msm/dp: Add DP compa

[PATCH v4 2/5] drm/msm/dp: Add DP controllers for sc7280

2021-11-02 Thread Sankeerth Billakanti
The eDP controller on SC7280 is similar to the eDP/DP controllers supported by the current driver implementation. SC7280 supports one EDP and one DP controller which can operate concurrently. This change adds the support for eDP and DP controller on sc7280. Signed-off-by: Sankeerth Billakanti

[PATCH v4 3/5] drm/dp: Add macro to check max_downspread capability

2021-11-02 Thread Sankeerth Billakanti
Add a macro to check for the max_downspread capability in drm_dp_helper. Signed-off-by: Sankeerth Billakanti Reviewed-by: Stephen Boyd changes in v4: - Return 1 for DPCD version >= v1.1 (Stephen Boyd) --- include/drm/drm_dp_helper.h | 7 +++ 1 file changed, 7 insertions(+) diff --

[PATCH v4 5/5] drm/msm/dp: Enable ASSR for supported DP sinks

2021-11-02 Thread Sankeerth Billakanti
The eDP sink on sc7280 supports ASSR and dp driver will enable ASSR in the source hardware. The driver needs to enable the ASSR field in the DPCD configuration register to avoid screen corruption. This change will enable ASSR if supported in the sink device. Signed-off-by: Sankeerth Billakanti

[PATCH v3 1/3] arm64: dts: qcom: sc7280: add display dt nodes

2021-11-02 Thread Sankeerth Billakanti
From: Krishna Manikandan Add mdss and mdp DT nodes for sc7280. Signed-off-by: Krishna Manikandan Reported-by: kernel test robot Reviewed-by: Stephen Boyd Reported-by: kernel test robot Signed-off-by: Sankeerth Billakanti --- Changes in v3: None Changes in v2: - Rename display dt

[PATCH v3 2/3] arm64: dts: qcom: sc7280: Add DSI display nodes

2021-11-02 Thread Sankeerth Billakanti
From: Krishna Manikandan Add DSI controller and PHY nodes for sc7280. Signed-off-by: Rajeev Nandan Signed-off-by: Krishna Manikandan Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd Signed-off-by: Sankeerth Billakanti --- Changes in v3: - Add the dsi_phy clocks (Kuogee Hsieh

[PATCH v3 3/3] arm64: dts: qcom: sc7280: add edp display dt nodes

2021-11-02 Thread Sankeerth Billakanti
Add edp controller and phy DT nodes for sc7280. Signed-off-by: Krishna Manikandan Reviewed-by: Stephen Boyd Signed-off-by: Sankeerth Billakanti --- Changes in v3: - Add one clock cell per line (Stephen Boyd) - Unit address should match first reg property (Stephen Boyd) - Remove

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

2021-11-15 Thread Sankeerth Billakanti
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 --- drivers/phy/qualcomm/phy-qcom-edp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/qualcomm/phy-qcom-edp.c b/drivers/phy

[PATCH v1 0/3] Add support for eDP PHY on SC7280 platform

2021-11-15 Thread Sankeerth Billakanti
This series adds support for the eDP PHY on Qualcomm SC7280 platform. The changes are dependent on v4 of the new eDP PHY driver introduced by Bjorn: https://patchwork.kernel.org/project/linux-arm-msm/list/?series=575135 Sankeerth Billakanti (3): dt-bindings: phy: Add eDP PHY compatible for

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

2021-11-15 Thread Sankeerth Billakanti
Add compatible string for the supported eDP PHY on sc7280 platform. Signed-off-by: Sankeerth Billakanti --- Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b

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

2021-11-15 Thread Sankeerth Billakanti
Some legacy eDP sinks may not support SSC. The support for SSC is indicated through an opts flag from the controller driver. This change will enable SSC only if the sink supports it. Signed-off-by: Sankeerth Billakanti --- drivers/phy/qualcomm/phy-qcom-edp.c | 8 +--- 1 file changed, 5

[PATCH v4 1/4] arm64: dts: qcom: sc7280: add display dt nodes

2021-11-22 Thread Sankeerth Billakanti
From: Krishna Manikandan Add mdss and mdp DT nodes for sc7280. Signed-off-by: Krishna Manikandan Reported-by: kernel test robot Reviewed-by: Stephen Boyd Reported-by: kernel test robot Signed-off-by: Sankeerth Billakanti --- Changes in v4: None Changes in v3: None Changes in v2

[PATCH v4 2/4] arm64: dts: qcom: sc7280: Add DSI display nodes

2021-11-22 Thread Sankeerth Billakanti
From: Krishna Manikandan Add DSI controller and PHY nodes for sc7280. Signed-off-by: Rajeev Nandan Signed-off-by: Krishna Manikandan Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd Signed-off-by: Sankeerth Billakanti --- Changes in v4: None Changes in v3: - Add the

[PATCH v4 3/4] arm64: dts: qcom: sc7280: add edp display dt nodes

2021-11-22 Thread Sankeerth Billakanti
Add edp controller and phy DT nodes for sc7280. Signed-off-by: Krishna Manikandan Reviewed-by: Stephen Boyd Signed-off-by: Sankeerth Billakanti --- Changes in v4: None Changes in v3: - Add one clock cell per line (Stephen Boyd) - Unit address should match first reg property

[PATCH v4 4/4] arm64: dts: qcom: sc7280: Add Display Port node

2021-11-22 Thread Sankeerth Billakanti
From: Kuogee Hsieh Signed-off-by: Kuogee Hsieh Reviewed-by: Stephen Boyd Signed-off-by: Sankeerth Billakanti --- Changes in v4: - Add the patch to display DT change series (Bjorn Andersson) - Remove the trailing whitespaces arch/arm64/boot/dts/qcom/sc7280.dtsi | 90

[PATCH v5 0/4] arm: dts: qcom: sc7280: Add display DT nodes for sc7280

2021-12-24 Thread Sankeerth Billakanti
Add display devicetree support for sc7280 platform. Krishna Manikandan (1): arm64: dts: qcom: sc7280: add display dt nodes Kuogee Hsieh (1): arm64: dts: qcom: sc7280: Add Display Port node Rajeev Nandan (1): arm64: dts: qcom: sc7280: Add DSI display nodes Sankeerth Billakanti (1

[PATCH v5 1/4] arm64: dts: qcom: sc7280: add display dt nodes

2021-12-24 Thread Sankeerth Billakanti
From: Krishna Manikandan Add mdss and mdp DT nodes for sc7280. Signed-off-by: Krishna Manikandan Reviewed-by: Stephen Boyd Signed-off-by: Sankeerth Billakanti --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 90 1 file changed, 90 insertions(+) diff --git a

[PATCH v5 2/4] arm64: dts: qcom: sc7280: Add DSI display nodes

2021-12-24 Thread Sankeerth Billakanti
From: Rajeev Nandan Add DSI controller and PHY nodes for sc7280. Signed-off-by: Rajeev Nandan Signed-off-by: Krishna Manikandan Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd Signed-off-by: Sankeerth Billakanti --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 111

[PATCH v5 3/4] arm64: dts: qcom: sc7280: add edp display dt nodes

2021-12-24 Thread Sankeerth Billakanti
Add edp controller and phy DT nodes for sc7280. Signed-off-by: Sankeerth Billakanti Signed-off-by: Krishna Manikandan Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 107 ++- 1 file changed, 105 insertions(+), 2 deletions(-) diff --git a

[PATCH v5 4/4] arm64: dts: qcom: sc7280: Add Display Port node

2021-12-24 Thread Sankeerth Billakanti
From: Kuogee Hsieh Signed-off-by: Kuogee Hsieh Reviewed-by: Stephen Boyd Signed-off-by: Sankeerth Billakanti --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 90 +++- 1 file changed, 88 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi

RE: [PATCH v2 1/4] drm/msm/dp: Add basic PSR support for eDP

2022-06-21 Thread Sankeerth Billakanti
e >> sink. >> >> Signed-off-by: Sankeerth Billakanti >> >> Changes in v2: >> - Use dp bridge to set psr entry/exit instead of dpu_enocder >> - Don't modify whitespaces >> - set self refresh aware from atomic_check >> - set sel

RE: [PATCH v2 1/4] drm/msm/dp: Add basic PSR support for eDP

2022-06-21 Thread Sankeerth Billakanti
Hi Bjorn, >> Add support for basic panel self refresh (PSR) feature for eDP. >> Add a new interface to set PSR state in the sink from DPU. >> Program the eDP controller to issue PSR enter and exit SDP to the >> sink. >> >> Signed-off-by: Sankeerth Billakanti

[PATCH v2 0/4] Add support for the eDP panel on sc7280 CRD

2022-02-08 Thread Sankeerth Billakanti
following series: https://patchwork.kernel.org/project/linux-arm-msm/list/?series=586263&archive=both&state=* https://patchwork.kernel.org/project/linux-arm-msm/list/?series=560587&state=%2A&archive=both Sankeerth Billakanti (4): dt-bindings: display: simple: Add sharp LQ140M1JW46 pa

[PATCH v2 1/4] dt-bindings: display: simple: Add sharp LQ140M1JW46 panel

2022-02-08 Thread Sankeerth Billakanti
Add support for sharp LQ140M1JW46 display panel. It is a 14" eDP panel with 1920x1080 display resolution. Signed-off-by: Sankeerth Billakanti --- Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devic

[PATCH v2 2/4] arm64: dts: qcom: sc7280: Add support for eDP panel on CRD

2022-02-08 Thread Sankeerth Billakanti
Enable the eDP display panel support without HPD on sc7280 platform. Signed-off-by: Sankeerth Billakanti --- Changes in v2: - sort node references alphabetically - improve readability - move the pwm pinctrl to pwm node - move the regulators to root - define backlight power - remove

[PATCH v2 3/4] drm/panel-edp: Add eDP sharp panel support

2022-02-08 Thread Sankeerth Billakanti
Add support for the 14" sharp,lq140m1jw46 eDP panel. Signed-off-by: Sankeerth Billakanti --- Changes in v2: - add mode when not using hpd - add delays - put dt-bindings drivers/gpu/drm/panel/panel-edp.c | 31 +++ 1 file changed, 31 insertions(+) diff --

[PATCH v2 4/4] drm/msm/dp: Add driver support to utilize drm panel

2022-02-08 Thread Sankeerth Billakanti
completed. The eDP driver needs to register for IRQ_HPD only. This support will be added later. Signed-off-by: Sankeerth Billakanti --- drivers/gpu/drm/msm/dp/dp_display.c | 8 ++ drivers/gpu/drm/msm/dp/dp_drm.c | 54 + drivers/gpu/drm/msm/dp/dp_parser.h

[PATCH v3 0/4] Add support for the eDP panel on sc7280 CRD

2022-02-09 Thread Sankeerth Billakanti
following series: https://patchwork.kernel.org/project/linux-arm-msm/list/?series=586263&archive=both&state=* https://patchwork.kernel.org/project/linux-arm-msm/list/?series=560587&state=%2A&archive=both Sankeerth Billakanti (4): dt-bindings: display: simple: Add sharp LQ140M1JW46 pa

[PATCH v3 2/4] arm64: dts: qcom: sc7280: Add support for eDP panel on CRD

2022-02-09 Thread Sankeerth Billakanti
Enable the eDP display panel support without HPD on sc7280 platform. Signed-off-by: Sankeerth Billakanti --- Changes in v3: - Sort the nodes alphabetically - Use - instead of _ as node names - Place the backlight and panel nodes under root - Change the name of edp_out to mdss_edp_out

[PATCH v3 3/4] drm/panel-edp: Add eDP sharp panel support

2022-02-09 Thread Sankeerth Billakanti
Add support for the 14" sharp,lq140m1jw46 eDP panel. Signed-off-by: Sankeerth Billakanti --- Changes in v3: None drivers/gpu/drm/panel/panel-edp.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/

[PATCH v3 4/4] drm/msm/dp: Add driver support to utilize drm panel

2022-02-09 Thread Sankeerth Billakanti
completed. Signed-off-by: Sankeerth Billakanti --- Changes in v3: None drivers/gpu/drm/msm/dp/dp_display.c | 8 ++ drivers/gpu/drm/msm/dp/dp_drm.c | 54 + drivers/gpu/drm/msm/dp/dp_parser.h | 3 +++ 3 files changed, 60 insertions(+), 5 deletions

[PATCH v3 1/4] dt-bindings: display: simple: Add sharp LQ140M1JW46 panel

2022-02-09 Thread Sankeerth Billakanti
Add support for sharp LQ140M1JW46 display panel. It is a 14" eDP panel with 1920x1080 display resolution. Signed-off-by: Sankeerth Billakanti --- Changes in v3: None Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --

[PATCH v4 0/5] Add support for the eDP panel on sc7280 CRD

2022-02-10 Thread Sankeerth Billakanti
following series: https://patchwork.kernel.org/project/linux-arm-msm/list/?series=586263&archive=both&state=* https://patchwork.kernel.org/project/linux-arm-msm/list/?series=560587&state=%2A&archive=both Sankeerth Billakanti (5): dt-bindings: display: simple: Add sharp LQ140M1JW46 pa

[PATCH v4 1/5] dt-bindings: display: simple: Add sharp LQ140M1JW46 panel

2022-02-10 Thread Sankeerth Billakanti
Add support for sharp LQ140M1JW46 display panel. It is a 14" eDP panel with 1920x1080 display resolution. Signed-off-by: Sankeerth Billakanti Acked-by: Rob Herring Reviewed-by: Stephen Boyd --- Changes in v4: None Changes in v3: None Documentation/devicetree/bindings/display/

[PATCH v4 2/5] arm64: dts: qcom: sc7280: Add support for eDP panel on CRD

2022-02-10 Thread Sankeerth Billakanti
Enable the eDP display panel support without HPD on sc7280 platform. Signed-off-by: Sankeerth Billakanti --- Changes in v4: - Create new patch for name changes - Remove output-low Changes in v3: - Sort the nodes alphabetically - Use - instead of _ as node names - Place the backlight

[PATCH v4 3/5] arm64: dts: qcom: sc7280: rename edp_out label to mdss_edp_out

2022-02-10 Thread Sankeerth Billakanti
Rename the edp_out label in the sc7280 platform to mdss_edp_out. Signed-off-by: Sankeerth Billakanti --- arch/arm64/boot/dts/qcom/sc7280-crd.dts | 10 +- arch/arm64/boot/dts/qcom/sc7280.dtsi| 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts

[PATCH v4 4/5] drm/panel-edp: Add eDP sharp panel support

2022-02-10 Thread Sankeerth Billakanti
Add support for the 14" sharp,lq140m1jw46 eDP panel. Signed-off-by: Sankeerth Billakanti --- 00 ff ff ff ff ff ff 00 4d 10 23 15 00 00 00 00 35 1e 01 04 a5 1f 11 78 07 de 50 a3 54 4c 99 26 0f 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 5a 87 80 a0 70 38 4d 40 30 20 35 00

[PATCH v4 5/5] drm/msm/dp: Add driver support to utilize drm panel

2022-02-10 Thread Sankeerth Billakanti
completed. Signed-off-by: Sankeerth Billakanti --- Changes in v4: - Remove obvious comments - Define separate connector_ops for eDP - Remove unnecessary checks Changes in v3: None drivers/gpu/drm/msm/dp/dp_display.c | 6 drivers/gpu/drm/msm/dp/dp_drm.c | 62

RE: [PATCH v3 3/4] drm/panel-edp: Add eDP sharp panel support

2022-02-10 Thread Sankeerth Billakanti
the dp driver and hence we want to explore it as a separate task/feature after the basic PSR feature. Thank you, Sankeerth -Original Message- From: Dmitry Baryshkov Sent: Thursday, February 10, 2022 5:55 PM To: Sankeerth Billakanti (QUIC) ; dri-devel@lists.freedesktop.org; linux-arm

[PATCH v8 0/4] Add support for the eDP panel over aux_bus

2022-04-21 Thread Sankeerth Billakanti
/20220211224006.1797846-6-dmitry.barysh...@linaro.org/ Sankeerth Billakanti (4): drm/msm/dp: Add eDP support via aux_bus drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP drm/msm/dp: wait for hpd high before aux transaction drm/msm/dp: Support the eDP modes given by panel drivers/gpu/drm

[PATCH v8 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-21 Thread Sankeerth Billakanti
initialized. The generic panel probe needs the controller resources to be enabled to support the aux transactions originating from the panel probe. Signed-off-by: Sankeerth Billakanti --- Changes in v8: - handle corner cases - add comment for the bridge ops Changes in v7: - aux_bus is mandatory for

[PATCH v8 2/4] drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP

2022-04-21 Thread Sankeerth Billakanti
disconnect interrupts. Any disruption in the link status will be indicated via the IRQ_HPD interrupts. So, the eDP controller driver can just enable the IRQ_HPD and replug interrupts. The DP controller driver still needs to enable all the interrupts. Signed-off-by: Sankeerth Billakanti --- Changes in v8

[PATCH v8 3/4] drm/msm/dp: wait for hpd high before aux transaction

2022-04-21 Thread Sankeerth Billakanti
sink can be hotplugged and unplugged anytime. The hpd line gets asserted to indicate the sink is connected and ready. Hence there is no need to wait for the hpd line to be asserted for a DP sink. Signed-off-by: Sankeerth Billakanti Reviewed-by: Douglas Anderson --- These changes may be handled in

[PATCH v8 4/4] drm/msm/dp: Support the eDP modes given by panel

2022-04-21 Thread Sankeerth Billakanti
The eDP controller does not have a reliable way keep panel powered on to read the sink capabilities. So, the controller driver cannot validate if a mode can be supported by the source. We will rely on the panel driver to populate only the supported modes for now. Signed-off-by: Sankeerth

[PATCH v9 0/4] Add support for the eDP panel over aux_bus

2022-04-22 Thread Sankeerth Billakanti
/20220211224006.1797846-6-dmitry.barysh...@linaro.org/ Sankeerth Billakanti (4): drm/msm/dp: Add eDP support via aux_bus drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP drm/msm/dp: wait for hpd high before aux transaction drm/msm/dp: Support the eDP modes given by panel drivers/gpu/drm

[PATCH v9 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-22 Thread Sankeerth Billakanti
initialized. The generic panel probe needs the controller resources to be enabled to support the aux transactions originating from the panel probe. Signed-off-by: Sankeerth Billakanti --- Changes in v9: - add comments for panel probe - modify the error handling checks Changes in v8: - handle corner

[PATCH v9 2/4] drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP

2022-04-22 Thread Sankeerth Billakanti
disconnect interrupts. Any disruption in the link status will be indicated via the IRQ_HPD interrupts. So, the eDP controller driver can just enable the IRQ_HPD and replug interrupts. The DP controller driver still needs to enable all the interrupts. Signed-off-by: Sankeerth Billakanti --- Changes in v9

[PATCH v9 3/4] drm/msm/dp: wait for hpd high before aux transaction

2022-04-22 Thread Sankeerth Billakanti
sink can be hotplugged and unplugged anytime. The hpd line gets asserted to indicate the sink is connected and ready. Hence there is no need to wait for the hpd line to be asserted for a DP sink. Signed-off-by: Sankeerth Billakanti Reviewed-by: Douglas Anderson --- These changes may be handled in

[PATCH v9 4/4] drm/msm/dp: Support the eDP modes given by panel

2022-04-22 Thread Sankeerth Billakanti
The eDP controller does not have a reliable way keep panel powered on to read the sink capabilities. So, the controller driver cannot validate if a mode can be supported by the source. We will rely on the panel driver to populate only the supported modes for now. Signed-off-by: Sankeerth

[PATCH v10 0/4] Add support for the eDP panel over aux_bus

2022-04-25 Thread Sankeerth Billakanti
/20220211224006.1797846-6-dmitry.barysh...@linaro.org/ Sankeerth Billakanti (4): drm/msm/dp: Add eDP support via aux_bus drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP drm/msm/dp: wait for hpd high before aux transaction drm/msm/dp: Support the eDP modes given by panel drivers/gpu/drm

[PATCH v10 1/4] drm/msm/dp: Add eDP support via aux_bus

2022-04-25 Thread Sankeerth Billakanti
initialized. The generic panel probe needs the controller resources to be enabled to support the aux transactions originating from the panel probe. Signed-off-by: Sankeerth Billakanti Reviewed-by: Douglas Anderson Reviewed-by: Stephen Boyd --- Changes in v10: - modify the error handling condition

[PATCH v10 2/4] drm/msm/dp: Support only IRQ_HPD and REPLUG interrupts for eDP

2022-04-25 Thread Sankeerth Billakanti
disconnect interrupts. Any disruption in the link status will be indicated via the IRQ_HPD interrupts. So, the eDP controller driver can just enable the IRQ_HPD and replug interrupts. The DP controller driver still needs to enable all the interrupts. Signed-off-by: Sankeerth Billakanti Reviewed-by

[PATCH v10 3/4] drm/msm/dp: wait for hpd high before aux transaction

2022-04-25 Thread Sankeerth Billakanti
sink can be hotplugged and unplugged anytime. The hpd line gets asserted to indicate the sink is connected and ready. Hence there is no need to wait for the hpd line to be asserted for a DP sink. Signed-off-by: Sankeerth Billakanti Reviewed-by: Douglas Anderson Reviewed-by: Stephen Boyd --- These

[PATCH v10 4/4] drm/msm/dp: Support the eDP modes given by panel

2022-04-25 Thread Sankeerth Billakanti
The eDP controller does not have a reliable way keep panel powered on to read the sink capabilities. So, the controller driver cannot validate if a mode can be supported by the source. We will rely on the panel driver to populate only the supported modes for now. Signed-off-by: Sankeerth

RE: [PATCH 1/2] dt-bindings: msm/dp: List supplies in the bindings

2022-05-05 Thread Sankeerth Billakanti
load() >> call to the phy driver if possible. Hopefully qcom folks can help >> clarify here. > >Interesting. Oddly enough, the sc7280 datasheet doesn't list the "_A". >It calls these "VDD_VREF_0P9" and "VDD_VREF_1P2". However, on the >schematic in front of me someone labeled these pins on the sc7280 with the >"A". ...and the driver looks for a supply with the "a". :-/ > >It would be good to get clarification from someone with better information. > >-Doug Our internal power grid documents list the regulators as VDD_A_*_1P2 and VDD_A_*_0P9 for all the platforms. So, as a practice, we put the same name in the DT files. Hence, Reviewed-by: Sankeerth Billakanti Thank you, Sankeerth

RE: [PATCH v6 4/8] drm/msm/dp: avoid handling masked interrupts

2022-03-31 Thread Sankeerth Billakanti
Hi Dmitry, > On 31/03/2022 08:53, Sankeerth Billakanti (QUIC) wrote: > > Hi Dmitry, > > > >> On Wed, 30 Mar 2022 at 19:03, Sankeerth Billakanti > >> wrote: > >>> > >>> The interrupt register will still reflect the connect and disconne

  1   2   >