[Intel-gfx] [PATCH 6/8] pwm: crc: Add Crystalcove (CRC) PWM driver

2015-05-05 Thread Shobhit Kumar
jones) CC: Samuel Ortiz Cc: Linus Walleij Cc: Alexandre Courbot Cc: Thierry Reding Signed-off-by: Shobhit Kumar --- drivers/pwm/Kconfig | 7 +++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-crc.c | 171 ++ 3 files changed, 179 insertions

[Intel-gfx] [PATCH 5/8] mfd: intel_soc_pmic_core: ADD PWM lookup table for CRC PMIC based PWM

2015-05-05 Thread Shobhit Kumar
: Thierry Reding Acked-by: Lee Jones Signed-off-by: Shobhit Kumar --- drivers/mfd/intel_soc_pmic_core.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/mfd/intel_soc_pmic_core.c b/drivers/mfd/intel_soc_pmic_core.c index f3d918e..a00ddd9 100644 --- a/drivers/mfd

Re: [Intel-gfx] [PATCH 5/8] drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM

2015-05-05 Thread Shobhit Kumar
On 04/29/2015 07:54 PM, Lee Jones wrote: > On Wed, 29 Apr 2015, Shobhit Kumar wrote: > >> On some BYT PLatform the PWM is controlled using CRC PMIC. Add a lookup >> entry for the same to be used by the consumer (Intel GFX) >> >> v2: Remove the lookup table on dr

Re: [Intel-gfx] [PATCH 6/8] pwm: crc: Add Crystalcove (CRC) PWM driver

2015-05-07 Thread Shobhit Kumar
On Wed, May 6, 2015 at 1:10 PM, Paul Bolle wrote: > On Tue, 2015-05-05 at 15:08 +0530, Shobhit Kumar wrote: >> The Crystalcove PMIC controls PWM signals and this driver exports that >> capability as a PWM chip driver. This is platform device implementtaion >> of the driver

Re: [Intel-gfx] [PATCH 6/8] pwm: crc: Add Crystalcove (CRC) PWM driver

2015-05-07 Thread Shobhit Kumar
On Wed, May 6, 2015 at 5:44 PM, Thierry Reding wrote: > On Tue, May 05, 2015 at 03:08:36PM +0530, Shobhit Kumar wrote: >> The Crystalcove PMIC controls PWM signals and this driver exports that > > You say signal_s_ here, but you only expose a single PWM device. Does > the PMIC r

Re: [Intel-gfx] [PATCH 6/8] pwm: crc: Add Crystalcove (CRC) PWM driver

2015-05-20 Thread Shobhit Kumar
On Thu, May 7, 2015 at 12:49 PM, Shobhit Kumar wrote: > On Wed, May 6, 2015 at 5:44 PM, Thierry Reding > wrote: >> On Tue, May 05, 2015 at 03:08:36PM +0530, Shobhit Kumar wrote: >>> The Crystalcove PMIC controls PWM signals and this driver exports that >> >> You

[Intel-gfx] [RFC 0/4] PMIC based Panel and Backlight Control

2014-12-26 Thread Shobhit Kumar
- https://bugs.freedesktop.org/show_bug.cgi?id=85977 Requesting your comments to converge on best way of implementing this. Regards Shobhit Shobhit Kumar (4): drm/i915: Define a common data structure for Panel Info drm/i915: Add a drm_panel over INTEL_SOC_PMIC drm/i915/Kconfig: By default

[Intel-gfx] [RFC 2/4] drm/i915: Add a drm_panel over INTEL_SOC_PMIC

2014-12-26 Thread Shobhit Kumar
This driver just add PANEL_ENABLE/DISABLE control using drm_panel framework. Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/intel_drv.h| 3 + drivers/gpu/drm/i915/intel_panel_pmic.c | 157 3 files

[Intel-gfx] [RFC 1/4] drm/i915: Define a common data structure for Panel Info

2014-12-26 Thread Shobhit Kumar
As of now this includes only PPS and BLC delays. New things can be added as and when needed Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/intel_drv.h | 11 +++ drivers/gpu/drm/i915/intel_dsi.h | 7 +-- drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 10

[Intel-gfx] [RFC 3/4] drm/i915/Kconfig: By default select DRM_PANEL

