Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp681548pxb; Tue, 5 Apr 2022 18:33:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0Kd3CJM5k2Oa+xKM77BOyHTTdP0CiqAWu2kpUZLyppgZVJjWiqOXjjgs8RC9wblC44GXR X-Received: by 2002:a17:90b:4f86:b0:1c9:b52d:9713 with SMTP id qe6-20020a17090b4f8600b001c9b52d9713mr7178684pjb.98.1649208836865; Tue, 05 Apr 2022 18:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649208836; cv=none; d=google.com; s=arc-20160816; b=Jq/2sP/RYSbLpSBxmJGRmKjaYMxp53zv/RMXHyZAtIjxRz43D4Tx/6SYtyDeBibIWO vUdDmHgv8TkvxTphb4x1/a6Ejo/8oeAj3TR6675jgXbKgt0J5s++TWS9f8x2/KMR/zKz d1KFafnH98guM3BmfE54/34djiXCjhpJv2gIf+Yo+V9LJ3o1Ef2HoMsk3BzSMKy4DrbY 91A818MkPqEmWUWsTDRH///YZjHBK3bzaFOB37CzGX+NVDsQlXtztCe7pcVz/sjEWUoM nklKwKGSfzZ0Ygh+5++UKflOq97ZyKS4d+p0WBlWDnNDOl8qlzmod9UuFtS4NSqih7rz ejQQ== 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=EhXarmyBZgOLZaPk8XvKly9/JIjgOf2mNzzB10XDGY1iEJynHAh/EvUJMGOhcd1ODE ylzNw9+rcsMuPsiLK25Kd4epXLQwKcMhXCt9Eu2IVC9JBMSID+PTpJeWxiqmAGWSwg+V h/PJJZLGZbpXdpEyUuAUneh2/M4ojWZTUXi1278EytFhtEV/MmtaYlg5j9SaBllP7BFS FRmIxWCFbxWvH2a+1Um0/vNDeL42oGQD3Lyf/uzNFN4vV3ALR6tyZt4uuQWLm1JqUuxB RqUi+rsCMTupFi9Qg1ExU9Ne+GmrGS7QVsFObtNcoZcGmFk4faFqSn6fKzxxkVzkt030 gTZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sJfzPRXS; 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 w4-20020a17090a8a0400b001bd14e01fb0si3370774pjn.158.2022.04.05.18.33.42; Tue, 05 Apr 2022 18:33:56 -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=sJfzPRXS; 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 S231738AbiDEHlK (ORCPT + 99 others); Tue, 5 Apr 2022 03:41:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231734AbiDEHlH (ORCPT ); Tue, 5 Apr 2022 03:41:07 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2FDA4B43F; Tue, 5 Apr 2022 00:39:07 -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 4DD57B81B16; Tue, 5 Apr 2022 07:39:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E6BBC340EE; Tue, 5 Apr 2022 07:39:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649144344; bh=mofzU+Ioylql3jwYOzUHQ6X/mwJ6eaP22Z7z4ZDyVcA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sJfzPRXStwvIbS4nKGnh0q3j3rFYT/pj2FStOBg0s8pPfeTf2envrAwyjLZnWVZwE gQpGrvTTlOdEIvnFzSEgh0hBtO0n787LHm2J6d5i2r/Mz3PiXU0ymbsNCO0RY2RG1D 4wxxTLiWug7p8eRysNeGgW0JCvcrzlRcH5LWSnZQ= 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.17 0002/1126] USB: serial: pl2303: add IBM device IDs Date: Tue, 5 Apr 2022 09:12:29 +0200 Message-Id: <20220405070407.596370802@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@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