Le lun. 8 avr. 2019 à 13:04, Hans Verkuil a écrit :
>
> The STI CEC driver increased the HDMI device refcount when
> it shouldn't. Use the new helper function to ensure that that
> doesn't happen and to simplify the driver code.
>
> Signed-off-by: Hans Verkuil
eral CEC drivers take a reference of the HDMI
> device and never release it. So those drivers need to be fixed.
>
> This patch fixes those two issues.
Reviewed-by: Benjamin Gaignard
>
> Fixes: fc4e009c6c98 ("[media] stih-cec: add CEC notifier support")
> Suggested-by
Le mer. 17 oct. 2018 à 09:20, Christoph Hellwig a écrit :
>
> On Mon, Oct 15, 2018 at 11:12:55AM +0200, Benjamin Gaignard wrote:
> > Le sam. 13 oct. 2018 à 17:18, Christoph Hellwig a écrit :
> > >
> > > The DMA API does its own zone decisions based on the coheren
Le mer. 17 oct. 2018 à 09:19, Christoph Hellwig a écrit :
>
> On Tue, Oct 16, 2018 at 02:41:23PM +0200, Benjamin Gaignard wrote:
> > Le lun. 15 oct. 2018 à 11:12, Benjamin Gaignard
> > a écrit :
> > >
> > > Le sam. 13 oct. 2018 à 17:17, Christoph Hellwig a
Le lun. 15 oct. 2018 à 11:12, Benjamin Gaignard
a écrit :
>
> Le sam. 13 oct. 2018 à 17:17, Christoph Hellwig a écrit :
> >
> > The DMA API does its own zone decisions based on the coherent_dma_mask.
> >
> > Signed-off-by: Christoph Hellwig
>
> Reviewed-by:
Le sam. 13 oct. 2018 à 17:17, Christoph Hellwig a écrit :
>
> The DMA API does its own zone decisions based on the coherent_dma_mask.
>
> Signed-off-by: Christoph Hellwig
Reviewed-by: Benjamin Gaignard
> ---
> drivers/gpu/drm/sti/sti_gdp.c | 2 +-
> 1 file changed, 1 ins
Le sam. 13 oct. 2018 à 17:18, Christoph Hellwig a écrit :
>
> The DMA API does its own zone decisions based on the coherent_dma_mask.
>
> Signed-off-by: Christoph Hellwig
Reviewed-by: Benjamin Gaignard
> ---
> drivers/media/platform/sti/bdisp/bdisp-hw.c | 2 +-
> 1 file
From: Benjamin Gaignard
If wake up irq is defined in device-tree cec adapter
could be used has wake up source.
Signed-off-by: Benjamin Gaignard
---
drivers/media/platform/stm32/stm32-cec.c | 44 +++-
1 file changed, 43 insertions(+), 1 deletion(-)
diff --git a
From: Benjamin Gaignard
Since CEC framework enable and disable the adapter when it is needed
just follow it orders to enable/disable the clocks.
Call stm32_cec_hw_init() when the adapter is enabled and do not let
regmap manage registers clock help to simplify clocking scheme.
While reworking
CEC hardware block is enable to resume the system if a command is received
on data lane.
Prior to implement suspend/resume functions a patch simplify clock management
int the driver by introducting pm_runtime{suspend/resume} functions.
Benjamin Gaignard (2):
cec: stm32: simplify clock
Add SPDX identifiers to files under sti directory
Signed-off-by: Benjamin Gaignard
---
drivers/media/platform/sti/bdisp/bdisp-debug.c | 2 +-
drivers/media/platform/sti/bdisp/bdisp-filter.h | 2 +-
drivers/media/platform/sti/bdisp/bdisp-hw.c | 2 +-
drivers
Add SPDX identifiers to files under stm32 directory
Signed-off-by: Benjamin Gaignard
---
drivers/media/platform/stm32/stm32-cec.c | 5 +
drivers/media/platform/stm32/stm32-dcmi.c | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/media/platform/stm32/stm32-cec.c
2017-08-04 12:41 GMT+02:00 Hans Verkuil :
> From: Hans Verkuil
>
> Use the new CEC_CAP_DEFAULTS define in this driver.
>
> Signed-off-by: Hans Verkuil
Acked-by: Benjamin Gaignard
> ---
> drivers/media/platform/stm32/stm32-cec.c | 4 +---
> 1 file changed, 1 i
>
> Signed-off-by: Hans Verkuil
Acked-by: Benjamin Gaignard
> ---
> drivers/media/platform/sti/cec/stih-cec.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/media/platform/sti/cec/stih-cec.c
> b/drivers/media/platform/sti/cec/stih-cec.c
Rs these four caps to simplify
>> drivers.
>>
>> Signed-off-by: Hans Verkuil
>
>
> Reviewed-by: Sylwester Nawrocki
Reviewed-by: Benjamin Gaignard
2017-06-09 19:54 GMT+02:00 Hans Verkuil :
> From: Hans Verkuil
>
> Now that there is a cec.txt with common CEC bindings, update the two
> driver-specific bindings to refer to cec.txt.
>
> Signed-off-by: Hans Verkuil
> Cc: Krzysztof Kozlowski
> Cc: Andrzej Hajda
>
2017-06-09 19:54 GMT+02:00 Hans Verkuil :
> From: Hans Verkuil
>
> Document common HDMI CEC bindings. Add this to the MAINTAINERS file
> as well.
>
> Signed-off-by: Hans Verkuil
> Cc: Krzysztof Kozlowski
> Cc: Andrzej Hajda
> Cc: Benjamin Gaignard
>
2017-06-07 16:46 GMT+02:00 Hans Verkuil :
> From: Hans Verkuil
>
> Use the helper function cec_transmit_attempt_done instead of
> cec_transmit_done to simplify the code.
>
> Signed-off-by: Hans Verkuil
> Cc: Benjamin Gaignard
> ---
> drivers/media/platform/sti
;clk_cec);
+ clk_unprepare(cec->clk_hdmi_cec);
+
+ cec_unregister_adapter(cec->adap);
+
+ return 0;
+}
+
+static const struct of_device_id stm32_cec_of_match[] = {
+ { .compatible = "st,stm32-cec" },
+ { /* end node */ }
+};
+MODULE_DEVICE_TABLE(of, stm32_cec_of_match);
+
+static struct platform_driver stm32_cec_driver = {
+ .probe = stm32_cec_probe,
+ .remove = stm32_cec_remove,
+ .driver = {
+ .name = CEC_NAME,
+ .of_match_table = stm32_cec_of_match,
+ },
+};
+
+module_platform_driver(stm32_cec_driver);
+
+MODULE_AUTHOR("Benjamin Gaignard ");
+MODULE_AUTHOR("Yannick Fertre ");
+MODULE_DESCRIPTION("STMicroelectronics STM32 Consumer Electronics Control");
+MODULE_LICENSE("GPL v2");
--
1.9.1
Add bindings documentation for stm32 CEC driver.
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/media/st,stm32-cec.txt| 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/st,stm32-cec.txt
diff --git a
+
+static int stm32_cec_remove(struct platform_device *pdev)
+{
+ struct stm32_cec *cec = platform_get_drvdata(pdev);
+
+ clk_unprepare(cec->clk_cec);
+ clk_unprepare(cec->clk_hdmi_cec);
+
+ cec_unregister_adapter(cec->adap);
+
+ return 0;
+}
+
+static const struct o
ID : 0x00903e
OSD Name : 'TV'
Menu Language : fre
Power Status : On
Total: 10, Succeeded: 10, Failed: 0, Warnings: 0
Benjamin Gaignard (2):
dt-bindings: media: stm32 cec driver
ce
l.org
Benjamin Gaignard (15):
iio: adc: stm32: use devm_of_platform_populate()
iio: dac: stm32: use devm_of_platform_populate()
drm: zte: use devm_of_platform_populate()
drm: msm: use devm_of_platform_populate()
mfd: stm32-timers: use devm_of_platform_populate
mfd: atmel
Usage of devm_of_platform_populate() simplify driver code
and save somes lines
Signed-off-by: Benjamin Gaignard
CC: Kyungmin Park
CC: Sylwester Nawrocki
CC: Mauro Carvalho Chehab
CC: Kukjin Kim
CC: Krzysztof Kozlowski
CC: Javier Martinez Canillas
CC: linux-media@vger.kernel.org
CC: linux
7;TV'
Menu Language : fre
Power Status : On
Total: 10, Succeeded: 10, Failed: 0, Warnings: 0
Benjamin Gaignard (2):
dt-bindings: media: stm32 cec driver
cec: add STM32 cec driver
.../devicetree/bindings/media/st,stm32-cec.txt
t platform_device *pdev)
+{
+ struct stm32_cec *cec = platform_get_drvdata(pdev);
+
+ clk_unprepare(cec->clk_cec);
+ clk_unprepare(cec->clk_hdmi_cec);
+
+ cec_unregister_adapter(cec->adap);
+
+ return 0;
+}
+
+static const struct of_device_id stm32_cec_of_match[] =
Add bindings documentation for stm32 CEC driver.
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/media/st,stm32-cec.txt| 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/st,stm32-cec.txt
diff --git a
2017-05-29 10:54 GMT+02:00 Hans Verkuil :
> Hi Benjamin,
>
> On 05/29/2017 10:34 AM, Benjamin Gaignard wrote:
>>
>> version 4:
>> - rebased on Hans cec-config branch
>> - rework bindings commit message
>> - add notifier support
>
>
> I really don
Add bindings documentation for stm32 CEC driver.
Signed-off-by: Benjamin Gaignard
---
version 4:
- rework commit message
- add hdmi-phandle optional property
.../devicetree/bindings/media/st,stm32-cec.txt | 22 ++
1 file changed, 22 insertions(+)
create mode 100644
k_hdmi_cec);
+
+ cec_unregister_adapter(cec->adap);
+
+ if (cec->notifier)
+ cec_notifier_put(cec->notifier);
+
+ return 0;
+}
+
+static const struct of_device_id stm32_cec_of_match[] = {
+ { .compatible = "st,stm32-cec" },
+ { /* end node */ }
+};
+MODULE_DEVICE_TABLE(of, stm32_cec_of_match);
+
+static struct platform_driver stm32_cec_driver = {
+ .probe = stm32_cec_probe,
+ .remove = stm32_cec_remove,
+ .driver = {
+ .name = CEC_NAME,
+ .of_match_table = stm32_cec_of_match,
+ },
+};
+
+module_platform_driver(stm32_cec_driver);
+
+MODULE_AUTHOR("Benjamin Gaignard ");
+MODULE_AUTHOR("Yannick Fertre ");
+MODULE_DESCRIPTION("STMicroelectronics STM32 Consumer Electronics Control");
+MODULE_LICENSE("GPL v2");
--
1.9.1
Power Status : On
Total: 10, Succeeded: 10, Failed: 0, Warnings: 0
Benjamin Gaignard (2):
dt-bindings: media: stm32 cec driver
cec: add STM32 cec driver
.../devicetree/bindings/media/st,stm32-cec.txt | 22 ++
drivers/media/platform/Kconfig
2017-05-23 2:14 GMT+02:00 Rob Herring :
> On Tue, May 16, 2017 at 02:56:22PM +0200, Benjamin Gaignard wrote:
>
> Commit message?
is missing, sorry..
>
> Preferred subject prefix is "dt-bindings: media: ..."
ok
>
>> Signed-off-by: Benjamin Gaignard
>>
Minor fixes in comments
Signed-off-by: Benjamin Gaignard
---
drivers/media/platform/sti/cec/stih-cec.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/sti/cec/stih-cec.c
b/drivers/media/platform/sti/cec/stih-cec.c
index 39ff551..65ee143 100644
Hardware could support up to 16 logical addresses which is more
than needed by CEC specifications.
Let use CEC_MAX_LOG_ADDRS instead of limited it on one.
stih_cec_adap_log_addr() function was alredy written to support
multiple addresses requests.
Signed-off-by: Benjamin Gaignard
---
drivers
ice *pdev)
+{
+ struct stm32_cec *cec = platform_get_drvdata(pdev);
+
+ clk_unprepare(cec->clk_cec);
+ clk_unprepare(cec->clk_hdmi_cec);
+
+ cec_unregister_adapter(cec->adap);
+
+ cec_delete_adapter(cec->adap);
+
+ return 0;
+}
+
+static con
2017-05-16 15:09 GMT+02:00 Hans Verkuil :
> Looks good, except for the logical address handling that I think is wrong:
>
> On 16/05/17 14:56, Benjamin Gaignard wrote:
>> This patch add cec driver for STM32 platforms.
>> cec hardware block isn't not always used with hdmi
: TV
Vendor ID : 0x00903e
OSD Name : 'TV'
Menu Language : fre
Power Status : On
Total: 10, Succeeded: 10, Failed: 0, Warnings: 0
Benjamin Gaignard (2):
binding f
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/media/st,stm32-cec.txt| 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/st,stm32-cec.txt
diff --git a/Documentation/devicetree/bindings/media/st,stm32
cec_unregister_adapter(cec->adap);
+
+ cec_delete_adapter(cec->adap);
+
+ return 0;
+}
+
+static const struct of_device_id stm32_cec_of_match[] = {
+ { .compatible = "st,stm32-cec" },
+ { /* end node */ }
+};
+MODULE_DEVICE_TABLE(of, stm32_cec_of_match);
+
+static struct platform_driver stm32_cec_driver = {
+ .probe = stm32_cec_probe,
+ .remove = stm32_cec_remove,
+ .driver = {
+ .name = CEC_NAME,
+ .of_match_table = stm32_cec_of_match,
+ },
+};
+
+module_platform_driver(stm32_cec_driver);
+
+MODULE_AUTHOR("Benjamin Gaignard ");
+MODULE_AUTHOR("Yannick Fertre ");
+MODULE_DESCRIPTION("STMicroelectronics STM32 Consumer Electronics Control");
+MODULE_LICENSE("GPL v2");
--
1.9.1
2017-05-16 11:18 GMT+02:00 Hans Verkuil :
> On 16/05/17 11:10, Benjamin Gaignard wrote:
>> + Yannick who is the original writer of this driver (sorry)
>>
>> 2017-05-16 11:01 GMT+02:00 Benjamin Gaignard :
>>> This serie of patches add cec driver for STM32 platfo
+ Yannick who is the original writer of this driver (sorry)
2017-05-16 11:01 GMT+02:00 Benjamin Gaignard :
> This serie of patches add cec driver for STM32 platforms.
>
> This code doesn't implement cec notifier because STM32 doesn't
> provide HDMI yet but it will be
OSD Name : 'TV'
Menu Language : fre
Power Status : On
Total: 10, Succeeded: 10, Failed: 0, Warnings: 0
Benjamin Gaignard (2):
binding for stm32 cec driver
cec: add STM32 cec driver
.../devicetree/bindings/me
cec_delete_adapter(cec->adap);
+
+ return 0;
+}
+
+static const struct of_device_id stm32_cec_of_match[] = {
+ { .compatible = "st,stm32-cec" },
+ { /* end node */ }
+};
+MODULE_DEVICE_TABLE(of, stm32_cec_of_match);
+
+static struct platform_driver stm32_cec_driver = {
+ .probe = stm32_cec_probe,
+ .remove = stm32_cec_remove,
+ .driver = {
+ .name = CEC_NAME,
+ .of_match_table = stm32_cec_of_match,
+ },
+};
+
+module_platform_driver(stm32_cec_driver);
+
+MODULE_AUTHOR("Benjamin Gaignard ");
+MODULE_AUTHOR("Yannick Fertre ");
+MODULE_DESCRIPTION("STMicroelectronics STM32 Consumer Electronics Control");
+MODULE_LICENSE("GPL v2");
--
1.9.1
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/media/st,stm32-cec.txt| 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/st,stm32-cec.txt
diff --git a/Documentation/devicetree/bindings/media/st,stm32
-cec drivers depended on VIDEO_DEV instead of
> CEC_CORE, fix that as well.
>
> Signed-off-by: Hans Verkuil
Thanks for this clean up.
Acked-by: Benjamin Gaignard
> ---
> MAINTAINERS | 2 --
> drivers/media/Kconfig| 26 --
+ Patrice for sti DT
2017-03-29 16:15 GMT+02:00 Hans Verkuil :
> From: Benjamin Gaignard
>
> To use CEC notifier sti CEC driver needs to get phandle
> of the hdmi device.
>
> Signed-off-by: Benjamin Gaignard
> Signed-off-by: Hans Verkuil
> CC: devicet...@vger.kernel.or
s support for
> it to the CEC framework and finally adds support to the s5p-cec driver,
> which now can be moved out of staging.
>
> Also included is similar code for the STI platform, contributed by
> Benjamin Gaignard.
>
> Tested the exynos code with my Odroid U3 exynos4 devb
/staging/android/ion/ion_of.c
> delete mode 100644 drivers/staging/android/ion/ion_of.h
> delete mode 100644 drivers/staging/android/ion/ion_priv.h
> delete mode 100644 drivers/staging/android/ion/ion_test.c
> delete mode 100644 drivers/staging/android/ion/tegra/Makefile
> delete mode 100644 drivers/staging/android/ion/tegra/tegra_ion.c
> delete mode 100644 drivers/staging/android/uapi/ion_test.h
>
> --
> 2.7.4
>
--
Benjamin Gaignard
Graphic Study Group
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
2017-03-18 1:54 GMT+01:00 Laura Abbott :
>
> Frameworks (e.g. Ion) may want to iterate over each possible CMA area to
> allow for enumeration. Introduce a function to allow a callback.
even outside ION rework that could be useful
Reviewed-by: Benjamin Gaignard
>
> Signed-off-b
off-by: Jose Abreu
> Cc: Benjamin Gaignard
> ---
> drivers/staging/media/st-cec/stih-cec.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/media/st-cec/stih-cec.c
> b/drivers/staging/media/st-cec/stih-cec.c
> index 3c25638..52
2017-03-13 22:09 GMT+01:00 Laura Abbott :
> On 03/12/2017 12:05 PM, Daniel Vetter wrote:
>> On Sun, Mar 12, 2017 at 2:34 PM, Benjamin Gaignard
>> wrote:
>>> 2017-03-09 18:38 GMT+01:00 Laura Abbott :
>>>> On 03/09/2017 02:00 AM, Benjamin Gaignard wrote:
>
2017-03-09 18:38 GMT+01:00 Laura Abbott :
> On 03/09/2017 02:00 AM, Benjamin Gaignard wrote:
>> 2017-03-06 17:04 GMT+01:00 Daniel Vetter :
>>> On Mon, Mar 06, 2017 at 11:58:05AM +0100, Mark Brown wrote:
>>>> On Mon, Mar 06, 2017 at 11:40:41AM +0100, Daniel Vetter w
2017-03-06 17:04 GMT+01:00 Daniel Vetter :
> On Mon, Mar 06, 2017 at 11:58:05AM +0100, Mark Brown wrote:
>> On Mon, Mar 06, 2017 at 11:40:41AM +0100, Daniel Vetter wrote:
>>
>> > No one gave a thing about android in upstream, so Greg KH just dumped it
>> > all into staging/android/. We've discussed
2017-03-03 11:27 GMT+01:00 Daniel Vetter :
> On Fri, Mar 03, 2017 at 11:04:33AM +0100, Daniel Vetter wrote:
>> On Thu, Mar 02, 2017 at 01:44:32PM -0800, Laura Abbott wrote:
>> > Hi,
>> >
>> > There's been some recent discussions[1] about Ion-like frameworks. There's
>> > apparently interest in just
To use HPD notifier sti CEC driver needs to get phandle
of the hdmi device.
Signed-off-by: Benjamin Gaignard
Signed-off-by: Hans Verkuil
CC: devicet...@vger.kernel.org
version 3:
- change hdmi phandle from "st,hdmi-handle" to "hdmi-handle"
---
arch/arm/boot/dts/stih
Implement the HPD notifier support to allow CEC drivers to
be informed when there is a new EDID and when a connect or
disconnect happens.
Signed-off-by: Benjamin Gaignard
Signed-off-by: Hans Verkuil
---
drivers/gpu/drm/sti/Kconfig| 1 +
drivers/gpu/drm/sti/sti_hdmi.c | 14
instead of HDMI notifier
- move stih-cec out of staging
- rebase code on top of git://linuxtv.org/hverkuil/media_tree.git exynos4-cec
branch
- split DT modifications in a separate patch
Benjamin Gaignard (3):
sti: hdmi: add HPD notifier support
stih-cec: add HPD notifier support
arm: sti:
m_device *pdev)
+{
+ struct stih_cec *cec = platform_get_drvdata(pdev);
+
+ cec_unregister_adapter(cec->adap);
+ hpd_notifier_put(cec->notifier);
+
+ return 0;
+}
+
+static const struct of_device_id stih_cec_match[] = {
+ {
+ .compatible = "st,st
2017-02-14 20:59 GMT+01:00 Laurent Pinchart :
> Hi Daniel,
>
> On Tuesday 14 Feb 2017 20:44:44 Daniel Vetter wrote:
>> On Tue, Feb 14, 2017 at 8:39 PM, Laurent Pinchart wrote:
>> > On Tuesday 14 Feb 2017 20:33:58 Daniel Vetter wrote:
>> >> On Mon, Feb 13, 2017
2017-02-14 20:30 GMT+01:00 Laurent Pinchart :
> Hi Benjamin,
>
> Thank you for the patch. I've CC'ed the linux-api mailing list.
>
> On Monday 13 Feb 2017 15:45:05 Benjamin Gaignard wrote:
>> This is the core of simple allocator module.
>> It aim to offert
ator CMA OK\n");
end:
close(fd);
}
[1] https://github.com/cubanismo/allocator
Benjamin Gaignard (2):
Create Simple Allocator module
add CMA simple allocator module
Documentation/simple-allocator.txt | 81 ++
drivers/Kconfig | 2
This patch add simple allocator for CMA regions.
version 2:
- fix size and page count computation
Signed-off-by: Benjamin Gaignard
---
drivers/simpleallocator/Kconfig| 7 +
drivers/simpleallocator/Makefile | 1 +
drivers/simpleallocator/simple-allocator-cma.c
This is the core of simple allocator module.
It aim to offert one common ioctl to allocate specific memory.
version 2:
- rebased on 4.10-rc7
Signed-off-by: Benjamin Gaignard
---
Documentation/simple-allocator.txt | 81 +++
drivers/Kconfig
dmabuf in v4l2
>
> Regards,
>
> Hans
>
> On 04/23/2015 11:22 AM, Benjamin Gaignard wrote:
>> Until now the only way to make the driver allocate buffers and
>> share them using dma_buf was to use V4L2_MEMORY_MMAP memory type.
>> Use of MMAP memory type is a
");
}
memset(mem, 0xFF, LENGTH);
munmap(mem, LENGTH);
printf("test simple allocator CMA OK\n");
end:
close(fd);
}
[1] https://github.com/cubanismo/allocator
Benjamin Gaignard (2):
Create Simple Allocator module
add CMA simple allocator
This patch add simple allocator for CMA regions
Signed-off-by: Benjamin Gaignard
---
drivers/simpleallocator/Kconfig| 7 +
drivers/simpleallocator/Makefile | 1 +
drivers/simpleallocator/simple-allocator-cma.c | 187 +
3 files changed
This is the core of simple allocator module.
It aim to offert one common ioctl to allocate specific memory.
Signed-off-by: Benjamin Gaignard
---
Documentation/simple-allocator.txt | 81 +++
drivers/Kconfig | 2 +
drivers/Makefile
To use HPD notifier sti CEC driver needs to get phandle
of the hdmi device.
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stih407-family.dtsi | 12
arch/arm/boot/dts/stih410.dtsi| 13 +
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git a
struct stih_cec *cec = platform_get_drvdata(pdev);
+
+ cec_unregister_adapter(cec->adap);
+ hpd_notifier_put(cec->notifier);
+
+ return 0;
+}
+
+static const struct of_device_id stih_cec_match[] = {
+ {
+ .compatible = "st,stih-cec",
+
Implement the HPD notifier support to allow CEC drivers to
be informed when there is a new EDID and when a connect or
disconnect happens.
Signed-off-by: Benjamin Gaignard
---
version 2:
- use HPD notifier instead of HDMI notifier
---
drivers/gpu/drm/sti/Kconfig| 1 +
drivers/gpu/drm/sti
tree.git exynos4-cec
branch
- split DT modifications in a separate patch
Regards,
Benjamin
Benjamin Gaignard (3):
sti: hdmi: add HPD notifier support
stih-cec: add HPD notifier support
arm: sti: update sti-cec for HPD notifier support
.../devicetree/bindings/media/stih-cec.txt | 2
c after applying
those patches ?
Regards,
Benjamin
Benjamin Gaignard (2):
sti: hdmi: add HDMI notifier support
stih-cec: add hdmi-notifier support
.../devicetree/bindings/media/stih-cec.txt | 2 ++
arch/arm/boot/dts/stih407-family.dtsi | 12 -
arch/arm/boot/dts/stih410
Implement the HDMI notifier support to allow CEC drivers to
be informed when there is a new EDID and when a connect or
disconnect happens.
Signed-off-by: Benjamin Gaignard
---
drivers/gpu/drm/sti/Kconfig| 1 +
drivers/gpu/drm/sti/sti_hdmi.c | 15 +++
drivers/gpu/drm/sti
stih407-family.dtsi accordingly.
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/media/stih-cec.txt | 2 ++
arch/arm/boot/dts/stih407-family.dtsi | 12 -
arch/arm/boot/dts/stih410.dtsi | 15 ++-
drivers/staging/media/st-cec
Thanks,
Acked-by: Benjamin Gaignard
2016-11-04 8:58 GMT+01:00 Maninder Singh :
> This patch fixes the following checkpatch.pl error:
> ERROR: Macros with complex values should be enclosed in parentheses
>
> Signed-off-by: Maninder Singh
> ---
> drivers/staging/media/st-cec
Thanks,
Acked-by: Benjamin Gaignard
2016-10-17 17:44 GMT+02:00 Javier Martinez Canillas :
> If the driver is built as a module, autoload won't work because the module
> alias information is not filled. So user-space can't match the registered
> device with the corresponding
o not impose any specific constraints. How "liballoc-ion.so"
> backend figures out how to map constraints/usage to a heap is a bit
> hand-wavey at the moment.
>
> BR,
> -R
>
> On Wed, Oct 5, 2016 at 9:40 AM, Benjamin Gaignard
> wrote:
>> because with ion it is up
that if you can export more device information to
userland we can
get access to them in kernel too.
2016-10-05 15:43 GMT+02:00 Daniel Vetter :
> On Wed, Oct 05, 2016 at 03:40:14PM +0200, Benjamin Gaignard wrote:
>> because with ion it is up to userland to decide which heap to use
>>
smaf.
Benjamin
2016-10-05 15:19 GMT+02:00 Daniel Vetter :
> On Tue, Oct 04, 2016 at 01:47:21PM +0200, Benjamin Gaignard wrote:
>> version 10 changes:
>> - rebased on kernel 4.8 tag
>> - minor typo fix
>>
>> version 9 changes:
>> - rebased on 4.8-rc5
>>
be compatible with ARM 64bits architecture
Signed-off-by: Benjamin Gaignard
---
drivers/smaf/Kconfig| 6 ++
drivers/smaf/Makefile | 1 +
drivers/smaf/smaf-cma.c | 186
3 files changed, 193 insertions(+)
create mode 100644 drivers/smaf
check if the devices are compatible or not with it allocation
method.
Securing module (smaf-secure.h):
The way of how securing memory it is done is platform specific.
Secure module is responsible of grant/revoke memory access.
Signed-off-by: Benjamin Gaignard
---
drivers/Kconfig
This module is allow testing secure calls of SMAF.
Signed-off-by: Benjamin Gaignard
---
drivers/smaf/Kconfig | 6 +++
drivers/smaf/Makefile | 1 +
drivers/smaf/smaf-testsecure.c | 90 ++
3 files changed, 97 insertions(+)
create mode
ted by Sumit Semwal work about
constraint aware allocator.
Benjamin Gaignard (3):
create SMAF module
SMAF: add CMA allocator
SMAF: add test secure module
drivers/Kconfig| 2 +
drivers/Makefile | 1 +
drivers/smaf/Kconfig | 17 +
drivers/smaf/Makefile
Acked-by: Benjamin Gaignard
2016-09-28 17:13 GMT+02:00 Wei Yongjun :
> From: Wei Yongjun
>
> Remove including that don't need it.
>
> Signed-off-by: Wei Yongjun
> ---
> drivers/staging/media/st-cec/stih-cec.c | 1 -
> 1 file changed, 1 deletion(-)
>
> di
This patch implement CEC driver for stih4xx platform.
Driver compliance has been test with cec-ctl and
cec-compliance tools.
Signed-off-by: Benjamin Gaignard
---
drivers/staging/media/Kconfig | 2 +
drivers/staging/media/Makefile | 1 +
drivers/staging/media/st-cec
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stih407-family.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-family.dtsi
b/arch/arm/boot/dts/stih407-family.dtsi
index d294e82..9f88086 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
PA: 1.0.0.0, LA mask: 0x
Event: State Change: PA: 1.0.0.0, LA mask: 0x4000
Event: State Change: PA: 1.0.0.0, LA mask: 0x
Event: State Change: PA: 1.0.0.0, LA mask: 0x4000
Event: State Change: PA: 1.0.0.0, LA mask: 0x
Event: State Change: PA: 1.0.0.0, LA mask: 0x0008
Benjamin Gaignard (4):
Signed-off-by: Benjamin Gaignard
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0bbe4b1..f541117 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10281,6 +10281,13 @@ S: Maintained
F: Documentation/devicetree/bindings/serial/
F
Add bindings documentation for stih-cec driver.
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/media/stih-cec.txt | 25 ++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/stih-cec.txt
diff --git a
Fixed and tested, thanks.
I will wait for any others comments before send a v3.
Regards,
Benjamin
2016-09-14 14:58 GMT+02:00 Hans Verkuil :
> Hi Benjamin,
>
> Just one comment:
>
> On 09/14/2016 01:24 PM, Benjamin Gaignard wrote:
>> This patch implement CEC driver
Signed-off-by: Benjamin Gaignard
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0bbe4b1..f541117 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10281,6 +10281,13 @@ S: Maintained
F: Documentation/devicetree/bindings/serial/
F
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stih407-family.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-family.dtsi
b/arch/arm/boot/dts/stih407-family.dtsi
index d294e82..9f88086 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
Add bindings documentation for stih-cec driver.
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/media/stih-cec.txt | 25 ++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/stih-cec.txt
diff --git a
This patch implement CEC driver for stih4xx platform.
Driver compliance has been test with cec-ctl and
cec-compliance tools.
Signed-off-by: Benjamin Gaignard
---
drivers/staging/media/Kconfig | 2 +
drivers/staging/media/Makefile | 1 +
drivers/staging/media/st-cec
nt: State Change: PA: 1.0.0.0, LA mask: 0x4000
Event: State Change: PA: 1.0.0.0, LA mask: 0x
Event: State Change: PA: 1.0.0.0, LA mask: 0x0008
Benjamin Gaignard (4):
bindings for stih-cec driver
add stih-cec driver
add stih-cec driver into DT
add maintainer for stih-cec driver
...
Signed-off-by: Benjamin Gaignard
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0bbe4b1..f541117 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10281,6 +10281,13 @@ S: Maintained
F: Documentation/devicetree/bindings/serial/
F
This patch implement CEC driver for stih4xx platform.
Driver compliance has been test with cec-ctl and
cec-compliance tools.
Signed-off-by: Benjamin Gaignard
---
drivers/staging/media/Kconfig | 2 +
drivers/staging/media/Makefile | 1 +
drivers/staging/media/st-cec
Signed-off-by: Benjamin Gaignard
---
arch/arm/boot/dts/stih410.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi
index 18ed1ad..440c4bd 100644
--- a/arch/arm/boot/dts/stih410.dtsi
+++ b/arch/arm/boot/dts/stih410
Add bindings documentation for stih-cec driver.
Signed-off-by: Benjamin Gaignard
---
.../devicetree/bindings/media/stih-cec.txt | 25 ++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/stih-cec.txt
diff --git a
nt: State Change: PA: 1.0.0.0, LA mask: 0x0008
Benjamin Gaignard (4):
bindings for stih-cec driver
add stih-cec driver
add stih-cec driver into DT
add maintainer for stih-cec driver
.../devicetree/bindings/media/stih-cec.txt | 25 ++
MAINTAINERS|
1 - 100 of 150 matches
Mail list logo