[v1] arm64: dts: qcom: sc7280: assign DSI clock source parents

2022-09-07 Thread Rajeev Nandan
Assign DSI clock source parents to DSI PHY clocks. Signed-off-by: Rajeev Nandan Cc: Dmitry Baryshkov --- This change is needed after the refactor done by the patch [2] (drm/msm/dsi: stop setting clock parents manually) of series [1], to fix the DSI pixel clock set rate error

[v5 0/3] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2022-01-30 Thread Rajeev Nandan
: - Fixed missing printk arg Rajeev Nandan (3): dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties drm/msm/dsi: Add dsi phy tuning configuration support drm/msm/dsi: Add 10nm dsi phy tuning configuration support .../bindings/display/msm/dsi-phy-10nm.yaml | 36 +++ drivers

[v5 1/3] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties

2022-01-30 Thread Rajeev Nandan
. The clock and data lanes have a calibration circuitry feature. The drive strength tuning can be done by adjusting rescode offset for hstop/hsbot, and the drive level tuning can be done by adjusting the LDO output level for the HSTX drive. Signed-off-by: Rajeev Nandan --- Changes in v2: - More details

[v5 3/3] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2022-01-30 Thread Rajeev Nandan
. Signed-off-by: Rajeev Nandan --- Changes in v2: - Split into generic code and 10nm-specific part (Dmitry Baryshkov) - Fix the backward compatibility (Dmitry Baryshkov) Changes in v3: - Address comments for phy tuning data structure (Dmitry Baryshkov) - Make changes as per updated dt-bindings

[v5 2/3] drm/msm/dsi: Add dsi phy tuning configuration support

2022-01-30 Thread Rajeev Nandan
Add support for MSM DSI PHY tuning configuration. Current design is to support drive strength and drive level/amplitude tuning for 10nm PHY version, but this can be extended to other PHY versions. Signed-off-by: Rajeev Nandan Reviewed-by: Dmitry Baryshkov --- Changes in v2: - New. - Split

[v4 2/3] drm/msm/dsi: Add dsi phy tuning configuration support

2022-01-30 Thread Rajeev Nandan
Add support for MSM DSI PHY tuning configuration. Current design is to support drive strength and drive level/amplitude tuning for 10nm PHY version, but this can be extended to other PHY versions. Signed-off-by: Rajeev Nandan Reviewed-by: Dmitry Baryshkov --- Changes in v2: - New. - Split

