[PATCHv7 0/5] Add initial support for slimport anx78xx

2016-01-03 Thread Enric Balletbo i Serra
. - Remove dead/unused code. - And others ... Enric Balletbo i Serra (5): drm/dp: add DPCD definitions from DP 1.1 hdmi: added functions for MPEG InfoFrames of: Add vendor prefix for Analogix Semiconductor, Inc. devicetree: Add new ANX7814 SlimPort transmitter binding. drm: bridge: anx78xx

[PATCHv7 1/5] drm/dp: add DPCD definitions from DP 1.1

2016-01-03 Thread Enric Balletbo i Serra
Add a number of DPCD definitions from DP 1.1 Signed-off-by: Enric Balletbo i Serra --- include/drm/drm_dp_helper.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index bb9d0de..9b0c990 100644 --- a/include/drm

[PATCHv7 2/5] hdmi: added functions for MPEG InfoFrames

2016-01-03 Thread Enric Balletbo i Serra
The MPEG Source (MS) InfoFrame is in EIA/CEA-861B. It describes aspects of the compressed video stream that were used to produce the uncompressed video. The patch adds functions to work with MPEG InfoFrames. Signed-off-by: Enric Balletbo i Serra --- drivers/video/hdmi.c | 156

[PATCHv7 3/5] of: Add vendor prefix for Analogix Semiconductor, Inc.

2016-01-03 Thread Enric Balletbo i Serra
Analogix Semiconductor develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff

[PATCHv7 4/5] devicetree: Add new ANX7814 SlimPort transmitter binding.

2016-01-03 Thread Enric Balletbo i Serra
{ anx7814_in: endpoint { remote-endpoint = <_out>; }; }; }; Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since last version (requested by Rob Herring) - U

[PATCHv7 5/5] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2016-01-03 Thread Enric Balletbo i Serra
using external adapters that converts MyDP or DisplayPort to HDMI or DVI. Signed-off-by: Enric Balletbo i Serra --- Changes since last version (requested by Dan Carpenter) - Fix off by one loops - Change "errcnt" to retry_cnt - Replace -1 returns as -1 is never a correct error code. -

[PATCH v2 2/3] devicetree: Add ANX7814 SlimPort transmitter binding.

2016-03-30 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. Cc: Rob Herring Signed-off-by: Enric Balletbo i Serra --- Changes since v1: - Rob Herring: - Rename cable-det-gpios for hpd-gpios as is more standard - Fix HDMI output for HDMI input

[PATCH v2 3/3] drm: bridge: anx78xx: Add anx78xx driver support.

2016-03-30 Thread Enric Balletbo i Serra
: Emil Velikov Cc: Rob Herring Cc: Dan Carpenter Cc: Daniel Kurtz Signed-off-by: Enric Balletbo i Serra --- Changes since v1: - Dan Carpenter: - Fix missing error code - Use meaningful names for goto exit paths - Rob Herring: - Use hpd instead cable_det as is the more standard

[PATCH v2 0/3] Add ANX7814 I2C bridge driver

2016-03-30 Thread Enric Balletbo i Serra
. - Turn off v10 last so we mirror poweron sequence - Fix some error paths. - Remove mutex in anx78xx_detect - kbuild: - WARNING: PTR_ERR_OR_ZERO can be used [1] https://lwn.net/Articles/666885/ Enric Balletbo i Serra (3): of: Add vendor prefix for Analogix Semiconductor devicetree: Add

[PATCH v2 1/3] of: Add vendor prefix for Analogix Semiconductor

2016-03-30 Thread Enric Balletbo i Serra
Analogix Semiconductor Inc. develops analog and mixed-signal devices for digital media and communications interconnect applications. Cc: Rob Herring Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v1: - Add Acked-by: Rob Herring Documentation/devicetree

[RESEND PATCH v4 0/4] Add ANX7814 I2C bridge driver

2016-05-02 Thread Enric Balletbo i Serra
p_bulk in aux_transfer - Fix gpio reset polarity. - Turn off v10 last so we mirror poweron sequence - Fix some error paths. - Remove mutex in anx78xx_detect - kbuild: - WARNING: PTR_ERR_OR_ZERO can be used [1] https://lwn.net/Articles/666885/ Enric Balletbo i Serra (4): drm/d

[RESEND PATCH v4 1/4] drm/dp: Add define to set 0.5% down-spread in MAX_DOWNSPREAD register.

2016-05-02 Thread Enric Balletbo i Serra
Support of 0.5% down-spread is required for DisplayPort Specification Version 1.1 Sink. Signed-off-by: Enric Balletbo i Serra --- include/drm/drm_dp_helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 1252108..22be049

[RESEND PATCH v4 2/4] of: Add vendor prefix for Analogix Semiconductor

