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


Groups > linux.kernel > #1371396

Re: [PATCH v4 6/6] pinctrl: baytrail: Add debounce configuration

From Cristina Ciocan <cristina.ciocan@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 6/6] pinctrl: baytrail: Add debounce configuration
Date 2016-04-05 13:20 +0200
Message-ID <rkxbz-2mN-3@gated-at.bofh.it> (permalink)
References <rj4Y2-35K-9@gated-at.bofh.it> <rj4Y3-35K-47@gated-at.bofh.it> <rkdwe-4bf-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04.04.2016 17:17, Linus Walleij wrote:
> On Fri, Apr 1, 2016 at 1:00 PM, Cristina Ciocan
> <cristina.ciocan@intel.com> wrote:
> 
>> Make debounce setting and getting functionality available when
>> configurating a certain pin.
>>
>> Signed-off-by: Cristina Ciocan <cristina.ciocan@intel.com>
> 
> Patch applied.
> 
> And as this is another case where GPIO has a debounce
> setting call: gpiod_set_debounce() this is another case for
> my suggested pinctrl_gpio_set_config() as that call is
> currently not implemented in your corresponding .set_debounce()
> callback for the GPIO chip, but could easily be handled
> by calling back into the pinctrl back-end, right?
> 

Yes, it can be easily handled by calling back byt_pin_config_set. I will
look into what other options are often used and would make sense to be
exported in the gpio layer as well and come back with a more detailed
answer.

Thanks

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


Thread

Re: [PATCH v4 6/6] pinctrl: baytrail: Add debounce configuration Linus Walleij <linus.walleij@linaro.org> - 2016-04-04 16:20 +0200
  Re: [PATCH v4 6/6] pinctrl: baytrail: Add debounce configuration Cristina Ciocan <cristina.ciocan@intel.com> - 2016-04-05 13:20 +0200

csiph-web