11 Oct, 2020

1 commit


28 Jan, 2020

1 commit

  • There's an OF helper called of_dma_is_coherent(), which checks if a
    device has a "dma-coherent" property to see if the device is coherent
    for DMA.

    But on some platforms devices are coherent by default, and on some
    platforms it's not possible to update existing device trees to add the
    "dma-coherent" property.

    So add a Kconfig symbol to allow arch code to tell
    of_dma_is_coherent() that devices are coherent by default, regardless
    of the presence of the property.

    Select that symbol on powerpc when NOT_COHERENT_CACHE is not set, ie.
    when the system has a coherent cache.

    Fixes: 92ea637edea3 ("of: introduce of_dma_is_coherent() helper")
    Cc: stable@vger.kernel.org # v3.16+
    Reported-by: Christian Zigotzky
    Tested-by: Christian Zigotzky
    Signed-off-by: Michael Ellerman
    Reviewed-by: Ulf Hansson
    Signed-off-by: Rob Herring

    Michael Ellerman
     

20 Feb, 2019

1 commit

  • This API is primarily used through DT entries, but two architectures
    and two drivers call it directly. So instead of selecting the config
    symbol for random architectures pull it in implicitly for the actual
    users. Also rename the Kconfig option to describe the feature better.

    Signed-off-by: Christoph Hellwig
    Acked-by: Paul Burton # MIPS
    Acked-by: Lee Jones
    Reviewed-by: Greg Kroah-Hartman

    Christoph Hellwig
     

14 Feb, 2019

1 commit

  • The OF_RESERVED_MEM can be used if we have either CMA or the generic
    declare coherent code built and we support the early flattened DT.

    So don't bother making it a user visible options that is selected
    by most configs that fit the above category, but just select it when
    the requirements are met.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Rob Herring

    Christoph Hellwig
     

04 Mar, 2018

1 commit

  • Move duplicating and unflattening of an overlay flattened devicetree
    (FDT) into the overlay application code. To accomplish this,
    of_overlay_apply() is replaced by of_overlay_fdt_apply().

    The copy of the FDT (aka "duplicate FDT") now belongs to devicetree
    code, which is thus responsible for freeing the duplicate FDT. The
    caller of of_overlay_fdt_apply() remains responsible for freeing the
    original FDT.

    The unflattened devicetree now belongs to devicetree code, which is
    thus responsible for freeing the unflattened devicetree.

    These ownership changes prevent early freeing of the duplicated FDT
    or the unflattened devicetree, which could result in use after free
    errors.

    of_overlay_fdt_apply() is a private function for the anticipated
    overlay loader.

    Update unittest.c to use of_overlay_fdt_apply() instead of
    of_overlay_apply().

    Move overlay fragments from artificial locations in
    drivers/of/unittest-data/tests-overlay.dtsi into one devicetree
    source file per overlay. This led to changes in
    drivers/of/unitest-data/Makefile and drivers/of/unitest.c.

    - Add overlay directives to the overlay devicetree source files so
    that dtc will compile them as true overlays into one FDT data
    chunk per overlay.

    - Set CFLAGS for drivers/of/unittest-data/testcases.dts so that
    symbols will be generated for overlay resolution of overlays
    that are no longer artificially contained in testcases.dts

    - Unflatten and apply each unittest overlay FDT using
    of_overlay_fdt_apply().

    - Enable the of_resolve_phandles() check for whether the unflattened
    overlay is detached. This check was previously disabled because the
    overlays from tests-overlay.dtsi were not unflattened into detached
    trees.

    - Other changes to unittest.c infrastructure to manage multiple test
    FDTs built into the kernel image (access by name instead of
    arbitrary number).

    - of_unittest_overlay_high_level(): previously unused code to add
    properties from the overlay_base devicetree to the live tree
    was triggered by the restructuring of tests-overlay.dtsi and thus
    testcases.dts. This exposed two bugs: (1) the need to dup a
    property before adding it, and (2) property 'name' is
    auto-generated in the unflatten code and thus will be a duplicate
    in the __symbols__ node - do not treat this duplicate as an error.

    Signed-off-by: Frank Rowand

    Frank Rowand
     

07 Feb, 2018

