mbox series

[00/14] mips: bmips: include dt-bindings headers

Message ID 20200812063129.361862-1-noltari@gmail.com
Headers show
Series mips: bmips: include dt-bindings headers | expand

Message

Álvaro Fernández Rojas Aug. 12, 2020, 6:31 a.m. UTC
Allow including dt-bindings header files and use them for bcm63xx.

Álvaro Fernández Rojas (14):
  mips: dts: brcm: allow including header files
  mips: bmips: add BCM3368 irq definitions
  mips: bmips: add BCM6318 irq definitions
  mips: bmips: add BCM6328 irq definitions
  mips: bmips: add BCM6358 irq definitions
  mips: bmips: add BCM6362 irq definitions
  mips: bmips: add BCM6368 irq definitions
  mips: bmips: add BCM63268 irq definitions
  mips: bmips: bcm3368: include and use dt-bindings
  mips: bmips: bcm6328: include and use dt-bindings
  mips: bmips: bcm6358: include and use dt-bindings
  mips: bmips: bcm6362: include and use dt-bindings
  mips: bmips: bcm6368: include and use dt-bindings
  mips: bmips: bcm63268: include and use dt-bindings

 .../boot/dts/brcm/bcm3368-netgear-cvg834g.dts |  2 +-
 arch/mips/boot/dts/brcm/bcm3368.dtsi          |  8 +-
 .../dts/brcm/bcm63268-comtrend-vr-3032u.dts   |  2 +-
 arch/mips/boot/dts/brcm/bcm63268.dtsi         | 12 ++-
 arch/mips/boot/dts/brcm/bcm6328.dtsi          | 12 ++-
 .../dts/brcm/bcm6358-neufbox4-sercomm.dts     |  2 +-
 arch/mips/boot/dts/brcm/bcm6358.dtsi          | 12 ++-
 .../dts/brcm/bcm6362-neufbox6-sercomm.dts     |  2 +-
 arch/mips/boot/dts/brcm/bcm6362.dtsi          | 12 ++-
 arch/mips/boot/dts/brcm/bcm6368.dtsi          | 12 ++-
 arch/mips/boot/dts/brcm/bcm93384wvg.dts       |  2 +-
 arch/mips/boot/dts/brcm/bcm93384wvg_viper.dts |  2 +-
 arch/mips/boot/dts/brcm/bcm96368mvwg.dts      |  2 +-
 arch/mips/boot/dts/brcm/bcm97125cbmb.dts      |  2 +-
 arch/mips/boot/dts/brcm/bcm97346dbsmb.dts     |  4 +-
 arch/mips/boot/dts/brcm/bcm97358svmb.dts      |  4 +-
 arch/mips/boot/dts/brcm/bcm97360svmb.dts      |  2 +-
 arch/mips/boot/dts/brcm/bcm97362svmb.dts      |  4 +-
 arch/mips/boot/dts/brcm/bcm97420c.dts         |  2 +-
 arch/mips/boot/dts/brcm/bcm97425svmb.dts      |  4 +-
 arch/mips/boot/dts/brcm/bcm97435svmb.dts      |  4 +-
 arch/mips/boot/dts/brcm/bcm9ejtagprb.dts      |  2 +-
 .../bcm3368-interrupt-controller.h            | 19 ++++
 .../bcm6318-interrupt-controller.h            | 84 ++++++++++++++++++
 .../bcm63268-interrupt-controller.h           | 86 +++++++++++++++++++
 .../bcm6328-interrupt-controller.h            | 68 +++++++++++++++
 .../bcm6358-interrupt-controller.h            | 38 ++++++++
 .../bcm6362-interrupt-controller.h            | 71 +++++++++++++++
 .../bcm6368-interrupt-controller.h            | 71 +++++++++++++++
 29 files changed, 504 insertions(+), 43 deletions(-)
 create mode 100644 include/dt-bindings/interrupt-controller/bcm3368-interrupt-controller.h
 create mode 100644 include/dt-bindings/interrupt-controller/bcm6318-interrupt-controller.h
 create mode 100644 include/dt-bindings/interrupt-controller/bcm63268-interrupt-controller.h
 create mode 100644 include/dt-bindings/interrupt-controller/bcm6328-interrupt-controller.h
 create mode 100644 include/dt-bindings/interrupt-controller/bcm6358-interrupt-controller.h
 create mode 100644 include/dt-bindings/interrupt-controller/bcm6362-interrupt-controller.h
 create mode 100644 include/dt-bindings/interrupt-controller/bcm6368-interrupt-controller.h

Comments

