Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp684897pxb; Tue, 5 Apr 2022 18:42:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzA7QwiF7MU8yjmKh1yz4yAaPPNszHfn8Z9UERyCj8YQ8bsxuXFg8JWSyloYEGEvVknpBNm X-Received: by 2002:a17:907:ea1:b0:6df:7900:e4de with SMTP id ho33-20020a1709070ea100b006df7900e4demr6085385ejc.26.1649209368983; Tue, 05 Apr 2022 18:42:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649209368; cv=none; d=google.com; s=arc-20160816; b=SToDkNkliXFSqopptQI7tczof1iEGkj42kmoVcJWJTSZqY9Ua5nld0uNL+BuGS2eFX 1upyKJRow5J0UljROtfbO7UIX6D1Qbn56Dd/t+nJCKDsl4SZCcBSenTq7qulTNktxySB YO/SovbxTfY5CfICYygUSZNwjYuK46RKxxwOfXL7pXXMEmyh2S94vm9cBh5TR2+YNCzp VpvRWIB/zZup8FXxrylQavFa13aEAECB0reo3TwpeezG+Nk0Z76iWexSJbw0Wc8tWjn4 yZ1F5vgx17UuIWiGJKHWtVm4ojZtMgEWzWSAyTsVYT8rY7Wwq9ZcMuOn/n0VeTAZnwOr uDxw== 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=nLiMvRU+fquZHJSd+pp8Efb4HzNeWw2uORjmP87lNGA=; b=zM6/0QQiqBiruuCh6CjBVu0KNv2nq0/Kuu0nZg/TXc7Fb+mkLZoXckgzkGP817Zn3c ZQkaNmbFuUcjlA6R+YPGa8rteR1LWpdk63DyCO4sinSROsUk5ohZn7ieiS6nFseJM+r5 VQ7/i2gYsLEJEfjYTfNfOEAahyIvKrcjVx0KIZ9XLqDhFYauLlhpBNIBBP3py/cQFR0o ddcK+WMvQLY7tK7gp0Qa9UlH4UayNkI/44nCt4zGGNnMWMZIJYgmiQ68j5D4wexoEjm/ HrMVLrA05wQfVsHQEnIm+Q9LknDXujK11nTfCOHJA27JMkl1BtYg5PcgHAb0v1Hz1xFy RyZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JB4jdVNl; 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 la18-20020a170907781200b006df76385c5asi10855501ejc.250.2022.04.05.18.42.19; Tue, 05 Apr 2022 18:42: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=JB4jdVNl; 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 S242209AbiDEKgp (ORCPT + 99 others); Tue, 5 Apr 2022 06:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241451AbiDEIdj (ORCPT ); Tue, 5 Apr 2022 04:33:39 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EFE6C4; Tue, 5 Apr 2022 01:31: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 ams.source.kernel.org (Postfix) with ESMTPS id D3CCBB81BB1; Tue, 5 Apr 2022 08:31:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 247FBC385A0; Tue, 5 Apr 2022 08:31:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649147498; bh=mofzU+Ioylql3jwYOzUHQ6X/mwJ6eaP22Z7z4ZDyVcA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JB4jdVNl22/ZeSyOk8vWmvyzsDo9koB3xpMhx7gbkAI6OwpDshOt5p3K3roxKYIWx nzQfrE350f0O5sSidXSocyJDRM8zS5wys2toonV6RxOfTmmyf5mbHh3f95YzvPuB1L FPkdYaqXn0lYH2+xBIhLrpjBXKNPjUu9vYzN0r+o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eddie James , Joel Stanley , Johan Hovold Subject: [PATCH 5.16 0002/1017] USB: serial: pl2303: add IBM device IDs Date: Tue, 5 Apr 2022 09:15:15 +0200 Message-Id: <20220405070354.238835768@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 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: Eddie James commit e1d15646565b284e9ef2433234d6cfdaf66695f1 upstream. IBM manufactures a PL2303 device for UPS communications. Add the vendor and product IDs so that the PL2303 driver binds to the device. Signed-off-by: Eddie James Signed-off-by: Joel Stanley Signed-off-by: Eddie James Link: https://lore.kernel.org/r/20220301224446.21236-1-eajames@linux.ibm.com Cc: stable@vger.kernel.org [ johan: amend the SoB chain ] Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/pl2303.c | 1 + drivers/usb/serial/pl2303.h | 3 +++ 2 files changed, 4 insertions(+) --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c @@ -116,6 +116,7 @@ static const struct usb_device_id id_tab { USB_DEVICE(ADLINK_VENDOR_ID, ADLINK_ND6530GC_PRODUCT_ID) }, { USB_DEVICE(SMART_VENDOR_ID, SMART_PRODUCT_ID) }, { USB_DEVICE(AT_VENDOR_ID, AT_VTKIT3_PRODUCT_ID) }, + { USB_DEVICE(IBM_VENDOR_ID, IBM_PRODUCT_ID) }, { } /* Terminating entry */ }; --- a/drivers/usb/serial/pl2303.h +++ b/drivers/usb/serial/pl2303.h @@ -35,6 +35,9 @@ #define ATEN_PRODUCT_UC232B 0x2022 #define ATEN_PRODUCT_ID2 0x2118 +#define IBM_VENDOR_ID 0x04b3 +#define IBM_PRODUCT_ID 0x4016 + #define IODATA_VENDOR_ID 0x04bb #define IODATA_PRODUCT_ID 0x0a03 #define IODATA_PRODUCT_ID_RSAQ5 0x0a0e