1 commit

  • Pull PCI updates from Bjorn Helgaas:

    - skip AER driver error recovery callbacks for correctable errors
    reported via ACPI APEI, as we already do for errors reported via the
    native path (Tyler Baicar)

    - fix DPC shared interrupt handling (Alex Williamson)

    - print full DPC interrupt number (Keith Busch)

    - enable DPC only if AER is available (Keith Busch)

    - simplify DPC code (Bjorn Helgaas)

    - calculate ASPM L1 substate parameter instead of hardcoding it (Bjorn
    Helgaas)

    - enable Latency Tolerance Reporting for ASPM L1 substates (Bjorn
    Helgaas)

    - move ASPM internal interfaces out of public header (Bjorn Helgaas)

    - allow hot-removal of VGA devices (Mika Westerberg)

    - speed up unplug and shutdown by assuming Thunderbolt controllers
    don't support Command Completed events (Lukas Wunner)

    - add AtomicOps support for GPU and Infiniband drivers (Felix Kuehling,
    Jay Cornwall)

    - expose "ari_enabled" in sysfs to help NIC naming (Stuart Hayes)

    - clean up PCI DMA interface usage (Christoph Hellwig)

    - remove PCI pool API (replaced with DMA pool) (Romain Perier)

    - deprecate pci_get_bus_and_slot(), which assumed PCI domain 0 (Sinan
    Kaya)

    - move DT PCI code from drivers/of/ to drivers/pci/ (Rob Herring)

    - add PCI-specific wrappers for dev_info(), etc (Frederick Lawler)

    - remove warnings on sysfs mmap failure (Bjorn Helgaas)

    - quiet ROM validation messages (Alex Deucher)

    - remove redundant memory alloc failure messages (Markus Elfring)

    - fill in types for compile-time VGA and other I/O port resources
    (Bjorn Helgaas)

    - make "pci=pcie_scan_all" work for Root Ports as well as Downstream
    Ports to help AmigaOne X1000 (Bjorn Helgaas)

    - add SPDX tags to all PCI files (Bjorn Helgaas)

    - quirk Marvell 9128 DMA aliases (Alex Williamson)

    - quirk broken INTx disable on Ceton InfiniTV4 (Bjorn Helgaas)

    - fix CONFIG_PCI=n build by adding dummy pci_irqd_intx_xlate() (Niklas
    Cassel)

    - use DMA API to get MSI address for DesignWare IP (Niklas Cassel)

    - fix endpoint-mode DMA mask configuration (Kishon Vijay Abraham I)

    - fix ARTPEC-6 incorrect IS_ERR() usage (Wei Yongjun)

    - add support for ARTPEC-7 SoC (Niklas Cassel)

    - add endpoint-mode support for ARTPEC (Niklas Cassel)

    - add Cadence PCIe host and endpoint controller driver (Cyrille
    Pitchen)

    - handle multiple INTx status bits being set in dra7xx (Vignesh R)

    - translate dra7xx hwirq range to fix INTD handling (Vignesh R)

    - remove deprecated Exynos PHY initialization code (Jaehoon Chung)

    - fix MSI erratum workaround for HiSilicon Hip06/Hip07 (Dongdong Liu)

    - fix NULL pointer dereference in iProc BCMA driver (Ray Jui)

    - fix Keystone interrupt-controller-node lookup (Johan Hovold)

    - constify qcom driver structures (Julia Lawall)

    - rework Tegra config space mapping to increase space available for
    endpoints (Vidya Sagar)

    - simplify Tegra driver by using bus->sysdata (Manikanta Maddireddy)

    - remove PCI_REASSIGN_ALL_BUS usage on Tegra (Manikanta Maddireddy)

    - add support for Global Fabric Manager Server (GFMS) event to
    Microsemi Switchtec switch driver (Logan Gunthorpe)

    - add IDs for Switchtec PSX 24xG3 and PSX 48xG3 (Kelvin Cao)

    * tag 'pci-v4.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (140 commits)
    PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller
    dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe endpoint controller
    PCI: endpoint: Fix EPF device name to support multi-function devices
    PCI: endpoint: Add the function number as argument to EPC ops
    PCI: cadence: Add host driver for Cadence PCIe controller
    dt-bindings: PCI: cadence: Add DT bindings for Cadence PCIe host controller
    PCI: Add vendor ID for Cadence
    PCI: Add generic function to probe PCI host controllers
    PCI: generic: fix missing call of pci_free_resource_list()
    PCI: OF: Add generic function to parse and allocate PCI resources
    PCI: Regroup all PCI related entries into drivers/pci/Makefile
    PCI/DPC: Reformat DPC register definitions
    PCI/DPC: Add and use DPC Status register field definitions
    PCI/DPC: Squash dpc_rp_pio_get_info() into dpc_process_rp_pio_error()
    PCI/DPC: Remove unnecessary RP PIO register structs
    PCI/DPC: Push dpc->rp_pio_status assignment into dpc_rp_pio_get_info()
    PCI/DPC: Squash dpc_rp_pio_print_error() into dpc_rp_pio_get_info()
    PCI/DPC: Make RP PIO log size check more generic
    PCI/DPC: Rename local "status" to "dpc_status"
    PCI/DPC: Squash dpc_rp_pio_print_tlp_header() into dpc_rp_pio_print_error()
    ...

    Linus Torvalds
     