2014-12-26 Thread Shobhit Kumar
This will be needed for enabling drm_panel driver over pmic Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig index 4e39ab3..3210dbb 100644 --- a/drivers/gpu/drm/i915

[Intel-gfx] [RFC 4/4] drm/i915: Enable PMIC panel control as drm_panel for DSI

2014-12-26 Thread Shobhit Kumar
This initialize the drm_panel based on PMIC driver and uses drm_panel_* for controlling the panel enable/disable states Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi.c | 20 drivers/gpu/drm/i915/intel_dsi.h | 6 ++ drivers/gpu/drm

[Intel-gfx] [RFC v2 4/4] drm/i915: Enable DSI panel enable/disable based on PMIC

2015-01-02 Thread Shobhit Kumar
This allows for proper PPS during enable/disable of BYT-T platforms where these signals are routed through PMIC. Needs DRM_PANEL to be selected by default as well Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/Kconfig | 1 + drivers/gpu/drm/i915/intel_dsi.c | 16

[Intel-gfx] [RFC v2 3/4] drm/panel: Add new panel driver based on crystal cove pmic

2015-01-02 Thread Shobhit Kumar
This driver provides support for the "crystal_cove_panel" cell device. On BYT-T pmic has to be used to enable/disable panel. Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/panel/Kconfig | 7 ++ drivers/gpu/drm/panel/Makefile| 1 + drivers/gpu/drm/p

[Intel-gfx] [RFC v2 1/4] drm: Add support to find drm_panel by name

2015-01-02 Thread Shobhit Kumar
For scenarios where OF is not available, we can use panel identification by name. Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/drm_panel.c | 18 ++ include/drm/drm_panel.h | 3 +++ 2 files changed, 21 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu

[Intel-gfx] [RFC v2 0/4] Crystal Cove PMIC based Panel and Backlight Control

2015-01-02 Thread Shobhit Kumar
Shobhit Kumar (4): drm: Add support to find drm_panel by name mfd: Add a new cell device for panel controlled by crystal cove pmic drm/panel: Add new panel driver based on crystal cove pmic drm/i915: Enable DSI panel enable/disable based on PMIC drivers/gpu/drm/drm_panel.c

[Intel-gfx] [RFC v2 2/4] mfd: Add a new cell device for panel controlled by crystal cove pmic

2015-01-02 Thread Shobhit Kumar
On BYT-T configuration, panel enable/disable signals are routed through PMIC. Add a cell device for the same. Signed-off-by: Shobhit Kumar --- drivers/mfd/intel_soc_pmic_crc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/intel_soc_pmic_crc.c b/drivers/mfd

[Intel-gfx] [RFC v3 2/4] mfd: Add a new cell device for panel controlled by crystal cove pmic

2015-01-21 Thread Shobhit Kumar
On BYT-T configuration, panel enable/disable signals are routed through PMIC. Add a cell device for the same. Signed-off-by: Shobhit Kumar --- drivers/mfd/intel_soc_pmic_crc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/intel_soc_pmic_crc.c b/drivers/mfd

[Intel-gfx] [RFC v3 0/4] Crystal Cove PMIC based Panel and Backlight Control

2015-01-21 Thread Shobhit Kumar
control is pending. For now I am doing Backlight Enable/Disable also during panel/enable as this will at least save power. Regards Shobhit Shobhit Kumar (4): drm: Add support to find drm_panel by name mfd: Add a new cell device for panel controlled by crystal cove pmic drm/i915: Add new panel

[Intel-gfx] [RFC v3 1/4] drm: Add support to find drm_panel by name

2015-01-21 Thread Shobhit Kumar
For scenarios where OF is not available, we can use panel identification by name. Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/drm_panel.c | 18 ++ include/drm/drm_panel.h | 3 +++ 2 files changed, 21 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu

[Intel-gfx] [RFC v3 3/4] drm/i915: Add new panel driver based on crystal cove pmic

2015-01-21 Thread Shobhit Kumar
e not needed as of now - Correct backlight off delay Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/Kconfig | 12 ++ drivers/gpu/drm/i915/Makefile | 3 + drivers/gpu/drm/i915/intel-panel-crystalcove.c | 159 + 3 fil

[Intel-gfx] [RFC v3 4/4] drm/i915: Enable DSI panel enable/disable based on PMIC

