U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Judith Mendez <jm@ti.com>, Andrew Davis <afd@ti.com>,
	Bryan Brattlof <bb@ti.com>,
	u-boot@lists.denx.de
Subject: Re: [PATCH] doc: ti: Add switch setting for boot modes on AM62 SK
Date: Tue, 4 Apr 2023 10:22:12 -0400	[thread overview]
Message-ID: <20230404142212.GJ1134230@bill-the-cat> (raw)
In-Reply-To: <0eb24e03-08c2-95b1-f4a8-298c20121810@gmx.de>

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

On Tue, Apr 04, 2023 at 03:59:56PM +0200, Heinrich Schuchardt wrote:
> On 3/31/23 22:36, Judith Mendez wrote:
> > List some common boot modes and their corresponding switch
> > settings for AM62 SK.
> > 
> > Signed-off-by: Judith Mendez <jm@ti.com>
> > ---
> > 
> > Changes from v1: Change table format from ascii-art to list-table
> > 
> >   doc/board/ti/am62x_sk.rst | 36 ++++++++++++++++++++++++++++++++++++
> >   1 file changed, 36 insertions(+)
> > 
> > diff --git a/doc/board/ti/am62x_sk.rst b/doc/board/ti/am62x_sk.rst
> > index b1b7d99befb..3d85400b1a1 100644
> > --- a/doc/board/ti/am62x_sk.rst
> > +++ b/doc/board/ti/am62x_sk.rst
> > @@ -229,3 +229,39 @@ Image formats:
> >                   | |   SPL DTB 1...N   | |
> >                   | +-------------------+ |
> >                   +-----------------------+
> > +
> > +Switch Setting for Boot Mode
> > +----------------------------
> > +
> > +Boot Mode pins provide means to select the boot mode and options before the
> > +device is powered up. After every POR, they are the main source to populate
> > +the Boot Parameter Tables.
> > +
> > +The following table shows some common boot modes used on AM62 platform. More
> > +details can be found in the Technical Reference Manual:
> > +https://www.ti.com/lit/pdf/spruiv7 under the `Boot Mode Pins` section.
> > +
> > +.. list-table:: Boot Modes
> > +   :widths: 32 32 32
> > +   :header-rows: 1
> > +
> > +   * - Switch Label
> > +     - SW2: 12345678
> > +     - SW3: 12345678
> > +   * - SD
> > +     - 01000000
> > +     - 11000010
> > +   * - OSPI
> > +     - 00000000
> > +     - 11001110
> > +   * - EMMC
> > +     - 00000000
> > +     - 11010010
> > +   * - UART
> > +     - 00000000
> > +     - 11011100
> > +   * - USB DFU
> > +     - 00000000
> > +     - 11001010
> 
> Hello Judith,
> 
> ReStructured text allows different flavors of formatting tables.
> 
> The HTML output for the table above is correct but the .rst file is hard
> to read in a text-editor. I would prefer:
> 
> *Boot Modes*
> 
> ============ ============= =============
> Switch Label SW2: 12345678 SW3: 12345678
> ============ ============= =============
> SD           01000000      11000010
> OSPI         00000000      11001110
> EMMC         00000000      11010010
> UART         00000000      11011100
> USB DFU      00000000      11001010
> ============ ============= =============

There's other list-table entires in the docs today. I'm fine either way,
but we need to be consistent in the docs, and should update perhaps
doc/develop/codingstyle.rst should get a section too on docs?

-- 
Tom

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

  reply	other threads:[~2023-04-04 14:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31 20:36 [PATCH] doc: ti: Add switch setting for boot modes on AM62 SK Judith Mendez
2023-03-31 20:37 ` Tom Rini
2023-04-04 13:59 ` Heinrich Schuchardt
2023-04-04 14:22   ` Tom Rini [this message]
2023-04-06 17:54     ` Mendez, Judith
  -- strict thread matches above, loose matches on Subject: below --
2023-03-27 16:15 Judith Mendez
2023-03-27 16:40 ` Tom Rini
     [not found] <20230110212550.22844-1-jm@ti.com>
2023-01-10 22:37 ` Andrew Davis
2023-01-11 19:58   ` Bryan Brattlof

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=20230404142212.GJ1134230@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=afd@ti.com \
    --cc=bb@ti.com \
    --cc=jm@ti.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /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