2016-05-02 Thread Enric Balletbo i Serra
Analogix Semiconductor Inc. develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v3: None Changes since v2: None Changes since v1: - Add Acked-by: Rob Herring

[RESEND PATCH v4 3/4] devicetree: Add ANX7814 SlimPort transmitter binding.

2016-05-02 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v3: - Model v10 as regulator (dvdd10-supply). Received the ack from Rob before the RESEND Changes since v2

[RESEND PATCH v4 4/4] drm: bridge: anx78xx: Add anx78xx driver support.

2016-05-02 Thread Enric Balletbo i Serra
. Signed-off-by: Enric Balletbo i Serra Tested-by: Nicolas Boichat Reviewed-by: Nicolas Boichat Cc: Emil Velikov Cc: Rob Herring Cc: Dan Carpenter Cc: Daniel Kurtz Cc: Nicolas Boichat Cc: Thierry Reding --- Changes since v3: - Thierry Reding: - Add vendor name on symbols and files

[PATCH 2/3] devicetree: Add ANX7814 bridge binding.

2016-03-24 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. Signed-off-by: Enric Balletbo i Serra --- .../devicetree/bindings/video/bridge/anx7814.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation

[PATCH 3/3] drm: bridge: anx78xx: Add anx78xx bridge driver support.

2016-03-24 Thread Enric Balletbo i Serra
. Signed-off-by: Enric Balletbo i Serra --- drivers/gpu/drm/bridge/Kconfig |8 + drivers/gpu/drm/bridge/Makefile |1 + drivers/gpu/drm/bridge/anx78xx.c | 1433 ++ drivers/gpu/drm/bridge/anx78xx.h | 719 +++ 4 files changed, 2161

[PATCH 0/3] Add ANX7814 I2C bridge driver

2016-03-24 Thread Enric Balletbo i Serra
was not really well using the kernel mode setting API. With this new driver I tried to use better the drm API and use an interrupt driven model. Wating for your comments... [1] https://lwn.net/Articles/666885/ Enric Balletbo i Serra (3): of: Add vendor prefix for Analogix Semiconductor devicetree

[PATCH 1/3] of: Add vendor prefix for Analogix Semiconductor

2016-03-24 Thread Enric Balletbo i Serra
Analogix Semiconductor Inc. develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCHv6 0/5] Add initial support for slimport anx78xx

2015-12-04 Thread Enric Balletbo i Serra
. - Remove dead/unused code. - And others ... Changes since last version: - Add the revision history within the respective patches (requested by Emil) - Add two new patches 01 and 02 as part of the series (requested by Thierry) Enric Balletbo i Serra (5): drm/dp: add DPCD definitions from DP

[PATCHv6 1/5] drm/dp: add DPCD definitions from DP 1.1

2015-12-04 Thread Enric Balletbo i Serra
Add a number of DPCD definitions from DP 1.1 Signed-off-by: Enric Balletbo i Serra --- include/drm/drm_dp_helper.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index bb9d0de..9b0c990 100644 --- a/include/drm

[PATCHv6 2/5] hdmi: added functions for MPEG InfoFrames

2015-12-04 Thread Enric Balletbo i Serra
The MPEG Source (MS) InfoFrame is in EIA/CEA-861B. It describes aspects of the compressed video stream that were used to produce the uncompressed video. The patch adds functions to work with MPEG InfoFrames. Signed-off-by: Enric Balletbo i Serra --- Changes since last version (requested

[PATCHv6 3/5] of: Add vendor prefix for Analogix Semiconductor, Inc.

2015-12-04 Thread Enric Balletbo i Serra
Analogix Semiconductor develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since last version (requested by Rob Herring) - Fix alphabetical order. Documentation

[PATCHv6 4/5] devicetree: Add new ANX7814 SlimPort transmitter binding.

2015-12-04 Thread Enric Balletbo i Serra
{ anx7814_in: endpoint { remote-endpoint = <_out>; }; }; }; Signed-off-by: Enric Balletbo i Serra --- Changes since last version (requested by Rob Herring) - Specify how many ports and

[PATCHv6 5/5] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2015-12-04 Thread Enric Balletbo i Serra
using external adapters that converts MyDP or DisplayPort to HDMI or DVI. Signed-off-by: Enric Balletbo i Serra --- Changes since last version: - Fix auto build test ERROR (anx78xx->bridge.of_node = client->dev.of_node) - Remove more magic numbers and use DP_ defines from hdmi.h - Use com

[PATCHv2 0/3] Add initial support for slimport anx78xx

2015-09-08 Thread Enric Balletbo i Serra
all comments and suggestions are welcomed. Changes since v1: - As requested by Greg, move from staging to a subsystem. To be honest I'm not sure if gpu/drm/i2c is the proper subsystem for this driver so please feel free to correct me. Best regards, Enric Balletbo i Serra (3): of: Add vendor

