Linux-Next discussions
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Greg KH <greg@kroah.com>, Grant Likely <grant.likely@secretlab.ca>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>,
	Andrew Jackson <Andrew.Jackson@arm.com>
Subject: linux-next: manual merge of the tty tree with the devicetree tree
Date: Fri, 28 Nov 2014 17:17:04 +1100	[thread overview]
Message-ID: <20141128171704.1e0dbd96@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 2664 bytes --]

Hi Greg,

Today's linux-next merge of the tty tree got a conflict in
Documentation/devicetree/bindings/serial/pl011.txt between commit
a81a6c654bbe ("ARM: dt: fix up PL011 device tree bindings") from the
devicetree tree and commit 98267d33e2da ("serial: pl011: Add device
tree support for RX DMA polling") from the tty tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc Documentation/devicetree/bindings/serial/pl011.txt
index 52464918cfe2,0e05340055e1..000000000000
--- a/Documentation/devicetree/bindings/serial/pl011.txt
+++ b/Documentation/devicetree/bindings/serial/pl011.txt
@@@ -6,34 -6,17 +6,39 @@@ Required properties
  - interrupts: exactly one interrupt specifier
  
  Optional properties:
 -- pinctrl:		When present, must have one state named "sleep"
 -			and one state named "default"
 -- clocks:		When present, must refer to exactly one clock named
 -			"apb_pclk"
 -- dmas:			When present, may have one or two dma channels.
 -			The first one must be named "rx", the second one
 -			must be named "tx".
 +- pinctrl: When present, must have one state named "default",
 +	   and may contain a second name named "sleep". The former
 +	   state sets up pins for ordinary operation whereas
 +	   the latter state will put the associated pins to sleep
 +	   when the UART is unused
 +- clocks:  When present, the first clock listed must correspond to
 +	   the clock named UARTCLK on the IP block, i.e. the clock
 +	   to the external serial line, whereas the second clock
 +	   must correspond to the PCLK clocking the internal logic
 +	   of the block. Just listing one clock (the first one) is
 +	   deprecated.
 +- clocks-names: When present, the first clock listed must be named
 +	   "uartclk" and the second clock listed must be named
 +	   "apb_pclk"
 +- dmas:	   When present, may have one or two dma channels.
 +	   The first one must be named "rx", the second one
 +	   must be named "tx".
+ - auto-poll:		Enables polling when using RX DMA.
+ - poll-rate-ms:		Rate at which poll occurs when auto-poll is set,
+ 			default 100ms.
+ - poll-timeout-ms:	Poll timeout when auto-poll is set, default
+ 			3000ms.
  
  See also bindings/arm/primecell.txt
 +
 +Example:
 +
 +uart@80120000 {
 +	compatible = "arm,pl011", "arm,primecell";
 +	reg = <0x80120000 0x1000>;
 +	interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
 +	dmas = <&dma 13 0 0x2>, <&dma 13 0 0x0>;
 +	dma-names = "rx", "tx";
 +	clocks = <&foo_clk>, <&bar_clk>;
 +	clock-names = "uartclk", "apb_pclk";
 +};

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2014-11-28  6:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28  6:17 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-17  4:46 linux-next: manual merge of the tty tree with the devicetree tree Stephen Rothwell
2025-04-17  5:33 ` Greg KH
2020-06-02  5:48 Stephen Rothwell
2020-06-08 16:46 ` Greg KH
2013-08-13  5:41 Stephen Rothwell
2013-08-13  6:14 ` Greg KH

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=20141128171704.1e0dbd96@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=Andrew.Jackson@arm.com \
    --cc=grant.likely@secretlab.ca \
    --cc=greg@kroah.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.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