Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751558AbdIKMRj (ORCPT ); Mon, 11 Sep 2017 08:17:39 -0400 Received: from mail1.bemta12.messagelabs.com ([216.82.251.10]:39027 "EHLO mail1.bemta12.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750989AbdIKMRh (ORCPT ); Mon, 11 Sep 2017 08:17:37 -0400 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjleJIrShJLcpLzFFi42LJePGQSfdh3bZ Ig737mSwu75rDZrFoWSuzA5PH501yAYxRrJl5SfkVCawZJ//vZyrYKlHx4OJp1gbGOeJdjFwc QgJPGCXObvrICOEsZJR4ub+HtYuRg4NNQF3i9wm+LkZODhEBa4lJDz4xgdjMAo4St/e+BbOFB Ywknlxawg5RYy4x5/AWKFtP4uud7WwgNouAqsSiJavA6nkFfCTWrdsBFmcUkJWY9ug+1Exxib nTZrGC2BICIhIPL55mg7BFJV4+/gd2joSAvMSWWYIQ5RkS854eY4UYKShxcuYTlgmMgrOQTJq FpGwWkjKIuI7Egt2f2CBsbYllC18zQ9ixEvu6bjBC2E4Sd1f+A6rhArJPMkocnHoAqkhRYkr3 Q/YFjJyrGDWKU4vKUot0TYz0kooy0zNKchMzc3QNDY30clOLixPTU3MSk4r1kvNzNzEC46meg YFxB+PFhdGHGCU5mJREed8d3xIpxJeUn1KZkVicEV9UmpNafIhRhoNDSYL3VO22SCHBotT01I q0zBxgZMOkJTh4lER4N9UApXmLCxJzizPTIVKnGBWlxHn7QPoEQBIZpXlwbbBkcolRVkqYl5G BgUGIpyC1KDezBFX+FaM4B6OSMO9DkCk8mXklcNNfAS1mAlrMc2kLyOKSRISUVANjxdF1rctu 2x3l9InP7PZZH+TdpXz1nu9lh/C/yTNEFkm3aT3oNbRWrQupsFJ8V6IuM7fIsTjJ7fvfmTO3p xdssxP4E20ruXhjqEwc9wbTK+E2S05HGsv+/+fIssfw9ON1rpeaO6892PJl871vz1gqzX4dXP S8c/v3uzKJRjO22Exnm7pObbGKEktxRqKhFnNRcSIAq1vC8SEDAAA= X-Env-Sender: caods1@lenovo.com X-Msg-Ref: server-6.tower-138.messagelabs.com!1505132255!99985163!1 X-Originating-IP: [104.232.225.2] X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked From: Dashi DS1 Cao To: "linux-usb@vger.kernel.org" CC: "linux-kernel@vger.kernel.org" Subject: Add TI ICDI as a simple usb serial device Thread-Topic: Add TI ICDI as a simple usb serial device Thread-Index: AdMq9szefsTXcSLXT36ZlOHMNkV9Ug== Date: Mon, 11 Sep 2017 12:17:21 +0000 Message-ID: <23B7B563BA4E9446B962B142C86EF24A089B22B1@CNMAILEX03.lenovo.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.96.19.89] Content-Type: multipart/mixed; boundary="_002_23B7B563BA4E9446B962B142C86EF24A089B22B1CNMAILEX03lenov_" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3125 Lines: 56 --_002_23B7B563BA4E9446B962B142C86EF24A089B22B1CNMAILEX03lenov_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, The TI ICDI is an integrated debugger interface for its TM4C series microco= ntroller chip. It is a USB interface which can be used just like a USB seri= al device. A few lines of codes added to the file "drivers/usb/serial/usb-serial-simpl= e.c" accomplishes this job. And it can be used to upload/download firmware = for the TI TM4C12x series. I think GDB can also use this serial device to d= o the debugging of TM4C12x. This patch is based on version 4.9.48. Thanks, Dashi Cao --_002_23B7B563BA4E9446B962B142C86EF24A089B22B1CNMAILEX03lenov_ Content-Type: application/octet-stream; name="0001-Add-TI-ICDI-as-a-usb-serial-device.patch" Content-Description: 0001-Add-TI-ICDI-as-a-usb-serial-device.patch Content-Disposition: attachment; filename="0001-Add-TI-ICDI-as-a-usb-serial-device.patch"; size=1446; creation-date="Mon, 11 Sep 2017 12:02:39 GMT"; modification-date="Mon, 11 Sep 2017 12:02:39 GMT" Content-Transfer-Encoding: base64 RnJvbSA0ZDNjNTQ4NWM5ZTdkYjE1ODAwZWJjMjFlYTI4ZDY1YjcyZTk4MGE4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYXNoaSBDYW8gPGRzY2FvOTk5QGhvdG1haWwuY29tPgpEYXRl OiBNb24sIDExIFNlcCAyMDE3IDE4OjQ2OjMyICswODAwClN1YmplY3Q6IFtQQVRDSF0gQWRkIFRJ IElDREkgYXMgYSB1c2Igc2VyaWFsIGRldmljZQoKLS0tCiBkcml2ZXJzL3VzYi9zZXJpYWwvdXNi LXNlcmlhbC1zaW1wbGUuYyB8IDggKysrKysrKy0KIDEgZmlsZSBjaGFuZ2VkLCA3IGluc2VydGlv bnMoKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9kcml2ZXJzL3VzYi9zZXJpYWwvdXNi LXNlcmlhbC1zaW1wbGUuYyBiL2RyaXZlcnMvdXNiL3NlcmlhbC91c2Itc2VyaWFsLXNpbXBsZS5j CmluZGV4IGU5OGI2ZTUuLjc3MjdlYWIgMTAwNjQ0Ci0tLSBhL2RyaXZlcnMvdXNiL3NlcmlhbC91 c2Itc2VyaWFsLXNpbXBsZS5jCisrKyBiL2RyaXZlcnMvdXNiL3NlcmlhbC91c2Itc2VyaWFsLXNp bXBsZS5jCkBAIC0zMiw3ICszMiw3IEBAIHN0YXRpYyBzdHJ1Y3QgdXNiX3NlcmlhbF9kcml2ZXIg dmVuZG9yIyNfZGV2aWNlID0gewkJXAogCX0sCQkJCQkJCVwKIAkuaWRfdGFibGUgPQkJdmVuZG9y IyNfaWRfdGFibGUsCQlcCiAJLm51bV9wb3J0cyA9CQlucG9ydCwJCQkJXAotfTsKK30KIAogI2Rl ZmluZSBERVZJQ0UodmVuZG9yLCBJRFMpCURFVklDRV9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