18 Jan, 2018

1 commit

  • Following what has been done for other subsystems, move the remaining PCI
    related code out of drivers/of/ and into drivers/pci/of.c

    With this, we can kill a few kconfig symbols.

    Signed-off-by: Rob Herring
    [bhelgaas: minor whitespace, comment cleanups]
    Signed-off-by: Bjorn Helgaas
    Cc: Frank Rowand

    Rob Herring
     

08 Jan, 2018

1 commit

  • Convert remaining DT files to use SPDX-License-Identifier tags.

    Cc: Benjamin Herrenschmidt
    Cc: Guennadi Liakhovetski
    Cc: Paul Mackerras
    Cc: Pantelis Antoniou
    Reviewed-by: Frank Rowand
    Reviewed-by: Philippe Ombredanne
    Signed-off-by: Rob Herring

    Rob Herring
     

13 Dec, 2017

1 commit

  • The unittests can run on UML, but OF_IRQ and OF_ADDRESS need to be
    enabled. Rework the kconfig dependencies to enable the unittests. The
    unittests cannot build on Sparc, so we need to add an explicit
    dependency for !SPARC.

    There's one failure in overlay tests because the base DT is not
    unflattened early.

    Cc: Thomas Meyer
    Signed-off-by: Rob Herring

    Rob Herring
     

17 Oct, 2017

1 commit

  • Having device_nodes be kobjects is only needed if sysfs or OF_DYNAMIC is
    enabled. Otherwise, having a kobject in struct device_node is
    unnecessary bloat in minimal kernel configurations.

    Likewise, bin_attribute is only needed in struct property when sysfs is
    enabled, so we can make it configurable too.

    Tested-by: Nicolas Pitre
    Reviewed-by: Frank Rowand
    Acked-by: Grant Likely
    Signed-off-by: Rob Herring

    Rob Herring
     

23 Sep, 2016

1 commit


28 Jun, 2016

1 commit

  • Calling the fixed-phy functions when CONFIG_FIXED_PHY=m as a previous
    change tried cannot work if the caller is in built-in code:

    drivers/of/built-in.o: In function `of_phy_register_fixed_link':
    of_reserved_mem.c:(.text+0x85e0): undefined reference to `fixed_phy_register'

    Making of_mdio depend on 'FIXED_PHY || !FIXED_PHY' would solve this
    dependency by enforcing that OF_MDIO itself becomes a loadable module
    when FIXED_PHY=y, but that creates a different dependency as it
    breaks any built-in ethernet driver that uses of_mdio.

    Making FIXED_PHY a bool option also cannot work, since it depends on
    PHYLIB, which again is tristate.

    This version now uses 'select FIXED_PHY' to ensure that the fixed-phy
    portion of of_mdio is not optional. The main downside of this is
    a small increase in code size for cases that do not need fixed phy
    support, but it should avoid all of the link-time problems.

    Signed-off-by: Arnd Bergmann
    Fixes: d1bd330a229f ("of_mdio: Enable fixed PHY support if driver is a module")
    Acked-by: Randy Dunlap
    Signed-off-by: David S. Miller

    Arnd Bergmann
     

16 Apr, 2016

1 commit


28 Oct, 2015

1 commit

  • Enable building all dtb files when CONFIG_OF_ALL_DTBS is enabled. The dtbs
    are not really dependent on a platform being enabled or any other kernel
    config, so for testing coverage it is convenient to build all of the dtbs.

    In order to only build dtbs, this option can be used by creating an
    allno.config file containing:
    CONFIG_COMPILE_TEST=y
    CONFIG_OF=y
    CONFIG_OF_ALL_DTBS=y

    And then running:
    make KCONFIG_ALLCONFIG=1 allnoconfig
    make dtbs

    While building the dtbs themselves don't need a cross compiler, the
    scripts dependency does need one. This can be hacked around by
    commenting out "subdir-y += mod" in scripts/Makefile.

    Signed-off-by: Rob Herring
    Cc: Frank Rowand
    Cc: Grant Likely

    Rob Herring
     

