From patchwork Thu Oct 19 03:25:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raveendra Padasalagi X-Patchwork-Id: 827923 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.b="cUDaM0fd"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yHZ8k50G8z9t7p for ; Thu, 19 Oct 2017 14:26:30 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751458AbdJSD0G (ORCPT ); Wed, 18 Oct 2017 23:26:06 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:45591 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751217AbdJSD0F (ORCPT ); Wed, 18 Oct 2017 23:26:05 -0400 Received: by mail-qt0-f196.google.com with SMTP id p1so12891607qtg.2 for ; Wed, 18 Oct 2017 20:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=9RkbMZjUkqQvLVFMHzu6x8zkjQzsSCnwrk85g2feB2o=; b=cUDaM0fdtd4mAP2YNBl4YcGw1Brx0/soK5cg1OZzbxrEbS5bt1mjMdfHGb6i9GcCjK sfG6XqbvOi3NTdSEfFAdI2gy/1WCty/9iO/kUMmP4ZP+gjT8Q7h92Y+0bG26mdmCTVkx RstLg7pFDytQG+RPcJaKd7N1UA7DF5bjknULE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9RkbMZjUkqQvLVFMHzu6x8zkjQzsSCnwrk85g2feB2o=; b=jMmKHELtV1KwkV3Q4Qf1Bx/uYiuZhd4GFuqXbJlyGcY/SbLH8cxCCaQiRk3xEt8QRU Zg6QVvVYZwGjmIunjRkAE//he/Yn0ruWwWACFFTTgaNduHW+QYVjOQIglJ7gniTBVxB1 sABXaGVQP1fg50zcd4bRgFKGS4FhgLTnehrOowraTVzbfNoOjkMOrg+EGiNj5q2tcdIT Qay4LpC+NVVbRMISfly2ysVfCy2bpSPvOD2Vk/hBulOF4tpRAvv0qXN+NzSbG5q46mGa MqFUO47dJhJAjHzzF2XzpH+97AEqPsfqm9RX2nqLf0EmEF8iajrx/Nv25KqH9GsapG1Y Io2A== X-Gm-Message-State: AMCzsaXj7kj27FkC4yrPPpY+71bwnZbZ11bpODlRk8xhrwjpGKiyqMfj HsGPzGEnYBrkO0IpbMagT+RD5g== X-Google-Smtp-Source: ABhQp+Rwg22Cko4La+ofIF9Op9LRpgLoh5wSon3NiRkUJCqNxHDT6yTRSZk6pDmL0/3VU3aQtSYdyw== X-Received: by 10.200.56.215 with SMTP id g23mr230718qtc.251.1508383564668; Wed, 18 Oct 2017 20:26:04 -0700 (PDT) Received: from rpadasal-OptiPlex-7010.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id a127sm5014068qkc.60.2017.10.18.20.26.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Oct 2017 20:26:03 -0700 (PDT) From: Raveendra Padasalagi To: MyungJoo Ham , Chanwoo Choi , Rob Herring , Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: bcm-kernel-feedback-list@broadcom.com, Raveendra Padasalagi Subject: [PATCH v2 1/2] Documentation: dt: extcon: add optional debounce-timeout-ms attribute Date: Thu, 19 Oct 2017 08:55:59 +0530 Message-Id: <1508383560-15567-1-git-send-email-raveendra.padasalagi@broadcom.com> X-Mailer: git-send-email 1.9.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add documentation on optional dt attribute "debounce-timeout-ms" in extcon node to capture user specified timeout value for id and vbus gpio detection. Signed-off-by: Raveendra Padasalagi Reviewed-by: Ray Jui Reviewed-by: Srinath Mannam Reviewed-by: Chanwoo Choi --- Changes in v2: Rename debounce-timeout-ms to input-debounce Documentation/devicetree/bindings/extcon/extcon-usb-gpio.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/extcon/extcon-usb-gpio.txt b/Documentation/devicetree/bindings/extcon/extcon-usb-gpio.txt index dfc14f7..d115900 100644 --- a/Documentation/devicetree/bindings/extcon/extcon-usb-gpio.txt +++ b/Documentation/devicetree/bindings/extcon/extcon-usb-gpio.txt @@ -10,6 +10,9 @@ Either one of id-gpio or vbus-gpio must be present. Both can be present as well. - id-gpio: gpio for USB ID pin. See gpio binding. - vbus-gpio: gpio for USB VBUS pin. +Optional properties: +- input-debounce: debounce timeout value for id and vbus gpio in microseconds. + Example: Examples of extcon-usb-gpio node in dra7-evm.dts as listed below: extcon_usb1 { compatible = "linux,extcon-usb-gpio";