[PATCHv2 1/3] of: Add vendor prefix for Analogix Semiconductor, Inc.

2015-09-08 Thread Enric Balletbo i Serra
Analogix Semiconductor develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCHv2 2/3] devicetree: Add new ANX7814 SlimPort transmitter binding.

2015-09-08 Thread Enric Balletbo i Serra
eg = <0x38>; pd-gpios = < 1 GPIO_ACTIVE_HIGH>; reset-gpios = < 2 GPIO_ACTIVE_HIGH>; }; Signed-off-by: Enric Balletbo i Serra --- .../devicetree/bindings/video/anx7814.txt | 22 ++ 1 file changed, 22 insertions(+) crea

[PATCHv2 3/3] drm/i2c: anx78xx: Add anx7814 driver support by analogix.

2015-09-08 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. This driver adds initial support and supports HDMI to DP pass-through mode. Signed-off-by: Enric Balletbo i Serra --- drivers/gpu/drm/i2c/Kconfig |2 + drivers/gpu/drm

[PATCHv3 0/3] Add initial support for slimport anx78xx

2015-09-10 Thread Enric Balletbo i Serra
(dev_ rather than pr_, _dbg/_err rather than _info) Changes since v1: - As requested by Greg, move from staging to a subsystem. Best regards, Enric Balletbo i Serra (3): of: Add vendor prefix for Analogix Semiconductor, Inc. devicetree: Add new ANX7814 SlimPort transmitter binding. drm: bridge

[PATCHv3 1/3] of: Add vendor prefix for Analogix Semiconductor, Inc.

2015-09-10 Thread Enric Balletbo i Serra
Analogix Semiconductor develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff

[PATCHv3 2/3] devicetree: Add new ANX7814 SlimPort transmitter binding.

2015-09-10 Thread Enric Balletbo i Serra
eg = <0x38>; pd-gpios = < 1 GPIO_ACTIVE_HIGH>; reset-gpios = < 2 GPIO_ACTIVE_HIGH>; }; Signed-off-by: Enric Balletbo i Serra --- .../devicetree/bindings/video/bridge/anx7814.txt | 22 ++ 1 file changed, 22 insertions(+) crea

[PATCHv3 3/3] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2015-09-10 Thread Enric Balletbo i Serra
At the moment it only supports ANX7814. The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. This driver adds initial support and supports HDMI to DP pass-through mode. Signed-off-by: Enric Balletbo i Serra --- drivers/gpu/drm/bridge/Kconfig

[PATCHv4 0/3] Add initial support for slimport anx78xx

2015-09-25 Thread Enric Balletbo i Serra
, variables, types, etc. to anx78xx - plumb through the context struct to all functions that act on the device - use proper messaging (dev_ rather than pr_, _dbg/_err rather than _info) Changes since v1: - As requested by Greg, move from staging to a subsystem. Best regards, Enric Balletbo

[PATCHv4 1/3] of: Add vendor prefix for Analogix Semiconductor, Inc.

2015-09-25 Thread Enric Balletbo i Serra
Analogix Semiconductor develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff

[PATCHv4 2/3] devicetree: Add new ANX7814 SlimPort transmitter binding.

2015-09-25 Thread Enric Balletbo i Serra
eg = <0x38>; pd-gpios = < 1 GPIO_ACTIVE_HIGH>; reset-gpios = < 2 GPIO_ACTIVE_HIGH>; }; Signed-off-by: Enric Balletbo i Serra --- .../devicetree/bindings/video/bridge/anx7814.txt | 22 ++ 1 file changed, 22 insertions(+) crea

[PATCHv4 3/3] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2015-09-25 Thread Enric Balletbo i Serra
At the moment it only supports ANX7814. The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. This driver adds initial support and supports HDMI to DP pass-through mode. Signed-off-by: Enric Balletbo i Serra --- drivers/gpu/drm/bridge/Kconfig

[PATCH v3 0/3] Add ANX7814 I2C bridge driver

2016-04-08 Thread Enric Balletbo i Serra
/ Enric Balletbo i Serra (3): of: Add vendor prefix for Analogix Semiconductor devicetree: Add ANX7814 SlimPort transmitter binding. drm: bridge: anx78xx: Add anx78xx driver support. .../devicetree/bindings/vendor-prefixes.txt|1 + .../devicetree/bindings/video/bridge/anx7814.txt

[PATCH v3 1/3] of: Add vendor prefix for Analogix Semiconductor

2016-04-08 Thread Enric Balletbo i Serra
Analogix Semiconductor Inc. develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v2: - None Changes since v1: - Add Acked-by: Rob Herring Documentation

[PATCH v3 2/3] devicetree: Add ANX7814 SlimPort transmitter binding.

