Re: PL2303 Linux driver (adding new chip version PID and GPIO)

2017-07-17 Thread Johan Hovold
On Fri, Jul 14, 2017 at 10:32:49AM +, Chu.Mike [朱堅宜] wrote: > 保密警語: > 本電子郵件內容及其附加檔案均視為機密資料,受保密合約保護或依法不得洩漏。其內容僅供指定收件人按限定範圍或特殊目的合法使用,未經授權者收到此信息均無權閱讀、使用、複製、洩漏或散佈。若您並非本郵件之指定收件人,請即刻回覆郵件並永久刪除此郵件及其附件和銷毀所有複印文件。電子郵件的傳輸可能遭攔截、損毀、遺失、破壞、遲到或不完整、或包含病毒,無法保證其安全或無誤。寄件人不承擔因本電子郵件的錯誤或遺漏所產生的任何損害賠償責任。 >

Re: PL2303 Linux driver (adding new chip version PID and GPIO)

2017-07-17 Thread Johan Hovold
On Fri, Jul 14, 2017 at 12:47:29PM +0200, Greg Kroah-Hartman wrote: > On Fri, Jul 14, 2017 at 10:32:49AM +, Chu.Mike [朱堅宜] wrote: > > Hi Greg, > > > > This patch is for adding our new chip PL2303TB (UART, 12 GPIO, PWN) > > PID is 2304 and GPIO function codes. Attached is datasheet. Can you >

Re: PL2303 Linux driver (adding new chip version PID and GPIO)

2017-07-14 Thread 'g...@kroah.com'
On Fri, Jul 14, 2017 at 10:32:49AM +, Chu.Mike [朱堅宜] wrote: > Hi Greg, > > This patch is for adding our new chip PL2303TB (UART, 12 GPIO, PWN) > PID is 2304 and GPIO function codes. Attached is datasheet. Can you > help us? Adding a new device is is simple, but adding custom ioctls for gpio

Re: PL2303 Linux driver (adding new chip version PID and GPIO)

2017-07-14 Thread 'g...@kroah.com'
On Fri, Jul 14, 2017 at 05:10:57AM +, Yeh.Charles[葉榮鑫] wrote: > Hi Greg, >The attached file" pl2303c_patch.zip & pl2303h_patch.zip" are patch file > for PL2303.c & PL2303.h. >Can you help to include it to the next kernel release? Hm, I started to edit this to make it fit the proper