Re: [PATCH 2/2] media: mx2_camera: Change Kconfig dependency
On Sat, May 24, 2014 at 08:56:23AM +0400, Alexander Shiyan wrote: This patch change MACH_MX27 dependency to SOC_IMX27 for MX2 camera driver, since MACH_MX27 symbol is scheduled for removal. Signed-off-by: Alexander Shiyan shc_w...@mail.ru Acked-by: Shawn Guo shawn@freescale.com --- drivers/media/platform/soc_camera/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/soc_camera/Kconfig b/drivers/media/platform/soc_camera/Kconfig index 122e03a..fc62897 100644 --- a/drivers/media/platform/soc_camera/Kconfig +++ b/drivers/media/platform/soc_camera/Kconfig @@ -63,7 +63,7 @@ config VIDEO_OMAP1 config VIDEO_MX2 tristate i.MX27 Camera Sensor Interface driver - depends on VIDEO_DEV SOC_CAMERA MACH_MX27 + depends on VIDEO_DEV SOC_CAMERA SOC_IMX27 select VIDEOBUF2_DMA_CONTIG ---help--- This is a v4l2 driver for the i.MX27 Camera Sensor Interface -- 1.8.5.5 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] msi3103: Use time_before_eq()
To be future-proof and for better readability the time comparisons are modified to use time_before_eq() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de --- drivers/staging/media/msi3101/sdr-msi3101.c | 28 +-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index 65d351f..7a0a8ca 100644 --- a/drivers/staging/media/msi3101/sdr-msi3101.c +++ b/drivers/staging/media/msi3101/sdr-msi3101.c @@ -207,10 +207,10 @@ static int msi3101_convert_stream_504(struct msi3101_state *s, u8 *dst, dst_len += 1008; } - /* calculate samping rate and output it in 10 seconds intervals */ - if ((s-jiffies_next + msecs_to_jiffies(1)) = jiffies) { + /* calculate sampling rate and output it in 10 seconds intervals */ + if (time_before_eq(s-jiffies_next + 10 * HZ, jiffies)) { unsigned long jiffies_now = jiffies; - unsigned long msecs = jiffies_to_msecs(jiffies_now) - jiffies_to_msecs(s-jiffies_next); + unsigned long msecs = jiffies_to_msecs(jiffies_now - s-jiffies_next); unsigned int samples = sample_num[i_max - 1] - s-sample; s-jiffies_next = jiffies_now; s-sample = sample_num[i_max - 1]; @@ -265,7 +265,7 @@ static int msi3101_convert_stream_504_u8(struct msi3101_state *s, u8 *dst, dst_len += 1008; } - /* calculate samping rate and output it in 10 seconds intervals */ + /* calculate sampling rate and output it in 10 seconds intervals */ if (unlikely(time_is_before_jiffies(s-jiffies_next))) { #define MSECS 1UL unsigned int samples = sample_num[i_max - 1] - s-sample; @@ -359,10 +359,10 @@ static int msi3101_convert_stream_384(struct msi3101_state *s, u8 *dst, dst_len += 984; } - /* calculate samping rate and output it in 10 seconds intervals */ - if ((s-jiffies_next + msecs_to_jiffies(1)) = jiffies) { + /* calculate sampling rate and output it in 10 seconds intervals */ + if (time_before_eq(s-jiffies_next + 10 * HZ, jiffies)) { unsigned long jiffies_now = jiffies; - unsigned long msecs = jiffies_to_msecs(jiffies_now) - jiffies_to_msecs(s-jiffies_next); + unsigned long msecs = jiffies_to_msecs(jiffies_now - s-jiffies_next); unsigned int samples = sample_num[i_max - 1] - s-sample; s-jiffies_next = jiffies_now; s-sample = sample_num[i_max - 1]; @@ -424,10 +424,10 @@ static int msi3101_convert_stream_336(struct msi3101_state *s, u8 *dst, dst_len += 1008; } - /* calculate samping rate and output it in 10 seconds intervals */ - if ((s-jiffies_next + msecs_to_jiffies(1)) = jiffies) { + /* calculate sampling rate and output it in 10 seconds intervals */ + if (time_before_eq(s-jiffies_next + 10 * HZ, jiffies)) { unsigned long jiffies_now = jiffies; - unsigned long msecs = jiffies_to_msecs(jiffies_now) - jiffies_to_msecs(s-jiffies_next); + unsigned long msecs = jiffies_to_msecs(jiffies_now - s-jiffies_next); unsigned int samples = sample_num[i_max - 1] - s-sample; s-jiffies_next = jiffies_now; s-sample = sample_num[i_max - 1]; @@ -487,10 +487,10 @@ static int msi3101_convert_stream_252(struct msi3101_state *s, u8 *dst, dst_len += 1008; } - /* calculate samping rate and output it in 10 seconds intervals */ - if ((s-jiffies_next + msecs_to_jiffies(1)) = jiffies) { + /* calculate sampling rate and output it in 10 seconds intervals */ + if (time_before_eq(s-jiffies_next + 10 * HZ, jiffies)) { unsigned long jiffies_now = jiffies; - unsigned long msecs = jiffies_to_msecs(jiffies_now) - jiffies_to_msecs(s-jiffies_next); + unsigned long msecs = jiffies_to_msecs(jiffies_now - s-jiffies_next); unsigned int samples = sample_num[i_max - 1] - s-sample; s-jiffies_next = jiffies_now; s-sample = sample_num[i_max - 1]; @@ -560,7 +560,7 @@ static int msi3101_convert_stream_252_u16(struct msi3101_state *s, u8 *dst, dst_len += 1008; } - /* calculate samping rate and output it in 10 seconds intervals */ + /* calculate sampling rate and output it in 10 seconds intervals */ if (unlikely(time_is_before_jiffies(s-jiffies_next))) { #define MSECS 1UL unsigned int samples = sample_num[i_max - 1] - s-sample; -- 1.7.10.4 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at
Re: [GIT PULL FOR v3.16] davinci updates
Hi Hans, On Sun, May 25, 2014 at 2:48 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 05/24/2014 09:59 PM, Mauro Carvalho Chehab wrote: [snip] reverted patch and resubmit the remaining ones: media: davinci: vpif_capture: drop unneeded module params media: davinci: vpif_capture: fix v4l-complinace issues Ah, please fix the typo there: complinace. Prabhakar, do you have time to create a proper description of the drop unneeded module params patch? I know you are going to relocate, so if you don't, then let me know and I will try to make a good description on Monday. The second patch depends on the first, so rather than trying to fix the second patch it is easier to just create a proper description for the first so that the can be applied in order. Please go ahead and make the changes and thanks for the help :) Thanks, --Prabhakar Lad Regards, Hans -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL v2 FOR v3.16] adv7604: ADV7611 and DT support
Em Mon, 28 Apr 2014 21:48:31 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: Hi Mauro, The following changes since commit 393cbd8dc532c1ebed60719da8d379f50d445f28: [media] smiapp: Use %u for printing u32 value (2014-04-23 16:05:06 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git linuxtv/adv7611 for you to fetch changes up to 89d3226804151fb97049ecc2170ea46aaa6f7f60: adv7604: Set HPD GPIO direction to output (2014-04-28 21:03:58 +0200) Lars-Peter Clausen (4): adv7604: Add missing include to linux/types.h adv7604: Add support for asynchronous probing -ENODESCRIPTION. Please add a proper description to each patch. adv7604: Don't put info string arrays on the stack adv7604: Add adv7611 support Laurent Pinchart (44): v4l: Add UYVY10_2X10 and VYUY10_2X10 media bus pixel codes v4l: Add UYVY10_1X20 and VYUY10_1X20 media bus pixel codes v4l: Add 12-bit YUV 4:2:0 media bus pixel codes v4l: Add 12-bit YUV 4:2:2 media bus pixel codes The above 4 patches seem to be already applied. Btw, next time, please add a patch description. Among other things, that would save me some time to identify that this is duplicated stuff that were merged previously via some other pull request. v4l: Add pad-level DV timings subdev operations What do you have against properly documenting a patch? Please write some lines describing why this API change is needed, and how it was implemented. ad9389b: Add pad-level DV timings operations adv7511: Add pad-level DV timings operations adv7842: Add pad-level DV timings operations s5p-tv: hdmi: Add pad-level DV timings operations s5p-tv: hdmiphy: Add pad-level DV timings operations ths8200: Add pad-level DV timings operations tvp7002: Add pad-level DV timings operations media: bfin_capture: Switch to pad-level DV operations media: davinci: vpif: Switch to pad-level DV operations media: staging: davinci: vpfe: Switch to pad-level DV operations s5p-tv: mixer: Switch to pad-level DV operations ad9389b: Remove deprecated video-level DV timings operations adv7511: Remove deprecated video-level DV timings operations adv7842: Remove deprecated video-level DV timings operations s5p-tv: hdmi: Remove deprecated video-level DV timings operations s5p-tv: hdmiphy: Remove deprecated video-level DV timings operation ths8200: Remove deprecated video-level DV timings operations tvp7002: Remove deprecated video-level DV timings operations v4l: Improve readability by not wrapping ioctl number #define's v4l: Add support for DV timings ioctls on subdev nodes v4l: Validate fields in the core code for subdev EDID ioctls adv7604: Add 16-bit read functions for CP and HDMI -ENODESCRIPTION. Please add a proper description to each patch. adv7604: Cache register contents when reading multiple bits adv7604: Remove subdev control handlers adv7604: Add sink pads adv7604: Make output format configurable through pad format operations adv7604: Add pad-level DV timings support adv7604: Remove deprecated video-level DV timings operations v4l: subdev: Remove deprecated video-level DV timings operations adv7604: Inline the to_sd function adv7604: Store I2C addresses and clients in arrays adv7604: Replace *_and_or() functions with *_clr_set() adv7604: Sort headers alphabetically adv7604: Support hot-plug detect control through a GPIO adv7604: Specify the default input through platform data adv7604: Add DT support adv7604: Add LLC polarity configuration adv7604: Add endpoint properties to DT bindings adv7604: Set HPD GPIO direction to output Documentation/DocBook/media/v4l/subdev-formats.xml | 760 .../DocBook/media/v4l/vidioc-dv-timings-cap.xml | 27 +- .../DocBook/media/v4l/vidioc-enum-dv-timings.xml| 30 +- Documentation/devicetree/bindings/media/i2c/adv7604.txt | 70 ++ drivers/media/i2c/ad9389b.c | 64 +- drivers/media/i2c/adv7511.c | 66 +- drivers/media/i2c/adv7604.c | 1468 ++ drivers/media/i2c/adv7842.c | 14 +- drivers/media/i2c/ths8200.c | 10 + drivers/media/i2c/tvp7002.c |5 +- drivers/media/platform/blackfin/bfin_capture.c |4 +- drivers/media/platform/davinci/vpif_capture.c |4 +- drivers/media/platform/davinci/vpif_display.c |4 +- drivers/media/platform/s5p-tv/hdmi_drv.c| 14 +- drivers/media/platform/s5p-tv/hdmiphy_drv.c
[PATCH for v3.16] DocBook media: fix typo
The reference to v4l2-event-source-change should have been v4l2-event-src-change. This caused a failure when building the spec. Fixed. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml b/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml index f016254..17efa87 100644 --- a/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml +++ b/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml @@ -167,7 +167,7 @@ or the pad index (when used with a subdevice node) from which you want to receive events./para - paraThis event has a v4l2-event-source-change; associated + paraThis event has a v4l2-event-src-change; associated with it. The structfieldchanges/structfield bitfield denotes what has changed for the subscribed pad. If multiple events occurred before application could dequeue them, then the changes -- 2.0.0.rc0 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL v2 FOR v3.16] adv7604: ADV7611 and DT support
Hi Mauro, On Sunday 25 May 2014 10:20:47 Mauro Carvalho Chehab wrote: Em Mon, 28 Apr 2014 21:48:31 +0200 Laurent Pinchart escreveu: Hi Mauro, The following changes since commit 393cbd8dc532c1ebed60719da8d379f50d445f28: [media] smiapp: Use %u for printing u32 value (2014-04-23 16:05:06 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git linuxtv/adv7611 for you to fetch changes up to 89d3226804151fb97049ecc2170ea46aaa6f7f60: adv7604: Set HPD GPIO direction to output (2014-04-28 21:03:58 +0200) Lars-Peter Clausen (4): adv7604: Add missing include to linux/types.h adv7604: Add support for asynchronous probing -ENODESCRIPTION. Please add a proper description to each patch. adv7604: Don't put info string arrays on the stack adv7604: Add adv7611 support Laurent Pinchart (44): v4l: Add UYVY10_2X10 and VYUY10_2X10 media bus pixel codes v4l: Add UYVY10_1X20 and VYUY10_1X20 media bus pixel codes v4l: Add 12-bit YUV 4:2:0 media bus pixel codes v4l: Add 12-bit YUV 4:2:2 media bus pixel codes The above 4 patches seem to be already applied. Btw, next time, please add a patch description. Among other things, that would save me some time to identify that this is duplicated stuff that were merged previously via some other pull request. v4l: Add pad-level DV timings subdev operations What do you have against properly documenting a patch? Nothing at all :-) As discussed over IRC, I try to document the what in the subject line and the why in the commit message body. I document the how when I consider that the information isn't clear from the patch content. Anyway, I'll resend the series rebased on top of your latest master branch, with a description for each patch. Please write some lines describing why this API change is needed, and how it was implemented. ad9389b: Add pad-level DV timings operations adv7511: Add pad-level DV timings operations adv7842: Add pad-level DV timings operations s5p-tv: hdmi: Add pad-level DV timings operations s5p-tv: hdmiphy: Add pad-level DV timings operations ths8200: Add pad-level DV timings operations tvp7002: Add pad-level DV timings operations media: bfin_capture: Switch to pad-level DV operations media: davinci: vpif: Switch to pad-level DV operations media: staging: davinci: vpfe: Switch to pad-level DV operations s5p-tv: mixer: Switch to pad-level DV operations ad9389b: Remove deprecated video-level DV timings operations adv7511: Remove deprecated video-level DV timings operations adv7842: Remove deprecated video-level DV timings operations s5p-tv: hdmi: Remove deprecated video-level DV timings operations s5p-tv: hdmiphy: Remove deprecated video-level DV timings operation ths8200: Remove deprecated video-level DV timings operations tvp7002: Remove deprecated video-level DV timings operations v4l: Improve readability by not wrapping ioctl number #define's v4l: Add support for DV timings ioctls on subdev nodes v4l: Validate fields in the core code for subdev EDID ioctls adv7604: Add 16-bit read functions for CP and HDMI -ENODESCRIPTION. Please add a proper description to each patch. adv7604: Cache register contents when reading multiple bits adv7604: Remove subdev control handlers adv7604: Add sink pads adv7604: Make output format configurable through pad format operations adv7604: Add pad-level DV timings support adv7604: Remove deprecated video-level DV timings operations v4l: subdev: Remove deprecated video-level DV timings operations adv7604: Inline the to_sd function adv7604: Store I2C addresses and clients in arrays adv7604: Replace *_and_or() functions with *_clr_set() adv7604: Sort headers alphabetically adv7604: Support hot-plug detect control through a GPIO adv7604: Specify the default input through platform data adv7604: Add DT support adv7604: Add LLC polarity configuration adv7604: Add endpoint properties to DT bindings adv7604: Set HPD GPIO direction to output Documentation/DocBook/media/v4l/subdev-formats.xml | 760 ++ .../DocBook/media/v4l/vidioc-dv-timings-cap.xml | 27 +- .../DocBook/media/v4l/vidioc-enum-dv-timings.xml| 30 +- Documentation/devicetree/bindings/media/i2c/adv7604.txt | 70 ++ drivers/media/i2c/ad9389b.c | 64 +- drivers/media/i2c/adv7511.c | 66 +- drivers/media/i2c/adv7604.c | 1468 +++--- drivers/media/i2c/adv7842.c
Re: [GIT PULL 3.16] soc-camera for 3.16: one driver removal, a fix and more
Hi Guennadi, Em Sat, 24 May 2014 13:31:37 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: Hi Mauro, I was waiting for DT patches for soc-camera, but they're not yet ready. So, here go 5 patches, including one driver removal, one error-path fix from myself, and a couple more clean up and enhancement patches. BTW, the git request-pull command issued a warning: warn: No match for commit 66635afdc4e26f89fd7bc631f452ada84d6e4f3f found at git://linuxtv.org/gliakhovetski/v4l-dvb.git warn: Are you sure you pushed 'HEAD' there? This is actually a fatal error... you forgot to do a git pull ;) I hope, the result is still ok... The following changes since commit b5c8d48bf8f4273a9fe680bd834f991005c8ab59: Add linux-next specific files for 20140502 (2014-05-02 17:01:07 +1000) are available in the git repository at: git://linuxtv.org/gliakhovetski/v4l-dvb.git See, the URL above doesn't have a branch. That's because git request-pull were unable to find a branch upstream with your patches. for you to fetch changes up to 66635afdc4e26f89fd7bc631f452ada84d6e4f3f: media: mx2_camera: Change Kconfig dependency (2014-05-24 13:08:53 +0200) Alexander Shiyan (2): media: mx1_camera: Remove driver media: mx2_camera: Change Kconfig dependency Ben Dooks (1): rcar_vin: copy flags from pdata Guennadi Liakhovetski (1): V4L: soc-camera: explicitly free allocated managed memory on error Jean Delvare (1): V4L2: soc_camera: add run-time dependencies to R-Car VIN driver drivers/media/platform/soc_camera/Kconfig | 16 +- drivers/media/platform/soc_camera/Makefile | 1 - drivers/media/platform/soc_camera/mx1_camera.c | 866 - drivers/media/platform/soc_camera/rcar_vin.c | 12 +- drivers/media/platform/soc_camera/soc_camera.c | 12 +- 5 files changed, 16 insertions(+), 891 deletions(-) delete mode 100644 drivers/media/platform/soc_camera/mx1_camera.c Thanks Guennadi -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[GIT PULL v3 FOR v3.16] adv7604: ADV7611 and DT support
Hi Mauro, The following changes since commit 85ac1a1772bb41da895bad83a81f6a62c8f293f6: [media] media: stk1160: Avoid stack-allocated buffer for control URBs (2014-05-24 17:12:11 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git linuxtv/adv7611 for you to fetch changes up to 3fee381b76a6e350efa376f092440ffe2ecea3a3: adv7604: Set HPD GPIO direction to output (2014-05-25 16:37:28 +0200) Compared to v2, the series has been rebased on top of your latest master branch (four patches already merged have thus been dropped) and all commits now have a commit message body. Lars-Peter Clausen (4): adv7604: Add missing include to linux/types.h adv7604: Add support for asynchronous probing adv7604: Don't put info string arrays on the stack adv7604: Add adv7611 support Laurent Pinchart (40): v4l: Add pad-level DV timings subdev operations ad9389b: Add pad-level DV timings operations adv7511: Add pad-level DV timings operations adv7842: Add pad-level DV timings operations s5p-tv: hdmi: Add pad-level DV timings operations s5p-tv: hdmiphy: Add pad-level DV timings operations ths8200: Add pad-level DV timings operations tvp7002: Add pad-level DV timings operations media: bfin_capture: Switch to pad-level DV operations media: davinci: vpif: Switch to pad-level DV operations media: staging: davinci: vpfe: Switch to pad-level DV operations s5p-tv: mixer: Switch to pad-level DV operations ad9389b: Remove deprecated video-level DV timings operations adv7511: Remove deprecated video-level DV timings operations adv7842: Remove deprecated video-level DV timings operations s5p-tv: hdmi: Remove deprecated video-level DV timings operations s5p-tv: hdmiphy: Remove deprecated video-level DV timings operation ths8200: Remove deprecated video-level DV timings operations tvp7002: Remove deprecated video-level DV timings operations v4l: Improve readability by not wrapping ioctl number #define's v4l: Add support for DV timings ioctls on subdev nodes v4l: Validate fields in the core code for subdev EDID ioctls adv7604: Add 16-bit read functions for CP and HDMI adv7604: Cache register contents when reading multiple bits adv7604: Remove subdev control handlers adv7604: Add sink pads adv7604: Make output format configurable through pad format operations adv7604: Add pad-level DV timings support adv7604: Remove deprecated video-level DV timings operations v4l: subdev: Remove deprecated video-level DV timings operations adv7604: Inline the to_sd function adv7604: Store I2C addresses and clients in arrays adv7604: Replace *_and_or() functions with *_clr_set() adv7604: Sort headers alphabetically adv7604: Support hot-plug detect control through a GPIO adv7604: Specify the default input through platform data adv7604: Add DT support adv7604: Add LLC polarity configuration adv7604: Add endpoint properties to DT bindings adv7604: Set HPD GPIO direction to output .../DocBook/media/v4l/vidioc-dv-timings-cap.xml | 27 +- .../DocBook/media/v4l/vidioc-enum-dv-timings.xml| 30 +- Documentation/devicetree/bindings/media/i2c/adv7604.txt | 70 ++ drivers/media/i2c/ad9389b.c | 64 +- drivers/media/i2c/adv7511.c | 66 +- drivers/media/i2c/adv7604.c | 1468 +- drivers/media/i2c/adv7842.c | 14 +- drivers/media/i2c/ths8200.c | 10 + drivers/media/i2c/tvp7002.c |5 +- drivers/media/platform/blackfin/bfin_capture.c |4 +- drivers/media/platform/davinci/vpif_capture.c |4 +- drivers/media/platform/davinci/vpif_display.c |4 +- drivers/media/platform/s5p-tv/hdmi_drv.c| 14 +- drivers/media/platform/s5p-tv/hdmiphy_drv.c |9 +- drivers/media/platform/s5p-tv/mixer_video.c |8 +- drivers/media/v4l2-core/v4l2-subdev.c | 51 +- drivers/staging/media/davinci_vpfe/vpfe_video.c |4 +- include/media/adv7604.h | 124 +- include/media/v4l2-subdev.h |8 +- include/uapi/linux/v4l2-subdev.h| 40 +- include/uapi/linux/videodev2.h | 10 +- 21 files changed, 1415 insertions(+), 619 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/adv7604.txt -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at
Re: [GIT PULL 3.16] soc-camera for 3.16: one driver removal, a fix and more
On Sun, 25 May 2014, Mauro Carvalho Chehab wrote: Hi Guennadi, Em Sat, 24 May 2014 13:31:37 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: Hi Mauro, I was waiting for DT patches for soc-camera, but they're not yet ready. So, here go 5 patches, including one driver removal, one error-path fix from myself, and a couple more clean up and enhancement patches. BTW, the git request-pull command issued a warning: warn: No match for commit 66635afdc4e26f89fd7bc631f452ada84d6e4f3f found at git://linuxtv.org/gliakhovetski/v4l-dvb.git warn: Are you sure you pushed 'HEAD' there? This is actually a fatal error... you forgot to do a git pull ;) Uhm... never had to do it before... I still couldn't generate a pull request properly, I only managed to do it after I specified an end hash... So, here's a new version: The following changes since commit b5c8d48bf8f4273a9fe680bd834f991005c8ab59: Add linux-next specific files for 20140502 (2014-05-02 17:01:07 +1000) are available in the git repository at: git://linuxtv.org/gliakhovetski/v4l-dvb.git 66635afdc4e26f89fd7bc631f452ada84d6e4f3f for you to fetch changes up to 66635afdc4e26f89fd7bc631f452ada84d6e4f3f: media: mx2_camera: Change Kconfig dependency (2014-05-24 13:08:53 +0200) Alexander Shiyan (2): media: mx1_camera: Remove driver media: mx2_camera: Change Kconfig dependency Ben Dooks (1): rcar_vin: copy flags from pdata Guennadi Liakhovetski (1): V4L: soc-camera: explicitly free allocated managed memory on error Jean Delvare (1): V4L2: soc_camera: add run-time dependencies to R-Car VIN driver drivers/media/platform/soc_camera/Kconfig | 16 +- drivers/media/platform/soc_camera/Makefile | 1 - drivers/media/platform/soc_camera/mx1_camera.c | 866 - drivers/media/platform/soc_camera/rcar_vin.c | 12 +- drivers/media/platform/soc_camera/soc_camera.c | 12 +- 5 files changed, 16 insertions(+), 891 deletions(-) delete mode 100644 drivers/media/platform/soc_camera/mx1_camera.c -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL 3.16] soc-camera for 3.16: one driver removal, a fix and more
Em Sun, 25 May 2014 20:05:49 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: On Sun, 25 May 2014, Mauro Carvalho Chehab wrote: Hi Guennadi, Em Sat, 24 May 2014 13:31:37 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: Hi Mauro, I was waiting for DT patches for soc-camera, but they're not yet ready. So, here go 5 patches, including one driver removal, one error-path fix from myself, and a couple more clean up and enhancement patches. BTW, the git request-pull command issued a warning: warn: No match for commit 66635afdc4e26f89fd7bc631f452ada84d6e4f3f found at git://linuxtv.org/gliakhovetski/v4l-dvb.git warn: Are you sure you pushed 'HEAD' there? This is actually a fatal error... you forgot to do a git pull ;) Uhm... never had to do it before... I still couldn't generate a pull request properly, I only managed to do it after I specified an end hash... So, here's a new version: The following changes since commit b5c8d48bf8f4273a9fe680bd834f991005c8ab59: Add linux-next specific files for 20140502 (2014-05-02 17:01:07 +1000) are available in the git repository at: git://linuxtv.org/gliakhovetski/v4l-dvb.git 66635afdc4e26f89fd7bc631f452ada84d6e4f3f That doesn't work properly. Also, it seems that there's something wrong on your tree, as there are there even patches for linux-next: http://git.linuxtv.org/cgit.cgi/gliakhovetski/v4l-dvb.git/log/?h=for-3.16-1 You should not send me a pull request based on linux-next, as this will break compilation. Instead, if you're needing patches merged via other trees, please explicitly tell be, and I'll create a separate topic branch, pushing there from the other maintainer's tree. Of course, in this case, it should be a branch that the other maintainer will never rebase. I did something similar to that today, with the OMAP3 patches from Laurent. Regards, Mauro for you to fetch changes up to 66635afdc4e26f89fd7bc631f452ada84d6e4f3f: media: mx2_camera: Change Kconfig dependency (2014-05-24 13:08:53 +0200) Alexander Shiyan (2): media: mx1_camera: Remove driver media: mx2_camera: Change Kconfig dependency Ben Dooks (1): rcar_vin: copy flags from pdata Guennadi Liakhovetski (1): V4L: soc-camera: explicitly free allocated managed memory on error Jean Delvare (1): V4L2: soc_camera: add run-time dependencies to R-Car VIN driver drivers/media/platform/soc_camera/Kconfig | 16 +- drivers/media/platform/soc_camera/Makefile | 1 - drivers/media/platform/soc_camera/mx1_camera.c | 866 - drivers/media/platform/soc_camera/rcar_vin.c | 12 +- drivers/media/platform/soc_camera/soc_camera.c | 12 +- 5 files changed, 16 insertions(+), 891 deletions(-) delete mode 100644 drivers/media/platform/soc_camera/mx1_camera.c -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] m5mols: Replace missing header
The include/media/s5p_fimc.h header has been removed in commit 49b2f4c56fbf70ca693d6df1c491f0566d516aea (exynos4-is: Remove support for non-dt platforms). This broke compilation of the m5mols driver. Include the include/media/exynos-fimc.h header instead, which contains the S5P_FIMC_TX_END_NOTIFY definition required by the driver. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/m5mols/m5mols_capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (Resending to linux-media has the original patch seems not to have made it to the list for an unknown reason.) This is a regression in Mauro's latest master branch. diff --git a/drivers/media/i2c/m5mols/m5mols_capture.c b/drivers/media/i2c/m5mols/m5mols_capture.c index ab34cce..1a03d02 100644 --- a/drivers/media/i2c/m5mols/m5mols_capture.c +++ b/drivers/media/i2c/m5mols/m5mols_capture.c @@ -26,7 +26,7 @@ #include media/v4l2-device.h #include media/v4l2-subdev.h #include media/m5mols.h -#include media/s5p_fimc.h +#include media/exynos-fimc.h #include m5mols.h #include m5mols_reg.h -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL 3.16] soc-camera for 3.16: one driver removal, a fix and more
Em Sun, 25 May 2014 21:33:06 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: On Sun, 25 May 2014, Mauro Carvalho Chehab wrote: Em Sun, 25 May 2014 20:05:49 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: On Sun, 25 May 2014, Mauro Carvalho Chehab wrote: Hi Guennadi, Em Sat, 24 May 2014 13:31:37 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu: Hi Mauro, I was waiting for DT patches for soc-camera, but they're not yet ready. So, here go 5 patches, including one driver removal, one error-path fix from myself, and a couple more clean up and enhancement patches. BTW, the git request-pull command issued a warning: warn: No match for commit 66635afdc4e26f89fd7bc631f452ada84d6e4f3f found at git://linuxtv.org/gliakhovetski/v4l-dvb.git warn: Are you sure you pushed 'HEAD' there? This is actually a fatal error... you forgot to do a git pull ;) Uhm... never had to do it before... I still couldn't generate a pull request properly, I only managed to do it after I specified an end hash... So, here's a new version: The following changes since commit b5c8d48bf8f4273a9fe680bd834f991005c8ab59: Add linux-next specific files for 20140502 (2014-05-02 17:01:07 +1000) are available in the git repository at: git://linuxtv.org/gliakhovetski/v4l-dvb.git 66635afdc4e26f89fd7bc631f452ada84d6e4f3f That doesn't work properly. Hm... Why? You mean you cannot pull it like that? Well, git fetch didn't like that, causing my scripts to break. There are some git commands that don't work with a hash. They require a tag or branch to succeed. Also, it seems that there's something wrong on your tree, as there are there even patches for linux-next: http://git.linuxtv.org/cgit.cgi/gliakhovetski/v4l-dvb.git/log/?h=for-3.16-1 I always did that, see e.g. http://git.linuxtv.org/cgit.cgi/gliakhovetski/v4l-dvb.git/log/?h=for-3.15-1 Well, there, the last changeset is: 36771b8e0770a327eade28ac16a5f9760d76b86e and not 66635afdc4e26f89fd7bc631f452ada84d6e4f3f. You should not send me a pull request based on linux-next, as this will break compilation. Why _will_ it break compilation? Well, because the patches on your tree can be relying on some upstream patch, or, putting it into other words: you didn't test compiling them against upstream. I thought, since I specify the beginning commit in my pull request, you only pull commits _after_ that upstream base point, so, it doesn't matter much for you on which tree I base my branch, it's just my responsibility to (reasonably) make sure, that my patches also apply to your tree. That's only true if my scripts can properly parse your email, as the logic for cherry-picking the patches in this case is somewhat complex, and require both the initial changeset and the final tag or branch. So I always just used next, as it is supposed to also include your development branch. Should I explicitly base my branches on your next branch instead? Please base your tree either on Linus tree (or some already upstreamed branch) or in my tree. This way, I won't complain with you when I push it on my -next tree. One step I always do before merging things at my next tree is to compile on ~45 different archs. I don't do it patch by patch, as such compilation takes ~1 hour. Instead, if you're needing patches merged via other trees, please explicitly tell be, and I'll create a separate topic branch, pushing there from the other maintainer's tree. Of course, in this case, it should be a branch that the other maintainer will never rebase. I did something similar to that today, with the OMAP3 patches from Laurent. No, no specific need, just the usual procedure. Ah, ok. I was guessing that you were needing something special, doing it based on -next, instead of based on upstream. Thanks Guennadi Regards, Mauro for you to fetch changes up to 66635afdc4e26f89fd7bc631f452ada84d6e4f3f: media: mx2_camera: Change Kconfig dependency (2014-05-24 13:08:53 +0200) Alexander Shiyan (2): media: mx1_camera: Remove driver media: mx2_camera: Change Kconfig dependency Ben Dooks (1): rcar_vin: copy flags from pdata Guennadi Liakhovetski (1): V4L: soc-camera: explicitly free allocated managed memory on error Jean Delvare (1): V4L2: soc_camera: add run-time dependencies to R-Car VIN driver drivers/media/platform/soc_camera/Kconfig | 16 +- drivers/media/platform/soc_camera/Makefile | 1 - drivers/media/platform/soc_camera/mx1_camera.c | 866 - drivers/media/platform/soc_camera/rcar_vin.c | 12 +-
[PATCH v8 0/3] ARM: sunxi: Add support for consumer infrared devices
This patch introduces Consumer IR(CIR) support for sunxi boards. This is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- Changes since version 1: - Fix timer memory leaks - Fix race condition when driver unloads while interrupt handler is active - Support Cubieboard 2(need testing) Changes since version 2: - More reliable keydown events - Documentation fixes - Rename registers accurding to A20 user manual - Remove some includes, order includes alphabetically - Use BIT macro - Typo fixes Changes since version 3: - Split the patch on smaller parts - More documentation fixes - Add clock-names in DT - Use devm_clk_get function to get the clocks - Removed gpios property from ir's DT - Changed compatible from allwinner,sunxi-ir to allwinner,sun7i-a20-ir in DT - Use spin_lock_irq instead spin_lock_irqsave in interrupt handler - Add myself in the copyright ;) - Coding style and indentation fixes Changes since version 4: - Try to fix indentation errors by sending patches with git send-mail Changes since version 5: - More indentation fixes - Make patches pass checkpatch with --strict option - Replaced magic numbers with defines(patch by Priit Laes) - Fixed oops on loading(patch by Hans de Goede) Changes since version 6: - Removed constants from code - Better errrors handling on loading - Renamed sunxi-ir.c to sunxi-cir.c - Changed description of second commit - Order entries in dts and dtsi by register address - Code style fixes Changes since version 7: - Removed a couple of blank lines in code - Delay interrupts init until we are ready to handle them - Increased the reported duration of each pulse by one - Refactored defines Alexander Bersenev (3): ARM: sunxi: Add documentation for sunxi consumer infrared devices [media] rc: add sunxi-ir driver ARM: sunxi: Add IR controller support in DT on A20 .../devicetree/bindings/media/sunxi-ir.txt | 23 ++ arch/arm/boot/dts/sun7i-a20-cubieboard2.dts| 6 + arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 6 + arch/arm/boot/dts/sun7i-a20.dtsi | 32 +++ drivers/media/rc/Kconfig | 10 + drivers/media/rc/Makefile | 1 + drivers/media/rc/sunxi-cir.c | 313 + 7 files changed, 391 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/sunxi-ir.txt create mode 100644 drivers/media/rc/sunxi-cir.c -- 1.9.3 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH v8 3/3] ARM: sunxi: Add IR controller support in DT on A20
This patch adds IR controller in A20 Device-Tree: - Two IR devices found in A20 user manual - Pins for two devices - One IR device physically found on Cubieboard 2 - One IR device physically found on Cubietruck Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 6 ++ arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 6 ++ arch/arm/boot/dts/sun7i-a20.dtsi| 32 + 3 files changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts index feeff64..b44d61b 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts @@ -65,6 +65,12 @@ }; }; + ir0: ir@01c21800 { + pinctrl-names = default; + pinctrl-0 = ir0_pins_a; + status = okay; + }; + uart0: serial@01c28000 { pinctrl-names = default; pinctrl-0 = uart0_pins_a; diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index e288562..5f5c31d 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts @@ -121,6 +121,12 @@ }; }; + ir0: ir@01c21800 { + pinctrl-names = default; + pinctrl-0 = ir0_pins_a; + status = okay; + }; + uart0: serial@01c28000 { pinctrl-names = default; pinctrl-0 = uart0_pins_a; diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 0ae2b77..fe1f8ff 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -724,6 +724,20 @@ allwinner,drive = 2; allwinner,pull = 0; }; + + ir0_pins_a: ir0@0 { + allwinner,pins = PB3,PB4; + allwinner,function = ir0; + allwinner,drive = 0; + allwinner,pull = 0; + }; + + ir1_pins_a: ir1@0 { + allwinner,pins = PB22,PB23; + allwinner,function = ir1; + allwinner,drive = 0; + allwinner,pull = 0; + }; }; timer@01c20c00 { @@ -749,6 +763,24 @@ interrupts = 0 24 4; }; + ir0: ir@01c21800 { + compatible = allwinner,sun7i-a20-ir; + clocks = apb0_gates 6, ir0_clk; + clock-names = apb, ir; + interrupts = 0 5 4; + reg = 0x01c21800 0x40; + status = disabled; + }; + + ir1: ir@01c21c00 { + compatible = allwinner,sun7i-a20-ir; + clocks = apb0_gates 7, ir1_clk; + clock-names = apb, ir; + interrupts = 0 6 4; + reg = 0x01c21c00 0x40; + status = disabled; + }; + lradc: lradc@01c22800 { compatible = allwinner,sun4i-lradc-keys; reg = 0x01c22800 0x100; -- 1.9.3 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH v8 2/3] [media] rc: add sunxi-ir driver
This patch adds driver for sunxi IR controller. It is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- drivers/media/rc/Kconfig | 10 ++ drivers/media/rc/Makefile| 1 + drivers/media/rc/sunxi-cir.c | 313 +++ 3 files changed, 324 insertions(+) create mode 100644 drivers/media/rc/sunxi-cir.c diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 8fbd377..9427fad 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig @@ -343,4 +343,14 @@ config RC_ST If you're not sure, select N here. +config IR_SUNXI +tristate SUNXI IR remote control +depends on RC_CORE +depends on ARCH_SUNXI +---help--- + Say Y if you want to use sunXi internal IR Controller + + To compile this driver as a module, choose M here: the module will + be called sunxi-ir. + endif #RC_DEVICES diff --git a/drivers/media/rc/Makefile b/drivers/media/rc/Makefile index f8b54ff..9ee9ee7 100644 --- a/drivers/media/rc/Makefile +++ b/drivers/media/rc/Makefile @@ -32,4 +32,5 @@ obj-$(CONFIG_IR_GPIO_CIR) += gpio-ir-recv.o obj-$(CONFIG_IR_IGUANA) += iguanair.o obj-$(CONFIG_IR_TTUSBIR) += ttusbir.o obj-$(CONFIG_RC_ST) += st_rc.o +obj-$(CONFIG_IR_SUNXI) += sunxi-cir.o obj-$(CONFIG_IR_IMG) += img-ir/ diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c new file mode 100644 index 000..245d8dc --- /dev/null +++ b/drivers/media/rc/sunxi-cir.c @@ -0,0 +1,313 @@ +/* + * Driver for Allwinner sunXi IR controller + * + * Copyright (C) 2014 Alexsey Shestacov wingr...@linux-sunxi.org + * Copyright (C) 2014 Alexander Bersenev b...@hackerdom.ru + * + * Based on sun5i-ir.c: + * Copyright (C) 2007-2012 Daniel Wang + * Allwinner Technology Co., Ltd. www.allwinnertech.com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include linux/clk.h +#include linux/interrupt.h +#include linux/module.h +#include linux/of_platform.h +#include media/rc-core.h + +#define SUNXI_IR_DEV sunxi-ir + +/* Registers */ +/* IR Control */ +#define SUNXI_IR_CTL_REG 0x00 +#define REG_CTL_GEN BIT(0) /* Global Enable */ +#define REG_CTL_RXEN BIT(1) /* RX block enable */ +#define REG_CTL_MD(BIT(4)|BIT(5)) /* CIR mode */ + +/* Rx Config */ +#define SUNXI_IR_RXCTL_REG0x10 +#define REG_RXCTL_RPPIBIT(2) /* Pulse Polarity Invert flag */ + +/* Rx Data */ +#define SUNXI_IR_RXFIFO_REG 0x20 + +/* Rx Interrupt Enable */ +#define SUNXI_IR_RXINT_REG0x2C +#define REG_RXINT_ROI_EN BIT(0) /* Rx FIFO Overflow */ +#define REG_RXINT_RPEI_EN BIT(1) /* Rx Packet End */ +#define REG_RXINT_RAI_EN BIT(4) /* Rx FIFO Data Available */ +/* Rx FIFO available byte level */ +#define REG_RXINT_RAL(val)(((val) 8) (BIT(8)|BIT(9)|BIT(10)|BIT(11))) + +/* Rx Interrupt Status */ +#define SUNXI_IR_RXSTA_REG0x30 +/* RX FIFO Get Available Counter */ +#define REG_RXSTA_GET_AC(val) (((val) 8) (BIT(0)|BIT(1)|BIT(2)|BIT(3) \ + |BIT(4)|BIT(5))) +/* Clear all interrupt status value */ +#define REG_RXSTA_CLEARALL0xff + +/* IR Sample Config */ +#define SUNXI_IR_CIR_REG 0x34 +/* CIR_REG register noise threshold */ +#define REG_CIR_NTHR(val)(((val) 2) (BIT(2)|BIT(3)|BIT(4)|BIT(5) \ +|BIT(6)|BIT(7))) +/* CIR_REG register idle threshold */ +#define REG_CIR_ITHR(val)(((val) 8) (BIT(8)|BIT(9)|BIT(10)|BIT(11) \ +|BIT(12)|BIT(13)|BIT(14)|BIT(15))) + +/* Hardware supported fifo size */ +#define SUNXI_IR_FIFO_SIZE16 +/* How many messages in FIFO trigger IRQ */ +#define TRIGGER_LEVEL 8 +/* Required frequency for IR0 or IR1 clock in CIR mode */ +#define SUNXI_IR_BASE_CLK 800 +/* Frequency after IR internal divider */ +#define SUNXI_IR_CLK (SUNXI_IR_BASE_CLK / 64) +/* Sample period in ns */ +#define SUNXI_IR_SAMPLE (10ul / SUNXI_IR_CLK) +/* Noise threshold in samples */ +#define SUNXI_IR_RXNOISE 1 +/* Idle Threshold in samples */ +#define SUNXI_IR_RXIDLE 20 +/* Time after which device stops sending data in ms */ +#define SUNXI_IR_TIMEOUT 120 + +struct sunxi_ir { + spinlock_t ir_lock; + struct rc_dev *rc; + void __iomem*base; + int irq; + struct clk *clk; + struct clk *apb_clk; +
[PATCH v8 1/3] ARM: sunxi: Add documentation for sunxi consumer infrared devices
This patch adds documentation for Device-Tree bindings for sunxi IR controller. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- .../devicetree/bindings/media/sunxi-ir.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/sunxi-ir.txt diff --git a/Documentation/devicetree/bindings/media/sunxi-ir.txt b/Documentation/devicetree/bindings/media/sunxi-ir.txt new file mode 100644 index 000..014dd8b --- /dev/null +++ b/Documentation/devicetree/bindings/media/sunxi-ir.txt @@ -0,0 +1,23 @@ +Device-Tree bindings for SUNXI IR controller found in sunXi SoC family + +Required properties: +- compatible : should be allwinner,sun7i-a20-ir; +- clocks : list of clock specifiers, corresponding to + entries in clock-names property; +- clock-names : should contain apb and ir entries; +- interrupts : should contain IR IRQ number; +- reg : should contain IO map address for IR. + +Optional properties: +- linux,rc-map-name : Remote control map name. + +Example: + +ir0: ir@01c21800 { + compatible = allwinner,sun7i-a20-ir; + clocks = apb0_gates 6, ir0_clk; + clock-names = apb, ir; + interrupts = 0 5 1; + reg = 0x01C21800 0x40; + linux,rc-map-name = rc-rc6-mce; +}; -- 1.9.3 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
cron job: media_tree daily build: ABI WARNING
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Mon May 26 04:00:28 CEST 2014 git branch: test git hash: f7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8 gcc version:i686-linux-gcc (GCC) 4.8.2 sparse version: v0.5.0-11-g38d1124 host hardware: x86_64 host os:3.14-1.slh.1-amd64 linux-git-arm-at91: OK linux-git-arm-davinci: OK linux-git-arm-exynos: OK linux-git-arm-mx: OK linux-git-arm-omap: OK linux-git-arm-omap1: OK linux-git-arm-pxa: OK linux-git-blackfin: OK linux-git-i686: OK linux-git-m32r: OK linux-git-mips: OK linux-git-powerpc64: OK linux-git-sh: OK linux-git-x86_64: OK linux-2.6.31.14-i686: OK linux-2.6.32.27-i686: OK linux-2.6.33.7-i686: OK linux-2.6.34.7-i686: OK linux-2.6.35.9-i686: OK linux-2.6.36.4-i686: OK linux-2.6.37.6-i686: OK linux-2.6.38.8-i686: OK linux-2.6.39.4-i686: OK linux-3.0.60-i686: OK linux-3.1.10-i686: OK linux-3.2.37-i686: OK linux-3.3.8-i686: OK linux-3.4.27-i686: OK linux-3.5.7-i686: OK linux-3.6.11-i686: OK linux-3.7.4-i686: OK linux-3.8-i686: OK linux-3.9.2-i686: OK linux-3.10.1-i686: OK linux-3.11.1-i686: OK linux-3.12-i686: OK linux-3.13-i686: OK linux-3.14-i686: OK linux-3.15-rc1-i686: OK linux-2.6.31.14-x86_64: OK linux-2.6.32.27-x86_64: OK linux-2.6.33.7-x86_64: OK linux-2.6.34.7-x86_64: OK linux-2.6.35.9-x86_64: OK linux-2.6.36.4-x86_64: OK linux-2.6.37.6-x86_64: OK linux-2.6.38.8-x86_64: OK linux-2.6.39.4-x86_64: OK linux-3.0.60-x86_64: OK linux-3.1.10-x86_64: OK linux-3.2.37-x86_64: OK linux-3.3.8-x86_64: OK linux-3.4.27-x86_64: OK linux-3.5.7-x86_64: OK linux-3.6.11-x86_64: OK linux-3.7.4-x86_64: OK linux-3.8-x86_64: OK linux-3.9.2-x86_64: OK linux-3.10.1-x86_64: OK linux-3.11.1-x86_64: OK linux-3.12-x86_64: OK linux-3.13-x86_64: OK linux-3.14-x86_64: OK linux-3.15-rc1-x86_64: OK apps: OK spec-git: OK ABI WARNING: change for arm-at91 ABI WARNING: change for arm-davinci ABI WARNING: change for arm-exynos ABI WARNING: change for arm-mx ABI WARNING: change for arm-omap ABI WARNING: change for arm-omap1 ABI WARNING: change for arm-pxa ABI WARNING: change for blackfin ABI WARNING: change for i686 ABI WARNING: change for m32r ABI WARNING: change for mips ABI WARNING: change for powerpc64 ABI WARNING: change for sh ABI WARNING: change for x86_64 sparse version: v0.5.0-11-g38d1124 sparse: ERRORS Detailed results are available here: http://www.xs4all.nl/~hverkuil/logs/Monday.log Full logs are available here: http://www.xs4all.nl/~hverkuil/logs/Monday.tar.bz2 The Media Infrastructure API from this daily build is here: http://www.xs4all.nl/~hverkuil/spec/media.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html