2016-04-08 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v2: - Add Acked-by: Rob Herring Changes since v1: - Rob Herring: - Rename cable-det-gpios for hpd-gpios

[PATCH v3 3/3] drm: bridge: anx78xx: Add anx78xx driver support.

2016-04-08 Thread Enric Balletbo i Serra
. Signed-off-by: Enric Balletbo i Serra Tested-by: Nicolas Boichat Reviewed-by: Nicolas Boichat Cc: Emil Velikov Cc: Rob Herring Cc: Dan Carpenter Cc: Daniel Kurtz Cc: Nicolas Boichat --- Changes since v2: - Nicolas Boichat: - Get rid of wait_for macro since is only used once. - Do

[PATCH v3 3/3] drm: bridge: anx78xx: Add anx78xx driver support.

2016-04-14 Thread Enric Balletbo i Serra
Hi Thierry, Many thanks for answering and do this accurate report. I'd add a comment on something you (see below). Apart from this I'll add your changes and send a new version. On 14/04/16 15:10, Thierry Reding wrote: > On Fri, Apr 08, 2016 at 02:52:52PM +0200, Enric Balletbo i Serra wr

[PATCH v3 3/3] drm: bridge: anx78xx: Add anx78xx driver support.

2016-04-14 Thread Enric Balletbo i Serra
Hi Emil, On 14/04/16 16:06, Emil Velikov wrote: > Hi Enric, > > On 14 April 2016 at 14:42, Enric Balletbo i Serra > wrote: >> The patch was implemented first without OR'ing error codes. The reason why I >> changed this is because I received the comments that checki

[PATCH v4 0/4] Add ANX7814 I2C bridge driver

2016-04-18 Thread Enric Balletbo i Serra
p_bulk in aux_transfer - Fix gpio reset polarity. - Turn off v10 last so we mirror poweron sequence - Fix some error paths. - Remove mutex in anx78xx_detect - kbuild: - WARNING: PTR_ERR_OR_ZERO can be used [1] https://lwn.net/Articles/666885/ Enric Balletbo i Serra (4): drm/d

[PATCH v4 2/4] of: Add vendor prefix for Analogix Semiconductor

2016-04-18 Thread Enric Balletbo i Serra
Analogix Semiconductor Inc. develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v3: None Changes since v2: None Changes since v1: - Add Acked-by: Rob Herring

[PATCH v3 3/3] drm: bridge: anx78xx: Add anx78xx driver support.

2016-04-18 Thread Enric Balletbo i Serra
Hi, Many thanks for dedicate some time to comment the patch, I'm going to send a v4 version, see my comments below. On 14/04/16 15:10, Thierry Reding wrote: > On Fri, Apr 08, 2016 at 02:52:52PM +0200, Enric Balletbo i Serra wrote: >> Although there are other chips from the same family

[PATCH v4 1/4] drm/dp: Add define to set 0.5% down-spread in MAX_DOWNSPREAD register.

2016-04-18 Thread Enric Balletbo i Serra
Support of 0.5% down-spread is required for DisplayPort Specification Version 1.1 Sink. Signed-off-by: Enric Balletbo i Serra --- include/drm/drm_dp_helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 1252108..22be049

[PATCH v4 3/4] devicetree: Add ANX7814 SlimPort transmitter binding.

2016-04-18 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. Signed-off-by: Enric Balletbo i Serra Cc: Rob Herring --- Changes since v3: - Model v10 as regulator (dvdd10-supply) - Removed the Acked-by: Rob Herring. Guess I need your ack again

[PATCH v4 4/4] drm: bridge: anx78xx: Add anx78xx driver support.

2016-04-18 Thread Enric Balletbo i Serra
. Signed-off-by: Enric Balletbo i Serra Tested-by: Nicolas Boichat Reviewed-by: Nicolas Boichat Cc: Emil Velikov Cc: Rob Herring Cc: Dan Carpenter Cc: Daniel Kurtz Cc: Nicolas Boichat Cc: Thierry Reding --- Changes since v3: - Thierry Reding: - Add vendor name on symbols and files

[PATCHv5 0/3] Add initial support for slimport anx78xx

2015-11-13 Thread Enric Balletbo i Serra
rom staging to a subsystem. Best regards, Enric Balletbo i Serra (3): of: Add vendor prefix for Analogix Semiconductor, Inc. devicetree: Add new ANX7814 SlimPort transmitter binding. drm: bridge: anx78xx: Add anx78xx driver support by analogix. .../devicetree/bindings/vendor-prefixes.txt

[PATCHv5 1/3] of: Add vendor prefix for Analogix Semiconductor, Inc.

2015-11-13 Thread Enric Balletbo i Serra
Analogix Semiconductor develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff

[PATCHv5 2/3] devicetree: Add new ANX7814 SlimPort transmitter binding.

2015-11-13 Thread Enric Balletbo i Serra
eg = <0x38>; pd-gpios = < 1 GPIO_ACTIVE_HIGH>; reset-gpios = < 2 GPIO_ACTIVE_HIGH>; }; Signed-off-by: Enric Balletbo i Serra --- .../devicetree/bindings/video/bridge/anx7814.txt | 36 ++ 1 file changed, 36 insertions(+) crea

[PATCHv5 3/3] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2015-11-13 Thread Enric Balletbo i Serra
At the moment it only supports ANX7814. The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. This driver adds initial support and supports HDMI to DP pass-through mode. Signed-off-by: Enric Balletbo i Serra --- drivers/gpu/drm/bridge/Kconfig

[PATCH] [media] hdmi: added functions for MPEG InfoFrames

2015-11-14 Thread Enric Balletbo i Serra
The MPEG Source (MS) InfoFrame is in EIA/CEA-861B. It describes aspects of the compressed video stream that were used to produce the uncompressed video. The patch adds functions to work with MPEG InfoFrames. Signed-off-by: Enric Balletbo i Serra --- drivers/video/hdmi.c | 156

[PATCH 2/2] drm/rockchip: Remove analogix psr worker.

2017-12-21 Thread Enric Balletbo i Serra
omium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 30 ++--- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/driver

[RFC PATCH 08/10] drm: rockchip: Add DDR devfreq support.

2018-05-15 Thread Enric Balletbo i Serra
omium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 46 + drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 9 drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 35 driver

[RFC PATCH 02/10] dt-bindings: devfreq: rk3399_dmc: Add rockchip, pmu phandle.

2018-05-15 Thread Enric Balletbo i Serra
The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU general register files to know the DRAM type, so add a phandle to the syscon that manages these registers. Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- Documentation/devicetree/bindings/d

[RFC PATCH 07/10] clk: rockchip: set clk-ddr to GET_RATE_NOCACHE.

2018-05-15 Thread Enric Balletbo i Serra
From: Derek Basehore <dbaseh...@chromium.org> This adds the flag to the clk-ddr in rockchip to not use the cached rate for get_rate. This is to handle timeout error conditions in SMC for the set rate function. Signed-off-by: Derek Basehore <dbaseh...@chromium.org> Signed-off-by: Enri

[RFC PATCH 04/10] devfreq: rk3399_dmc / rockchip: pm_domains: Register notify to DMC driver.

2018-05-15 Thread Enric Balletbo i Serra
ssible that the Rockchip power domain driver writes to the same register. So, add a notification mechanism to ensure that the DMC and the PD driver does not access to this register at the same time. Signed-off-by: Lin Huang <h...@rock-chips.com> [rewrite commit message] Signed-off-by: Enric Ball

[RFC PATCH 09/10] arm64: dts: rk3399: Add dfi and dmc nodes.

2018-05-15 Thread Enric Balletbo i Serra
From: Lin Huang <h...@rock-chips.com> These are required to support DDR DVFS on rk3399 platform. The patch also introduces two new files (rk3399-dram.h and rk3399-dram-default-timing) with default DRAM settings. Signed-off-by: Lin Huang <h...@rock-chips.com> Signed-off-by: Enric Ball

[RFC PATCH 00/10] Add support for drm/rockchip to dynamically control the DDR frequency.

2018-05-15 Thread Enric Balletbo i Serra
Best regards, Enric Derek Basehore (3): devfreq: rk3399_dmc / clk: rockchip: Sync with vblank in the kernel for DDRfreq. devfreq: rk3399_dmc / clk: rockchip: Disable DDR clk timeout on suspend. clk: rockchip: set clk-ddr to GET_RATE_NOCACHE. Enric Balletbo i Serra (3): devfreq: ro

[RFC PATCH 03/10] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2018-05-15 Thread Enric Balletbo i Serra
disable the DDR ODT. Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/devfreq/rk3399_dmc.c| 50 - include/soc/rockchip/rockchip_sip.h | 1 + 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/drivers/devfreq/rk3399

[RFC PATCH 06/10] devfreq: rk3399_dmc / clk: rockchip: Disable DDR clk timeout on suspend.

2018-05-15 Thread Enric Balletbo i Serra
ed-off-by: Derek Basehore <dbaseh...@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/clk/rockchip/clk-ddr.c| 21 ++--- drivers/devfreq/rk3399_dmc.c | 20 +++- drivers/devfreq/rk3399_dmc_priv.h | 1

[RFC PATCH 10/10] arm64: dts: rockchip: Enable dmc and dfi nodes on gru.

