Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8331c055 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

Merge commit '840f5b05' into v4l_for_linus

* commit '840f5b05': (381 commits)
  media: au0828 disable tuner to demod link in au0828_media_device_register()
  [media] touptek: cast char types on %x printk
  [media] touptek: don't DMA at the stack
  [media] mceusb: use %*ph for small buffer dumps
  [media] v4l: exynos4-is: Drop unneeded check when setting up fimc-lite links
  [media] v4l: vsp1: Check if an entity is a subdev with the right function
  [media] hide unused functions for !MEDIA_CONTROLLER
  [media] em28xx: fix Terratec Grabby AC97 codec detection
  [media] media: add prefixes to interface types
  [media] media: rc: nuvoton: switch attribute wakeup_data to text
  [media] v4l2-ioctl: fix YUV422P pixel format description
  [media] media: fix null pointer dereference in v4l_vb2q_enable_media_source()
  [media] v4l2-mc.h: fix yet more compiler errors
  [media] staging/media: add missing TODO files
  [media] media.h: always start with 1 for the audio entities
  [media] sound/usb: Use meaninful names for goto labels
  [media] v4l2-mc.h: fix compiler warnings
  [media] media: au0828 audio mixer isn't connected to decoder
  [media] sound/usb: Use Media Controller API to share media resources
  [media] dw2102: add support for TeVii S662
  ...
parents b562e44f 840f5b05
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
What:		/sys/class/rc/rcN/wakeup_data
Date:		Mar 2016
KernelVersion:	4.6
Contact:	Mauro Carvalho Chehab <m.chehab@samsung.com>
Description:
		Reading this file returns the stored CIR wakeup sequence.
		It starts with a pulse, followed by a space, pulse etc.
		All values are in microseconds.
		The same format can be used to store a wakeup sequence
		in the Nuvoton chip by writing to this file.

		Note: Some systems reset the stored wakeup sequence to a
		factory default on each boot. On such systems store the
		wakeup sequence in a file and set it on boot using e.g.
		a udev rule.
+1 −0
Original line number Diff line number Diff line
@@ -229,6 +229,7 @@ X!Isound/sound_firmware.c
!Iinclude/media/v4l2-dv-timings.h
!Iinclude/media/v4l2-event.h
!Iinclude/media/v4l2-flash-led-class.h
!Iinclude/media/v4l2-mc.h
!Iinclude/media/v4l2-mediabus.h
!Iinclude/media/v4l2-mem2mem.h
!Iinclude/media/v4l2-of.h
+58 −0
Original line number Diff line number Diff line
@@ -2329,6 +2329,14 @@ to search and match for the present Macroblock (MB) in the reference picture. Th
vertical search range for motion estimation module in video encoder.</entry>
	      </row>

	      <row><entry></entry></row>
	      <row id="v4l2-mpeg-video-force-key-frame">
		<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME</constant>&nbsp;</entry>
		<entry>button</entry>
	      </row><row><entry spanname="descr">Force a key frame for the next queued buffer. Applicable to encoders.
This is a general, codec-agnostic keyframe control.</entry>
	      </row>

	      <row><entry></entry></row>
	      <row>
		<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE</constant>&nbsp;</entry>
@@ -5069,6 +5077,46 @@ interface and may change in the future.</para>
	    This control is applicable to VGA, DVI-A/D, HDMI and DisplayPort connectors.
	    </entry>
	  </row>
	  <row>
	    <entry spanname="id"><constant>V4L2_CID_DV_TX_IT_CONTENT_TYPE</constant></entry>
	    <entry id="v4l2-dv-content-type">enum v4l2_dv_it_content_type</entry>
	  </row>
	  <row><entry spanname="descr">Configures the IT Content Type
	    of the transmitted video. This information is sent over HDMI and DisplayPort connectors
	    as part of the AVI InfoFrame. The term 'IT Content' is used for content that originates
	    from a computer as opposed to content from a TV broadcast or an analog source. The
	    enum&nbsp;v4l2_dv_it_content_type defines the possible content types:</entry>
	  </row>
	  <row>
	    <entrytbl spanname="descr" cols="2">
	      <tbody valign="top">
	        <row>
	          <entry><constant>V4L2_DV_IT_CONTENT_TYPE_GRAPHICS</constant>&nbsp;</entry>
		  <entry>Graphics content. Pixel data should be passed unfiltered and without
		  analog reconstruction.</entry>
		</row>
	        <row>
	          <entry><constant>V4L2_DV_IT_CONTENT_TYPE_PHOTO</constant>&nbsp;</entry>
		  <entry>Photo content. The content is derived from digital still pictures.
		  The content should be passed through with minimal scaling and picture
		  enhancements.</entry>
		</row>
	        <row>
	          <entry><constant>V4L2_DV_IT_CONTENT_TYPE_CINEMA</constant>&nbsp;</entry>
		  <entry>Cinema content.</entry>
		</row>
	        <row>
	          <entry><constant>V4L2_DV_IT_CONTENT_TYPE_GAME</constant>&nbsp;</entry>
		  <entry>Game content. Audio and video latency should be minimized.</entry>
		</row>
	        <row>
	          <entry><constant>V4L2_DV_IT_CONTENT_TYPE_NO_ITC</constant>&nbsp;</entry>
		  <entry>No IT Content information is available and the ITC bit in the AVI
		  InfoFrame is set to 0.</entry>
		</row>
	      </tbody>
	    </entrytbl>
	  </row>
	  <row>
	    <entry spanname="id"><constant>V4L2_CID_DV_RX_POWER_PRESENT</constant></entry>
	    <entry>bitmask</entry>