2015-01-21 Thread Shobhit Kumar
This allows for proper PPS during enable/disable of BYT-T platforms where these signals are routed through PMIC. Needs DRM_PANEL to be selected by default as well v2: Adapt to panel find function name change in drm_panel Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/Kconfig

Re: [Intel-gfx] [RFC PATCH 01/12] drm/i915/dsi: call dpi_send_cmd() for each dsi port at a higher level

2015-01-22 Thread Shobhit Kumar
10:58:51 2014 +0530 drm/i915: Dual link needs Shutdown and Turn on packet for both ports to add more flexibility in using dpi_send_cmd() for just one port as necessary. No functional changes. Signed-off-by: Jani Nikula Better this way. Reviewed-By: Shobhit Kumar --- drivers/gpu/drm

Re: [Intel-gfx] [RFC PATCH 03/12] drm/i915/dsi: move wait_for_dsi_fifo_empty to intel_dsi.c

2015-01-22 Thread Shobhit Kumar
On 01/16/2015 05:57 PM, Jani Nikula wrote: wait_for_dsi_fifo_empty can be static in intel_dsi.c. No functional changes. Signed-off-by: Jani Nikula Reviewed-By: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi.c | 16 drivers/gpu/drm/i915/intel_dsi_cmd.c | 16

Re: [Intel-gfx] [RFC PATCH 02/12] drm/i915/dsi: set max return packet size for each dsi port

2015-01-22 Thread Shobhit Kumar
On 01/16/2015 05:57 PM, Jani Nikula wrote: This seems like the right thing to do. This also gets rid of a call to intel_dsi_pipe_to_port() which we want to remove eventually. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_dsi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deleti

Re: [Intel-gfx] [RFC PATCH 04/12] drm/i915/dsi: call wait_for_dsi_fifo_empty() for each dsi port

2015-01-22 Thread Shobhit Kumar
On 01/16/2015 05:57 PM, Jani Nikula wrote: Add port parameter to wait_for_dsi_fifo_empty, and call it for each dsi port. We can now remove the transitional intel_dsi_pipe_to_port() function. Signed-off-by: Jani Nikula Reviewed-By: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi.c

Re: [Intel-gfx] [RFC PATCH 05/12] drm/i915/dsi: remove unnecessary dsi device callbacks

2015-01-22 Thread Shobhit Kumar
the needed target resolution. In case target resolution is same as native, nothing gets changed, else mode_fixup function adjusts the mode accordingly keeping timing as same and enabling scalar. Might not be useful in general, but did find a use internally. Either way Reviewed-By: Shobhit

Re: [Intel-gfx] [RFC PATCH 06/12] drm/i915/dsi: add some constness to vbt panel driver

2015-01-22 Thread Shobhit Kumar
On 01/16/2015 05:57 PM, Jani Nikula wrote: Const is good for you. No functional changes. Signed-off-by: Jani Nikula Reviewed-By: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers

Re: [Intel-gfx] [RFC PATCH 00/12] drm/i915: port dsi over to drm panel/dsi frameworks

2015-01-22 Thread Shobhit Kumar
On 01/16/2015 05:57 PM, Jani Nikula wrote: This series ports our DSI code over to the drm_panel and mipi_dsi_host/mipi_dsi_device. There are some rough edges towards the end of the series, see commit message for patch 8 for details. Patches 1-6 are prep work, fairly independent While I continu

Re: [Intel-gfx] [PATCH v2] drm/i915/dsi: set max return packet size for each dsi port

2015-01-22 Thread Shobhit Kumar
(intel_dsi, TURN_ON, DPI_LP_MODE_EN, port); Reviewed-By: Shobhit Kumar ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [RFC PATCH 00/12] drm/i915: port dsi over to drm panel/dsi frameworks

2015-01-22 Thread Shobhit Kumar
On 01/22/2015 06:58 PM, Jani Nikula wrote: On Thu, 22 Jan 2015, Shobhit Kumar wrote: On 01/16/2015 05:57 PM, Jani Nikula wrote: This series ports our DSI code over to the drm_panel and mipi_dsi_host/mipi_dsi_device. There are some rough edges towards the end of the series, see commit message