Florian Fainelli Aug. 13, 2020, 4:55 p.m. UTC | #1
On 8/11/2020 11:31 PM, Álvaro Fernández Rojas wrote:
> Change /include/ with #include in order to be able to include header files
> from dt-bindings.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Florian Fainelli Aug. 13, 2020, 4:58 p.m. UTC | #2
On 8/11/2020 11:31 PM, Álvaro Fernández Rojas wrote:
> Now that there are proper device tree bindings we can start using them.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Florian Fainelli Aug. 13, 2020, 4:59 p.m. UTC | #3
On 8/11/2020 11:31 PM, Álvaro Fernández Rojas wrote:
> Now that there are proper device tree bindings we can start using them.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Florian Fainelli Aug. 13, 2020, 4:59 p.m. UTC | #4
On 8/11/2020 11:31 PM, Álvaro Fernández Rojas wrote:
> Now that there are proper device tree bindings we can start using them.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Florian Fainelli Aug. 13, 2020, 4:59 p.m. UTC | #5
On 8/11/2020 11:31 PM, Álvaro Fernández Rojas wrote:
> Now that there are proper device tree bindings we can start using them.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Florian Fainelli Aug. 13, 2020, 5 p.m. UTC | #6
On 8/11/2020 11:31 PM, Álvaro Fernández Rojas wrote:
> Now that there are proper device tree bindings we can start using them.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Florian Fainelli Aug. 13, 2020, 5 p.m. UTC | #7
On 8/11/2020 11:31 PM, Álvaro Fernández Rojas wrote:
> Now that there are proper device tree bindings we can start using them.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Rob Herring Aug. 24, 2020, 11:15 p.m. UTC | #8
On Wed, Aug 12, 2020 at 08:31:15AM +0200, Álvaro Fernández Rojas wrote:
> Allow including dt-bindings header files and use them for bcm63xx.
> 
> Álvaro Fernández Rojas (14):
>   mips: dts: brcm: allow including header files
>   mips: bmips: add BCM3368 irq definitions
>   mips: bmips: add BCM6318 irq definitions
>   mips: bmips: add BCM6328 irq definitions
>   mips: bmips: add BCM6358 irq definitions
>   mips: bmips: add BCM6362 irq definitions
>   mips: bmips: add BCM6368 irq definitions
>   mips: bmips: add BCM63268 irq definitions
>   mips: bmips: bcm3368: include and use dt-bindings
>   mips: bmips: bcm6328: include and use dt-bindings
>   mips: bmips: bcm6358: include and use dt-bindings
>   mips: bmips: bcm6362: include and use dt-bindings
>   mips: bmips: bcm6368: include and use dt-bindings
>   mips: bmips: bcm63268: include and use dt-bindings
> 
>  .../boot/dts/brcm/bcm3368-netgear-cvg834g.dts |  2 +-
>  arch/mips/boot/dts/brcm/bcm3368.dtsi          |  8 +-
>  .../dts/brcm/bcm63268-comtrend-vr-3032u.dts   |  2 +-
>  arch/mips/boot/dts/brcm/bcm63268.dtsi         | 12 ++-
>  arch/mips/boot/dts/brcm/bcm6328.dtsi          | 12 ++-
>  .../dts/brcm/bcm6358-neufbox4-sercomm.dts     |  2 +-
>  arch/mips/boot/dts/brcm/bcm6358.dtsi          | 12 ++-
>  .../dts/brcm/bcm6362-neufbox6-sercomm.dts     |  2 +-
>  arch/mips/boot/dts/brcm/bcm6362.dtsi          | 12 ++-
>  arch/mips/boot/dts/brcm/bcm6368.dtsi          | 12 ++-
>  arch/mips/boot/dts/brcm/bcm93384wvg.dts       |  2 +-
>  arch/mips/boot/dts/brcm/bcm93384wvg_viper.dts |  2 +-
>  arch/mips/boot/dts/brcm/bcm96368mvwg.dts      |  2 +-
>  arch/mips/boot/dts/brcm/bcm97125cbmb.dts      |  2 +-
>  arch/mips/boot/dts/brcm/bcm97346dbsmb.dts     |  4 +-
>  arch/mips/boot/dts/brcm/bcm97358svmb.dts      |  4 +-
>  arch/mips/boot/dts/brcm/bcm97360svmb.dts      |  2 +-
>  arch/mips/boot/dts/brcm/bcm97362svmb.dts      |  4 +-
>  arch/mips/boot/dts/brcm/bcm97420c.dts         |  2 +-
>  arch/mips/boot/dts/brcm/bcm97425svmb.dts      |  4 +-
>  arch/mips/boot/dts/brcm/bcm97435svmb.dts      |  4 +-
>  arch/mips/boot/dts/brcm/bcm9ejtagprb.dts      |  2 +-
>  .../bcm3368-interrupt-controller.h            | 19 ++++
>  .../bcm6318-interrupt-controller.h            | 84 ++++++++++++++++++
>  .../bcm63268-interrupt-controller.h           | 86 +++++++++++++++++++
>  .../bcm6328-interrupt-controller.h            | 68 +++++++++++++++
>  .../bcm6358-interrupt-controller.h            | 38 ++++++++
>  .../bcm6362-interrupt-controller.h            | 71 +++++++++++++++
>  .../bcm6368-interrupt-controller.h            | 71 +++++++++++++++

You'll notice that there are essentially no other headers with 
SoC interrupt numbers. That's because we don't do defines for them. It's 
pointless obfuscation.

Rob