Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4516974rwb; Tue, 6 Sep 2022 08:34:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR78ULb47X54zjfRLYr9P6tfwW28W3cooXlyYn15EzxzSnkA2A28uVVMINnbhvdTmazlepNi X-Received: by 2002:a17:90b:3e84:b0:1fe:3c34:8c5a with SMTP id rj4-20020a17090b3e8400b001fe3c348c5amr25873016pjb.77.1662478465578; Tue, 06 Sep 2022 08:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662478465; cv=none; d=google.com; s=arc-20160816; b=FZeWtY8SO2IXzEd6wwluuhnbteRKWqNBkOKCRNgvPzyGs0jgIsgW1iojQVSgHByQKc 0uyuepEMwLeEIDxgG/uCQb3I+vQvc35qK8QfBMnFcJSl77S3V8u5nD7hZUVWUb+y4dqM 5twPvyEf1UMwKGNaw4B/zXTh3gH+41dJboRcYdtL/n8YG6rzZP5wF1rs8KqOBIQgm3vU HaG11mUwcmKAYRatfO4kTOXVtPp6QbFIxSriIqFvUARi/ZOf1a3T3nhtwWgDszp1fvQi pVGmlIIq/3nTzrBPkmMy8uPF8UAnx7EhYFi1UgeVPSNhWeikLHdOq1RRUuH4Gdqt34Nx M2sQ== 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=EvLyzN1YSny9MTR7mhSm3fNUse7JR15W9FkwIQc06ie3+3uhfenXlkbef54YAfeEfi A2snOlaEH2c/SfAS2bCCHe/oF42oXdWw2imtO3HY3hKLecd5C/N3aZeoWSJW8MjdwwZp x0oM9Skd8ij6T2Vbj+HCq9TKsxF3bHnf0J/6L1U/Wyy3xP68wg/I2MXOGo8ElPpjh63N aIsw3xRNFtGDaGc3PMf/K2lEQ96ZI4bRz/hx4lhxgW73kJX6T07DOFHjo5N5UPG6B9pc CLLO+iEve7o1ATCdhxvwbwudNJWcI6FPQ3kL7EyhPh7wwcQ4lu9By3jmudhS3WpRncbE uJOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lr69ZY8v; 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 bg8-20020a056a02010800b00434c30d84b7si1083249pgb.495.2022.09.06.08.34.14; Tue, 06 Sep 2022 08:34:25 -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=lr69ZY8v; 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 S241117AbiIFOLj (ORCPT + 99 others); Tue, 6 Sep 2022 10:11:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241351AbiIFOJa (ORCPT ); Tue, 6 Sep 2022 10:09:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFFF88607C; Tue, 6 Sep 2022 06:46:41 -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 dfw.source.kernel.org (Postfix) with ESMTPS id EC9266154D; Tue, 6 Sep 2022 13:44:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA87BC433D7; Tue, 6 Sep 2022 13:44:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662471893; bh=zg/sOoQpE0AjjldedRJe+dc3QpG3rVgfQcCR/ffvN9o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lr69ZY8vUt6E2qGQ4WWkj6kJ49txTG3jjQLc/tIR/JbD7lT3yXuyTlPvOdxs/W2Ks LmOAGHF2efbTqkmaWq4fbB4jG9hn2pKr0bo0FQtwdXpll1tGgOlUwttN7mio41shhR gIp3cHykWeHkXVsTLDBOEiLNWUidyj9COe4sU7m8= 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.19 076/155] USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id Date: Tue, 6 Sep 2022 15:30:24 +0200 Message-Id: <20220906132832.637660511@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220906132829.417117002@linuxfoundation.org> References: <20220906132829.417117002@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=unavailable 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 */