Re: [Intel-gfx] [RFC PATCH 05/12] drm/i915/dsi: remove unnecessary dsi device callbacks

2015-01-23 Thread Shobhit Kumar
On 01/22/2015 06:53 PM, Jani Nikula wrote: On Thu, 22 Jan 2015, Shobhit Kumar wrote: On 01/16/2015 05:57 PM, Jani Nikula wrote: Remove all the trivial and/or dummy callbacks from intel dsi device ops. Merge send_otp_cmds into panel_reset as they're called back to back. This will be he

Re: [Intel-gfx] [RFC PATCH 07/12] drm/i915/dsi: switch to drm_panel interface

2015-01-23 Thread Shobhit Kumar
On 01/16/2015 05:57 PM, Jani Nikula wrote: Replace intel_dsi_device and intel_dsi_dev_ops with drm_panel and drm_panel_funcs. They are adequate for what we have now, and if we end up needing more than this we should improve drm_panel. This will keep us better aligned with the drm core infrastruct

Re: [Intel-gfx] [RFC PATCH 08/12] drm/i915/dsi: add drm mipi dsi host support

2015-01-23 Thread Shobhit Kumar
eviewed-By: Shobhit Kumar --- drivers/gpu/drm/i915/Kconfig | 1 + drivers/gpu/drm/i915/intel_dsi.c | 162 - drivers/gpu/drm/i915/intel_dsi.h | 18 drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 3 - 4 files changed, 180

Re: [Intel-gfx] [RFC PATCH 09/12] drm/i915/dsi: make the vbt panel driver use mipi_dsi_device for transfers

2015-01-23 Thread Shobhit Kumar
OTP or enabling, so this patch won't get exercised. With that said- Reviewed-By: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 52 +++--- 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dsi_panel_vbt

Re: [Intel-gfx] [RFC PATCH 10/12] drm/i915/dsi: remove old read/write functions in favor of new stuff

2015-01-23 Thread Shobhit Kumar
On 01/16/2015 05:57 PM, Jani Nikula wrote: All of these are replaced by the drm core mipi dsi functions. Signed-off-by: Jani Nikula Reviewed-By: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi_cmd.c | 259 --- drivers/gpu/drm/i915/intel_dsi_cmd.h | 72

Re: [Intel-gfx] [RFC PATCH 11/12] drm/i915/dsi: move dpi_send_cmd() to intel_dsi.c and make it static

2015-01-23 Thread Shobhit Kumar
On 01/16/2015 05:57 PM, Jani Nikula wrote: No functional changes. Signed-off-by: Jani Nikula Reviewed-By: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi.c | 39 ++-- drivers/gpu/drm/i915/intel_dsi_cmd.c | 34

Re: [Intel-gfx] [RFC PATCH 12/12] drm/i915/dsi: remove intel_dsi_cmd.c and the unused functions therein

2015-01-23 Thread Shobhit Kumar
On 01/16/2015 05:57 PM, Jani Nikula wrote: The removed functions can be resurrected in intel_dsi.c as need arises. Signed-off-by: Jani Nikula Reviewed-By: Shobhit Kumar --- drivers/gpu/drm/i915/Makefile | 1 - drivers/gpu/drm/i915/intel_dsi.c | 1 - drivers

Re: [Intel-gfx] [RFC PATCH 00/12] drm/i915: port dsi over to drm panel/dsi frameworks

2015-01-23 Thread Shobhit Kumar
On 01/23/2015 07:43 AM, Shobhit Kumar wrote: On 01/22/2015 06:58 PM, Jani Nikula wrote: On Thu, 22 Jan 2015, Shobhit Kumar wrote: On 01/16/2015 05:57 PM, Jani Nikula wrote: This series ports our DSI code over to the drm_panel and mipi_dsi_host/mipi_dsi_device. There are some rough edges

Re: [Intel-gfx] [RFC PATCH 05/12] drm/i915/dsi: remove unnecessary dsi device callbacks

2015-01-27 Thread Shobhit Kumar
On 01/23/2015 08:52 PM, Daniel Vetter wrote: On Fri, Jan 23, 2015 at 03:14:41PM +0530, Shobhit Kumar wrote: On 01/22/2015 06:53 PM, Jani Nikula wrote: On Thu, 22 Jan 2015, Shobhit Kumar wrote: There had been a instance where we had to drive different resolution (lower) than the native one

