- code changed according to the comments on v1
Ivaylo Dimitrov (2):
media: Driver for Toshiba et8ek8 5MP sensor
media: et8ek8: Add documentation
Is there any progress here? Is there any way I could help?
There were some notes I need to address, unfortunately no spare time
lately :( . Feel
changed according to the comments on v1
Ivaylo Dimitrov (2):
media: Driver for Toshiba et8ek8 5MP sensor
media: et8ek8: Add documentation
Is there any progress here? Is there any way I could help?
There were some notes I need to address, unfortunately no spare time lately
:( . Feel free to
Hi,
On 20.12.2017 19:54, Laurent Pinchart wrote:
Hi Pavel,
On Saturday, 4 February 2017 23:56:10 EET Pavel Machek wrote:
Hi!
+Required properties
+===
+
+compatible : must contain "video-bus-switch"
How generic is this? Should we have e.g. nokia,video-bus-switch? And
if
soon, so please,
somebody else do it.
Cc: Rob Herring
Cc: Ivaylo Dimitrov
Cc: Pali Rohár
Cc: Pavel Machek
Cc: Timo Kokkonen
Cc: Tony Lindgren
And some acks
Before merging it.
Signed-off-by: Sean Young
---
arch/arm/boot/dts/omap3-n900.dts | 2 +-
drivers/media/rc/pwm-ir-tx.c
Hi,
On 13.07.2018 15:22, Sean Young wrote:
The ir-rx51 is a pwm-based TX driver specific to the N900. This can be
handled entirely by the generic pwm-ir-tx driver.
Note that the suspend code in the ir-rx51 driver is unnecessary, since
during transmit, the process is not in interruptable sleep.
Some sensors (like the one in Nokia N900) provide metadata in the first
couple of lines. Make that information information available to the
pipeline.
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/i2c/smiapp/smiapp-core.c | 12
drivers/media/i2c/smiapp/smiapp.h | 1 +
2
Hi,
On 18.04.2016 00:44, Sakari Ailus wrote:
Hi Ivaylo,
On Sat, Apr 16, 2016 at 11:12:20AM +0300, Ivaylo Dimitrov wrote:
Some sensors (like the one in Nokia N900) provide metadata in the first
couple of lines. Make that information information available to the
pipeline.
Signed-off-by: Ivaylo
8x488]'
media-ctl -V '"OMAP3 ISP CCP2":1 [SGRBG10 648x488]'
media-ctl -V '"OMAP3 ISP CCDC":2 [SGRBG10 648x488]'
media-ctl -V '"OMAP3 ISP preview":1 [UYVY 648x488]'
media-ctl -V '"OMAP3 ISP resizer":1 [UYVY 656x488]'
From: "Tuukka.O Toivonen"
Squashed from the following upstream commits:
V4L: Create control class for sensor mode
V4L: add ad5820 focus specific custom controls
V4L: add V4L2_CID_TEST_PATTERN
V4L: Add V4L2_CID_MODE_OPSYSCLOCK for reading output system clock
Signed-off-by: Tuukka Toivonen
Signe
ISP CSI1 module needs all the bits correctly set to work.
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/platform/omap3isp/isp.c | 2 ++
drivers/media/platform/omap3isp/ispccp2.c | 7 +--
drivers/media/platform/omap3isp/ispreg.h | 4
drivers/media/platform/omap3isp/omap3isp.h
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/boot/dts/omap3-n900.dts | 140 +++
1 file changed, 140 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index cc4cab2..03e1613 100644
--- a/arch/arm/boot/dts/omap3-n900
OMAP3430 needs various syscon CONTROL_CSIRXFE bits set in order to operate.
Implement the missing functionality.
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/platform/omap3isp/ispccp2.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/media/platform
From: Sebastian Reichel
---
include/uapi/linux/media.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index df59ede..244bea1 100644
--- a/include/uapi/linux/media.h
+++ b/include/uapi/linux/media.h
@@ -137,6 +137,7 @@ struct media_devi
Add support for parsing of CSI-1 and CCP2 bus related properties documented
in video-interfaces.txt.
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-core/v4l2-of.c | 35 +++
include/media/v4l2-of.h | 17 +
2 files changed, 52 insertion
add driver
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/i2c/smia/Kconfig |8 +
drivers/media/i2c/smia/Makefile |1 +
drivers/media/i2c/smia/et8ek8.c | 1788 +++
3 files changed, 1797 insertions(+)
create mode 100644 drivers/media/i2c/smia/et8ek8
From: Sakari Ailus
The function to parse CSI2 bus parameters was called
v4l2_of_parse_csi_bus(), rename it as v4l2_of_parse_csi2_bus() in
anticipation of CSI1/CCP2 support.
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-core/v4l2-of.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/i2c/Kconfig | 1 +
drivers/media/i2c/Makefile| 1 +
drivers/media/i2c/smia/Kconfig| 9 +
drivers/media/i2c/smia/Makefile | 1 +
drivers/media/i2c/smia/smiaregs.c | 724 ++
include
From: Sakari Ailus
Only try parsing bus specific properties in this case.
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-core/v4l2-of.c | 42 +--
1 file changed, 32 insertions(+), 10 deletions(-)
diff --git a/drivers/media/v4l2-core/v4l2-of.c
b/drivers
From: Sebastian Reichel
Add support for CCP2 connected SMIA sensors as found
on the Nokia N900.
Signed-off-by: Sebastian Reichel
---
drivers/media/i2c/smiapp/smiapp-core.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c
b
From: Sebastian Reichel
---
drivers/media/v4l2-core/v4l2-async.c | 50 ++--
include/media/v4l2-async.h | 2 ++
2 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/drivers/media/v4l2-core/v4l2-async.c
b/drivers/media/v4l2-core/v4l2-async.c
From: Sebastian Reichel
---
drivers/media/v4l2-core/v4l2-device.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-device.c
b/drivers/media/v4l2-core/v4l2-device.c
index 06fa5f1..5aebe0a 100644
--- a/drivers/media/v4l2-core/v4l2-device.c
+++ b/drivers/media/v4
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/platform/Kconfig| 10 +
drivers/media/platform/Makefile | 2 +
drivers/media/platform/video-bus-switch.c | 366 ++
3 files changed, 378 insertions(+)
create mode 100644 drivers/media/platform
From: Sebastian Reichel
Add the document for et8ek8 dt.
---
.../bindings/media/i2c/toshiba,et8ek8.txt | 56 ++
1 file changed, 56 insertions(+)
create mode 100644
Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt
diff --git a/Documentation/devicetree/
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/boot/dts/omap3-n900.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index 03e1613..bf74f85 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
From: Sakari Ailus
In the vast majority of cases the bus type is known to the driver(s) since
a receiver or transmitter can only support a single one. There are cases
however where different options are possible.
Signed-off-by: Sakari Ailus
---
Documentation/devicetree/bindings/media/video-int
From: Sakari Ailus
Signed-off-by: Sakari Ailus
---
drivers/media/i2c/smiapp/smiapp-quirk.h | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/media/i2c/smiapp/smiapp-quirk.h
b/drivers/media/i2c/smiapp/smiapp-quirk.h
index dac5566..209818f 100644
--- a/drivers/me
From: Sakari Ailus
Document the CSI1/CCP2 properties strobe_clk_inv and strobe_clock
properties. The former tells whether the strobe/clock signal is inverted,
while the latter signifies the clock or strobe mode.
Signed-off-by: Sakari Ailus
---
Documentation/devicetree/bindings/media/video-inte
From: Sakari Ailus
The CSI-1 will need these as well, separate them into a different function.
have_clk_lane and num_data_lanes arguments may be NULL; the CSI-1 bus will
have no use for them.
Signed-off-by: Sakari Ailus
---
drivers/media/v4l2-core/v4l2-of.c | 60 +-
From: Sakari Ailus
Obtain the CSI1/CCP2 bus parameters from the OF node.
Signed-off-by: Sakari Ailus
---
drivers/media/platform/omap3isp/isp.c | 110 --
1 file changed, 77 insertions(+), 33 deletions(-)
diff --git a/drivers/media/platform/omap3isp/isp.c
b/driv
From: Sakari Ailus
Required added multiplier (and divisor) calculation did not take into
account the existing divisor when checking the values against the minimum
divisor. Do just that.
Signed-off-by: Sakari Ailus
---
drivers/media/i2c/smiapp-pll.c | 3 ++-
1 file changed, 2 insertions(+), 1 d
From: Sakari Ailus
CCP2, or CSI-1, is an older single data lane serial bus.
Signed-off-by: Sakari Ailus
---
include/media/v4l2-mediabus.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/media/v4l2-mediabus.h b/include/media/v4l2-mediabus.h
index 34cc99e..315c167 100644
--- a/in
From: Sakari Ailus
Quirk controls can be set up in the init quirk.
Signed-off-by: Sakari Ailus
---
drivers/media/i2c/smiapp/smiapp-core.c | 6 ++
drivers/media/i2c/smiapp/smiapp-quirk.h | 3 +++
2 files changed, 9 insertions(+)
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c
b/drive
On 25.04.2016 00:55, Pavel Machek wrote:
Hi!
Those patch series make cameras on Nokia N900 partially working.
Some more patches are needed, but I've already sent them for
upstreaming so they are not part of the series:
https://lkml.org/lkml/2016/4/16/14
https://lkml.org/lkml/2016/4/16/33
As
Hi,
On 25.04.2016 16:25, Sakari Ailus wrote:
Hi Ivaylo,
Thanks for the set!
On Mon, Apr 25, 2016 at 12:08:01AM +0300, Ivaylo Dimitrov wrote:
From: "Tuukka.O Toivonen"
Squashed from the following upstream commits:
V4L: Create control class for sensor mode
V4L: add ad5820 focu
Hi,
On 25.04.2016 19:58, Pavel Machek wrote:
Hi!
Ok, let me try:
The needed pipeline could be made with:
media-ctl -r
media-ctl -l '"vs6555 binner 2-0010":1 -> "video-bus-switch":2 [1]'
media-ctl -l '"video-bus-switch":0 -> "OMAP3 ISP CCP2":0 [1]'
media-ctl -l '"OMAP3 ISP CCP2":1 -> "OMAP3 I
On 25.04.2016 20:09, Pavel Machek wrote:
Hi!
The needed pipeline could be made with:
Would you have similar pipeline for the back camera? Autofocus and
5MPx makes it more interesting. I understand that different dts will
be needed.
Try with:
media-ctl -r
media-ctl -l '"et8ek8 3-003e":0
Hi,
On 25.04.2016 21:40, Pavel Machek wrote:
Hi!
I can't do -vo xv ... fails for me, probably due to X
configuration. Does it work with -vo x11 for you?
yes, -vo x11 works under maemo.
Ok, good.
In linux-n900 branch we have a patch that reserves memory for omapfb - see
https://github.co
Hi,
On 25.04.2016 23:41, Pavel Machek wrote:
Hi!
All my testing so far was performed using modules, though it shouldn't make
difference.
https://lkml.org/lkml/2016/4/16/14
https://lkml.org/lkml/2016/4/16/33
More stuff is needed, all those twl4030 regulator patches (already in
linux-next)
Hi,
On 26.04.2016 01:07, Pavel Machek wrote:
Hi!
Hi!
All my testing so far was performed using modules, though it shouldn't make
difference.
https://lkml.org/lkml/2016/4/16/14
https://lkml.org/lkml/2016/4/16/33
More stuff is needed, all those twl4030 regulator patches (already in
linux-
Hi,
On 27.04.2016 06:08, Sebastian Reichel wrote:
Hi,
On Mon, Apr 25, 2016 at 12:08:00AM +0300, Ivaylo Dimitrov wrote:
Those patch series make cameras on Nokia N900 partially working.
Some more patches are needed, but I've already sent them for
upstreaming so they are not part of the s
Hi,
On 27.04.2016 08:05, Ivaylo Dimitrov wrote:
Hi,
On 27.04.2016 06:08, Sebastian Reichel wrote:
Hi,
On Mon, Apr 25, 2016 at 12:08:00AM +0300, Ivaylo Dimitrov wrote:
Those patch series make cameras on Nokia N900 partially working.
Some more patches are needed, but I've already sent
Hi,
On 27.04.2016 02:51, Tony Lindgren wrote:
The ir-rx51 driver for n900 has been disabled since the multiarch
changes as plat include directory no longer is SoC specific.
Let's fix it with minimal changes to pass the dmtimer calls in
pdata. Then the following changes can be done while things
Хи,
On 28.04.2016 23:22, Tony Lindgren wrote:
* Ivaylo Dimitrov [160428 12:39]:
On 27.04.2016 02:51, Tony Lindgren wrote:
omap_dm_timer_request_specific always fails with message "Please use
omap_dm_timer_request_by_cap/node()" with DT boot.
I hacked the c
river does not function
correctly, however the patchset at least allows for the driver to be
build and we have something to improve on. And I am going to send a
patch that fixes the problem with omap_dm_timer_request_specific(). So,
for both patches, you may add:
Tested-by: Ivaylo Dimitrov
Hi,
On 29.04.2016 20:45, Sebastian Reichel wrote:
Hi,
On Fri, Apr 29, 2016 at 02:05:52AM +0200, Sebastian Reichel wrote:
On Wed, Apr 27, 2016 at 08:12:50PM +0300, Ивайло Димитров wrote:
The zImage + initrd works with the steps you described below.
Great!
I also got it working with the pre
Hi,
On 30.04.2016 01:20, Pali Rohár wrote:
On Saturday 30 April 2016 00:13:59 Pavel Machek wrote:
Any other application I should look at? Thanks,
Maybe camera-ui, which is part of CSSU?
https://github.com/community-ssu/camera-ui
This is based on gdigicam, are you sure it is compatible wit
Hi,
On 29.04.2016 00:27, Tony Lindgren wrote:
* Ivaylo Dimitrov [160428 14:21]:
I didn't test legacy boot, as I don't really see any value of doing it now
the end of the legacy boot is near, the driver does not function correctly,
however the patchset at least allows for the dr
Hi,
On 23.12.2016 13:42, Pavel Machek wrote:
Hi!
[...]
static int isp_subdev_notifier_bound(struct v4l2_async_notifier *async,
diff --git a/drivers/media/platform/video-bus-switch.c
b/drivers/media/platform/video-bus-switch.c
index 1a5d944..3a2d442 100644
--- a/drivers/media/platform/video-
Hi,
On 20.12.2016 19:50, Sean Young wrote:
This driver was written using lirc since rc-core did not support
transmitter-only hardware at that time. Now that it does, port
this driver.
Compile tested only.
I guess after that change, there will be no more /dev/lircN device,
right? Neither wil
On 30.12.2016 15:30, Sean Young wrote:
On Fri, Dec 30, 2016 at 01:07:52PM +, Sean Young wrote:
Hi Ivo,,
On Fri, Dec 30, 2016 at 01:30:01PM +0200, Ivaylo Dimitrov wrote:
On 20.12.2016 19:50, Sean Young wrote:
This driver was written using lirc since rc-core did not support
transmitter
Hi
On 16.01.2017 12:10, Sean Young wrote:
Have you had a chance to test the ir-rx51 changes?
Thanks
Sean
Still no, and afaik there are issues booting n900 with current kernel.
Will try to find time over the weekend.
Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-m
the same
interfaces.
Document the CSI1/CCP2 property strobe. It signifies the clock or
strobe mode.
Signed-off-by: Sakari Ailus
Signed-off-by: Ivaylo Dimitrov
Signed-off-by: Pavel Machek
diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt
b/Documentation/devicetree
Hi,
On 26.04.2017 16:23, Pavel Machek wrote:
Hi!
I don't see why it would be hard to open files or have threads inside
a library. There are several libraries that do that already, specially
the ones designed to be used on multimidia apps.
Well, This is what the libv4l2 says:
This file im
On 27.04.2017 01:51, Pavel Machek wrote:
Hi!
There are two separate things here:
1) Autofoucs for a device that doesn't use subdev API
2) libv4l2 support for devices that require MC and subdev API
Actually there are three: 0) autogain. Unfortunately, I need autogain
first before autofocus
Hi,
On 1.05.2016 13:44, Sakari Ailus wrote:
Hi Ivaylo,
On Mon, Apr 25, 2016 at 12:08:03AM +0300, Ivaylo Dimitrov wrote:
add driver
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/i2c/smia/Kconfig |8 +
drivers/media/i2c/smia/Makefile |1 +
drivers/media/i2c/smia/et8ek8.c
Ignore that mail, I pushed send by mistake
On 1.05.2016 15:31, Ivaylo Dimitrov wrote:
Hi,
On 1.05.2016 13:44, Sakari Ailus wrote:
Hi Ivaylo,
On Mon, Apr 25, 2016 at 12:08:03AM +0300, Ivaylo Dimitrov wrote:
add driver
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/i2c/smia/Kconfig
Hi,
On 1.05.2016 13:44, Sakari Ailus wrote:
Hi Ivaylo,
On Mon, Apr 25, 2016 at 12:08:03AM +0300, Ivaylo Dimitrov wrote:
add driver
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/i2c/smia/Kconfig |8 +
drivers/media/i2c/smia/Makefile |1 +
drivers/media/i2c/smia/et8ek8.c
The sensor is found in Nokia N900 main camera
Signed-off-by: Ivaylo Dimitrov
---
.../bindings/media/i2c/toshiba,et8ek8.txt | 53 +
drivers/media/i2c/Kconfig |1 +
drivers/media/i2c/Makefile |1 +
drivers/media/i2c/et8ek8
Hi,
On 1.05.2016 13:45, Sakari Ailus wrote:
Hi Ivaylo,
On Mon, Apr 25, 2016 at 12:08:04AM +0300, Ivaylo Dimitrov wrote:
From: Sakari Ailus
Required added multiplier (and divisor) calculation did not take into
account the existing divisor when checking the values against the minimum
divisor
Hi,
On 1.05.2016 13:46, Sakari Ailus wrote:
On Mon, Apr 25, 2016 at 12:08:06AM +0300, Ivaylo Dimitrov wrote:
From: Sakari Ailus
Quirk controls can be set up in the init quirk.
Signed-off-by: Sakari Ailus
Do you need quirk controls for something at the moment? I guess not at least
with
With the upcoming removal of legacy boot, lets add support to one of the
last N900 drivers remaining without it. As the driver still uses omap
dmtimer, add auxdata as well.
Signed-off-by: Ivaylo Dimitrov
---
.../devicetree/bindings/media/nokia,lirc-rx51 | 19 +++
arch
source. Allowing setting the clock source by PWM rather than by timer
allows different PWMs to have different ranges by not hard-wiring the clock
source to the timer.
Signed-off-by: Ivaylo Dimitrov
---
Documentation/devicetree/bindings/pwm/pwm-omap-dmtimer.txt | 4
drivers/pwm/pwm-omap
Convert driver to use PWM framework instead of calling dmtimer functions
directly for PWM timer. Remove paragraph about writing to the Free Software
Foundation's mailing address while at it.
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 1 -
arch/arm
eeded
delays.
Fix that by implementing an "enabled" counter, so the PM runtime functions
get called only when really needed.
Without that patch Nokia N900 IR TX driver (ir-rx51) does not function.
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/plat-omap/dmtimer.c | 9 -
Add the needed DT data to enable IR TX driver
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/boot/dts/omap3-n900.dts | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index b3c26a9..3d1e23e 100644
--- a/arch/arm
Drop dmtimer usage for pulse timer in favor of hrtimer. That allows
removing PWM dmitimer platform data usage.
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 4 -
arch/arm/mach-omap2/pdata-quirks.c | 3 -
drivers/media/rc/ir-rx51.c
From: Tony Lindgren
The ir-rx51 driver for n900 has been disabled since the multiarch
changes as plat include directory no longer is SoC specific.
Let's fix it with minimal changes to pass the dmtimer calls in
pdata. Then the following changes can be done while things can
be tested to be working
are needed so the driver to function correctly, without
those PWM either refuses to set the needed carrier frequency (patch 2)
or there are such a delays in the PWM framework, code that transmission
duration raises to ~5s instead of half a second.
Ivaylo Dimitrov (6):
pwm: omap-dmtimer: Allow for
Hi,
On 9.05.2016 22:36, Tony Lindgren wrote:
* Ivaylo Dimitrov [160507 08:24]:
once omap_dm_timer_start() is called, which calls omap_dm_timer_enable()
and thus pm_runtime_get_sync(), it doesn't make sense to call PM runtime
functions again before omap_dm_timer_stop is called(). Otherwi
Hi,
On 9.05.2016 23:06, Rob Herring wrote:
On Sat, May 07, 2016 at 06:21:45PM +0300, Ivaylo Dimitrov wrote:
With the upcoming removal of legacy boot, lets add support to one of the
last N900 drivers remaining without it. As the driver still uses omap
dmtimer, add auxdata as well.
Signed-off
On 10.05.2016 00:07, Rob Herring wrote:
On Mon, May 9, 2016 at 3:53 PM, Ivaylo Dimitrov
wrote:
Hi,
On 9.05.2016 23:06, Rob Herring wrote:
On Sat, May 07, 2016 at 06:21:45PM +0300, Ivaylo Dimitrov wrote:
With the upcoming removal of legacy boot, lets add support to one of the
last N900
Hi,
On 11.05.2016 17:14, Rob Herring wrote:
On Tue, May 10, 2016 at 04:18:27AM +0200, Sebastian Reichel wrote:
Hi,
On Mon, May 09, 2016 at 04:07:35PM -0500, Rob Herring wrote:
There's already a pwm-led binding that can be used. Though there
may be missing consumer IR to LED subsystem support
Drop dmtimer usage for pulse timer in favor of hrtimer. That allows
removing PWM dmitimer platform data usage.
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 4 -
arch/arm/mach-omap2/pdata-quirks.c | 3 -
drivers/media/rc/ir-rx51.c
source. Allowing setting the clock source by PWM rather than by timer
allows different PWMs to have different ranges by not hard-wiring the clock
source to the timer.
Signed-off-by: Ivaylo Dimitrov
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/pwm/pwm-omap-dmtimer.txt | 4
Add the needed DT data to enable IR TX driver
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/boot/dts/omap3-n900.dts | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index b3c26a9..cb3878a 100644
--- a/arch/arm
With the upcoming removal of legacy boot, lets add support to one of the
last N900 drivers remaining without it. As the driver still uses omap
dmtimer, add auxdata as well.
Signed-off-by: Ivaylo Dimitrov
---
.../devicetree/bindings/media/nokia,n900-ir | 20
arch
From: Tony Lindgren
The ir-rx51 driver for n900 has been disabled since the multiarch
changes as plat include directory no longer is SoC specific.
Let's fix it with minimal changes to pass the dmtimer calls in
pdata. Then the following changes can be done while things can
be tested to be working
needed so the driver to function correctly, without it PWM
refuses to set the needed carrier frequency.
Changes compared to v1:
- removed [PATCH 5/7] ARM: OMAP: dmtimer: Do not call PM runtime
functions when not needed.
- DT compatible string changed to "nokia,n900-ir"
Ivaylo Dimitrov
Convert driver to use PWM framework instead of calling dmtimer functions
directly for PWM timer. Remove paragraph about writing to the Free Software
Foundation's mailing address while at it.
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 1 -
arch/arm
Hi,
On 21.05.2016 08:43, Pavel Machek wrote:
This adds support for AD5820 autofocus coil, found for example in
Nokia N900 smartphone.
Signed-off-by: Pavel Machek
---
v2: simple cleanups, fix error paths, simplify probe
I think it is ready. Please apply :-).
diff --git a/drivers/media/i2c/Kc
Hi,
On 21.05.2016 13:56, Pavel Machek wrote:
This adds support for AD5820 autofocus coil, found for example in
Nokia N900 smartphone.
Signed-off-by: Pavel Machek
---
v2: simple cleanups, fix error paths, simplify probe
v3: more cleanups, remove printk, add include
diff --git a/drivers/media
On 3.05.2016 17:50, Ivaylo Dimitrov wrote:
The sensor is found in Nokia N900 main camera
Signed-off-by: Ivaylo Dimitrov
---
.../bindings/media/i2c/toshiba,et8ek8.txt | 53 +
drivers/media/i2c/Kconfig |1 +
drivers/media/i2c/Makefile
On 24.05.2016 12:04, Pavel Machek wrote:
Hi!
+static int ad5820_registered(struct v4l2_subdev *subdev)
+{
+ struct ad5820_device *coil = to_ad5820_device(subdev);
+ struct i2c_client *client = v4l2_get_subdevdata(subdev);
+
+ coil->vana = regulator_get(&client->dev, "VANA");
On 24.05.2016 23:20, Pavel Machek wrote:
Hi!
devm_regulator_get()?
I'd rather avoid devm_ here. Driver is simple enough to allow it.
Now thinking about it, what would happen here if regulator_get() returns
-EPROBE_DEFER? Wouldn't it be better to move regulator_get to the probe()
function
Hi,
On 24.05.2016 14:19, Pavel Machek wrote:
Hi!
The sensor is found in Nokia N900 main camera
Signed-off-by: Ivaylo Dimitrov
+/*
+ * A buffered write method that puts the wanted register write
+ * commands in a message list and passes the list to the i2c framework
+ */
+static int
to the user space.
I'll try to take a look at those some time in the near future.
ok
I very much appreciate your work towards finally upstreaming this! :-)
On Tue, May 03, 2016 at 05:50:04PM +0300, Ivaylo Dimitrov wrote:
The sensor is found in Nokia N900 main camera
Signed-off-by: Ivayl
Hi,
On 5.06.2016 22:07, Pavel Machek wrote:
Add userspace API definitions.
Signed-off-by: Pavel Machek
diff --git a/include/uapi/linux/v4l2-controls.h
b/include/uapi/linux/v4l2-controls.h
index b6a357a..23011cc 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-co
On 10.06.2016 13:22, Tony Lindgren wrote:
OK. And I just applied the related dts changes. Please repost the driver
changes and DT binding doc with Rob's ack to the driver maintainers to
apply.
Already did, see https://lkml.org/lkml/2016/5/16/429
Shall I do anything else?
Thanks,
Ivo
--
To
Add DT bindings description
Signed-off-by: Ivaylo Dimitrov
---
.../bindings/media/i2c/toshiba,et8ek8.txt | 50 ++
1 file changed, 50 insertions(+)
create mode 100644
Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt
diff --git a/Documentation
This series adds driver for Toshiba et8ek8 camera sensor found in Nokia N900
Changes from v2:
- driver and documentation split into separate patches
- removed custom controls
- code changed according to the comments on v1
Ivaylo Dimitrov (2):
media: Driver for Toshiba et8ek8 5MP sensor
The sensor is found in Nokia N900 main camera
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/i2c/Kconfig|1 +
drivers/media/i2c/Makefile |1 +
drivers/media/i2c/et8ek8/Kconfig |6 +
drivers/media/i2c/et8ek8/Makefile|2 +
drivers
Add DT bindings description
Signed-off-by: Ivaylo Dimitrov
---
.../bindings/media/i2c/toshiba,et8ek8.txt | 50 ++
1 file changed, 50 insertions(+)
create mode 100644
Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt
diff --git a/Documentation
This series adds driver for Toshiba et8ek8 camera sensor found in Nokia N900
Changes from v2:
- fix build when CONFIG_PM is not defined
Changes from v1:
- driver and documentation split into separate patches
- removed custom controls
- code changed according to the comments on v1
Ivaylo
The sensor is found in Nokia N900 main camera
Signed-off-by: Ivaylo Dimitrov
---
drivers/media/i2c/Kconfig|1 +
drivers/media/i2c/Makefile |1 +
drivers/media/i2c/et8ek8/Kconfig |6 +
drivers/media/i2c/et8ek8/Makefile|2 +
drivers
Hi,
On 12.06.2016 23:41, Sakari Ailus wrote:
From: Sakari Ailus
Add a V4L2 control class for voice coil lens driver devices. These are
simple devices that are used to move a camera lens from its resting
position.
Signed-off-by: Sakari Ailus
---
Hi Pavel,
I also don't think the FOCUS_ABSOLU
Hi,
On 13.06.2016 21:17, Pali Rohár wrote:
On Saturday 07 May 2016 17:21:41 Ivaylo Dimitrov wrote:
ir-rx51 is a driver for Nokia N900 IR transmitter. The current series
fixes the remaining problems in the driver:
- replace GP timer 9 with PWM framework usage
- replace pulse width timer
Hi,
On 13.06.2016 10:10, Tony Lindgren wrote:
* Ivaylo Dimitrov [160610 14:23]:
On 10.06.2016 13:22, Tony Lindgren wrote:
OK. And I just applied the related dts changes. Please repost the driver
changes and DT binding doc with Rob's ack to the driver maintainers to
apply.
Alread
On 15.06.2016 21:41, Rob Herring wrote:
On Tue, Jun 14, 2016 at 11:31 PM, Sakari Ailus wrote:
Hi Rob,
On Tue, Jun 14, 2016 at 05:05:17PM -0500, Rob Herring wrote:
On Sat, Jun 11, 2016 at 06:39:53PM +0300, Ivaylo Dimitrov wrote:
Add DT bindings description
Not exactly the best commit msg
Drop dmtimer usage for pulse timer in favor of hrtimer. That allows
removing PWM dmitimer platform data usage.
Signed-off-by: Ivaylo Dimitrov
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 4 -
arch/arm/mach-omap2/pdata-quirks.c | 3 -
drivers/media/rc/ir-rx51.c
needed so the driver to function correctly, without it PWM
refuses to set the needed carrier frequency.
Changes compared to v1:
- removed [PATCH 5/7] ARM: OMAP: dmtimer: Do not call PM runtime
functions when not needed.
- DT compatible string changed to "nokia,n900-ir"
Ivaylo Dimitrov
1 - 100 of 111 matches
Mail list logo