[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGngYiVKHoXPGxmScCnb-R6xoo9GNw5pG8V8Cpyk3meoJbskiw@mail.gmail.com>
Date: Wed, 9 Dec 2020 12:36:40 -0500
From: Sven Van Asbroeck <thesven73@...il.com>
To: "H. Nikolaus Schaller" <hns@...delico.com>
Cc: Mark Brown <broonie@...nel.org>, Rob Herring <robh+dt@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-spi <linux-spi@...r.kernel.org>,
linux-gpio@...r.kernel.org,
devicetree <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Discussions about the Letux Kernel
<letux-kernel@...nphoenux.org>, kernel@...a-handheld.com,
Maxime Ripard <maxime.ripard@...tlin.com>,
Lukas Wunner <lukas@...ner.de>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Andreas Kemnade <andreas@...nade.info>
Subject: Re: [PATCH] spi: dt-bindings: clarify CS behavior for spi-cs-high and
gpio descriptors
On Wed, Dec 9, 2020 at 4:57 AM H. Nikolaus Schaller <hns@...delico.com> wrote:
>
> +
> + device node | cs-gpio | CS pin state active | Note
> + ================+===============+=====================+=====
> + spi-cs-high | - | H |
> + - | - | L |
> + spi-cs-high | ACTIVE_HIGH | H |
> + - | ACTIVE_HIGH | L | 1
> + spi-cs-high | ACTIVE_LOW | H | 2
> + - | ACTIVE_LOW | L |
> +
Doesn't this table simply say:
- specify 'spi-cs-high' for an active-high chip select
- leave out 'spi-cs-high' for an active-low chip select
- the gpio active high/active low consumer flags are ignored
?
If so, then I would simply document it that way.
Simple is beautiful.
Powered by blists - more mailing lists