05 Nov, 2011

6 commits


04 Nov, 2011

29 commits

  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (144 commits)
    [media] saa7134.h: Suppress compiler warnings when CONFIG_VIDEO_SAA7134_RC is not set
    [media] it913x [VER 1.07] Support for single ITE 9135 devices
    [media] Support for Terratec G1
    [media] cx25821: off by one in cx25821_vidioc_s_input()
    [media] media: tea5764: reconcile Kconfig symbol and macro
    [media] omap_vout: Add poll() support
    [media] omap3isp: preview: Add crop support on the sink pad
    [media] omap3isp: preview: Rename min/max input/output sizes defines
    [media] omap3isp: preview: Remove horizontal averager support
    [media] omap3isp: Report the ISP revision through the media controller API
    [media] omap3isp: ccdc: remove redundant operation
    [media] omap3isp: Fix memory leaks in initialization error paths
    [media] omap3isp: Add missing mutex_destroy() calls
    [media] omap3isp: Move *_init_entities() functions to the init/cleanup section
    [media] omap3isp: Move media_entity_cleanup() from unregister() to cleanup()
    [media] MFC: Change MFC firmware binary name
    [media] vb2: add vb2_get_unmapped_area in vb2 core
    [media] v4l: Add v4l2 subdev driver for S5K6AAFX sensor
    [media] v4l: Add AUTO option for the V4L2_CID_POWER_LINE_FREQUENCY control
    [media] media: ov6650: stylistic improvements
    ...

    Linus Torvalds
     
  • * 'devicetree/merge' of git://git.secretlab.ca/git/linux-2.6:
    dt: add empty of_machine_is_compatible
    ahci: add DT binding for Calxeda AHCI controller
    dt/platform: minor cleanup
    dt: add empty of_alias_get_id() for non-dt builds

    Linus Torvalds
     
  • The patch adds an empty function for non-dt build, so that
    drivers migrating to dt can save some '#ifdef CONFIG_OF'.

    v3: New patch

    Signed-off-by: Stephen Warren
    Signed-off-by: Grant Likely

    Stephen Warren
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (45 commits)
    be2net: Add detect UE feature for Lancer
    be2net: Prevent CQ full condition for Lancer
    be2net: Fix disabling multicast promiscous mode
    be2net: Fix endian issue in RX filter command
    af_packet: de-inline some helper functions
    MAINTAINERS: Add can-gw include to maintained files
    net: Add back alignment for size for __alloc_skb
    net: add missing bh_unlock_sock() calls
    l2tp: fix race in l2tp_recv_dequeue()
    ixgbevf: Update release version
    ixgbe: DCB, return max for IEEE traffic classes
    ixgbe: fix reading of the buffer returned by the firmware
    ixgbe: Fix compiler warnings
    ixgbe: fix smatch splat due to missing NULL check
    ixgbe: fix disabling of Tx laser at probe
    ixgbe: Fix link issues caused by a reset while interface is down
    igb: Fix for I347AT4 PHY cable length unit detection
    e100: make sure vlan support isn't advertised on old adapters
    e1000e: demote a debugging WARN to a debug log message
    net: fix typo in drivers/net/ethernet/xilinx/ll_temac_main.c
    ...

    Linus Torvalds
     
  • Grant Likely
     
  • no mmu system needs get_unmapped_area file operations to do mmap

    Signed-off-by: Scott Jiang
    Signed-off-by: Marek Szyprowski
    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Mauro Carvalho Chehab

    Scott Jiang
     
  • This driver exposes preview mode operation of the S5K6AAFX sensor with
    embedded SoC ISP. The native capture (snapshot) operation mode is not
    supported.
    Following controls are available:
    manual/auto exposure and gain, power line frequency (anti-flicker),
    saturation, sharpness, brightness, contrast, white balance temperature,
    color effects, horizontal/vertical image flip, frame interval,
    auto white balance.
    RGB component gains are currently exposed through private controls.

    Reviewed-by: Sakari Ailus
    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • V4L2_CID_POWER_LINE_FREQUENCY control allows applications to instruct
    a driver what is the power line frequency so an appropriate filter
    can be used by the device to cancel flicker by compensating the light
    intensity ripple. Currently in the menu we have entries for 50 Hz and
    60 Hz and for entirely disabling the anti-flicker filter.
    However some devices are capable of automatically detecting the
    frequency, so add V4L2_CID_POWER_LINE_FREQUENCY_AUTO entry for them.

    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park
    Acked-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • The most important change in this patch is direct linking to struct
    soc_camera_link via the client->dev.platform_data pointer. This makes most
    of the soc-camera client drivers also usable outside of the soc-camera
    framework. After this change all what is needed for these drivers to
    function are inclusions of soc-camera headers for some convenience macros,
    suitably configured platform data, which is anyway always required, and
    loaded soc-camera core module for library functions. If desired, these
    library functions can be made generic in the future and moved to a more
    neutral location.

    The only two client drivers, that still depend on soc-camera are:

    mt9t031: it uses struct video_device for its PM. Since no hardware is
    available, alternative methods cannot be tested.

    ov6650: it uses struct soc_camera_device to pass its sense data back to
    the bridge driver. A generic v4l2-subdevice approach should be developed
    to perform this.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • VIDIOC_G_STD can return the current TV-norm to the user in one of two ways:
    if an .vidioc_g_std() ioctl operation is provided by the driver, it is
    called, otherwise the value ot the .current_norm field of struct
    video_device is returned. Since subdevice drivers currently have no access
    to struct video_device objects, the only way to provide this information to
    the user is by implementing a .g_std() method.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Currently only very few drivers actually use video_device nodes, embedded
    in struct v4l2_subdev. Allocate these nodes dynamically for those drivers
    to save memory for the rest.

    Signed-off-by: Guennadi Liakhovetski
    Tested-by: Sylwester Nawrocki
    Acked-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Using the internally cached pixel code, instead of the one, provided by
    the soc-camera, removes one more use of struct soc_camera_device in these
    drivers. Also remove the no longer needed soc_camera_from_i2c() inline
    function.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Remove most trivial uses of struct soc_camera_device from most client
    drivers, abstracting some of them inside inline functions. Next steps
    will eliminate remaining uses and modify inline functions to not use
    struct soc_camera_device.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Signed-off-by: Hans Verkuil
    [g.liakhovetski@gmx.de: mt9m001 hunk moved to an earlier patch]
    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • And since this is the last and only host driver that uses controls, also
    remove the now obsolete control fields from soc_camera.h.

    Signed-off-by: Hans Verkuil
    [g.liakhovetski@gmx.de: moved code around, fixed problems]
    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • The soc_camera framework is switched over to use the control framework.
    After this patch none of the controls in subdevs or host drivers are available,
    until those drivers are also converted to the control framework.

    Signed-off-by: Hans Verkuil
    [g.liakhovetski@gmx.de: moved code around, fixed problems]
    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • The two recently added ioctl()s VIDIOC_CREATE_BUFS and VIDIOC_PREPARE_BUF
    allow user-space applications to allocate video buffers of different
    sizes and hand them over to the driver for fast switching between
    different frame formats. This patch adds support for buffers of different
    sizes on the same buffer-queue to vb2.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • In preparation for the forthcoming VIDIOC_CREATE_BUFS ioctl add a
    "const struct v4l2_format *" argument to the .queue_setup() vb2
    operation.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • A possibility to preallocate and initialise buffers of different sizes
    in V4L2 is required for an efficient implementation of a snapshot
    mode. This patch adds two new ioctl()s: VIDIOC_CREATE_BUFS and
    VIDIOC_PREPARE_BUF and defines respective data structures.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • This patch prepares for a better separation of the buffer preparation
    stage.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • soc-camera has been completely ported over to V4L2 subdevice mbus-config
    operations, soc-camera client bus-param operations and supporting code
    can now be removed.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Now that all soc-camera hosts have been ported to use V4L2 subdevice
    mediabus-config operations and soc-camera client bus-parameter operations
    have been made optional, they can be removed.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Now that all soc-camera hosts have been ported to use V4L2 subdevice
    mediabus-config operations and soc-camera client bus-parameter operations
    have been made optional, they can be removed.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • With the new subdevice media-bus configuration methods bus-width is not
    configured along with other bus parameters, instead, it is derived from
    the data format. With those methods it is convenient to specify
    supported bus-widths in the platform data as (1 << (width - 1)). We
    redefine SOCAM_DATAWIDTH_* flags to use the same convention to make
    platform data seemlessly reusable.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Extend the driver to also support [gs]_mbus_config() subdevice video
    operations.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Macros, defined in a header under include/ should be kept in a local
    namespace and not pollute the global one.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Add helper functions to process the new media bus configuration type
    similar to soc_camera_apply_sensor_flags() and
    soc_camera_bus_param_compatible().

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • * 'for-next' of git://git.infradead.org/users/sameo/mfd-2.6: (80 commits)
    mfd: Fix missing abx500 header file updates
    mfd: Add missing include to intel_msic
    x86, mrst: add platform support for MSIC MFD driver
    mfd: Expose TurnOnStatus in ab8500 sysfs
    mfd: Remove support for early drop ab8500 chip
    mfd: Add support for ab8500 v3.3
    mfd: Add ab8500 interrupt disable hook
    mfd: Convert db8500-prcmu panic() into pr_crit()
    mfd: Refactor db8500-prcmu request_clock() function
    mfd: Rename db8500-prcmu init function
    mfd: Fix db5500-prcmu defines
    mfd: db8500-prcmu voltage domain consumers additions
    mfd: db8500-prcmu reset code retrieval
    mfd: db8500-prcmu tweak for modem wakeup
    mfd: Add db8500-pcmu watchdog accessor functions for watchdog
    mfd: hwacc power state db8500-prcmu accessor
    mfd: Add db8500-prcmu accessors for PLL and SGA clock
    mfd: Move to the new db500 PRCMU API
    mfd: Create a common interface for dbx500 PRCMU drivers
    mfd: Initialize DB8500 PRCMU regs
    ...

    Fix up trivial conflicts in
    arch/arm/mach-imx/mach-mx31moboard.c
    arch/arm/mach-omap2/board-omap3beagle.c
    arch/arm/mach-u300/include/mach/irqs.h
    drivers/mfd/wm831x-spi.c

    Linus Torvalds
     

