20 Jun, 2017

2 commits

  • Add the core media driver for i.MX SOC.

    Switch from the v4l2_of_ APIs to the v4l2_fwnode_ APIs.
    Add the bayer formats to imx-media's list of supported pixel and bus
    formats.

    Signed-off-by: Steve Longerbeam
    Signed-off-by: Philipp Zabel
    Signed-off-by: Russell King
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Steve Longerbeam
     
  • This patch adds driver support for the MAX2175 chip. This is Maxim
    Integrated's RF to Bits tuner front end chip designed for software-defined
    radio solutions. This driver exposes the tuner as a sub-device instance
    with standard and custom controls to configure the device.

    Signed-off-by: Ramesh Shanmugasundaram
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ramesh Shanmugasundaram
     

06 May, 2017

1 commit

  • Pull media updates from Mauro Carvalho Chehab:
    "Media updates for v4.12-rc1:

    - new driver to support mediatek jpeg in hardware codec

    - rc-lirc, s5p-cec and st-cec staging drivers got promoted

    - hardware histogram support for vsp1 driver

    - added Virtual Media Controller driver, to make easier to test the
    media controller

    - added a new CEC driver (rainshadow-cec)

    - removed two staging LIRC drivers for obscure hardware that are too
    obsolete

    - added support for Intel SR300 Depth camera

    - some improvements at CEC and RC core

    - lots of driver cleanups, improvements all over the tree

    With this series, we're finally getting rid of the LIRC staging
    driver. There's just one left (lirc_zilog), with require more care,
    as part of its functionality (IR RX) is already provided by another
    driver. Work in progress to convert it on the proper way"

    * tag 'media/v4.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (304 commits)
    [media] ov2640: print error if devm_*_optional*() fails
    [media] atmel-isc: Fix the static checker warning
    [media] ov2640: add support for MEDIA_BUS_FMT_YVYU8_2X8 and MEDIA_BUS_FMT_VYUY8_2X8
    [media] ov2640: fix vflip control
    [media] ov2640: fix duplicate width+height returning from ov2640_select_win()
    [media] ov2640: add missing write to size change preamble
    [media] ov2640: add information about DSP register 0xc7
    [media] ov2640: improve banding filter register definitions/documentation
    [media] ov2640: fix init sequence alignment
    [media] ov2640: make GPIOLIB an optional dependency
    [media] xc5000: fix spelling mistake: "calibration"
    [media] vidioc-queryctrl.rst: fix menu/int menu references
    [media] media-entity: only call dev_dbg_obj if mdev is not NULL
    [media] pixfmt-meta-vsp1-hgo.rst: remove spurious '-'
    [media] mtk-vcodec: avoid warnings because of empty macros
    [media] coda: bump maximum number of internal framebuffers to 17
    [media] media: mtk-vcodec: remove informative log
    [media] subdev-formats.rst: remove spurious '-'
    [media] dw2102: limit messages to buffer size
    [media] ttusb2: limit messages to buffer size
    ...

    Linus Torvalds
     

05 May, 2017

1 commit

  • Pull USB updates from Greg KH:
    "Here is the big USB patchset for 4.12-rc1.

    Lots of good stuff here, after many many many attempts, the kernel
    finally has a working typeC interface, many thanks to Heikki and
    Guenter and others who have taken the time to get this merged. It
    wasn't an easy path for them at all.

    There's also a staging driver that uses this new api, which is why
    it's coming in through this tree.

    Along with that, there's the usual huge number of changes for gadget
    drivers, xhci, and other stuff. Johan also finally refactored pretty
    much every driver that was looking at USB endpoints to do it in a
    common way, which will help prevent any "badly-formed" devices from
    causing problems in drivers. That too wasn't a simple task.

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'usb-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (263 commits)
    staging: typec: Fairchild FUSB302 Type-c chip driver
    staging: typec: Type-C Port Controller Interface driver (tcpci)
    staging: typec: USB Type-C Port Manager (tcpm)
    usb: host: xhci: remove #ifdef around PM functions
    usb: musb: don't mark of_dev_auxdata as initdata
    usb: misc: legousbtower: Fix buffers on stack
    USB: Revert "cdc-wdm: fix "out-of-sync" due to missing notifications"
    usb: Make sure usb/phy/of gets built-in
    USB: storage: e-mail update in drivers/usb/storage/unusual_devs.h
    usb: host: xhci: print correct command ring address
    usb: host: xhci: delete sp_dma_buffers for scratchpad
    usb: host: xhci: using correct specification chapter reference for DCBAAP
    xhci: switch to pci_alloc_irq_vectors
    usb: host: xhci-plat: set resume_quirk() for R-Car controllers
    usb: host: xhci-plat: add resume_quirk()
    usb: host: xhci-plat: enable clk in resume timing
    usb: host: plat: Enable xHCI plat runtime PM
    USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
    USB: serial: constify static arrays
    usb: fix some references for /proc/bus/usb
    ...

    Linus Torvalds
     

