From patchwork Thu Jun 10 10:16:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Young X-Patchwork-Id: 74919 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1lrHjo-00AGEA-M3; Thu, 10 Jun 2021 10:16:37 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230154AbhFJKSa (ORCPT + 1 other); Thu, 10 Jun 2021 06:18:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230084AbhFJKS1 (ORCPT ); Thu, 10 Jun 2021 06:18:27 -0400 Received: from gofer.mess.org (gofer.mess.org [IPv6:2a02:8011:d000:212::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C9FFC061574; Thu, 10 Jun 2021 03:16:30 -0700 (PDT) Received: by gofer.mess.org (Postfix, from userid 1000) id C6A60C6487; Thu, 10 Jun 2021 11:16:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mess.org; s=2020; t=1623320185; bh=4c4vPRfWI8VRrMb/dMhFPjKz7AoHtSI7QjQvbg/dTJQ=; h=From:To:Subject:Date:From; b=sctVbxvvQT4MNbzj5/Q7xAaeb4qU3AYaPJbv8WedbqlU25CLrgjblaSR9MkOR/T4m rCz3AvVAPNenK4yqavacJx4C7Ind/JfBZ4uS5Ou4pAkQQALwJ6tsk98ZiHBNMqcU/N dmhWL9RDzt72/DltBAcCeotbp3+Qjx0521x0TNSAdqVChMnA1NnT71MOSC5Dxrb3HO 8Hf6gwCHGDieJyw3mc1YZruvT2csLYxftrU84WWkfxpM6BeIp5rs2i+Kzpcf4J2ukp N3AL3uKnQnb+O7oVYXMF7CmdhV1q0xSqB+20Yc7s+eH0cOh5UZqnWV0LP7PBUSeVHs kRS68MXeKR/VQ== From: Sean Young To: linux-media@vger.kernel.org, linux-usb@vger.kernel.org, Johan Hovold , Greg Kroah-Hartman , Jon Rhees , Oliver Neukum Subject: [PATCH v4 0/2] IR driver for USB-UIRT device Date: Thu, 10 Jun 2021 11:16:23 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -3.0 (---) X-LSpam-Report: No, score=-3.0 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_LOW=-0.7,T_DKIM_INVALID=0.01 autolearn=ham autolearn_force=no This is a new rc-core driver for the USB-UIRT which you can see here http://www.usbuirt.com/ This device is supported in lirc, via the usb serial kernel driver. This driver is both for rc-core, which means it can use kernel/BPF decoding ec. Also this implement is superior because it can: - support learning mode - setting transmit carrier - larger transmits using streaming tx command Changes since v3: - Review comments from Johan Hovold - Do not move the ftdi_sio.h file an copy FTDI_* definitions instead Changes since v2: - Fixed race condition is disconnect - Removed superfluous kmalloc in short tx Changes since v1: - Review comments from Oliver Neukum - Simplified wideband read function Sean Young (2): media: rc: new driver for USB-UIRT device USB: serial: blacklist USB-UIRT when driver is selected drivers/media/rc/Kconfig | 11 + drivers/media/rc/Makefile | 1 + drivers/media/rc/uirt.c | 740 ++++++++++++++++++++++++++++++++++ drivers/usb/serial/ftdi_sio.c | 6 +- 4 files changed, 756 insertions(+), 2 deletions(-) create mode 100644 drivers/media/rc/uirt.c