Take a look at what one of the gpio controllers do. Eg ar71xx_gpio.c.
You have to implement those methods.

(I think someone did a GPIO controller thing for some AMD CPU too?)


-a


On 11 June 2016 at 21:59, Lundberg, Johannes
<johan...@brilliantservice.co.jp> wrote:
> Hi
>
> I want to port the pinctrl-cherryview driver from Linux.
>
> I've seen there is the gpiobus and a controller gpioc, can any of these be
> leverage when porting pinctrl?
>
> What is the recommend way to proceed?
>
> Thanks!
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
> もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
> 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
> ---
> CONFIDENTIALITY NOTE: The information in this email is confidential
> and intended solely for the addressee.
> Disclosure, copying, distribution or any other action of use of this
> email by person other than intended recipient, is prohibited.
> If you are not the intended recipient and have received this email in
> error, please destroy the original message.
> _______________________________________________
> freebsd-mob...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscr...@freebsd.org"
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to