2018-05-15 Thread Enric Balletbo i Serra
From: Lin Huang <h...@rock-chips.com> Enable the DMC (Dynamic Memory Controller) and the DFI (DDR PHY Interface) nodes on gru/kevin boards so we can support DDR DVFS. Signed-off-by: Lin Huang <h...@rock-chips.com> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.

[RFC PATCH 01/10] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-05-15 Thread Enric Balletbo i Serra
Some rk3399 GRF (Generic Register Files) definitions can be used for different drivers. Move these definitions to a common include so we don't need to duplicate these definitions. Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/devfreq/event/rockchip-dfi.

[RFC PATCH 05/10] devfreq: rk3399_dmc / clk: rockchip: Sync with vblank in the kernel for DDRfreq.

2018-05-15 Thread Enric Balletbo i Serra
moves waiting to the kernel where the waiting thread can properly wait on a completion. Signed-off-by: Derek Basehore <dbaseh...@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/clk/rockchip/clk-ddr.c| 142 +

[RFC PATCH] drm/rockchip: update cursors asynchronously through atomic.

2018-05-21 Thread Enric Balletbo i Serra
Add support to async updates of cursors by using the new atomic interface for that. Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- I am sending this as RFC because I still don't have a deep knowledge of the hw and I am not sure if the vop_plane_update functi

[PATCH v7 2/2] drm/i915: remove intel_cursor_plane_funcs

2018-06-11 Thread Enric Balletbo i Serra
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits intel_cursor_plane_funcs just duplicates intel_plane_funcs now. Cc: Daniel Vetter Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra --- Changes in v7: None Changes in v6: None Changes

[PATCH v7 1/2] drm/i915: update cursors asynchronously through atomic

2018-06-11 Thread Enric Balletbo i Serra
-off-by: Enric Balletbo i Serra --- This is another attempt to land the patches to update cursors asynchronously through atomic for the i915 driver. Last version was sent some time ago [1], so these series are rebased on top of current mainline and also solves some issues found. The patches were

[PATCH] drm/bridge: analogix-anx78xx: Switch to SPDX identifier.

2018-06-06 Thread Enric Balletbo i Serra
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Enric Balletbo i Serra --- drivers/gpu/drm/bridge/analogix-anx78xx.c | 24 --- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix

[PATCH v6 1/2] drm/i915: update cursors asynchronously through atomic

2018-06-06 Thread Enric Balletbo i Serra
-off-by: Enric Balletbo i Serra --- This is another attempt to land the patches to update cursors asynchronously through atomic for the i915 driver. Last version was sent some time ago [1], so these series are rebased on top of current mainline and also solves some issues found. The patches were

Re: [PATCH] drm/bridge: analogix-anx78xx: Switch to SPDX identifier.

2018-06-06 Thread Enric Balletbo i Serra
Hi Laurent, On 05/06/18 12:11, Laurent Pinchart wrote: > Hi Enric, > > Thank you for the patch. > > On Tuesday, 5 June 2018 13:00:50 EEST Enric Balletbo i Serra wrote: >> Adopt the SPDX license identifier headers to ease license compliance >> management. >> &

[PATCH v6 2/2] drm/i915: remove intel_cursor_plane_funcs

2018-06-06 Thread Enric Balletbo i Serra
From: Gustavo Padovan After converting legacy cursor updates to atomic async commits intel_cursor_plane_funcs just duplicates intel_plane_funcs now. Cc: Daniel Vetter Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra --- Changes in v6: None Changes in v5: None Changes

Re: [PATCH] drm/bridge: analogix-anx78xx: Switch to SPDX identifier.

2018-06-06 Thread Enric Balletbo i Serra
Hi all, On 05/06/18 12:33, Laurent Pinchart wrote: > Hi Enric, > > On Tuesday, 5 June 2018 13:27:06 EEST Enric Balletbo i Serra wrote: >> On 05/06/18 12:11, Laurent Pinchart wrote: >>> On Tuesday, 5 June 2018 13:00:50 EEST Enric Balletbo i Serra wrote: >>>&g

[PATCH] Documentation: devicetree: tilcdc: fix spelling mistake "suppors" -> "supports"

2018-06-07 Thread Enric Balletbo i Serra
Trivial fix to spelling mistake in tilcdc.txt devicetree documentation. Signed-off-by: Enric Balletbo i Serra --- Documentation/devicetree/bindings/display/tilcdc/tilcdc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/tilcdc

[PATCH v5] drm/rockchip: Add device links for master and components

2018-02-08 Thread Enric Balletbo i Serra
; Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- Hi, This is an attempt to revive a patch [1] that was sent last October. Sean Paul requested some changes but I think that never was send a v5 version. The patch fixes and issue where backlight panel is not correctly reco

[PATCH v2] backlight: pwm_bl: switch to using "atomic" PWM API

