linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jean-Michel Hautbois <jhautbois@gmail.com>
To: Laurent Pinchart <laurentp@cse-semaphore.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [MPC8272ADS]Can not configure the ttyCPM0
Date: Fri, 13 Mar 2009 15:20:24 +0100	[thread overview]
Message-ID: <8cad0aa0903130720r25e8b7c1u3f762d9560535f5e@mail.gmail.com> (raw)
In-Reply-To: <200903131500.51446.laurentp@cse-semaphore.com>

2009/3/13 Laurent Pinchart <laurentp@cse-semaphore.com>:
> Hi Jean-Michel,
>
> Support for the modem control lines has been added in v2.6.27-rc2. You will
> need to declare the modem control lines in your device tree. See
> Documentation/powerpc/dts-bindings/fsl/cpm_qe/serial.txt for more information.
>
> Please note that hardware flow control is not supported by the CPM UART driver
> yet.
>

OK, this is not easy, to modify...
My DTS already contains a configuration for the CPM1 port...

			serial@11a00 {
				device_type = "serial";
				compatible = "fsl,mpc8272-scc-uart",
				             "fsl,cpm2-scc-uart";
				reg = <0x11a00 0x20 0x8000 0x100>;
				interrupts = <40 8>;
				interrupt-parent = <&PIC>;
				fsl,cpm-brg = <1>;
				fsl,cpm-command = <0x800000>;
			};

			serial@11a60 {
				device_type = "serial";
				compatible = "fsl,mpc8272-scc-uart",
				             "fsl,cpm2-scc-uart";
				reg = <0x11a60 0x20 0x8300 0x100>;
				interrupts = <43 8>;
				interrupt-parent = <&PIC>;
				fsl,cpm-brg = <4>;
				fsl,cpm-command = <0xce0000>;
			};

I can't see what I have to do...
This is not obvious ;).

JM

  reply	other threads:[~2009-03-13 14:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13 13:38 [MPC8272ADS]Can not configure the ttyCPM0 Jean-Michel Hautbois
2009-03-13 14:00 ` Laurent Pinchart
2009-03-13 14:20   ` Jean-Michel Hautbois [this message]
2009-03-13 14:38     ` Laurent Pinchart

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=8cad0aa0903130720r25e8b7c1u3f762d9560535f5e@mail.gmail.com \
    --to=jhautbois@gmail.com \
    --cc=laurentp@cse-semaphore.com \
    --cc=linuxppc-dev@ozlabs.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).