lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu,  1 Aug 2013 08:48:53 +0200
From:	Boris BREZILLON <b.brezillon@...rkiz.com>
To:	Nicolas Ferre <nicolas.ferre@...el.com>,
	Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
	Ludovic Desroches <ludovic.desroches@...el.com>,
	Russell King <linux@....linux.org.uk>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc:	devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org,
	Boris BREZILLON <b.brezillon@...rkiz.com>
Subject: [PATCH 0/8] ARM: at91/dt: make use of periph id macros 

Hello,

This patch series move at91 SoCs peripheral id definitions from machine
specific include dir to dt-bindings include dir.
These macros are used to reference interrupts instead of peripheral numbers.

This makes dt definitions cleaner and easier to debug (one can easily tell if
the peripheral macro used to reference an interrupt line is not the good one).

These macros will be used for clk definitions and references too.

I am not sure 'include/dt-bindings/at91/xxx' is the best place to put these
definitions as there are no soc specific directories in dt-bindings include
dir right now. Maybe something like 'include/dt-bindings/soc/at91/xxx' or
'include/dt-bindings/peripherals/at91/xxx' would be better.
What do you think ?

Best Regards,

Boris

Boris BREZILLON (8):
  ARM: at91: move peripheral id definitions to dt-bindings include dir
  ARM: at91/dt: use periph id macros for at91rm9200 interrupt
    definitions
  ARM: at91/dt: use periph id macros for at91sam9260 interrupt
    definitions
  ARM: at91/dt: use periph id macros for at91sam9263 interrupt
    definitions
  ARM: at91/dt: use periph id macros for at91sam9g45 interrupt
    definitions
  ARM: at91/dt: use periph id macros for at91sam9n12 interrupt
    definitions
  ARM: at91/dt: use periph id macros for at91sam9x5 interrupt
    definitions
  ARM: at91/dt: use periph id macros for sama5d3 interrupt definitions

 arch/arm/boot/dts/at91rm9200.dtsi                  |   59 ++++++++------
 arch/arm/boot/dts/at91sam9260.dtsi                 |   57 +++++++-------
 arch/arm/boot/dts/at91sam9263.dtsi                 |   46 +++++------
 arch/arm/boot/dts/at91sam9g45.dtsi                 |   57 +++++++-------
 arch/arm/boot/dts/at91sam9n12.dtsi                 |   43 +++++-----
 arch/arm/boot/dts/at91sam9x5.dtsi                  |   63 +++++++--------
 arch/arm/boot/dts/sama5d3.dtsi                     |   83 ++++++++++----------
 arch/arm/mach-at91/include/mach/at91rm9200.h       |   31 +-------
 arch/arm/mach-at91/include/mach/at91sam9260.h      |   29 +------
 arch/arm/mach-at91/include/mach/at91sam9261.h      |   23 +-----
 arch/arm/mach-at91/include/mach/at91sam9263.h      |   27 +------
 arch/arm/mach-at91/include/mach/at91sam9g45.h      |   31 +-------
 arch/arm/mach-at91/include/mach/at91sam9n12.h      |   26 +-----
 arch/arm/mach-at91/include/mach/at91sam9rl.h       |   25 +-----
 arch/arm/mach-at91/include/mach/at91sam9x5.h       |   32 +-------
 arch/arm/mach-at91/include/mach/hardware.h         |    3 +-
 arch/arm/mach-at91/include/mach/sama5d3.h          |   48 +----------
 include/dt-bindings/at91/at91rm9200/peripherals.h  |   44 +++++++++++
 include/dt-bindings/at91/at91sam9260/peripherals.h |   42 ++++++++++
 include/dt-bindings/at91/at91sam9261/peripherals.h |   36 +++++++++
 include/dt-bindings/at91/at91sam9263/peripherals.h |   40 ++++++++++
 include/dt-bindings/at91/at91sam9g45/peripherals.h |   44 +++++++++++
 include/dt-bindings/at91/at91sam9n12/peripherals.h |   41 ++++++++++
 include/dt-bindings/at91/at91sam9rl/peripherals.h  |   38 +++++++++
 include/dt-bindings/at91/at91sam9x5/peripherals.h  |   45 +++++++++++
 include/dt-bindings/at91/common/peripherals.h      |   14 ++++
 include/dt-bindings/at91/sama5d3/peripherals.h     |   63 +++++++++++++++
 27 files changed, 629 insertions(+), 461 deletions(-)
 create mode 100644 include/dt-bindings/at91/at91rm9200/peripherals.h
 create mode 100644 include/dt-bindings/at91/at91sam9260/peripherals.h
 create mode 100644 include/dt-bindings/at91/at91sam9261/peripherals.h
 create mode 100644 include/dt-bindings/at91/at91sam9263/peripherals.h
 create mode 100644 include/dt-bindings/at91/at91sam9g45/peripherals.h
 create mode 100644 include/dt-bindings/at91/at91sam9n12/peripherals.h
 create mode 100644 include/dt-bindings/at91/at91sam9rl/peripherals.h
 create mode 100644 include/dt-bindings/at91/at91sam9x5/peripherals.h
 create mode 100644 include/dt-bindings/at91/common/peripherals.h
 create mode 100644 include/dt-bindings/at91/sama5d3/peripherals.h

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