2018-07-28 Thread Enric Balletbo i Serra
The "atomic" API allows us to configure PWM period and duty_cycle and enable it in one call. The patch also moves the pwm_init_state just before any use of the pwm_state struct, this fixes a potential bug where pwm_get_state can be called before pwm_init_state. Signed-off-by: Enric

Re: [PATCH] backlight: pwm_bl: switch to using "atomic" PWM API

2018-07-28 Thread Enric Balletbo i Serra
Hi Daniel, Thanks for reviewing the patch. On 27/07/18 13:32, Daniel Thompson wrote: > On 26/07/18 10:15, Enric Balletbo i Serra wrote: >> The "atomic" API allows us to configure PWM period and duty_cycle and >> enable it in one call. >> >> The patch also mov

[PATCH] backlight: pwm_bl: switch to using "atomic" PWM API

2018-07-27 Thread Enric Balletbo i Serra
The "atomic" API allows us to configure PWM period and duty_cycle and enable it in one call. The patch also moves the pwm_init_state just before any use of the pwm_state struct, this fixes a potential bug where pwm_get_state can be called before pwm_init_state. Signed-off-by: Enric

[PATCH 5/8] devfreq: rk3399_dmc / clk: rockchip: Disable DDR clk timeout on suspend.

2018-07-31 Thread Enric Balletbo i Serra
-off-by: Enric Balletbo i Serra --- Changes in v1: None drivers/clk/rockchip/clk-ddr.c| 21 ++--- drivers/devfreq/rk3399_dmc.c | 20 +++- drivers/devfreq/rk3399_dmc_priv.h | 1 + 3 files changed, 34 insertions(+), 8 deletions(-) diff --git a/drivers/clk

[PATCH 6/8] drm: rockchip: Add DDR devfreq support.

2018-07-31 Thread Enric Balletbo i Serra
From: Sean Paul Add support for devfreq to dynamically control the DDR frequency. It will activate when there is one CRTC active, and disable if more than one becomes active (to avoid flickering on one of the screens). Signed-off-by: Sean Paul Signed-off-by: Enric Balletbo i Serra

[PATCH 7/8] arm64: dts: rk3399: Add dfi and dmc nodes.

2018-07-31 Thread Enric Balletbo i Serra
From: Lin Huang These are required to support DDR DVFS on rk3399 platform. The patch also introduces two new files (rk3399-dram.h and rk3399-dram-default-timing) with default DRAM settings. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra --- Changes in v1: - [RFC 8/10] Move

[PATCH 2/8] dt-bindings: devfreq: rk3399_dmc: Add rockchip, pmu phandle.

