Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4365589rwb; Tue, 6 Sep 2022 06:36:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR5ie42xjGiVRhdCmvK22ykcelFl1SINOSUYnNmI2WmZK4RLdH6DCAS+WF1886nsW9OIC66b X-Received: by 2002:a05:6402:538f:b0:444:c17b:1665 with SMTP id ew15-20020a056402538f00b00444c17b1665mr47876767edb.98.1662471408147; Tue, 06 Sep 2022 06:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662471408; cv=none; d=google.com; s=arc-20160816; b=GcuZ3hX82o/CtZ7AM5at9OqFn6qvdcppcbPOQemPZiEofR/ucjV3/tTdIsmmhv/BlS J1IMIj+ZHgUGqNpkdcIZ8ovEI+R813ZiKunxrNd2pR3LFfemSYtr7ucwxKFDJiPqVEz4 iSpQuQYuVUblFBmIYCZ1n5rxAGrwYLF4Vt/gWxfGjPCwnVRP9QxpC8YDJDpNfhxrH/bx XVnVXRGIHHfd1iiQjpZfacITu0SxNtpaMwGWfl5p4oBn2+yDYXvPqMEPQ0p0rgLPXiW2 gNZmfxOM1NSFd1GDtPKTpMeCB3MwvdgvLpyDZDdfBipNMFpqGypbTiSVv6ffqgqTsgYK RpiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4ks+Z/XbionI8w77e27eBGXqb/Kx//HWL8rv9PI0Ze0=; b=PwT6yH3Az4L9JRtjVhCvSuIZsJgWeAt/LKo63t1/2ZYNTsi1YuN7Ah5kiSSw8ol455 UM45D0tZOoSFSeLup3ZbFwR4q+3mpgxbYx76xd4wv8H6YczYT0uSKyQeEytRpWvGTjrB zJQX/YwKpS4XOU8kq5bo+sS1M+jQTvWVaRzw/vUxFVWjeAYucORYSmNc/Lj4gCvGSd5C CdVv11Z7Xif8VAVFIhpXtzZBzORWkP8hj9O/Ec3tnfcAdXVSD442GgtdWcLpw47pKshf wfrV5U0gw3sdRrZrBA2X57bZTl5APz/WiClm/bWuIk5burPUUE2Q9SWmRoHD/o6/6jO8 tSZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="u+z/m6qh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a17090658cb00b006fe8b1baec0si8934669ejs.709.2022.09.06.06.36.23; Tue, 06 Sep 2022 06:36:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="u+z/m6qh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240536AbiIFNez (ORCPT + 99 others); Tue, 6 Sep 2022 09:34:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240528AbiIFNeJ (ORCPT ); Tue, 6 Sep 2022 09:34:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C941776458; Tue, 6 Sep 2022 06:33:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 21D1DB8162F; Tue, 6 Sep 2022 13:33:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10802C433C1; Tue, 6 Sep 2022 13:33:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662471196; bh=zg/sOoQpE0AjjldedRJe+dc3QpG3rVgfQcCR/ffvN9o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u+z/m6qhTcMGqYx6dvEJe+YzdttGa2k3OiH3msDUyG0reyPla+dC5SsuAwF7yEk2S yVdMKe9kaWHEUlJ2ERZWdGi6kj9RW48kYbq7nr4at/mGv7aYepfmH+inGCMTMXQx+5 R3/7pfCfUl9w0fXw0ExtFHsII+MYdoT5sQmfwnHg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Niek Nooijens , Johan Hovold Subject: [PATCH 5.10 31/80] USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id Date: Tue, 6 Sep 2022 15:30:28 +0200 Message-Id: <20220906132818.263246100@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220906132816.936069583@linuxfoundation.org> References: <20220906132816.936069583@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Niek Nooijens commit 001047ea241a9646010b2744451dfbc7289542f3 upstream. works perfectly with: modprobe ftdi_sio echo "0590 00b2" | tee /sys/module/ftdi_sio/drivers/usb-serial\:ftdi_sio/new_id > /dev/null but doing this every reboot is a pain in the ass. Signed-off-by: Niek Nooijens Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/ftdi_sio.c | 2 ++ drivers/usb/serial/ftdi_sio_ids.h | 6 ++++++ 2 files changed, 8 insertions(+) --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -1045,6 +1045,8 @@ static const struct usb_device_id id_tab /* IDS GmbH devices */ { USB_DEVICE(IDS_VID, IDS_SI31A_PID) }, { USB_DEVICE(IDS_VID, IDS_CM31A_PID) }, + /* Omron devices */ + { USB_DEVICE(OMRON_VID, OMRON_CS1W_CIF31_PID) }, /* U-Blox devices */ { USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ZED_PID) }, { USB_DEVICE(UBLOX_VID, UBLOX_C099F9P_ODIN_PID) }, --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h @@ -662,6 +662,12 @@ #define INFINEON_TRIBOARD_TC2X7_PID 0x0043 /* DAS JTAG TriBoard TC2X7 V1.0 */ /* + * Omron corporation (https://www.omron.com) + */ + #define OMRON_VID 0x0590 + #define OMRON_CS1W_CIF31_PID 0x00b2 + +/* * Acton Research Corp. */ #define ACTON_VID 0x0647 /* Vendor ID */