03 Nov, 2011

5 commits

  • * 'sh-latest' of git://github.com/pmundt/linux-sh:
    sh: Add default uImage rule for sh7757lcr
    sh: modify the asm/sh_eth.h to linux/sh_eth.h in sh7757lcr
    sh: userimask.c needs linux/stat.h
    sh: pfc: Add GPIO IRQ support
    sh: modify the asm/sh_eth.h to linux/sh_eth.h in some boards
    sh: pfc: Remove unused gpio_in_use member
    sh: add parameters for EHCI and RIIC in clock-sh7757.c
    sh: kexec: Add PHYSICAL_START
    SH: irq: Remove IRQF_DISABLED
    sh: pfc: get_config_reg() shift clean up
    sh: intc: Add IRQ trigger bit field check
    sh: drop unused Kconfig symbol
    sh: Fix implicit declaration of function numa_node_id
    sh: kexec: Register crashk_res
    sh: ecovec: add renesas_usbhs DMAEngine support

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock:
    hwspinlock: add MAINTAINERS entries
    hwspinlock/omap: omap_hwspinlock_remove should be __devexit
    hwspinlock/u8500: add hwspinlock driver
    hwspinlock/core: register a bank of hwspinlocks in a single API call
    hwspinlock/core: remove stubs for register/unregister
    hwspinlock/core: use a mutex to protect the radix tree
    hwspinlock/core/omap: fix id issues on multiple hwspinlock devices
    hwspinlock/omap: simplify allocation scheme
    hwspinlock/core: simplify 'owner' handling
    hwspinlock/core: simplify Kconfig

    Fix up trivial conflicts (addition of omap_hwspinlock_pdata, removal of
    omap_spinlock_latency) in arch/arm/mach-omap2/hwspinlock.c

    Also, do an "evil merge" to fix a compile error in omap_hsmmc.c which
    for some reason was reported in the same email thread as the "please
    pull hwspinlock changes".

    Linus Torvalds
     
  • Trond Myklebust
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/steve/linux-dm:
    dm: raid fix device status indicator when array initializing
    dm log userspace: add log device dependency
    dm log userspace: fix comment hyphens
    dm: add thin provisioning target
    dm: add persistent data library
    dm: add bufio
    dm: export dm get md
    dm table: add immutable feature
    dm table: add always writeable feature
    dm table: add singleton feature
    dm kcopyd: add dm_kcopyd_zero to zero an area
    dm: remove superfluous smp_mb
    dm: use local printk ratelimit
    dm table: propagate non rotational flag

    Linus Torvalds
     
  • * 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-edac: (21 commits)
    MAINTAINERS: add an entry for Edac Sandy Bridge driver
    edac: tag sb_edac as EXPERIMENTAL, as it requires more testing
    EDAC: Fix incorrect edac mode reporting in sb_edac
    edac: sb_edac: Add it to the building system
    edac: Add an experimental new driver to support Sandy Bridge CPU's
    i7300_edac: Fix error cleanup logic
    i7core_edac: Initialize memory name with cpu, channel, bank
    i7core_edac: Fix compilation on 32 bits arch
    i7core_edac: scrubbing fixups
    EDAC: Correct Kconfig dependencies
    i7core_edac: return -ENODEV if no MC is found
    i7core_edac: use edac's own way to print errors
    MAINTAINERS: remove dropped edac_mce.* from the file
    i7core_edac: Drop the edac_mce facility
    x86, MCE: Use notifier chain only for MCE decoding
    EDAC i7core: Use mce socketid for better compatibility
    i7core_edac: Don't enable memory scrubbing for Xeon 35xx
    i7core_edac: Add scrubbing support
    edac: Move edac main structs to include/linux/edac.h
    i7core_edac: Fix oops when trying to inject errors
    ...

    Linus Torvalds