[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230721073214.1876417-1-huqiang.qin@amlogic.com>
Date: Fri, 21 Jul 2023 15:32:11 +0800
From: Huqiang Qin <huqiang.qin@...ogic.com>
To: <robh+dt@...nel.org>, <krzysztof.kozlowski+dt@...aro.org>,
<conor+dt@...nel.org>, <neil.armstrong@...aro.org>,
<khilman@...libre.com>, <jbrunet@...libre.com>,
<martin.blumenstingl@...glemail.com>, <linus.walleij@...aro.org>
CC: <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-amlogic@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linux-gpio@...r.kernel.org>,
Huqiang Qin <huqiang.qin@...ogic.com>
Subject: [PATCH 0/3] Add binding header file for GPIO interrupt of Amlogic Meson-G12A
After adding this binding header file, you can intuitively find
the interrupt number corresponding to each GPIO, and apply it
in the format of IRQID_XXX where it needs to be used.
Associated platforms:
- Amlogic Meson-G12A
- Amlogic Meson-G12B
- Amlogic Meson-SM1
Huqiang Qin (3):
dt-bindings: interrupt-controller: Add header file for Amlogic
Meson-G12A SoCs
pinctrl: Replace the IRQ number in the driver with the IRQID macro
definition
arm64: dts: Replace the IRQ number with the IRQID macro definition
.../boot/dts/amlogic/meson-g12-common.dtsi | 1 +
.../boot/dts/amlogic/meson-g12a-x96-max.dts | 2 +-
.../dts/amlogic/meson-g12b-bananapi-cm4.dtsi | 2 +-
.../boot/dts/amlogic/meson-g12b-bananapi.dtsi | 2 +-
.../amlogic/meson-g12b-odroid-go-ultra.dts | 4 +-
.../dts/amlogic/meson-g12b-odroid-n2.dtsi | 2 +-
.../boot/dts/amlogic/meson-g12b-w400.dtsi | 2 +-
.../dts/amlogic/meson-sm1-a95xf3-air-gbit.dts | 2 +-
.../boot/dts/amlogic/meson-sm1-bananapi.dtsi | 4 +-
.../boot/dts/amlogic/meson-sm1-h96-max.dts | 2 +-
.../boot/dts/amlogic/meson-sm1-odroid.dtsi | 2 +-
.../boot/dts/amlogic/meson-sm1-sei610.dts | 12 +-
.../dts/amlogic/meson-sm1-x96-air-gbit.dts | 2 +-
drivers/pinctrl/meson/pinctrl-meson-g12a.c | 35 ++---
.../irq-meson-g12a-gpio.h | 126 ++++++++++++++++++
15 files changed, 164 insertions(+), 36 deletions(-)
create mode 100644 include/dt-bindings/interrupt-controller/irq-meson-g12a-gpio.h
base-commit: c58c49dd89324b18a812762a2bfa5a0458e4f252
--
2.37.1
Powered by blists - more mailing lists