extcon: gpio-state: add dt property for wait timeout for gpio scan
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 20 Jan 2016 10:05:21 +0000 (15:05 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 19 Feb 2016 02:06:58 +0000 (18:06 -0800)
commit56dbd9ab54eb756ef3175ebba9e160475ae782a6
tree81498f05b092949e8c1340ed1fd38c52dec2c2e3
parentb5c109602144f2f54ab76ccfed38869c8cebe350
extcon: gpio-state: add dt property for wait timeout for gpio scan

Add wait timeout for all gpio scan after gpio settled down.
This wait timeout time helps to appear all gpio interrupt
and serve before all gpios states are scanned for cable.

Change-Id: I86853e758f1b04d1b290b79bc20115dca0ee5f27
Reviewed-on: http://git-master/r/935029
(cherry picked from commit 9ae6861da16ab0ae73dd52d94c24ff3010934c99)
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1011843
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Documentation/devicetree/bindings/extcon/extcon-gpio-states.txt [new file with mode: 0644]
drivers/extcon/extcon-gpio-states.c