mbox series

[v2,0/5] gpio: tegra186: Add support for Tegra234

Message ID 20211112130152.3682556-1-thierry.reding@gmail.com
Headers show
Series gpio: tegra186: Add support for Tegra234 | expand

Message

Thierry Reding Nov. 12, 2021, 1:01 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Hi,

this set of patches converts the Tegra186 (and later) GPIO device tree
bindings to json-schema and adds support for the GPIO controllers found
on the new Tegra234 SoC. This also adds a gpio-keys device tree node to
the Jetson AGX Orin Developer Kit device tree to allow events from the
various inputs to be received by the system.

Based on work by Prathamesh Shete.

Thierry

Prathamesh Shete (2):
  dt-bindings: gpio: Add Tegra234 support
  gpio: tegra186: Add support for Tegra234

Thierry Reding (3):
  dt-bindings: gpio: tegra186: Convert to json-schema
  arm64: tegra: Add main and AON GPIO controllers on Tegra234
  arm64: tegra: Enable gpio-keys on Jetson AGX Orin Developer Kit

 .../bindings/gpio/nvidia,tegra186-gpio.txt    | 165 --------------
 .../bindings/gpio/nvidia,tegra186-gpio.yaml   | 215 ++++++++++++++++++
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts |  31 +++
 arch/arm64/boot/dts/nvidia/tegra234.dtsi      |  75 ++++++
 drivers/gpio/gpio-tegra186.c                  |  76 +++++++
 include/dt-bindings/gpio/tegra234-gpio.h      |  63 +++++
 6 files changed, 460 insertions(+), 165 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/gpio/nvidia,tegra186-gpio.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/nvidia,tegra186-gpio.yaml
 create mode 100644 include/dt-bindings/gpio/tegra234-gpio.h

Comments

Linus Walleij Nov. 21, 2021, 11:11 p.m. UTC | #1
On Fri, Nov 12, 2021 at 2:02 PM Thierry Reding <thierry.reding@gmail.com> wrote:

> this set of patches converts the Tegra186 (and later) GPIO device tree
> bindings to json-schema and adds support for the GPIO controllers found
> on the new Tegra234 SoC. This also adds a gpio-keys device tree node to
> the Jetson AGX Orin Developer Kit device tree to allow events from the
> various inputs to be received by the system.
>
> Based on work by Prathamesh Shete.

This looks good to me:
Acked-by: Linus Walleij <linus.walleij@linaro.org>
for the series.

I suppose Bartosz can just apply patches 1-3 to the GPIO tree
and the rest go to the Tegra tree?

Yours,
Linus Walleij
Bartosz Golaszewski Nov. 24, 2021, 12:48 p.m. UTC | #2
On Fri, Nov 12, 2021 at 2:02 PM Thierry Reding <thierry.reding@gmail.com> wrote:
>
> From: Thierry Reding <treding@nvidia.com>
>
> Convert the Tegra186 GPIO controller device tree bindings from free-form
> text format to json-schema.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---

As it's an entire conversion into yaml - would you mind Cc'in Rob
Herring for his review?

Bart