03 May, 2017

1 commit

  • Pull documentation update from Jonathan Corbet:
    "A reasonably busy cycle for documentation this time around. There is a
    new guide for user-space API documents, rather sparsely populated at
    the moment, but it's a start. Markus improved the infrastructure for
    converting diagrams. Mauro has converted much of the USB documentation
    over to RST. Plus the usual set of fixes, improvements, and tweaks.

    There's a bit more than the usual amount of reaching out of
    Documentation/ to fix comments elsewhere in the tree; I have acks for
    those where I could get them"

    * tag 'docs-4.12' of git://git.lwn.net/linux: (74 commits)
    docs: Fix a couple typos
    docs: Fix a spelling error in vfio-mediated-device.txt
    docs: Fix a spelling error in ioctl-number.txt
    MAINTAINERS: update file entry for HSI subsystem
    Documentation: allow installing man pages to a user defined directory
    Doc/PM: Sync with intel_powerclamp code behavior
    zr364xx.rst: usb/devices is now at /sys/kernel/debug/
    usb.rst: move documentation from proc_usb_info.txt to USB ReST book
    convert philips.txt to ReST and add to media docs
    docs-rst: usb: update old usbfs-related documentation
    arm: Documentation: update a path name
    docs: process/4.Coding.rst: Fix a couple of document refs
    docs-rst: fix usb cross-references
    usb: gadget.h: be consistent at kernel doc macros
    usb: composite.h: fix two warnings when building docs
    usb: get rid of some ReST doc build errors
    usb.rst: get rid of some Sphinx errors
    usb/URB.txt: convert to ReST and update it
    usb/persist.txt: convert to ReST and add to driver-api book
    usb/hotplug.txt: convert to ReST and add to driver-api book
    ...

    Linus Torvalds
     

01 May, 2017

1 commit


21 Apr, 2017

2 commits


06 Mar, 2017

1 commit

  • Linux 4.11-rc1

    * tag 'v4.11-rc1': (10730 commits)
    Linux 4.11-rc1
    strparser: destroy workqueue on module exit
    Documentation/sphinx: fix primary_domain configuration
    docs: Fix htmldocs build failure
    doc/ko_KR/memory-barriers: Update control-dependencies section
    pcieaer doc: update the link
    Documentation: Update path to sysrq.txt
    sfc: fix IPID endianness in TSOv2
    sfc: avoid max() in array size
    rds: remove unnecessary returned value check
    rxrpc: Fix potential NULL-pointer exception
    nfp: correct DMA direction in XDP DMA sync
    nfp: don't tell FW about the reserved buffer space
    net: ethernet: bgmac: mac address change bug
    net: ethernet: bgmac: init sequence bug
    xen-netback: don't vfree() queues under spinlock
    xen-netback: keep a local pointer for vif in backend_disconnect()
    netfilter: nf_tables: don't call nfnetlink_set_err() if nfnetlink_send() fails
    netfilter: nft_set_rbtree: incorrect assumption on lower interval lookups
    netfilter: nf_conntrack_sip: fix wrong memory initialisation
    ...

    Mauro Carvalho Chehab
     

04 Mar, 2017

1 commit


03 Mar, 2017

1 commit

  • It allows to simulate the behavior of hardware with such limitations or
    to connect vivid to real hardware with such limitations.

    Add the "allocators" module parameter option to let vivid use the
    dma-contig instead of vmalloc.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Hans Verkuil
    Signed-off-by: Vincent Abriou
    Reviewed-by: Javier Martinez Canillas
    Tested-by: Javier Martinez Canillas
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Vincent ABRIOU
     

15 Dec, 2016

1 commit

  • * patchwork: (496 commits)
    [media] v4l: tvp5150: Add missing break in set control handler
    [media] v4l: tvp5150: Don't inline the tvp5150_selmux() function
    [media] v4l: tvp5150: Compile tvp5150_link_setup out if !CONFIG_MEDIA_CONTROLLER
    [media] em28xx: don't store usb_device at struct em28xx
    [media] em28xx: use usb_interface for dev_foo() calls
    [media] em28xx: don't change the device's name
    [media] mn88472: fix chip id check on probe
    [media] mn88473: fix chip id check on probe
    [media] lirc: fix error paths in lirc_cdev_add()
    [media] s5p-mfc: Add support for MFC v8 available in Exynos 5433 SoCs
    [media] s5p-mfc: Rework clock handling
    [media] s5p-mfc: Don't keep clock prepared all the time
    [media] s5p-mfc: Kill all IS_ERR_OR_NULL in clocks management code
    [media] s5p-mfc: Remove dead conditional code
    [media] s5p-mfc: Ensure that clock is disabled before turning power off
    [media] s5p-mfc: Remove special clock rate management
    [media] s5p-mfc: Use printk_ratelimited for reporting ioctl errors
    [media] s5p-mfc: Set DMA_ATTR_ALLOC_SINGLE_PAGES
    [media] vivid: Set color_enc on HSV formats
    [media] v4l2-tpg: Init hv_enc field with a valid value
    ...

    Mauro Carvalho Chehab
     