Re: [Intel-gfx] [RFC PATCH 07/12] drm/i915/dsi: switch to drm_panel interface

2015-01-27 Thread Shobhit Kumar
On 01/23/2015 09:01 PM, Daniel Vetter wrote: On Fri, Jan 23, 2015 at 04:27:46PM +0530, Shobhit Kumar wrote: On 01/16/2015 05:57 PM, Jani Nikula wrote: @@ -881,13 +889,23 @@ void intel_dsi_init(struct drm_device *dev) drm_connector_register(connector); - fixed_mode = dsi

[Intel-gfx] [RFC v3 2/4] mfd: Add a new cell device for panel controlled by crystal cove pmic

2015-01-27 Thread Shobhit Kumar
On BYT-T configuration, panel enable/disable signals are routed through PMIC. Add a cell device for the same. Signed-off-by: Shobhit Kumar --- drivers/mfd/intel_soc_pmic_crc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/intel_soc_pmic_crc.c b/drivers/mfd

[Intel-gfx] [RFC v3 1/4] drm: Add support to find drm_panel by name

2015-01-27 Thread Shobhit Kumar
For scenarios where OF is not available, we can use panel identification by name. Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/drm_panel.c | 18 ++ include/drm/drm_panel.h | 3 +++ 2 files changed, 21 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu

[Intel-gfx] [RFC v3 3/4] drm/i915: Add new panel driver based on crystal cove pmic

2015-01-27 Thread Shobhit Kumar
e not needed as of now - Correct backlight off delay Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/Kconfig | 12 ++ drivers/gpu/drm/i915/Makefile | 3 + drivers/gpu/drm/i915/intel-panel-crystalcove.c | 159 + 3 fil

[Intel-gfx] [RFC v3 0/4] Crystal Cove PMIC based Panel and Backlight Control

2015-01-27 Thread Shobhit Kumar
control is pending. For now I am doing Backlight Enable/Disable also during panel/enable as this will at least save power. Regards Shobhit Shobhit Kumar (4): drm: Add support to find drm_panel by name mfd: Add a new cell device for panel controlled by crystal cove pmic drm/i915: Add new panel

[Intel-gfx] [RFC v3 4/4] drm/i915: Enable DSI panel enable/disable based on PMIC

2015-01-27 Thread Shobhit Kumar
This allows for proper PPS during enable/disable of BYT-T platforms where these signals are routed through PMIC. Needs DRM_PANEL to be selected by default as well v2: Adapt to panel find function name change in drm_panel Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/Kconfig

Re: [Intel-gfx] [RFC PATCH 05/12] drm/i915/dsi: remove unnecessary dsi device callbacks

2015-01-27 Thread Shobhit Kumar
On 01/27/2015 06:43 PM, Chris Wilson wrote: On Tue, Jan 27, 2015 at 02:09:21PM +0100, Daniel Vetter wrote: On Tue, Jan 27, 2015 at 02:11:18PM +0530, Shobhit Kumar wrote: On 01/23/2015 08:52 PM, Daniel Vetter wrote: On Fri, Jan 23, 2015 at 03:14:41PM +0530, Shobhit Kumar wrote: On 01/22/2015

Re: [Intel-gfx] [PATCH v2] drm/i915/dsi: switch to drm_panel interface

2015-01-28 Thread Shobhit Kumar
-By: Shobhit Kumar --- drivers/gpu/drm/i915/Kconfig | 1 + drivers/gpu/drm/i915/intel_dsi.c | 68 +++ drivers/gpu/drm/i915/intel_dsi.h | 27 + drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 180 ++--- 4 files changed,

Re: [Intel-gfx] [RFC v3 1/4] drm: Add support to find drm_panel by name

2015-02-02 Thread Shobhit Kumar
On 01/27/2015 03:01 PM, Shobhit Kumar wrote: > For scenarios where OF is not available, we can use panel identification by > name. Any body had a look at this ? Regards Shobhit > > Signed-off-by: Shobhit Kumar > --- > drivers/gpu/drm/drm_panel.c | 18 +++

[Intel-gfx] [PATCH] drm/i915: Correct the variable holding the value for EOT to write

