From patchwork Thu Apr 18 12:47:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume LA ROQUE X-Patchwork-Id: 1087573 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; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="hOoLMfpx"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44lJn12ctrz9s55 for ; Thu, 18 Apr 2019 22:48:21 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388578AbfDRMsE (ORCPT ); Thu, 18 Apr 2019 08:48:04 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39919 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388299AbfDRMsD (ORCPT ); Thu, 18 Apr 2019 08:48:03 -0400 Received: by mail-wr1-f66.google.com with SMTP id j9so2826813wrn.6 for ; Thu, 18 Apr 2019 05:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hZGFnloPIH8uy+TOBn2bOgOK6HgyyxeBU1/SBUWxaZc=; b=hOoLMfpx0yeg1FfPGBfiYewmRrfWJidgOoNqRCHRADoA6GtzmZS48XTLqZj2QAPGC7 TymJQMT7ulXf8zK58pGU5lQVzdR8OmuOZ85/NVzReIBUswOswL7WSxyAl10bbyzB8jDM c7BZcbPjIW5BONtfSFJtfBiwD5VCpEsx08ABmvpuqSQNq3gMP2KAKBth1Fy2Nq92EKlN SgLKs+DsNUtSSo1W7vfSKdreNR7Xbm57uIxafhmdxrJ0NhyCzg52yO6c+fRXyr7amEIF g3NmXx51eirV0dnZsDl2fmghb0Oh+ZFMq0IE0yt3hB1NMzT+hxxbpz2UcNys4FC96sHH s6TQ== 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:in-reply-to :references; bh=hZGFnloPIH8uy+TOBn2bOgOK6HgyyxeBU1/SBUWxaZc=; b=FEixCZNxIh1iZ6mdnjBrujFHRALwnBfqM5HEL5F8pyCz/PD5JuVMJX9u456mOumtNP gBj6AWEThjyHhOPsPPsCbajJSsFnPt2rWwl57pz4eWFLSqywIy2rwwl/TWzMKGCP11cl I5UNo5CqXW553XnPPaUgHysByzMqr0nrwpJNMgb6udArx+xXkmRPyy8yjE7RgZJlwNxD XM7vXozh+alPMM1I9P6k6yh6lSF6ZI2/TgRngS/0d1yRiGed34pUkyz+aT3+696H9y40 ZhO+qwTMrA6kbiI5qpoN8/sU7SkuInlSfwNp1Hh42CQhi+WVzTy/lvJVwdpuupYT0XyO sXyg== X-Gm-Message-State: APjAAAX/fB4ZxGUkM8XIlii7N/DHvXrsPPUKrNDPwAEgWWJNanNseLjw IP6EBbzNdSui0cknc9nhQ7XRfQ== X-Google-Smtp-Source: APXvYqxGUCY08Z6Tc1/uCiTaylzocswOa9Lvzn8FINRBhnCIAIdqJ42re1mtEpGC+kNREKbbLt+GXg== X-Received: by 2002:adf:e449:: with SMTP id t9mr59193645wrm.204.1555591682108; Thu, 18 Apr 2019 05:48:02 -0700 (PDT) Received: from glaroque-ThinkPad-T480.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id q17sm1256823wrw.70.2019.04.18.05.48.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Apr 2019 05:48:01 -0700 (PDT) From: Guillaume La Roque To: linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, khilman@baylibre.com Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] dt-bindings: pinctrl: add a 'drive-strength-uA' property Date: Thu, 18 Apr 2019 14:47:55 +0200 Message-Id: <20190418124758.24022-2-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190418124758.24022-1-glaroque@baylibre.com> References: <20190418124758.24022-1-glaroque@baylibre.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This property allow drive-strength parameter in uA instead of mA. Signed-off-by: Guillaume La Roque Acked-by: Martin Blumenstingl --- Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt index cef2b5855d60..fc7018459aa2 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt @@ -258,6 +258,7 @@ drive-push-pull - drive actively high and low drive-open-drain - drive with open drain drive-open-source - drive with open source drive-strength - sink or source at most X mA +drive-strength-uA - sink or source at most X uA input-enable - enable input on pin (no effect on output, such as enabling an input buffer) input-disable - disable input on pin (no effect on output, such as @@ -326,6 +327,8 @@ arguments are described below. - drive-strength takes as argument the target strength in mA. +- drive-strength-uA takes as argument the target strength in uA. + - input-debounce takes the debounce time in usec as argument or 0 to disable debouncing