[PATCH 0/4] Device Tree Quirks & the Beaglebone

Pantelis Antoniou pantelis.antoniou at konsulko.com
Wed Feb 18 06:59:32 PST 2015


The following patchset introduces Device Tree quirks which
apply right after unflattening. Quirks allow using a single
device tree blob to support revisions of a single board.

This makes deployment easier, since there is no need to modify
the bootloader environment, and allow booting using a very small
bootloader shim with a resulting decrease in boot time which
is extremely important in various use-cases.

For details please look at Documentation/devicetree/quirks.txt

This patch has an implicit dependency on a previous patch
"of: Custom printk format specifier for device node" for debugging
prints of device nodes.

Pantelis Antoniou (4):
  arm: of: Add a DT quirk method after unflattening
  of: DT quirks infrastructure
  arm: am33xx: DT quirks for am33xx based beaglebone variants
  arm: dts: Common Black/White Beaglebone DTS using quirks

 .../bindings/quirks/am33xx-bone-quirk.txt          |  82 ++++
 Documentation/devicetree/quirks.txt                | 101 +++++
 arch/arm/boot/dts/Makefile                         |   3 +-
 arch/arm/boot/dts/am335x-bone-all.dts              | 157 +++++++
 arch/arm/include/asm/mach/arch.h                   |   1 +
 arch/arm/kernel/setup.c                            |   3 +
 arch/arm/mach-omap2/Makefile                       |   5 +
 arch/arm/mach-omap2/am33xx-dt-quirks.c             | 498 +++++++++++++++++++++
 arch/arm/mach-omap2/am33xx-dt-quirks.h             |  10 +
 arch/arm/mach-omap2/board-generic.c                |   1 +
 arch/arm/mach-omap2/common.h                       |   8 +
 drivers/of/dynamic.c                               | 358 +++++++++++++++
 include/linux/of.h                                 |  16 +
 13 files changed, 1242 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/quirks/am33xx-bone-quirk.txt
 create mode 100644 Documentation/devicetree/quirks.txt
 create mode 100644 arch/arm/boot/dts/am335x-bone-all.dts
 create mode 100644 arch/arm/mach-omap2/am33xx-dt-quirks.c
 create mode 100644 arch/arm/mach-omap2/am33xx-dt-quirks.h

-- 
1.7.12




More information about the linux-arm-kernel mailing list