Merge tag 'devicetree-for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 19:49:41 +0000 (11:49 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 19:49:41 +0000 (11:49 -0800)
Pull DeviceTree updates from Rob Herring:

 - add various vendor prefixes.

 - fix NUMA node handling when "numa=off" is passed on kernel command
   line.

 - coding style Clean-up of overlay handling code.

 - DocBook fixes in DT platform driver code

 - Altera SoCFPGA binding addtions for freeze bridge, arria10 FPGA
   manager and FPGA bridges.

 - a couple of printk message fixes.

* tag 'devicetree-for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (33 commits)
  dt: pwm: bcm2835: fix typo in clocks property name
  devicetree: add vendor prefix for National Instruments
  Revert "of: base: add support to get machine model name"
  of: Fix issue where code would fall through to error case.
  drivers/of: fix missing pr_cont()s in of_print_phandle_args
  devicetree: bindings: Add vendor prefix for Oki
  devicetree: bindings: Add vendor prefix for Andes Technology Corporation
  dt-bindings: add MYIR Tech hardware vendor prefix
  add bindings document for altera freeze bridge
  ARM: socfpga: add bindings doc for arria10 fpga manager
  ARM: socfpga: add bindings document for fpga bridge drivers
  of: base: add support to get machine model name
  of/platform: clarify of_find_device_by_node refcounting
  of/platform: fix of_platform_device_destroy comment
  of: Remove unused variable overlay_symbols
  of: Move setting of pointer to beside test for non-null
  of: Add back an error message, restructured
  of: Update comments to reflect changes and increase clarity
  of: Remove redundant size check
  of: Update structure of code to be clearer, also remove BUG_ON()
  ...

1  2 
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/of/base.c

@@@ -24,9 -24,11 +24,11 @@@ ampire      Ampire Co., Ltd
  ams   AMS AG
  amstaos       AMS-Taos Inc.
  analogix      Analogix Semiconductor, Inc.
+ andestech     Andes Technology Corporation
  apm   Applied Micro Circuits Corporation (APM)
  aptina        Aptina Imaging
  arasan        Arasan Chip Systems
+ aries Aries Embedded GmbH
  arm   ARM Ltd.
  armadeus      ARMadeus Systems SARL
  arrow Arrow Electronics
@@@ -39,7 -41,6 +41,7 @@@ auo   AU Optronics Corporatio
  auvidea Auvidea GmbH
  avago Avago Technologies
  avic  Shanghai AVIC Optoelectronics Co., Ltd.
 +axentia       Axentia Technologies AB
  axis  Axis Communications AB
  boe   BOE Technology Group Co., Ltd.
  bosch Bosch Sensortec GmbH
@@@ -127,7 -128,6 +129,7 @@@ hitex      Hitex Development Tool
  holt  Holt Integrated Circuits, Inc.
  honeywell     Honeywell
  hp    Hewlett Packard
 +holtek        Holtek Semiconductor, Inc.
  i2se  I2SE GmbH
  ibm   International Business Machines (IBM)
  idt   Integrated Device Technologies, Inc.
@@@ -137,7 -137,6 +139,7 @@@ infineon Infineon Technologie
  inforce       Inforce Computing
  ingenic       Ingenic Semiconductor
  innolux       Innolux Corporation
 +inside-secure INSIDE Secure
  intel Intel Corporation
  intercontrol  Inter Control Group
  invensense    InvenSense Inc.
@@@ -161,21 -160,19 +163,22 @@@ lg      LG Corporatio
  linux Linux-specific binding
  lltc  Linear Technology Corporation
  lsi   LSI Corp. (LSI Logic)
