1. 07 3月, 2022 1 次提交
  2. 17 2月, 2022 19 次提交
  3. 16 2月, 2022 4 次提交
  4. 08 2月, 2022 12 次提交
  5. 29 1月, 2022 4 次提交
    • S
      media: lirc: report ir receiver overflow · 68a99f6a
      Sean Young 提交于
      If the driver reports that the hardware had an overflow, report this to
      userspace. It would be nice to know when this happens, and not just get
      a long space.
      
      This change has been tested with lircd, ir-ctl, and ir-keytable.
      Signed-off-by: NSean Young <sean@mess.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@kernel.org>
      68a99f6a
    • S
      media: rc-core: rename ir_raw_event_reset to ir_raw_event_overflow · 950170d6
      Sean Young 提交于
      The driver report a reset event when the hardware reports and overflow.
      There is no reason to have a generic "reset" event.
      Signed-off-by: NSean Young <sean@mess.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@kernel.org>
      950170d6
    • S
      media: lirc: remove unused lirc features · b2a90f4f
      Sean Young 提交于
      These features have never been implemented by any lirc driver, including
      staging or out of tree drivers. The ioctls for these feaures were removed
      in commit d55f09ab ("[media] lirc.h: remove several unused ioctls").
      
      So, we can safely remove them.
      Signed-off-by: NSean Young <sean@mess.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@kernel.org>
      b2a90f4f
    • J
      media: aspeed: Correct values for detected timing · a922a0cb
      Jammy Huang 提交于
      Correct timing's fp/sync/bp value based on the information below.
      It should be noticed that the calculation formula should be changed
      per sync polarity.
      
      The sequence of signal: sync - backporch - video data - frontporch
      
      The following registers start counting from sync's rising edge:
      1. VR090: frame edge's left and right
      2. VR094: frame edge's top and bottom
      3. VR09C: counting from sync's rising edge to falling edge
      
      [Vertical timing]
                  +--+     +-------------------+     +--+
                  |  |     |     v i d e o     |     |  |
               +--+  +-----+                   +-----+  +---+
             vsync+--+
         frame_top+--------+
      frame_bottom+----------------------------+
      
                        +-------------------+
                        |     v i d e o     |
            +--+  +-----+                   +-----+  +---+
               |  |                               |  |
               +--+                               +--+
             vsync+-------------------------------+
         frame_top+-----+
      frame_bottom+-------------------------+
      
      [Horizontal timing]
                  +--+     +-------------------+     +--+
                  |  |     |     v i d e o     |     |  |
               +--+  +-----+                   +-----+  +---+
             hsync+--+
        frame_left+--------+
       frame_right+----------------------------+
      
                        +-------------------+
                        |     v i d e o     |
            +--+  +-----+                   +-----+  +---+
               |  |                               |  |
               +--+                               +--+
             hsync+-------------------------------+
        frame_left+-----+
       frame_right+-------------------------+
      
      Ex. 1920x1200@60 whose vsync polarity is negative
        VR098: c4d3efff, VR09C: 04cc001f
        v-total = 0x4D3 (VR098[27:16]) = 1235
        v-sync  = 0x4CC (VR09C[27:16]) = 1228
      
      [hverkuil: drop unused variable mds]
      Signed-off-by: NJammy Huang <jammy_huang@aspeedtech.com>
      Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@kernel.org>
      a922a0cb
反馈
建议
客服 返回
顶部