2018-07-31 Thread Enric Balletbo i Serra
The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU general register files to know the DRAM type, so add a phandle to the syscon that manages these registers. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Chanwoo Choi Acked-by: Rob Herring --- Changes in v1: - [RFC 2

[PATCH 1/8] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-07-31 Thread Enric Balletbo i Serra
Some rk3399 GRF (Generic Register Files) definitions can be used for different drivers. Move these definitions to a common include so we don't need to duplicate these definitions. Signed-off-by: Enric Balletbo i Serra --- Changes in v1: - [RFC 1/10] Add Acked-by: Chanwoo Choi - [RFC 1/10] s

[PATCH 8/8] arm64: dts: rockchip: Enable dmc and dfi nodes on gru.

2018-07-31 Thread Enric Balletbo i Serra
From: Lin Huang Enable the DMC (Dynamic Memory Controller) and the DFI (DDR PHY Interface) nodes on gru/kevin boards so we can support DDR DVFS. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra --- Changes in v1: None arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 21

[PATCH 0/8] Add support for drm/rockchip to dynamically control the DDR frequency.

2018-07-31 Thread Enric Balletbo i Serra
: Sync with vblank in the kernel for DDRfreq. devfreq: rk3399_dmc / clk: rockchip: Disable DDR clk timeout on suspend. Enric Balletbo i Serra (3): devfreq: rockchip-dfi: Move GRF definitions to a common place. dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle. devfreq: rk3399_dmc

[PATCH 3/8] devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.

2018-07-31 Thread Enric Balletbo i Serra
disable the DDR ODT. Signed-off-by: Enric Balletbo i Serra --- Changes in v1: - [RFC 3/10] Add an explanation for platform SIP calls. - [RFC 3/10] Change if statement for a switch. - [RFC 3/10] Rename ddr_flag to odt_enable to be more clear. drivers/devfreq/rk3399_dmc.c| 74

[PATCH 4/8] devfreq: rk3399_dmc / clk: rockchip: Sync with vblank in the kernel for DDRfreq.

2018-07-31 Thread Enric Balletbo i Serra
the waiting thread can properly wait on a completion. Signed-off-by: Derek Basehore Signed-off-by: Enric Balletbo i Serra --- Changes in v1: None drivers/clk/rockchip/clk-ddr.c| 142 +- drivers/clk/rockchip/clk.c| 2 +- drivers/clk/rockchip/clk.h

[PATCH v3] backlight: pwm_bl: switch to using "atomic" PWM API

2018-08-15 Thread Enric Balletbo i Serra
The "atomic" API allows us to configure PWM period and duty_cycle and enable it in one call. The patch also moves the pwm_init_state just before any use of the pwm_state struct, this fixes a potential bug where pwm_get_state can be called before pwm_init_state. Signed-off-by: Enric

Re: [PATCH 1/8] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-08-07 Thread Enric Balletbo i Serra
Hi, On 01/08/18 10:36, Chanwoo Choi wrote: > Hi Enric, > > On 2018년 07월 30일 17:11, Enric Balletbo i Serra wrote: >> Some rk3399 GRF (Generic Register Files) definitions can be used for >> different drivers. Move these definitions to a common include so we >&

[PATCH] drm/atomic: add ATOMIC_AMEND flag to the Atomic IOCTL.

2018-08-07 Thread Enric Balletbo i Serra
this feature. Signed-off-by: Gustavo Padovan Signed-off-by: Enric Balletbo i Serra --- Hi, This is an attempt to introduce the new ATOMIC_AMEND flag for atomic operations, see the commit message for a more detailed description. This was tested using a small program that exercises the uAPI

Re: [PATCH v2] backlight: pwm_bl: switch to using "atomic" PWM API

2018-08-07 Thread Enric Balletbo i Serra
Hi Daniel, On 30/07/18 13:12, Daniel Thompson wrote: > On Fri, Jul 27, 2018 at 05:11:21PM +0200, Enric Balletbo i Serra wrote: >> The "atomic" API allows us to configure PWM period and duty_cycle and >> enable it in one call. >> >> The patch also moves t

[PATCH] drm/rockchip: update cursors asynchronously through atomic.

2018-08-07 Thread Enric Balletbo i Serra
Add support to async updates of cursors by using the new atomic interface for that. Signed-off-by: Enric Balletbo i Serra --- Hi, This first version is slightly different from the RFC, note that I did not maintain the Sean reviewed tag for that reason. With this version I don't touch

[PATCH] backlight: pwm_bl: Fix brightness levels for non-DT case.

2018-08-27 Thread Enric Balletbo i Serra
(). Fixes: '88ba95bedb79 ("backlight: pwm_bl: Compute brightness of LED linearly to human eye")' Reported-by: Robert Jarzmik Signed-off-by: Enric Balletbo i Serra --- drivers/video/backlight/pwm_bl.c | 50 1 file changed, 38 insertions(+), 12 dele

Re: [RFC PATCH] drm/atomic: add ASYNC_UPDATE flag to the Atomic IOCTL.

2018-07-24 Thread Enric Balletbo i Serra
Hi Ville, On 06/07/18 12:54, Gustavo Padovan wrote: > Hi Ville, > > On Thu, 2018-06-28 at 16:35 +0300, Ville Syrjälä wrote: >> On Wed, Jun 27, 2018 at 11:25:06PM +0200, Enric Balletbo i Serra >> wrote: >>> From: Gustavo Padovan >>> >>> This

Re: [PATCH v5 06/36] drm/rockchip: Only wait for panel ACK on PSR entry

2018-03-13 Thread Enric Balletbo i Serra
version, I'll wait, for now, a bit more for reviews on the other patches. Thanks Enric > Am Freitag, 9. März 2018, 23:22:57 CET schrieb Enric Balletbo i Serra: >> From: zain wang <w...@rock-chips.com> >> >> We currently wait for the panel to mirror our intended PSR st

[PATCH v5 04/36] drm/rockchip: add mutex vop lock

2018-03-10 Thread Enric Balletbo i Serra
off-by: Sean Paul <seanp...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> Tested-by: Marek Szyprowski <m.szyprow...@samsung.com> --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c |

[PATCH v5 08/36] drm/bridge: analogix_dp: Check AUX_EN status when doing AUX transfer

2018-03-10 Thread Enric Balletbo i Serra
off-by: Sean Paul <seanp...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> Tested-by: Marek Szyprowski <m.szyprow...@samsung.com> --- drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c

[PATCH v5 14/36] drm/bridge: analogix_dp: Extend hpd check time to 100ms

2018-03-10 Thread Enric Balletbo i Serra
t;h...@rock-chips.com> Signed-off-by: Sean Paul <seanp...@chromium.org> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> Tested-by: Marek Szyprow

[PATCH v5 36/36] drm/rockchip: psr: Remove flush by CRTC

2018-03-10 Thread Enric Balletbo i Serra
g> Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> Tested-by: Marek Szyprowski <m.szyprow...@samsung.com> --- drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 35 -

  1   2   3   >