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: 10907231 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E80C41515 for ; Thu, 18 Apr 2019 12:48:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCE1128BDE for ; Thu, 18 Apr 2019 12:48:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0A6828CA8; Thu, 18 Apr 2019 12:48:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7878C28BDE for ; Thu, 18 Apr 2019 12:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=vo+LY3HOaM82UrMljxIvgdjCZjEL90QprPkDHpN8Ra4=; b=DBL4K0Bw75lr8M4QNFhOMvlmcQ wODY5+MBhww4KRPSvC5nA0ZJnhoNOmudK/X//bCUIRKWF7NUS7/nXJKIEZNUKROj1tNM4n5OGUjA1 gSFyBf/6/7qwdgB+0toiw4dNQW4W/UXq8y0s69UyzPJ7qmBcFOgFYAw9CuiIa8VNFDnMdmwlK++Qm cZg5FjDS+PR7OYXhlBGiUnRC6TnVtpc7Ue+AZFL2jluyr/5Ne6lhuP6qAY7oTFvqLgoaKKb6+iksd FtjZgOf8pueXtqUfWcqdMW1wuwEcoQ9+0KAXCwLRDGzw9DFpH959urjqxpOaLSx7Df6q8nwPuW6ez G3YAuXZQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hH6SU-0004NY-Gn; Thu, 18 Apr 2019 12:48:06 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hH6SR-0004Ls-FK for linux-amlogic@lists.infradead.org; Thu, 18 Apr 2019 12:48:04 +0000 Received: by mail-wr1-x441.google.com with SMTP id f14so2247989wrj.5 for ; Thu, 18 Apr 2019 05:48:03 -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=q/q4FZzhQT1VFf53geQv/ODSZWO4ewu3cl1ByrDj07C1e9PChszeK7Lqp7ateOEOMz JrPRIhGj99aTUN1O6sqLO1fzHqmEkRpEmX3FK1KzCQtvnLgyIKl2sNyIwga2xvAiT+pj FkhYnOZw4eoOWuHCck7mhODiEe9AYuF7HkIcbmusNV4SpTs6AnOmF7yrVgFYbFCmp6SB BAjke7hzJPT2qxO+BY5xLTi+GWm7YcSXBvJ+G9bAVSGrCELAuEJYFRHDr71MwpDKGs4b 06+5R2BRGWd526nAV5kz2lYWzeepgaTOnBghyTRIxctT/GPr6519+qV2L5IbE3UhN4xL 2u8w== X-Gm-Message-State: APjAAAVtBc3TuPmXv4p8kfepBK2WngyJzeIyK8iH34fXZ7NDBrkjtMEd 37D/GEHtx9c2m+Kv88blbI5bCQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190418_054803_509459_4229A88F X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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