[v4 0/3] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2022-01-30 Thread Rajeev Nandan
(Dmitry Baryshkov) - s/ops.tuning_cfg_init/ops.parse_dt_properties (Dmitry Baryshkov) Changes in v4: - Fixed dt_binding_check error (Rob Herring's bot) - Return error in case of out of range values (Dmitry Baryshkov) - Return error if dt property is present but parsing is failing Rajeev Nandan (3

[v4 1/3] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties

2022-01-30 Thread Rajeev Nandan
. The clock and data lanes have a calibration circuitry feature. The drive strength tuning can be done by adjusting rescode offset for hstop/hsbot, and the drive level tuning can be done by adjusting the LDO output level for the HSTX drive. Signed-off-by: Rajeev Nandan --- Changes in v2: - More details

[v4 3/3] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2022-01-30 Thread Rajeev Nandan
. Signed-off-by: Rajeev Nandan --- Changes in v2: - Split into generic code and 10nm-specific part (Dmitry Baryshkov) - Fix the backward compatibility (Dmitry Baryshkov) Changes in v3: - Address comments for phy tuning data structure (Dmitry Baryshkov) - Make changes as per updated dt-bindings

[v3 2/3] drm/msm/dsi: Add dsi phy tuning configuration support

2022-01-18 Thread Rajeev Nandan
Add support for MSM DSI PHY tuning configuration. Current design is to support drive strength and drive level/amplitude tuning for 10nm PHY version, but this can be extended to other PHY versions. Signed-off-by: Rajeev Nandan --- Changes in v2: - New. - Split into generic code and 10nm

[v3 0/3] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2022-01-18 Thread Rajeev Nandan
(Dmitry Baryshkov) - s/ops.tuning_cfg_init/ops.parse_dt_properties (Dmitry Baryshkov) Rajeev Nandan (3): dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties drm/msm/dsi: Add dsi phy tuning configuration support drm/msm/dsi: Add 10nm dsi phy tuning configuration support .../bindings

[v3 1/3] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties

2022-01-18 Thread Rajeev Nandan
. The clock and data lanes have a calibration circuitry feature. The drive strength tuning can be done by adjusting rescode offset for hstop/hsbot, and the drive level tuning can be done by adjusting the LDO output level for the HSTX drive. Signed-off-by: Rajeev Nandan --- Changes in v2: - More details

[v3 3/3] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2022-01-18 Thread Rajeev Nandan
. Signed-off-by: Rajeev Nandan --- Changes in v2: - Split into generic code and 10nm-specific part (Dmitry Baryshkov) - Fix the backward compatibility (Dmitry Baryshkov) Changes in v3: - Address comments for phy tuning data structure (Dmitry Baryshkov) - Make changes as per updated dt-bindings

RE: [v2 2/3] drm/msm/dsi: Add dsi phy tuning configuration support

2022-01-14 Thread Rajeev Nandan
Hi Dmitry, > > On Wed, 12 Jan 2022 at 19:09, Rajeev Nandan > wrote: > > > > Hi Dmitry, > > > > > > > > > > + if (phy->cfg->ops.tuning_cfg_init) > > > > + phy->cfg->ops.tuning_cfg_init(phy); > >

RE: [v2 1/3] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties

2022-01-12 Thread Rajeev Nandan
Hi Dmitry, Rob, Thanks for the review. > > On Mon, Jan 10, 2022 at 05:06:03PM +0300, Dmitry Baryshkov wrote: > > On Mon, 10 Jan 2022 at 15:56, Rajeev Nandan > wrote: > > > > > > In most cases, the default values of DSI PHY tuning registers should > > >

RE: [v2 2/3] drm/msm/dsi: Add dsi phy tuning configuration support

2022-01-12 Thread Rajeev Nandan
Hi Dmitry, > > > > + if (phy->cfg->ops.tuning_cfg_init) > > + phy->cfg->ops.tuning_cfg_init(phy); > > Please rename to parse_dt_properties() or something like that. Sure. I didn't understand your comment in v1 to use config_dt() hook. I think, now I understood. This function

[v2 2/3] drm/msm/dsi: Add dsi phy tuning configuration support

2022-01-12 Thread Rajeev Nandan
Add support for MSM DSI PHY tuning configuration. Current design is to support drive strength and drive level/amplitude tuning for 10nm PHY version, but this can be extended to other PHY versions. Signed-off-by: Rajeev Nandan --- Changes in v2: - New. - Split into generic code and 10nm

[v2 1/3] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties

2022-01-12 Thread Rajeev Nandan
. The clock and data lanes have a calibration circuitry feature. The drive strength tuning can be done by adjusting rescode offset for hstop/hsbot, and the drive level tuning can be done by adjusting the LDO output level for the HSTX drive. Signed-off-by: Rajeev Nandan --- Changes in v2: - More details

[v2 0/3] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2022-01-12 Thread Rajeev Nandan
comments (Stephen Boyd, Dmitry Baryshkov) - Split into generic code and 10nm-specific part (Dmitry Baryshkov) - Fix the backward compatibility (Dmitry Baryshkov) Rajeev Nandan (3): dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties drm/msm/dsi: Add dsi phy tuning configuration support

[v2 3/3] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2022-01-12 Thread Rajeev Nandan
. Signed-off-by: Rajeev Nandan --- Changes in v2: - Split into generic code and 10nm-specific part (Dmitry Baryshkov) - Fix the backward compatibility (Dmitry Baryshkov) drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c | 51 ++ 1 file changed, 45 insertions(+), 6 deletions

[v1 0/2] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2021-12-30 Thread Rajeev Nandan
CTRL register. Add DSI PHY tuning support for 10nm PHY. This can be extended to other DSI PHY versions if needed. Number of registers to configure the PHY tuning per lane can be different for different versions of the DSI PHY. I tried to make it generic so that it can be extended to other versions. Ra

[v1 2/2] drm/msm/dsi: Add 10nm dsi phy tuning configuration support

2021-12-30 Thread Rajeev Nandan
ions if needed. Signed-off-by: Rajeev Nandan --- drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 55 ++ drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 23 + drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c | 31 + 3 files changed, 103 insertions(+), 6 delet

[v1 1/2] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties

2021-12-30 Thread Rajeev Nandan
Add 10nm dsi phy tuning properties for phy drive strength and phy drive level adjustemnt. Signed-off-by: Rajeev Nandan --- .../devicetree/bindings/display/msm/dsi-phy-10nm.yaml | 19 +++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm

[v8 1/6] drm/panel: add basic DP AUX backlight support

2021-06-26 Thread Rajeev Nandan
case when drm_panel_of_backlight() is used. Currently, we are not supporting one feature where the source device can combine the backlight brightness levels set through DP AUX and the BL_PWM_DIM eDP connector pin. Since it's not required for the basic backlight controls, it can be added later. Signed-off-

[v8 0/6] drm: Support basic DPCD backlight in panel-simple and add a new panel ATNA33XC20

2021-06-26 Thread Rajeev Nandan
rg/dri-devel/1619416756-3533-1-git-send-email-rajee...@codeaurora.org/ Rajeev Nandan (6): drm/panel: add basic DP AUX backlight support drm/panel-simple: Support DP AUX backlight drm/panel-simple: Support for delays between GPIO & regulator drm/panel-simple: Update validation warnings for

[v8 2/6] drm/panel-simple: Support DP AUX backlight

2021-06-26 Thread Rajeev Nandan
If there is no backlight specified in the device tree and the panel has access to the DP AUX channel then create a DP AUX backlight if supported by the panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (no changes since v5) This patch depends on the previous patch (2/5

[v8 4/6] drm/panel-simple: Update validation warnings for eDP panel description

2021-06-26 Thread Rajeev Nandan
Do not give a warning for the eDP panels if the "bus_format" is not specified, since most eDP panels can support more than one bus formats and this can be auto-detected. Also, update the check to include bpc=10 for the eDP panel. Signed-off-by: Rajeev Nandan --- Changes in v8: -

[v8 6/6] drm/panel-simple: Add Samsung ATNA33XC20

2021-06-26 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (No changes since v7) Changes in v4: - New Changes in v5: - Remove "uses_dpcd_backlight" property, not required now. (Douglas) Changes in v7: - Update disab

[v8 5/6] dt-bindings: display: simple: Add Samsung ATNA33XC20

2021-06-26 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson Acked-by: Rob Herring --- (no changes since v4) Changes in v4: - New Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff

[v8 3/6] drm/panel-simple: Support for delays between GPIO & regulator

2021-06-26 Thread Rajeev Nandan
Some panels datasheets may specify a delay between the enable GPIO and the regulator. Support this in panel-simple. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (no changes since v6) Changes in v4: - New Changes in v5: - Update description (Douglas) - Warn

[v2 2/3] drm/msm/dsi: Add PHY configuration for SC7280

2021-06-22 Thread Rajeev Nandan
The SC7280 SoC uses the 7nm (V4.1) DSI PHY driver with different enable|disable regulator loads. Signed-off-by: Rajeev Nandan Reviewed-by: Dmitry Baryshkov --- Changes in v2: - Fixed clang warning for max_pll_rate as per [1] (Dmitry Baryshkov) - Fixed num_dsi_phy and io_start (Dmitry Baryshkov

[v2 3/3] drm/msm/dsi: Add DSI support for SC7280

2021-06-22 Thread Rajeev Nandan
Add support for v2.5.0 DSI block in the SC7280 SoC. Signed-off-by: Rajeev Nandan Reviewed-by: Dmitry Baryshkov --- (no changes since v1) drivers/gpu/drm/msm/dsi/dsi_cfg.c | 20 drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + 2 files changed, 21 insertions(+) diff --git

[v2 1/3] dt-bindings: msm/dsi: Add sc7280 7nm dsi phy

2021-06-22 Thread Rajeev Nandan
The SC7280 SoC uses the 7nm (V4.1) DSI PHY driver. Signed-off-by: Rajeev Nandan --- Changes in v2: - New This patch depends on [1] (dt-bindings: msm: dsi: add missing 7nm bindings) [1] https://lore.kernel.org/linux-arm-msm/20210617144349.28448-2-jonat...@marek.ca/ Documentation/devicetree

[v2 0/3] drm/msm/dsi: Add display DSI support for SC7280 target

2021-06-22 Thread Rajeev Nandan
.org/linux-arm-msm/20210617144349.28448-2-jonat...@marek.ca/ [2] https://lore.kernel.org/linux-arm-msm/20210514213032.575161-1-a...@kernel.org/ Rajeev Nandan (3): dt-bindings: msm/dsi: Add sc7280 7nm dsi phy drm/msm/dsi: Add PHY configuration for SC7280 drm/msm/dsi: Add DSI supp

[v7 5/5] drm/panel-simple: Add Samsung ATNA33XC20

2021-06-19 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- Changes in v4: - New Changes in v5: - Remove "uses_dpcd_backlight" property, not required now. (Douglas) Changes in v7: - Update disable_to_power_off and power_to_enable d

[v7 2/5] drm/panel-simple: Support DP AUX backlight

2021-06-19 Thread Rajeev Nandan
If there is no backlight specified in the device tree and the panel has access to the DP AUX channel then create a DP AUX backlight if supported by the panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (no changes since v5) This patch depends on the previous patch (2/5

[v7 4/5] dt-bindings: display: simple: Add Samsung ATNA33XC20

2021-06-19 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson Acked-by: Rob Herring --- (no changes since v4) Changes in v4: - New Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff

[v7 0/5] drm: Support basic DPCD backlight in panel-simple and add a new panel ATNA33XC20

2021-06-19 Thread Rajeev Nandan
um.org/ [2] https://lore.kernel.org/dri-devel/20210514181504.565252-1-ly...@redhat.com/ [3] https://lore.kernel.org/dri-devel/1619416756-3533-1-git-send-email-rajee...@codeaurora.org/ Rajeev Nandan (5): drm/panel: add basic DP AUX backlight support drm/panel-simple: Support DP AUX backlight

[v7 1/5] drm/panel: add basic DP AUX backlight support

2021-06-19 Thread Rajeev Nandan
case when drm_panel_of_backlight() is used. Currently, we are not supporting one feature where the source device can combine the backlight brightness levels set through DP AUX and the BL_PWM_DIM eDP connector pin. Since it's not required for the basic backlight controls, it can be added later. Signed-off-

[v7 3/5] drm/panel-simple: Support for delays between GPIO & regulator

2021-06-19 Thread Rajeev Nandan
Some panels datasheets may specify a delay between the enable GPIO and the regulator. Support this in panel-simple. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (no changes since v6) Changes in v4: - New Changes in v5: - Update description (Douglas) - Warn

[v6 2/5] drm/panel-simple: Support DP AUX backlight

2021-06-12 Thread Rajeev Nandan
If there is no backlight specified in the device tree and the panel has access to the DP AUX channel then create a DP AUX backlight if supported by the panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (no changes since v5) This patch depends on the previous patch (2/5

[v6 5/5] drm/panel-simple: Add Samsung ATNA33XC20

2021-06-12 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (no changes since v5) Changes in v4: - New Changes in v5: - Remove "uses_dpcd_backlight" property, not required now. (Douglas) drivers/gpu/drm/panel/pane

[v6 1/5] drm/panel: add basic DP AUX backlight support

2021-06-12 Thread Rajeev Nandan
case when drm_panel_of_backlight() is used. Currently, we are not supporting one feature where the source device can combine the backlight brightness levels set through DP AUX and the BL_PWM_DIM eDP connector pin. Since it's not required for the basic backlight controls, it can be added later. Signed-off-

[v6 4/5] dt-bindings: display: simple: Add Samsung ATNA33XC20

2021-06-12 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson Acked-by: Rob Herring --- (no changes since v4) Changes in v4: - New Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff

[v6 3/5] drm/panel-simple: Support for delays between GPIO & regulator

2021-06-12 Thread Rajeev Nandan
Some panels datasheets may specify a delay between the enable GPIO and the regulator. Support this in panel-simple. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- Changes in v4: - New Changes in v5: - Update description (Douglas) - Warn if "power_to_e

[v6 0/5] drm: Support basic DPCD backlight in panel-simple and add a new panel ATNA33XC20

2021-06-12 Thread Rajeev Nandan
-send-email-rajee...@codeaurora.org/ Rajeev Nandan (5): drm/panel: add basic DP AUX backlight support drm/panel-simple: Support DP AUX backlight drm/panel-simple: Support for delays between GPIO & regulator dt-bindings: display: simple: Add Samsung ATNA33XC20 drm/panel-simple: Add Sam

[v1 0/3] drm/msm/dsi: Add display DSI support for SC7280 target

2021-05-31 Thread Rajeev Nandan
Changes in this series add support for MSM display DSI CTRL & PHY drivers for the SC7280 SoC, which has DSI controller v2.5.0 and DSI PHY v4.1. This series also updates the missing bindings (yaml) for the 7nm DSI PHY driver on "msm-next" branch. Rajeev Nandan (3): dt-bindings

[v1 1/3] dt-bindings: msm/dsi: Add yaml schema for 7nm DSI PHY

2021-05-31 Thread Rajeev Nandan
Add YAML schema for the device tree bindings for MSM 7nm DSI PHY driver. Cc: Jonathan Marek Signed-off-by: Rajeev Nandan --- .../bindings/display/msm/dsi-phy-7nm.yaml | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings

[v1 3/3] drm/msm/dsi: Add DSI support for SC7280

2021-05-31 Thread Rajeev Nandan
Add support for v2.5.0 DSI block in the SC7280 SoC. Signed-off-by: Rajeev Nandan --- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 20 drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + 2 files changed, 21 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.c b/drivers/gpu/drm/msm

[v1 2/3] drm/msm/dsi: Add PHY configuration for SC7280

2021-05-31 Thread Rajeev Nandan
The SC7280 SoC uses the 7nm (V4.1) DSI PHY driver with different enable|disable regulator loads. Signed-off-by: Rajeev Nandan --- drivers/gpu/drm/msm/Kconfig | 6 +++--- drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2 ++ drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 1 + drivers

[v5 4/5] dt-bindings: display: simple: Add Samsung ATNA33XC20

2021-05-30 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- (no changes since v4) Changes in v4: - New Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devic

[v5 5/5] drm/panel-simple: Add Samsung ATNA33XC20

2021-05-30 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan Reviewed-by: Douglas Anderson --- Changes in v4: - New Changes in v5: - Remove "uses_dpcd_backlight" property, not required now. (Douglas) drivers/gpu/drm/panel/panel-simple.c | 33 ++

[v5 0/5] drm: Support basic DPCD backlight in panel-simple and add a new panel ATNA33XC20

2021-05-30 Thread Rajeev Nandan
/20210525000159.3384921-1-diand...@chromium.org/ [2] https://lore.kernel.org/dri-devel/20210514181504.565252-1-ly...@redhat.com/ [3] https://lore.kernel.org/dri-devel/1619416756-3533-1-git-send-email-rajee...@codeaurora.org/ Rajeev Nandan (5): drm/panel: add basic DP AUX backlight support drm/panel-simple

[v5 1/5] drm/panel: add basic DP AUX backlight support

2021-05-30 Thread Rajeev Nandan
case when drm_panel_of_backlight() is used. Currently, we are not supporting one feature where the source device can combine the backlight brightness levels set through DP AUX and the BL_PWM_DIM eDP connector pin. Since it's not required for the basic backlight controls, it can be added later. Signed-off-

[v5 3/5] drm/panel-simple: Support for delays between GPIO & regulator

2021-05-30 Thread Rajeev Nandan
Some panels datasheets may specify a delay between the enable GPIO and the regulator. Support this in panel-simple. Signed-off-by: Rajeev Nandan --- Changes in v4: - New Changes in v5: - Update description (Douglas) - Warn if "power_to_enable" or "disable_to_power_off" is

[v5 2/5] drm/panel-simple: Support DP AUX backlight

2021-05-30 Thread Rajeev Nandan
If there is no backlight specified in the device tree and the panel has access to the DP AUX channel then create a DP AUX backlight if supported by the panel. Signed-off-by: Rajeev Nandan --- This patch depends on [1] (drm/panel: panel-simple: Stash DP AUX bus; allow using it for DDC

[v4 2/4] drm/panel-simple: Support for delays between GPIO & regulator

2021-05-25 Thread Rajeev Nandan
Some panels datasheets may specify a delay between the enable GPIO and the regulator. Support this in panel-simple. Signed-off-by: Rajeev Nandan --- Changes in v4: - New drivers/gpu/drm/panel/panel-simple.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers

[v4 4/4] drm/panel-simple: Add Samsung ATNA33XC20

2021-05-25 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan --- Changes in v4: - New drivers/gpu/drm/panel/panel-simple.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/

[v4 1/4] drm/panel-simple: Add basic DPCD backlight support

2021-05-25 Thread Rajeev Nandan
Add basic support of panel backlight control over eDP aux channel using VESA's standard backlight control interface. Signed-off-by: Rajeev Nandan --- This patch depends on [1] (drm/panel: panel-simple: Stash DP AUX bus; allow using it for DDC) Changes in v4: - New [1] https

[v4 3/4] dt-bindings: display: simple: Add Samsung ATNA33XC20

2021-05-25 Thread Rajeev Nandan
Add Samsung 13.3" FHD eDP AMOLED panel. Signed-off-by: Rajeev Nandan --- Changes in v4: - New Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.ya

[v4 0/4] drm: Support basic DPCD backlight in panel-simple and add a new panel ATNA33XC20

2021-05-25 Thread Rajeev Nandan
] https://lore.kernel.org/dri-devel/20210525000159.3384921-1-diand...@chromium.org/ [2] https://lore.kernel.org/dri-devel/20210514181504.565252-1-ly...@redhat.com/ [3] https://lore.kernel.org/dri-devel/1619416756-3533-1-git-send-email-rajee...@codeaurora.org/ Rajeev Nandan (4): drm/panel-simple: Add

[v3 1/2] dt-bindings: backlight: add DisplayPort aux backlight

2021-04-26 Thread Rajeev Nandan
Add bindings for DisplayPort aux backlight driver. Changes in v2: - New Signed-off-by: Rajeev Nandan --- .../bindings/leds/backlight/dp-aux-backlight.yaml | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/dp-aux

[v3 2/2] backlight: Add DisplayPort aux backlight driver

2021-04-26 Thread Rajeev Nandan
-by: Rajeev Nandan --- drivers/video/backlight/Kconfig| 7 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/dp_aux_backlight.c | 245 + 3 files changed, 253 insertions(+) create mode 100644 drivers/video/backlight/dp_aux_backlight.c

[v3 0/2] drm: Add support for backlight control of eDP panel on ti-sn65dsi86 bridge

2021-04-26 Thread Rajeev Nandan
missing ';' to fix module compilation (kernel test bot) [1] https://lore.kernel.org/dri-devel/20210416223950.3586967-1-diand...@chromium.org/ Rajeev Nandan (2): dt-bindings: backlight: add DisplayPort aux backlight backlight: Add DisplayPort aux backlight driver .../bindings/leds/backlight

[v2 2/2] backlight: Add DisplayPort aux backlight driver

2021-04-23 Thread Rajeev Nandan
Add backlight driver for the panels supporting backlight control using DPCD registers on the DisplayPort aux channel. Changes in v2: - New (most of the code reused from drm_dp_aux_backlight.c of v1) Signed-off-by: Rajeev Nandan --- drivers/video/backlight/Kconfig| 7 + drivers

[v2 1/2] dt-bindings: backlight: add DisplayPort aux backlight

2021-04-23 Thread Rajeev Nandan
Add bindings for DisplayPort aux backlight driver. Changes in v2: - New Signed-off-by: Rajeev Nandan --- .../bindings/leds/backlight/dp-aux-backlight.yaml | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/dp-aux

[v2 0/2] drm: Add support for backlight control of eDP panel on ti-sn65dsi86 bridge

2021-04-23 Thread Rajeev Nandan
://lore.kernel.org/dri-devel/20210416223950.3586967-1-diand...@chromium.org/ Rajeev Nandan (2): dt-bindings: backlight: add DisplayPort aux backlight backlight: Add DisplayPort aux backlight driver .../bindings/leds/backlight/dp-aux-backlight.yaml | 49 + drivers/video/backlight/Kconfig

[v1 2/3] dt-bindings: drm/bridge: ti-sn65dsi86: Document use-aux-backlight

2021-04-14 Thread Rajeev Nandan
If the panel connected to the bridge supports backlight control using DPCD registers on the DisplayPort aux channel, setting "use-aux-backlight" property in the bridge node will enable the registration of a DP aux backlight device from the bridge driver. Signed-off-by: Raj

[v1 0/3] drm: Add support for backlight control of eDP panel on ti-sn65dsi86 bridge

2021-04-14 Thread Rajeev Nandan
. Rajeev Nandan (3): drm/dp: Add DisplayPort aux backlight control support dt-bindings: drm/bridge: ti-sn65dsi86: Document use-aux-backlight drm/bridge: ti-sn65dsi86: Add DisplayPort aux backlight support .../bindings/display/bridge/ti,sn65dsi86.yaml | 8 + drivers/gpu/drm/Kconfig

[v1 3/3] drm/bridge: ti-sn65dsi86: Add DisplayPort aux backlight support

2021-04-14 Thread Rajeev Nandan
Add support to control the backlight of the eDP panel connected to the ti-sn65dsi86 bridge through aux channel. Signed-off-by: Rajeev Nandan --- drivers/gpu/drm/bridge/Kconfig| 1 + drivers/gpu/drm/bridge/ti-sn65dsi86.c | 26 ++ 2 files changed, 27 insertions

[v1 1/3] drm/dp: Add DisplayPort aux backlight control support

2021-04-14 Thread Rajeev Nandan
Add panel backlight control using DPCD registers on the DisplayPort aux channel. Signed-off-by: Rajeev Nandan --- drivers/gpu/drm/Kconfig| 8 ++ drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_dp_aux_backlight.c | 191