@@ -5098,6 +5146,16 @@ interface and may change in the future.</para>
	    This control is applicable to VGA, DVI-A/D, HDMI and DisplayPort connectors.
	    </entry>
	  </row>
	  <row>
	    <entry spanname="id"><constant>V4L2_CID_DV_RX_IT_CONTENT_TYPE</constant></entry>
	    <entry>enum v4l2_dv_it_content_type</entry>
	  </row>
	  <row><entry spanname="descr">Reads the IT Content Type
	    of the received video. This information is sent over HDMI and DisplayPort connectors
	    as part of the AVI InfoFrame. The term 'IT Content' is used for content that originates
	    from a computer as opposed to content from a TV broadcast or an analog source. See
	    <constant>V4L2_CID_DV_TX_IT_CONTENT_TYPE</constant> for the available content types.</entry>
	  </row>
	  <row><entry></entry></row>
	</tbody>
      </tgroup>
+0 −3
Original line number Diff line number Diff line
@@ -48,9 +48,6 @@

  <refsect1>
    <title>Description</title>

    <para><emphasis role="bold">NOTE:</emphasis> This new ioctl is programmed to be added on Kernel 4.6. Its definition/arguments may change until its final version.</para>

    <para>The typical usage of this ioctl is to call it twice.
    On the first call, the structure defined at &media-v2-topology; should
    be zeroed. At return, if no errors happen, this ioctl will return the
+80 −1
Original line number Diff line number Diff line
@@ -80,7 +80,46 @@
	  </row>
	  <row>
	    <entry><constant>MEDIA_ENT_F_TUNER</constant></entry>
	    <entry>Digital TV, analog TV, radio and/or software radio tuner.</entry>
	    <entry>Digital TV, analog TV, radio and/or software radio tuner,
		   with consists on a PLL tuning stage that converts radio
		   frequency (RF) signal into an Intermediate Frequency (IF).
		   Modern tuners have internally IF-PLL decoders for audio
		   and video, but older models have those stages implemented
		   on separate entities.
	    </entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_ENT_F_IF_VID_DECODER</constant></entry>
	    <entry>IF-PLL video decoder. It receives the IF from a PLL
		   and decodes the analog TV video signal. This is commonly
		   found on some very old analog tuners, like Philips MK3
		   designs. They all contain a tda9887 (or some software
		   compatible similar chip, like tda9885). Those devices
		   use a different I2C address than the tuner PLL.
	    </entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_ENT_F_IF_AUD_DECODER</constant></entry>
	    <entry>IF-PLL sound decoder. It receives the IF from a PLL
		   and decodes the analog TV audio signal. This is commonly
		   found on some very old analog hardware, like Micronas
		   msp3400, Philips tda9840, tda985x, etc. Those devices
		   use a different I2C address than the tuner PLL and
		   should be controlled together with the IF-PLL video
		   decoder.
	    </entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_ENT_F_AUDIO_CAPTURE</constant></entry>
	    <entry>Audio Capture Function Entity.</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_ENT_F_AUDIO_PLAYBACK</constant></entry>
	    <entry>Audio Playback Function Entity.</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_ENT_F_AUDIO_MIXER</constant></entry>
	    <entry>Audio Mixer Function Entity.</entry>
	  </row>
	</tbody>
      </tgroup>
@@ -162,6 +201,46 @@
	    <entry>Device node interface for Software Defined Radio (V4L)</entry>
	    <entry>typically, /dev/swradio?</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_INTF_T_ALSA_PCM_CAPTURE</constant></entry>
	    <entry>Device node interface for ALSA PCM Capture</entry>
	    <entry>typically, /dev/snd/pcmC?D?c</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_INTF_T_ALSA_PCM_PLAYBACK</constant></entry>
	    <entry>Device node interface for ALSA PCM Playback</entry>
	    <entry>typically, /dev/snd/pcmC?D?p</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_INTF_T_ALSA_CONTROL</constant></entry>
	    <entry>Device node interface for ALSA Control</entry>
	    <entry>typically, /dev/snd/controlC?</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_INTF_T_ALSA_COMPRESS</constant></entry>
	    <entry>Device node interface for ALSA Compress</entry>
	    <entry>typically, /dev/snd/compr?</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_INTF_T_ALSA_RAWMIDI</constant></entry>
	    <entry>Device node interface for ALSA Raw MIDI</entry>
	    <entry>typically, /dev/snd/midi?</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_INTF_T_ALSA_HWDEP</constant></entry>
	    <entry>Device node interface for ALSA Hardware Dependent</entry>
	    <entry>typically, /dev/snd/hwC?D?</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_INTF_T_ALSA_SEQUENCER</constant></entry>
	    <entry>Device node interface for ALSA Sequencer</entry>
	    <entry>typically, /dev/snd/seq</entry>
	  </row>
	  <row>
	    <entry><constant>MEDIA_INTF_T_ALSA_TIMER</constant></entry>
	    <entry>Device node interface for ALSA Timer</entry>
	    <entry>typically, /dev/snd/timer</entry>
	  </row>
	</tbody>
      </tgroup>
    </table>
Loading