Re: [linux-sunxi] [PATCH v3 1/1] drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio

2020-02-26 Thread Stefan Mavrodiev
On 2/25/20 11:58 AM, Maxime Ripard wrote: On Tue, Feb 25, 2020 at 11:45:28AM +0200, Stefan Mavrodiev wrote: On 1/29/20 6:34 PM, Chen-Yu Tsai wrote: On Tue, Jan 28, 2020 at 10:07 PM Stefan Mavrodiev wrote: Add HDMI audio support for the sun4i-hdmi encoder, used on the older Allwinner chips

Re: [linux-sunxi] [PATCH v3 1/1] drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio

2020-02-26 Thread Stefan Mavrodiev
On 1/29/20 6:34 PM, Chen-Yu Tsai wrote: On Tue, Jan 28, 2020 at 10:07 PM Stefan Mavrodiev wrote: Add HDMI audio support for the sun4i-hdmi encoder, used on the older Allwinner chips - A10, A20, A31. Most of the code is based on the BSP implementation. In it dditional formats are supported

Re: [PATCH v3 1/1] drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio

2020-01-30 Thread Stefan Mavrodiev
Hi, On 1/29/20 6:43 PM, Maxime Ripard wrote: Hi, On Tue, Jan 28, 2020 at 04:06:42PM +0200, Stefan Mavrodiev wrote: diff --git a/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c b/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c index 68d4644ac2dc..4cd35c97c503 100644 --- a/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c

[PATCH v3 1/1] drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio

2020-01-29 Thread Stefan Mavrodiev
-by: Stefan Mavrodiev --- Changes for v3: - Instead of platfrom_driver dynammicly register/unregister card - Add Kconfig dependencies - Restrore drvdata after card unregistering Changes for v2: - Create a new platform driver instead of using the HDMI encoder - Expose a new kcontrol to the

[PATCH v3 0/1] Add support for sun4i HDMI audio

2020-01-29 Thread Stefan Mavrodiev
e card unregistering, the pointer is restored. This is done by calling additional destroy function. Changes for v2: - Create a new platform driver instead of using the HDMI encoder - Expose a new kcontrol to the userspace holding the ELD data - Wrap all macro arguments in parentheses Stefan

Re: [PATCH 1/2] dmaengine: sun4i: Add support for cyclic requests with dedicated DMA

2020-01-22 Thread Stefan Mavrodiev
On 1/21/20 10:35 AM, Vinod Koul wrote: On 15-01-20, 18:07, Maxime Ripard wrote: On Wed, Jan 15, 2020 at 06:01:37PM +0530, Vinod Koul wrote: On 10-01-20, 16:11, Stefan Mavrodiev wrote: Currently the cyclic transfers can be used only with normal DMAs. They can be used by pcm_dmaengine module

Re: [PATCH v2 2/2] drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio

2020-01-22 Thread Stefan Mavrodiev
On 1/21/20 8:29 PM, Maxime Ripard wrote: +Mark On Mon, Jan 20, 2020 at 02:33:26PM +0200, Stefan Mavrodiev wrote: Add HDMI audio support for the sun4i-hdmi encoder, used on the older Allwinner chips - A10, A20, A31. Most of the code is based on the BSP implementation. In it dditional formats

[PATCH v2 2/2] drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio

2020-01-20 Thread Stefan Mavrodiev
-by: Stefan Mavrodiev --- Changes for v2: - Create a new platform driver instead of using the HDMI encoder - Expose a new kcontrol to the userspace holding the ELD data - Wrap all macro arguments in parentheses drivers/gpu/drm/sun4i/Kconfig| 1 + drivers/gpu/drm/sun4i/Makefile

[PATCH v2 0/2] Add support for sun4i HDMI audio

2020-01-20 Thread Stefan Mavrodiev
only the addresses of the registers are checked. Changes for v2: - Create a new platform driver instead of using the HDMI encoder - Expose a new kcontrol to the userspace holding the ELD data - Wrap all macro arguments in parentheses Stefan Mavrodiev (2): dmaengine: sun4i: Add support for c

[PATCH v2 1/2] dmaengine: sun4i: Add support for cyclic requests with dedicated DMA

2020-01-20 Thread Stefan Mavrodiev
existing style for the scatter/gather type transfers. Signed-off-by: Stefan Mavrodiev --- Changes for v2: - None drivers/dma/sun4i-dma.c | 45 ++--- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/drivers/dma/sun4i-dma.c b/drivers/dma/sun4i-dma.c

Re: [PATCH 2/2] drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio

2020-01-16 Thread Stefan Mavrodiev
Hi, On 1/15/20 10:32 AM, Maxime Ripard wrote: Hi Stefan, On Tue, Jan 14, 2020 at 11:04:55AM +0200, Stefan Mavrodiev wrote: On 1/10/20 6:26 PM, Maxime Ripard wrote: Hi, On Fri, Jan 10, 2020 at 04:11:40PM +0200, Stefan Mavrodiev wrote: Add HDMI audio support for the sun4i-hdmi encoder, used

Re: [PATCH 2/2] drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio

2020-01-15 Thread Stefan Mavrodiev
Hi, On 1/10/20 6:26 PM, Maxime Ripard wrote: Hi, On Fri, Jan 10, 2020 at 04:11:40PM +0200, Stefan Mavrodiev wrote: Add HDMI audio support for the sun4i-hdmi encoder, used on the older Allwinner chips - A10, A20, A31. Most of the code is based on the BSP implementation. In it dditional

[PATCH 2/2] drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio

2020-01-12 Thread Stefan Mavrodiev
-by: Stefan Mavrodiev --- drivers/gpu/drm/sun4i/Kconfig| 1 + drivers/gpu/drm/sun4i/Makefile | 1 + drivers/gpu/drm/sun4i/sun4i_hdmi.h | 30 ++ drivers/gpu/drm/sun4i/sun4i_hdmi_audio.c | 375 +++ drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 4 + 5

