Linux CAN drivers development
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: "Daniel S. Trevitz" <dan@sstrev.com>
Cc: linux-can@vger.kernel.org,
	Daniel Trevitz <daniel.trevitz@wika.com>,
	Ryan Edwards <ryan.edwards@gmail.com>
Subject: Re: [PATCH 1/1] Termination resistor documentation
Date: Fri, 7 Oct 2022 13:14:48 +0200	[thread overview]
Message-ID: <20221007111448.vlgmz7ih7coozwdd@pengutronix.de> (raw)
In-Reply-To: <5016474.31r3eYUQgx@daniel6430>

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

On 07.10.2022 06:37:24, Daniel S. Trevitz wrote:
> On Friday, October 7, 2022 3:41:17 AM EDT Marc Kleine-Budde wrote:
> > On 06.10.2022 15:27:50, Daniel S. Trevitz wrote:
> > > Add documentation for how to use and setup the switchable termination
> > > resistor support for the can-controllers.
> > > 
> > > Signed-off-by: Daniel Trevitz <dan@sstrev.com>
> > > ---
> > > 
> > >  Documentation/networking/can.rst | 30 ++++++++++++++++++++++++++++++
> > >  1 file changed, 30 insertions(+)
> > > 
> > > diff --git a/Documentation/networking/can.rst
> > > b/Documentation/networking/can.rst index ebc822e605f5..bb39cfa4c502
> > > 100644
> > > --- a/Documentation/networking/can.rst
> > > +++ b/Documentation/networking/can.rst
> > > @@ -1148,6 +1148,36 @@ tuning on deep embedded systems'. The author is
> > > running a MPC603e> 
> > >  load without any problems ...
> > > 
> > > +Switchable Termination Resistors
> > > +--------------------------------
> > > +
> > > +CAN bus requires a specific impedance across the differential pair,
> > > +typically provided by two 120Ohm resistors on the farthest nodes of
> > > +the bus. Some CAN controllers support activating / deactivating a
> > > +termination resistor(s) to provide the correct impedance.::
> > > +
> > 
> > > +  - Query the available resistances:
> > You need double :: followed by a newline to mark as code.
> This whole section is a code block; :: is up three lines.

Yes, your're right. What about making only the individual commands code?

Marc


-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2022-10-07 11:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06 19:27 [PATCH 1/1] Termination resistor documentation Daniel S. Trevitz
2022-10-07  7:41 ` Marc Kleine-Budde
2022-10-07 10:37   ` Daniel S. Trevitz
2022-10-07 11:14     ` Marc Kleine-Budde [this message]
2022-10-07 11:50       ` Daniel S. Trevitz

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=20221007111448.vlgmz7ih7coozwdd@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=dan@sstrev.com \
    --cc=daniel.trevitz@wika.com \
    --cc=linux-can@vger.kernel.org \
    --cc=ryan.edwards@gmail.com \
    /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