devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Jeffery <andrew@aj.id.au>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Andrew Jeffery <andrew@aj.id.au>,
	Rob Herring <robh+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org
Subject: [PATCH v2 2/4] gpio: aspeed: dt: Add optional clocks property
Date: Fri,  7 Apr 2017 22:29:00 +0930	[thread overview]
Message-ID: <20170407125902.15960-3-andrew@aj.id.au> (raw)
In-Reply-To: <20170407125902.15960-1-andrew@aj.id.au>

We need a reference to the HPLL to calculate debounce cycles. If the
clocks property is not supplied in the GPIO node then the consumer
should deny any debounce requests.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 Documentation/devicetree/bindings/gpio/gpio-aspeed.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt b/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt
index 6f30b9a048da..c756afa88cc6 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt
@@ -18,6 +18,7 @@ Required properties:
 Optional properties:
 
 - interrupt-parent      : The parent interrupt controller, optional if inherited
+- clocks                : A phandle to the HPLL clock node for debounce timings
 
 The gpio and interrupt properties are further described in their respective
 bindings documentation:
-- 
2.9.3

  parent reply	other threads:[~2017-04-07 12:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-07 12:58 [PATCH v2 0/4] gpio: aspeed: Add debounce support Andrew Jeffery
     [not found] ` <20170407125902.15960-1-andrew-zrmu5oMJ5Fs@public.gmane.org>
2017-04-07 12:58   ` [PATCH v2 1/4] gpio: aspeed: dt: Fix description alignment in bindings document Andrew Jeffery
2017-04-13 19:50     ` Rob Herring
     [not found]     ` <20170407125902.15960-2-andrew-zrmu5oMJ5Fs@public.gmane.org>
2017-04-24 12:46       ` Linus Walleij
2017-04-07 12:59 ` Andrew Jeffery [this message]
2017-04-13 19:52   ` [PATCH v2 2/4] gpio: aspeed: dt: Add optional clocks property Rob Herring
2017-04-24 12:47   ` Linus Walleij
2017-04-07 12:59 ` [PATCH v2 3/4] gpio: aspeed: Add debounce support Andrew Jeffery
2017-04-24 12:50   ` Linus Walleij
2017-04-07 12:59 ` [PATCH v2 4/4] gpio: aspeed: Add open-source and open-drain support Andrew Jeffery
2017-04-24 12:52   ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170407125902.15960-3-andrew@aj.id.au \
    --to=andrew@aj.id.au \
    --cc=benh@kernel.crashing.org \
    --cc=devicetree@vger.kernel.org \
    --cc=joel@jms.id.au \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=openbmc@lists.ozlabs.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).