+ macnica       Macnica Americas
  marvell       Marvell Technology Group Ltd.
  maxim Maxim Integrated Products
 +mcube mCube
  meas  Measurement Specialties
  mediatek      MediaTek Inc.
  melexis       Melexis N.V.
  melfas        MELFAS Inc.
 +memsic        MEMSIC Inc.
  merrii        Merrii Technology Co., Ltd.
  micrel        Micrel Inc.
  microchip     Microchip Technology Inc.
  microcrystal  Micro Crystal AG
  micron        Micron Technology Inc.
  minix MINIX Technology Ltd.
 +miramems      MiraMEMS Sensing Technology Co., Ltd.
  mitsubishi    Mitsubishi Electric Corporation
  mosaixtech    Mosaix Technologies, Inc.
  moxa  Moxa
@@@ -186,6 -183,7 +189,7 @@@ mti        Imagination Technologies Ltd. (form
  mundoreader   Mundo Reader S.L.
  murata        Murata Manufacturing Co., Ltd.
  mxicy Macronix International Co., Ltd.
+ myir  MYIR Tech Limited
  national      National Semiconductor
  nec   NEC LCD Technologies, Ltd.
  neonode               Neonode Inc.
@@@ -193,13 -191,14 +197,15 @@@ netgear NETGEA
  netlogic      Broadcom Corporation (formerly NetLogic Microsystems)
  netxeon               Shenzhen Netxeon Technology CO., LTD
  newhaven      Newhaven Display International
- nvd   New Vision Display
+ ni    National Instruments
  nintendo      Nintendo
  nokia Nokia
  nuvoton       Nuvoton Technology Corporation
++nvd   New Vision Display
  nvidia        NVIDIA
  nxp   NXP Semiconductors
  okaya Okaya Electric America, Inc.
+ oki   Oki Electric Industry Co., Ltd.
  olimex        OLIMEX Ltd.
  onion Onion Corporation
  onnn  ON Semiconductor Corp.
@@@ -238,6 -237,7 +244,7 @@@ richtek    Richtek Technology Corporatio
  ricoh Ricoh Co. Ltd.
  rockchip      Fuzhou Rockchip Electronics Co., Ltd
  samsung       Samsung Semiconductor
+ samtec        Samtec/Softing company
  sandisk       Sandisk Corporation
  sbs   Smart Battery System
  schindler     Schindler
@@@ -282,6 -282,7 +289,7 @@@ tcg        Trusted Computing Grou
  tcl   Toby Churchill Ltd.
  technexion    TechNexion
  technologic   Technologic Systems
+ terasic       Terasic Inc.
  thine THine Electronics, Inc.
  ti    Texas Instruments
  tlm   Trusted Logic Mobility
@@@ -296,6 -297,7 +304,7 @@@ tronfy     Tronf
  tronsmart     Tronsmart
  truly Truly Semiconductors Limited
  tyan  Tyan Computer Corporation
+ udoo  Udoo
  uniwest       United Western Technologies Corp (UniWest)
  upisemi       uPI Semiconductor Corp.
  urt   United Radiant Technology Corporation
diff --combined drivers/of/base.c
@@@ -1534,9 -1534,12 +1534,12 @@@ void of_print_phandle_args(const char *
  {
        int i;
        printk("%s %s", msg, of_node_full_name(args->np));
-       for (i = 0; i < args->args_count; i++)
-               printk(i ? ",%08x" : ":%08x", args->args[i]);
-       printk("\n");
+       for (i = 0; i < args->args_count; i++) {
+               const char delim = i ? ',' : ':';
+               pr_cont("%c%08x", delim, args->args[i]);
+       }
+       pr_cont("\n");
  }
  
  int of_phandle_iterator_init(struct of_phandle_iterator *it,
@@@ -2077,6 -2080,8 +2080,6 @@@ void of_alias_scan(void * (*dt_alloc)(u
                        name = of_get_property(of_aliases, "stdout", NULL);
                if (name)
                        of_stdout = of_find_node_opts_by_path(name, &of_stdout_options);
 -              if (of_stdout)
 -                      console_set_by_of();
        }
  
        if (!of_aliases)