Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1171968

Re: [PATCH V2 1/1] usb:serial:f81534 Add F81532/534 Driver

From Peter Hung <hpeter@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH V2 1/1] usb:serial:f81534 Add F81532/534 Driver
Date 2015-06-25 11:30 +0200
Message-ID <pFbDQ-4BX-1@gated-at.bofh.it> (permalink)
References <pBrQR-5Kt-1@gated-at.bofh.it> <pF7JU-7r8-7@gated-at.bofh.it> <pFaoq-2Up-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Johan,

Johan Hovold 於 2015/6/25 下午 04:06 寫道:
>   - As Greg already mentioned, you need to implement gpio support using
>     gpiolib, not a custom sysfs interface
>
> I don't have time to look closer at the architectural bits until next
> week I'm afraid, but perhaps you could start with the above.

Thanks for your advices, I'll try to improve it again.
But I had something need to clarify.

1. The sysfs interface of the driver provide "limited output pin"
    control. only support output 0/1, not support input mode.
    Should I implement it as gpiolib?

2. If it still recommends to implement with gpiolib, Could I implement
    it and preserve the sysfs interface for legacy?

-- 
With Best Regards,
Peter Hung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH V2 1/1] usb:serial:f81534 Add F81532/534 Driver Peter Hung <hpeter@gmail.com> - 2015-06-25 07:20 +0200
  Re: [PATCH V2 1/1] usb:serial:f81534 Add F81532/534 Driver Peter Hung <hpeter@gmail.com> - 2015-06-25 11:30 +0200
    Re: [PATCH V2 1/1] usb:serial:f81534 Add F81532/534 Driver Johan Hovold <johan@kernel.org> - 2015-06-25 11:30 +0200

csiph-web