summaryrefslogtreecommitdiffstats
path: root/drivers/of/Makefile
AgeCommit message (Expand)Author
2020-10-10net: phy: Move of_mdio from drivers/of to drivers/net/mdioCalvin Johnson
2018-01-17PCI: Move OF-related PCI functions into PCI coreRob Herring
2017-11-14Merge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman
2017-10-16of: make kobject and bin_attribute support configurableRob Herring
2017-06-01of: Move OF property and graph API from base.c to property.cSakari Ailus
2016-05-24Merge tag 'for-linus-20160523' of git://git.infradead.org/linux-mtdLinus Torvalds
2016-05-05mtd: nand: move of_get_nand_xxx() helpers into nand_base.cBoris Brezillon
2016-04-15of, numa: Add NUMA of binding implementation.David Daney
2015-06-04of: clean-up unnecessary libfdt include pathsRob Herring
2015-03-25dt: OF_UNITTEST make dependency brokenFrank Rowand
2014-11-24of/overlay: Introduce DT overlay supportPantelis Antoniou
2014-11-04of/unittest: Rename selftest.c to unittest.cGrant Likely
2014-10-04of: Introduce Device Tree resolve support.Pantelis Antoniou
2014-08-11Merge branch 'devicetree/next-overlay' into devicetree/nextGrant Likely
2014-07-25Adding selftest testdata dynamically into live treeGaurav Minocha
2014-07-07of: Move CONFIG_OF_DYNAMIC code into a separate fileGrant Likely
2014-05-20of/fdt: add FDT address translation supportRob Herring
2014-04-30of/fdt: Convert FDT functions to use libfdtRob Herring
2014-03-11drivers: of: add initialization code for dynamic reserved memoryMarek Szyprowski
2013-10-15Revert "drivers: of: add initialization code for dma reserved memory"Marek Szyprowski
2013-09-09Merge branch 'for-v3.12' of git://git.linaro.org/people/mszyprowski/linux-dma...Linus Torvalds
2013-08-27drivers: of: add initialization code for dma reserved memoryMarek Szyprowski
2013-08-23i2c: move OF helpers into the coreWolfram Sang
2013-06-12of: remove CONFIG_OF_DEVICERob Herring
2012-05-24Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6Linus Torvalds
2012-04-13spi/devicetree: Move devicetree support code into spi directoryGrant Likely
2012-04-07gpio: Move DT support code into drivers/gpioGrant Likely
2012-03-15of/mtd/nand: add generic bindings and helpersJean-Christophe PLAGNIOL-VILLARD
2011-12-12of: Add device tree selftestsGrant Likely
2011-06-08pci/of: Match PCI devices to OF nodes dynamicallyBenjamin Herrenschmidt
2011-02-04of/pci: move of_irq_map_pci() into generic codeSebastian Andrzej Siewior
2010-11-01of/net: Move of_get_mac_address() to a common source file.David Daney
2010-10-10of/promtree: make drivers/of/pdt.c no longer sparc-onlyAndres Salomon
2010-07-05of/address: merge of_iomap()Grant Likely
2010-06-28of/irq: Move irq_of_parse_and_map() to common codeGrant Likely
2009-11-23of/flattree: merge find_flat_dt_string and initial_boot_paramsGrant Likely
2009-04-27openfirmware: Add OF phylib support codeGrant Likely
2008-07-25spi: Add OF binding support for SPI bussesGrant Likely
2008-04-20[POWERPC] i2c: Fix build breakage introduced by OF helpersJochen Friedrich
2008-04-17[POWERPC] i2c: OF helpers for the i2c APIJochen Friedrich
2008-04-17[POWERPC] OF helpers for the GPIO APIAnton Vorontsov
2007-07-20Create drivers/of/platform.cStephen Rothwell
2007-07-20Begin to consolidate of_device.cStephen Rothwell
2007-07-20Start split out of common open firmware codeStephen Rothwell
iteral.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
language: c

env:
  global:
    - BUILD=yes TEST=test CONFOPT= LEAK_CFLAGS="-DEXITFREE" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no LOG_DIR="$TRAVIS_BUILD_DIR/logs"