27 Jul, 2015

1 commit

  • On UML builds, of_address.c fails to compile:

    ../drivers/of/address.c:873:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration]

    This is due to CONFIG_OF now being user selectable. Add a dependency on
    HAS_IOMEM to OF_ADDRESS in order to fix this.

    Signed-off-by: Rob Herring
    Cc: Grant Likely

    Rob Herring
     

05 Jun, 2015

2 commits

  • The DT unittest currently requires an arch (typically) to select
    OF_EARLY_FLATTREE. Remove this dependency by selecting it directly so that
    the unittest can be enabled easily on any architecture. With this and the
    prior commit, we can easily enable and run unittests starting with x86
    defconfig rather than hunting for the combination of config options to
    enable OF on x86.

    Signed-off-by: Rob Herring
    Cc: Geert Uytterhoeven
    Cc: Pantelis Antoniou
    Acked-by: Grant Likely

    Rob Herring
     
  • With the addition of overlays, it is now plausible to use DT on any arch
    and without an arch using it at boot time. It is also desirable to
    expand the compile coverage of the DT code. Make CONFIG_OF user
    selectable by converting the menu to menuconfig.

    Signed-off-by: Rob Herring
    Acked-by: Geert Uytterhoeven
    Acked-by: Pantelis Antoniou
    Acked-by: Grant Likely

    Rob Herring
     

24 Apr, 2015

1 commit

  • Pull second batch of devicetree updates from Rob Herring:
    "As Grant mentioned in the first devicetree pull request, here is the
    2nd batch of DT changes for 4.1. The main remaining item here is the
    endianness bindings and related 8250 driver support.

    - DT endianness specification bindings

    - big-endian 8250 serial support

    - DT overlay unittest updates

    - various DT doc updates

    - compile fixes for OF_IRQ=n"

    * tag 'devicetree-for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    frv: add io{read,write}{16,32}be functions
    mn10300: add io{read,write}{16,32}be functions
    Documentation: DT bindings: add doc for Altera's SoCFPGA platform
    of: base: improve of_get_next_child() kernel-doc
    Doc: dt: arch_timer: discourage clock-frequency use
    of: unittest: overlay: Keep track of created overlays
    of/fdt: fix allocation size for device node path
    serial: of_serial: Support big-endian register accesses
    serial: 8250: Add support for big-endian MMIO accesses
    of: Document {little,big,native}-endian bindings
    of/fdt: Add endianness helper function for early init code
    of: Add helper function to check MMIO register endianness
    of/fdt: Remove "reg" data prints from early_init_dt_scan_memory
    of: add vendor prefix for Artesyn
    of: Add dummy of_irq_to_resource_table() for IRQ_OF=n
    of: OF_IRQ should depend on IRQ_DOMAIN

    Linus Torvalds
     

15 Apr, 2015

1 commit

  • If CONFIG_IRQ_DOMAIN=n:

    drivers/of/irq.c: In function ‘of_irq_get’:
    drivers/of/irq.c:406: error: implicit declaration of function ‘irq_find_host’
    drivers/of/irq.c:406: warning: assignment makes pointer from integer without a cast
    make[2]: *** [drivers/of/irq.o] Error 1

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Rob Herring

    Geert Uytterhoeven
     

28 Mar, 2015

1 commit


02 Mar, 2015

2 commits


14 Jan, 2015

1 commit

  • This patch intends to remove the unittests dependency on
    the functions defined in dynamic.c. So, rather than calling
    of_attach_node defined in dynamic.c, minimal functionality
    required to attach a new node is re-defined in unittest.c.
    Also, now after executing the tests the test data is not
    removed from the device tree so there is no need to call
    of_detach_node.

    Tested with and without OF_DYNAMIC enabled on ppc, arm and
    x86

    Signed-off-by: Gaurav Minocha
    Signed-off-by: Rob Herring

    Gaurav Minocha
     

26 Nov, 2014

1 commit


25 Nov, 2014

1 commit

  • Overlays are a method to dynamically modify part of the kernel's
    device tree with dynamically loaded data. Add the core functionality to
    parse, apply and remove an overlay changeset. The core functionality
    takes care of managing the overlay data format and performing the add
    and remove. Drivers are expected to use the overlay functionality to
    support custom expansion busses commonly found on consumer development
    boards like the BeagleBone or Raspberry Pi.

    The overlay code uses CONFIG_OF_DYNAMIC changesets to perform the low
    level work of modifying the devicetree.

    Documentation about internal and APIs is provided in
    Documentation/devicetree/overlay-notes.txt

    v2:
    - Switch from __of_node_alloc() to __of_node_dup()
    - Documentation fixups
    - Remove 2-pass processing of properties
    - Remove separate ov_lock; just use the DT mutex.
    v1:
    - Drop delete capability using '-' prefix. The '-' prefixed names
    are valid properties and nodes and there is no need for it just yet.
    - Do not update special properties - name & phandle ones.
    - Change order of node attachment, so that the special property update
    works.

    Signed-off-by: Pantelis Antoniou
    Signed-off-by: Grant Likely

    Pantelis Antoniou
     

19 Nov, 2014

1 commit

  • Create a new /sys entry '/sys/firmware/fdt' to export the FDT blob
    that was passed to the kernel by the bootloader. This allows userland
    applications such as kexec to access the raw binary.

    The fact that this node does not reside under /sys/firmware/device-tree
    is deliberate: FDT is also used on arm64 UEFI/ACPI systems to
    communicate just the UEFI and ACPI entry points, but the FDT is never
    unflattened and used to configure the system.

    A CRC32 checksum is calculated over the entire FDT blob, and verified
    at late_initcall time. The sysfs entry is instantiated only if the
    checksum is valid, i.e., if the FDT blob has not been modified in the
    mean time. Otherwise, a warning is printed.

    Signed-off-by: Ard Biesheuvel
    Signed-off-by: Grant Likely

    Ard Biesheuvel
     

05 Nov, 2014

1 commit


05 Oct, 2014