2015-02-02 Thread Shobhit Kumar
This isuue got introduced in - commit 24ee0e64909bf7f1953d87d3e1e29d93eafcad73 Author: Gaurav K Singh Date: Fri Dec 5 14:24:21 2014 +0530 drm/i915: Update the DSI enable path to support dual Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi.c | 2 +- 1 file changed, 1

Re: [Intel-gfx] [RFC v3 2/4] mfd: Add a new cell device for panel controlled by crystal cove pmic

2015-02-03 Thread Shobhit Kumar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/03/2015 06:35 PM, Thierry Reding wrote: > On Wed, Jan 21, 2015 at 04:48:11PM +0530, Shobhit Kumar wrote: >> On BYT-T configuration, panel enable/disable signals are routed >> through PMIC. Add a cell device for the same. >&

Re: [Intel-gfx] [RFC v3 3/4] drm/i915: Add new panel driver based on crystal cove pmic

2015-02-03 Thread Shobhit Kumar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/03/2015 06:46 PM, Thierry Reding wrote: > On Wed, Jan 21, 2015 at 04:48:12PM +0530, Shobhit Kumar wrote: >> This driver provides support for the "crystal_cove_panel" cell >> device. On BYT-T pmic has to be used to enable

[Intel-gfx] [PATCH] drm: Add support to find drm_panel by name

2015-02-04 Thread Shobhit Kumar
For scenarios where OF is not available, we can use panel identification by name. v2: Use const char *name instead of name[NAME_MAX] (Thierry) CC: Thierry Reding Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/drm_panel.c | 18 ++ include/drm/drm_panel.h | 3 +++ 2 files

[Intel-gfx] [PATCH] drm/i915: Correct the base value while updating LP_OUTPUT_HOLD in MIPI_PORT_CTRL

2015-02-05 Thread Shobhit Kumar
base value from PORT_C and program for PORT_A. Mostly in case of dual link all other bit values should be same, but logically we should read from PORT_A. So hardcode to read initial value from PORT_A as well. Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi.c | 5 ++--- 1 file

[Intel-gfx] [PATCH] drm/i915: Correct the IOSF Dev_FN field for IOSF transfers

2015-02-05 Thread Shobhit Kumar
not getting programmed correctly with PCI_DEVFN(2, 0). It turned out that this did not follow the recommendation and expected 0 in this field. In general the recommendation is to use SB_DevFn as PCI_DEVFN(0, 0) for all devices except target PCI devices. Signed-off-by: Shobhit Kumar --- drivers/gpu

Re: [Intel-gfx] [PATCH] drm/i915: Correct the IOSF Dev_FN field for IOSF transfers

2015-02-06 Thread Shobhit Kumar
On 02/06/2015 02:20 PM, Jani Nikula wrote: > On Thu, 05 Feb 2015, Ville Syrjälä wrote: >> On Thu, Feb 05, 2015 at 05:10:56PM +0530, Shobhit Kumar wrote: >>> As per the specififcation, the SB_DevFn is the PCI_DEVFN of the target >>> device and not the source. So PC

Re: [Intel-gfx] [PATCH] drm/i915: Correct the base value while updating LP_OUTPUT_HOLD in MIPI_PORT_CTRL

2015-02-09 Thread Shobhit Kumar
On 02/06/2015 01:11 AM, shuang...@intel.com wrote: > Tested-By: PRC QA PRTS (Patch Regression Test System Contact: > shuang...@intel.com) > Task id: 5718 > -Summary- > Platform Delta drm-intel-nightly

Re: [Intel-gfx] [PATCH] drm/i915: Correct the IOSF Dev_FN field for IOSF transfers

2015-02-09 Thread Shobhit Kumar
On 02/05/2015 10:44 PM, Ville Syrjälä wrote: > On Thu, Feb 05, 2015 at 05:10:56PM +0530, Shobhit Kumar wrote: >> As per the specififcation, the SB_DevFn is the PCI_DEVFN of the target >> device and not the source. So PCI_DEVFN(2,0) is not correct. Further the >> port I

[Intel-gfx] [PATCH 0/2] Crystal Cove PMIC based Panel Control

2015-02-18 Thread Shobhit Kumar
framework for panel enable and disbale and use PWM frameowrk for backlight control. These patches are only for panel and backlight enable/disable signals as GPOI. PWM based backlight control is WIP Regards Shobhit Shobhit Kumar (2): gpio/crystalcove: Export Panel and backlight en/disable signals