[PATCH 0/2] Add support for sun4i HDMI audio

2020-01-12 Thread Stefan Mavrodiev
only the addresses of the registers are checked. Stefan Mavrodiev (2): dmaengine: sun4i: Add support for cyclic requests with dedicated DMA drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio drivers/dma/sun4i-dma.c | 45 +-- drivers/gpu/drm/sun4i/Kconfig

[PATCH 1/2] dmaengine: sun4i: Add support for cyclic requests with dedicated DMA

2020-01-12 Thread Stefan Mavrodiev
existing style for the scatter/gather type transfers. Signed-off-by: Stefan Mavrodiev --- drivers/dma/sun4i-dma.c | 45 ++--- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/drivers/dma/sun4i-dma.c b/drivers/dma/sun4i-dma.c index e397a50058c8

[PATCH 1/1] drm/sun4i: hdmi: Remove duplicate cleanup calls

2019-12-18 Thread Stefan Mavrodiev
: Stefan Mavrodiev --- drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c b/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c index a7c4654445c7..68d4644ac2dc 100644 --- a/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c +++ b/drivers/gpu/drm

Re: [PATCH 1/1] drm/sun4i: hdmi: Check for null pointer before cleanup

2019-12-18 Thread Stefan Mavrodiev
Hi, On 12/17/19 1:49 PM, Maxime Ripard wrote: On Tue, Dec 17, 2019 at 12:46:03PM +0100, Maxime Ripard wrote: On Tue, Dec 17, 2019 at 08:45:07AM +0200, Stefan Mavrodiev wrote: Hi, On 12/16/19 6:12 PM, Maxime Ripard wrote: Hi, On Mon, Dec 16, 2019 at 04:43:48PM +0200, Stefan Mavrodiev wrote

[PATCH 1/1] drm/sun4i: hdmi: Check for null pointer before cleanup

2019-12-17 Thread Stefan Mavrodiev
It's possible hdmi->connector and hdmi->encoder divices to be NULL. This can happen when building as kernel module and you try to remove the module. This patch make simple null check, before calling the cleanup functions. Signed-off-by: Stefan Mavrodiev --- drivers/gp

Re: [PATCH 1/1] drm/sun4i: hdmi: Check for null pointer before cleanup

2019-12-17 Thread Stefan Mavrodiev
Hi, On 12/16/19 6:12 PM, Maxime Ripard wrote: Hi, On Mon, Dec 16, 2019 at 04:43:48PM +0200, Stefan Mavrodiev wrote: It's possible hdmi->connector and hdmi->encoder divices to be NULL. This can happen when building as kernel module and you try to remove the module. This patch make

Re: [PATCH v3 1/1] drm/panel: Add support for Olimex LCD-OLinuXino panel

2018-11-02 Thread Stefan Mavrodiev
On 7/16/18 6:08 PM, Rob Herring wrote: On Thu, Jul 12, 2018 at 11:21:53AM +0300, Stefan Mavrodiev wrote: This patch adds Olimex Ltd. LCD-OLinuXino bridge panel driver. The panel is used with different LCDs (currently from 480x272 to 1280x800). Small EEPROM chip is used for identification, which

[PATCH v3 1/1] drm/panel: Add support for Olimex LCD-OLinuXino panel

2018-07-13 Thread Stefan Mavrodiev
This patch adds Olimex Ltd. LCD-OLinuXino bridge panel driver. The panel is used with different LCDs (currently from 480x272 to 1280x800). Small EEPROM chip is used for identification, which holds some factory data and timing requirements. Signed-off-by: Stefan Mavrodiev --- Changes for v3

Re: [PATCH v2 1/1] drm/panel: Add support for Olimex LCD-OLinuXino panel

2018-07-11 Thread Stefan Mavrodiev
On 07/10/2018 04:27 PM, Greg Kroah-Hartman wrote: On Tue, Jul 10, 2018 at 04:08:54PM +0300, Stefan Mavrodiev wrote: On 07/10/2018 01:32 PM, Thierry Reding wrote: +MODULE_AUTHOR("Stefan Mavrodiev "); +MODULE_DESCRIPTION("LCD-OLinuXino driver"); +MODULE_LICENSE("

Re: [PATCH v2 1/1] drm/panel: Add support for Olimex LCD-OLinuXino panel

2018-07-11 Thread Stefan Mavrodiev
On 07/10/2018 01:32 PM, Thierry Reding wrote: On Mon, Jun 25, 2018 at 09:44:35AM +0300, Stefan Mavrodiev wrote: This patch adds Olimex Ltd. LCD-OLinuXino bridge panel driver. The panel is used with different LCDs (currently from 480x272 to 1280x800). Small EEPROM chip is used for

[PATCH v2 1/1] drm/panel: Add support for Olimex LCD-OLinuXino panel

2018-06-25 Thread Stefan Mavrodiev
This patch adds Olimex Ltd. LCD-OLinuXino bridge panel driver. The panel is used with different LCDs (currently from 480x272 to 1280x800). Small EEPROM chip is used for identification, which holds some factory data and timing requirements. Signed-off-by: Stefan Mavrodiev --- Changes for v2

[PATCH 1/1] drm/panel: Add support for Olimex LCD-OLinuXino panel

2018-06-19 Thread Stefan Mavrodiev
This patch adds Olimex Ltd. LCD-OLinuXino bridge panel driver. The panel is used with different LCDs (currently from 480x272 to 1280x800). Small EEPROM chip is used for identification, which holds some factory data and timing requirements. Signed-off-by: Stefan Mavrodiev --- .../display/panel