2 commits

  • The selftest data ends up causing duplicate phandles in the live tree
    for the time that the testcase data is inserted into the live tree. This
    is obviously a bad situation because anything attempting to read the
    tree while the selftests are running make resolve phandles to one of the
    testcase data nodes. Fix the problem by using the of_resolve_phandles()
    function to eliminate duplicates.

    Signed-off-by: Grant Likely
    Cc: Pantelis Antoniou
    Cc: Gaurav Minocha

    Grant Likely
     
  • Introduce support for dynamic device tree resolution.
    Using it, it is possible to prepare a device tree that's
    been loaded on runtime to be modified and inserted at the kernel
    live tree.

    Export of of_resolve and bug fix of double free by
    Guenter Roeck

    Signed-off-by: Pantelis Antoniou
    [grant.likely: Don't need to select CONFIG_OF_DYNAMIC and CONFIG_OF_DEVICE]
    [grant.likely: Don't need to depend on OF or !SPARC]
    [grant.likely: Factor out duplicate code blocks into single function]
    Signed-off-by: Grant Likely

    Pantelis Antoniou
     

04 Aug, 2014

1 commit

  • This patch is to fix following error while compiling OF selftests.
    "drivers/of/selftest.c:617:2: error: implicit declaration of function
    'of_fdt_unflatten_tree'"

    Now, CONFIG_OF_SELFTEST depends on CONFIG_OF_EARLY_FLATTREE so that the
    broken configuration cannot be selected. Ultimately it would be a good
    idea to allow CONFIG_OF_SELFTEST to select CONFIG_OF_EARLY_FLATTREE, but
    there is a dependency problem on i386 and x86_64 that causes dtc to not
    get built and causes the build to fail. That problem needs to be fixed
    first.

    Signed-off-by: Gaurav Minocha
    Signed-off-by: Grant Likely

    Gaurav Minocha
     

25 Jul, 2014

1 commit

  • This patch attaches selftest's device tree data (required by /drivers/of/selftest.c)
    dynamically into live device tree. First, it links selftest device tree data into the
    kernel image and then iterates over all the nodes and attaches them into the live tree.
    Once the testcases are complete, it removes the data attached.

    This patch will remove the manual process of addition and removal of selftest device
    tree data into the machine's dts file.

    Tested successfully with current selftest's testcases.

    Signed-off-by: Gaurav Minocha
    [glikely: Removed ability to build as a module and fixed no-devicetree bug]
    Signed-off-by: Grant Likely

    Gaurav Minocha
     

30 Apr, 2014

1 commit

  • The kernel FDT functions predate libfdt and are much more limited in
    functionality. Also, the kernel functions and libfdt functions are
    not compatible with each other because they have different definitions
    of node offsets. To avoid this incompatibility and in preparation to
    add more FDT parsing functions which will need libfdt, let's first
    convert the existing code to use libfdt.

    The FDT unflattening, top-level FDT scanning, and property retrieval
    functions are converted to use libfdt. The scanning code should be
    re-worked to be more efficient and understandable by using libfdt to
    find nodes directly by path or compatible strings.

    Signed-off-by: Rob Herring
    Tested-by: Michal Simek
    Tested-by: Grant Likely
    Tested-by: Stephen Chivers

    Rob Herring
     

19 Mar, 2014

1 commit


12 Mar, 2014

2 commits

  • The same data is now available in sysfs, so we can remove the code
    that exports it in /proc and replace it with a symlink to the sysfs
    version.

    Tested on versatile qemu model and mpc5200 eval board. More testing
    would be appreciated.

    v5: Fixed up conflicts with mainline changes

    Signed-off-by: Grant Likely
    Cc: Rob Herring
    Cc: Benjamin Herrenschmidt
    Cc: David S. Miller
    Cc: Nathan Fontenot
    Cc: Pantelis Antoniou

    Grant Likely
     
  • This patch adds support for dynamically allocated reserved memory regions
    declared in device tree. Such regions are defined by 'size', 'alignment'
    and 'alloc-ranges' properties.

    Based on previous code provided by Josh Cartwright

    Signed-off-by: Marek Szyprowski
    Signed-off-by: Grant Likely

    Marek Szyprowski
     

20 Feb, 2014

1 commit

  • Translating an address from a PCI node of the device-tree into a CPU
    physical address doesn't require the core PCI support. Those
    translations are just related to the device tree itself.

    The use case to translate an address from a PCI node without actually
    using the PCI core support is when one needs to access the PCI
    controller without accessing any PCI devices.

    Marvell SoCs, such as Kirkwood, Dove or Armada XP for instance, come
    with an IP of a PCI controller. In the registers of this controller
    are stored the ID and the revision of a SoC. With this patch it will
    be possible to read the SoC ID of a board without any PCI device and
    then without the PCI core support.

    Signed-off-by: Gregory CLEMENT
    Tested-by: Ezequiel Garcia
    Reviewed-by: Ezequiel Garcia
    Signed-off-by: Grant Likely

    Gregory CLEMENT
     

31 Dec, 2013

1 commit


12 Nov, 2013

1 commit

  • Pull devicetree updates from Rob Herring:
    "DeviceTree updates for 3.13. This is a bit larger pull request than
    usual for this cycle with lots of clean-up.

    - Cross arch clean-up and consolidation of early DT scanning code.
    - Clean-up and removal of arch prom.h headers. Makes arch specific
    prom.h optional on all but Sparc.
    - Addition of interrupts-extended property for devices connected to
    multiple interrupt controllers.
    - Refactoring of DT interrupt parsing code in preparation for
    deferred probe of interrupts.
    - ARM cpu and cpu topology bindings documentation.
    - Various DT vendor binding documentation updates"

    * tag 'devicetree-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (82 commits)
    powerpc: add missing explicit OF includes for ppc
    dt/irq: add empty of_irq_count for !OF_IRQ
    dt: disable self-tests for !OF_IRQ
    of: irq: Fix interrupt-map entry matching
    MIPS: Netlogic: replace early_init_devtree() call
    of: Add Panasonic Corporation vendor prefix
    of: Add Chunghwa Picture Tubes Ltd. vendor prefix
    of: Add AU Optronics Corporation vendor prefix
    of/irq: Fix potential buffer overflow
    of/irq: Fix bug in interrupt parsing refactor.
    of: set dma_mask to point to coherent_dma_mask
    of: add vendor prefix for PHYTEC Messtechnik GmbH
    DT: sort vendor-prefixes.txt
    of: Add vendor prefix for Cadence
    of: Add empty for_each_available_child_of_node() macro definition
    arm/versatile: Fix versatile irq specifications.
    of/irq: create interrupts-extended property
    microblaze/pci: Drop PowerPC-ism from irq parsing
    of/irq: Create of_irq_parse_and_map_pci() to consolidate arch code.
    of/irq: Use irq_of_parse_and_map()
    ...

    Linus Torvalds
     

09 Nov, 2013

1 commit

  • Fix OF selftest compile on sparc which does not enable OF_IRQ.

    drivers/of/selftest.c:177: undefined reference to `of_irq_parse_one'
    drivers/of/selftest.c:197: undefined reference to `of_irq_parse_one'
    drivers/of/selftest.c:248: undefined reference to `of_irq_parse_one'

    Signed-off-by: Rob Herring
    Acked-by: Grant Likely

    Rob Herring
     

15 Oct, 2013

1 commit