[Intel-gfx] [PATCH 2/2] drm/i915: Use the CRC gpio_chip for panel enable/disable

2015-02-18 Thread Shobhit Kumar
The CRC (Crystal Cove) PMIC, controls the panel enable and disable signals for BYT for dsi panels. This is indicated in the VBT fields. Use that to initialize and use GPIO based control for these signals. Cc: Linus Walleij Cc: Alexandre Courbot Cc: Thierry Reding Signed-off-by: Shobhit Kumar

[Intel-gfx] [PATCH 1/2] gpio/crystalcove: Export Panel and backlight en/disable signals as GPIO

2015-02-18 Thread Shobhit Kumar
Signed-off-by: Shobhit Kumar --- drivers/gpio/gpio-crystalcove.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c index 3d9e08f..9e94dc64 100644 --- a/drivers/gpio/gpio-crystalcove.c +++ b/drivers/gpio/gpio

Re: [Intel-gfx] [v3 0/7] Crystalcove (CRC) PMIC based panel and pwm control

2015-07-10 Thread Shobhit Kumar
n 26, 2015 at 02:32:03PM +0530, Shobhit Kumar wrote: >> > > Hi, >> > > Next update of the series reviewed at >> > > https://lkml.org/lkml/2015/6/22/155 >> > > >> > > Major changes are few review comments from Varka and Ville being >>

Re: [Intel-gfx] [v3 0/7] Crystalcove (CRC) PMIC based panel and pwm control

2015-07-21 Thread Shobhit Kumar
On Fri, Jul 10, 2015 at 6:36 PM, Shobhit Kumar wrote: > On Mon, Jun 29, 2015 at 3:48 AM, Paul Gortmaker > wrote: >> [Re: [Intel-gfx] [v3 0/7] Crystalcove (CRC) PMIC based panel and pwm >> control] On 26/06/2015 (Fri 20:47) Ville Syrjälä wrote: >> >>> On Fri,

[Intel-gfx] [PATCH] mfd: Add GPIOLIB dependency if INTEL_SOC_PMIC is to be enabled

2015-07-22 Thread Shobhit Kumar
dbbb75bc50db11c367dd Author: Shobhit Kumar Date: Fri Jun 26 14:32:05 2015 +0530 mfd: intel_soc_pmic_core: Add lookup table for Panel Control as GPIO signal On some Intel SoC platforms, the panel enable/disable signals are controlled by CRC PMIC. Add those cont

Re: [Intel-gfx] [PATCH 0/9] BYT DSI Dual Link Support

2014-09-25 Thread Shobhit Kumar
On Wednesday 24 September 2014 02:31 PM, Daniel Vetter wrote: On Wed, Sep 24, 2014 at 02:16:49PM +0530, Gaurav K Singh wrote: Hi, These set of patches build on top of the existing DSI Video mode support to enable dual link MIPI panels with high resolutions. These patches have been tested on a 25

Re: [Intel-gfx] [PATCH 5/9] drm/i915: SHUTDOWN & Turn ON packets to be sent for both MIPI Ports in case of dual link Configuration

2014-09-25 Thread Shobhit Kumar
On Wednesday 24 September 2014 03:02 PM, Jani Nikula wrote: On Wed, 24 Sep 2014, Gaurav K Singh wrote: Signed-off-by: Gaurav K Singh Signed-off-by: Shobhit Kumar --- drivers/gpu/drm/i915/intel_dsi_cmd.c | 35 ++ 1 file changed, 23 insertions(+), 12

Re: [Intel-gfx] [PATCH 5/9] drm/i915: SHUTDOWN & Turn ON packets to be sent for both MIPI Ports in case of dual link Configuration

2014-09-25 Thread Shobhit Kumar
On Thursday 25 September 2014 07:09 PM, Jani Nikula wrote: On Thu, 25 Sep 2014, Shobhit Kumar wrote: On Wednesday 24 September 2014 03:02 PM, Jani Nikula wrote: On Wed, 24 Sep 2014, Gaurav K Singh wrote: + do { Please never use a do-while when a regular for loop will do. Hmm, ok

<    1   2   3