02 Dec, 2016

1 commit


17 Nov, 2016

2 commits


24 Oct, 2016

5 commits

  • The previous patch renamed several files that are cross-referenced
    along the Kernel documentation. Adjust the links to point to
    the right places.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Instead of using codeblock for the cardlists, use tables, in
    order to improve their visual when presenting them.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • For those cameras that were missing descriptions, update using
    some web research:
    https://cateee.net/lkddb/web-lkddb/USB_GSPCA_STV0680.html
    https://cateee.net/lkddb/web-lkddb/USB_GSPCA_ZC3XX.html
    https://cateee.net/lkddb/web-lkddb/USB_GSPCA_KINECT.html
    https://cateee.net/lkddb/web-lkddb/USB_GSPCA_SPCA561.html
    https://cateee.net/lkddb/web-lkddb/USB_GSPCA_VICAM.html
    https://cateee.net/lkddb/web-lkddb/USB_GSPCA_DTCS033.html
    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/564979
    https://cateee.net/lkddb/web-lkddb/USB_GSPCA_PAC7302.html
    https://cateee.net/lkddb/web-lkddb/USB_GSPCA_SONIXB.html
    https://cateee.net/lkddb/web-lkddb/USB_GSPCA_SONIXJ.html

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • There are several missing USB IDs that are defined on gspca
    drivers. Add them.

    The missing entries were found/created using the following script:

    ) {
    if (m/^=+\s+=+\s+=+$/) {
    $table++;
    next;
    }
    next if ($table != 2);
    if (m/^(\S+)\s+(\S+)\s+(.*)/) {
    $id = "$1_$2";
    $data{$id}->{driver} = $1;
    $data{$id}->{usb_id} = $2;
    $data{$id}->{name} = $3;
    $data{$id}->{valid} = 0;

    $len = length($3) if (length($3) > $len);
    }
    }
    close IN;

    sub parse_dir {
    my $file = $File::Find::name;

    open IN, $file;

    my $driver = $file;

    $driver =~ s,($src),,;

    $driver =~ s,/.*,,;
    $driver =~ s,\.c$,,;

    while () {
    next if (m,/\*.*USB_DEVICE,);
    if (m/USB_DEVICE[^\(]*\(\s*0x(\S+)\s*\,\s*0x(\S+)\)(.*)/) {
    my $n = "$1:$2";
    my $o = $3;
    $id = "${driver}_$n";

    $data{$id}->{valid} = 1;

    next if (defined $data{$id}->{driver});

    $data{$id}->{driver} = $driver;
    $data{$id}->{usb_id} = $n;

    if ($o =~ m,\/\*\s*(.*)\*\/,) {
    $n = $1;
    $n =~ s/\s+//;
    $data{$id}->{name} = $n;
    } else {
    $data{$id}->{name} = "";
    }
    }
    }
    close IN;
    }

    find({wanted => \&parse_dir, no_chdir => 1}, $src);

    print "The gspca cards list\n";
    print "====================\n\n";
    print "The modules for the gspca webcam drivers are:\n\n";
    print "- gspca_main: main driver\n";
    print "- gspca\\_\\ *driver*: subdriver module with *driver* as follows\n\n";
    print "========= ========= " . "=" x $len . "\n";
    print "*driver* vend:prod Device\n";
    print "========= ========= " . "=" x $len . "\n";

    foreach my $id (sort { $data{$a}->{usb_id} . $data{$a}->{driver} cmp $data{$b}->{usb_id} . $data{$b}->{driver} } keys %data) {
    next if (!$data{$id}->{valid});

    my $s = sprintf "%-15s %s\t%s\n",
    $data{$id}->{driver}, $data{$id}->{usb_id}, $data{$id}->{name};

    # Replace tabs by spaces
    $s =~ s/[ \t]+$//;
    $s =~ s ;
    $s =~ s ;
    $s =~ s< {1,7}\t> ;

    printf $s;
    }
    print "========= ========= " . "=" x $len . "\n";

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Some entries are out of order.

    While here, clear spaces/tabs.

    The content remains the same, with the exeption of one duplicated
    entry from the same driver, where two different brand names share
    the same entry. The content of such cell was merged, using a
    comma.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

19 Sep, 2016

1 commit


25 Aug, 2016

1 commit


22 Aug, 2016

3 commits


23 Jul, 2016

4 commits


19 Jul, 2016

11 commits