_anchors:
  envs:
    - &tiny-nogui
      FEATURES=tiny TEST=testtiny CONFOPT="--disable-gui"
    - &tiny
      FEATURES=tiny TEST=testtiny
    - &small
      FEATURES=small TEST=testtiny
    - &normal
      FEATURES=normal
    - &linux-huge
      FEATURES=huge TEST="scripttests test_libvterm"
      CONFOPT="--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
    - &osx-huge # macOS build
      FEATURES=huge
      CONFOPT="--enable-perlinterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp"
    - &unittests
      BUILD=no TEST=unittests FEATURES=huge CHECK_AUTOCONF=yes
    - &coverage
      CFLAGS="--coverage -DUSE_GCOV_FLUSH" LDFLAGS=--coverage
    - &asan # ASAN build
      SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize-recover=all -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer"
      ASAN_OPTIONS="print_stacktrace=1 log_path=$LOG_DIR/asan" UBSAN_OPTIONS="print_stacktrace=1 log_path=$LOG_DIR/ubsan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
    - &shadowopt
      SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow

  linux: &linux
    os: linux
    dist: bionic
    addons:
      apt:
        packages: &apt-packages
          - autoconf
          - clang
          - lcov
          - gettext
          - libcanberra-dev
          - libperl-dev
          - python-dev
          - python3-dev
          - liblua5.3-dev
          - lua5.3
          - ruby-dev
          - tcl-dev
          - cscope
          - libgtk2.0-dev
          - desktop-file-utils
          - libtool-bin
    services:
      - xvfb
    before_install:
      - rvm reset
      # Use llvm-cov instead of gcov when compiler is clang.
      - |
        if [[ "${CC}" = "clang" ]]; then
          ln -sf "$(command -v llvm-cov)" /home/travis/bin/gcov
        fi
      # Setup lua5.3 manually since its package doesn't provide alternative.
      # https://bugs.launchpad.net/ubuntu/+source/lua5.3/+bug/1707212
      - |
        if [[ "${CONFOPT}" =~ luainterp ]]; then
          sudo update-alternatives --install /usr/bin/lua lua /usr/bin/lua5.3 10
        fi
    before_script:
      - sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0
      # It appears we can load "snd-dummy" on only amd64.
      - |
        if [[ "${TRAVIS_CPU_ARCH}" = amd64 ]]; then
          sudo bash ci/load-snd-dummy.sh || true
        fi
      - sudo usermod -a -G audio $USER
      - do_test() { sg audio "sg $(id -gn) '$*'"; }

  osx: &osx
    os: osx
    before_script:
      - do_test() { "$@"; }

  homebrew: &osx-homebrew
    addons:
      homebrew:
        packages:
          - lua
        update: true
    cache:
      directories:
        - /usr/local/Homebrew/Library/Homebrew/vendor/
        - /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/
    before_install:
      - rvm reset
      # Lua is not installed on macOS
      - export LUA_PREFIX=/usr/local

  coverage: &eval-coverage
    # needed for https support for coveralls building cffi only works with gcc,
    # not with clang
    - CC=gcc pip install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1
    - ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
    - (cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash))

  asan_symbolize: &asan_symbolize
    # Update pyenv to fix the error "/opt/pyenv/libexec/pyenv: line 43: cd: asan_symbolize-6.0: Not a directory".
    # https://github.com/pyenv/pyenv/issues/580
    - (cd "${PYENV_ROOT}" && git fetch -p origin && git checkout "$(git rev-list --tags -n1)") &>/dev/null || true
    - for f in $(grep -l '#[[:digit:]]* *0x[[:digit:]a-fA-F]*' "$LOG_DIR"/*); do asan_symbolize-11 -l "$f"; done

branches:
  except:
    - /^v[0-9]/

script:
  - mkdir -p "$LOG_DIR"
  - NPROC=$(getconf _NPROCESSORS_ONLN)
  - set -o errexit
  - echo -e "\\033[33;1mConfiguring Vim\\033[0m" && echo -en "travis_fold:start:configure\\r\\033[0K"
  - |
    if [[ "${CHECK_AUTOCONF}" = "yes" ]] && [[ "${CC}" = "gcc" ]]; then
      make -C src autoconf
    fi
  - |
    if [[ -n "${SHADOWOPT}" ]]; then
      make -C src shadow
    fi
  # "./configure" changes its working directory into "$SRCDIR".
  - ./configure --with-features=${FEATURES} ${CONFOPT} --enable-fail-if-missing
  - echo -en "travis_fold:end:configure\\r\\033[0K"
  - echo -e "\\033[33;1mBuilding Vim\\033[0m" && echo -en "travis_fold:start:build\\r\\033[0K"
  - |
    if [[ "${BUILD}" = "yes" ]]; then
      # Append various warning flags to CFLAGS.
      # BSD sed needs backup extension specified.
      sed -i.bak -f ci/config.mk.sed ${SRCDIR}/auto/config.mk
      if [[ "${TRAVIS_OS_NAME}" = "osx" ]] || [[ "${CC}" = "clang-11" ]]; then
        # On macOS, the entity of gcc is clang.
        sed -i.bak -f ci/config.mk.clang.sed ${SRCDIR}/auto/config.mk
      else
        sed -i.bak -f ci/config.mk.${CC}.sed ${SRCDIR}/auto/config.mk
      fi
      make ${SHADOWOPT} -j${NPROC}
    fi
  - echo -en "travis_fold:end:build\\r\\033[0K"
  - set +o errexit
  # Show Vim version and also if_xx versions.
  - |
    if [[ "${BUILD}" = "yes" ]]; then
      "${SRCDIR}"/vim --version
      "${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-1.vim -c quit
      "${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
    fi
  - echo -e "\\033[33;1mTesting Vim\\033[0m" && echo -en "travis_fold:start:test\\r\\033[0K"
  - do_test make ${SHADOWOPT} ${TEST} && FOLD_MARKER=travis_fold
  - echo -en "${FOLD_MARKER}:end:test\\r\\033[0K"
  - |
    # Not all sanitizers will cause the tests to fail.  This helps since we can
    # see all the failures instead of just the first one, but we still want the
    # test phase to fail if any sanitizer issues are detected.
    if [[ -n "${ASAN_OPTIONS}" ]]; then
      if grep -q '#[[:digit:]]* *0x[[:digit:]a-fA-F]*' "$LOG_DIR"/*; then
        false
      fi
    fi

# Instead of using all environments with both compilers on both systems,
# exclude some builds on mac os x and linux.
# On mac os x "tiny" is always without GUI, use 2 compilers in 2 environments.
# Linux: 2 compilers on some of the environments + gcc on os390
jobs:
  include:
    #- <<: *osx
    #  name: tiny-nogui/clang
    #  compiler: clang
    #  env: *tiny-nogui
    #- <<: *osx
    #  name: tiny-nogui/gcc
    #  compiler: gcc
    #  env: *tiny-nogui
    #- <<: *osx
    #  <<: *osx-homebrew
    #  name: huge/clang
    #  compiler: clang
    #  env: *osx-huge
    #- <<: *osx
    #  <<: *osx-homebrew
    #  name: huge/gcc
    #  compiler: gcc
    #  env: *osx-huge
    #- <<: *linux
    #  name: tiny-nogui/clang
    #  compiler: clang
    #  env: *tiny-nogui
    #- <<: *linux
    #  name: tiny-nogui/gcc
    #  compiler: gcc
    #  env: *tiny-nogui
    #- <<: *linux
    #  name: tiny/clang
    #  compiler: clang
    #  env: *tiny
    #- <<: *linux
    #  name: tiny/gcc
    #  compiler: gcc
    #  env: *tiny
    #- <<: *linux
    #  name: small/gcc
    #  compiler: gcc
    #  env: *small
    #- <<: *linux
    #  name: normal+shadow/clang
    #  compiler: clang
    #  env:
    #    - *normal
    #    - *shadowopt
    #- <<: *linux
    #  name: normal+shadow/gcc
    #  compiler: gcc
    #  env:
    #    - *normal
    #    - *shadowopt
    - <<: *linux
      arch: s390x
      name: huge/gcc-s390x
      compiler: gcc
      env: *linux-huge
      services: []
    - <<: *linux
      arch: arm64
      name: huge/gcc-arm64
      compiler: gcc
      env: *linux-huge
      services: []
    #- <<: *linux
    #  name: huge+coverage/clang
    #  compiler: clang
    #  env:
    #    - *linux-huge
    #    - *coverage
    #  after_success: *eval-coverage
    #- <<: *linux
    #  name: huge+coverage/gcc
    #  compiler: gcc
    #  env:
    #    - *linux-huge
    #    - *coverage
    #  after_success: *eval-coverage
    #- <<: *linux # ASAN
    #  name: huge+asan/clang
    #  compiler: clang-11
    #  addons:
    #    apt:
    #      sources:
    #        - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main'
    #          key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
    #      packages:
    #        - *apt-packages
    #        - clang-11
    #  env:
    #    - *linux-huge
    #    - *asan
    #  after_failure: *asan_symbolize
    #- <<: *linux
    #  name: huge-testgui+coverage/gcc
    #  compiler: gcc
    #  env:
    #    - *linux-huge
    #    - *coverage
    #    - TEST="-C src testgui"
    #  after_success: *eval-coverage
    #- <<: *linux
    #  name: unittests+coverage/gcc
    #  compiler: gcc
    #  env:
    #    - *unittests
    #    - *coverage
    #  after_success: *eval-coverage
    #- <<: *linux
    #  name: vimtags/gcc
    #  compiler: gcc
    #  env:
    #    - *normal
    #    - TEST="-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim"

# vim:set sts=2 sw=2 tw=0 et: