Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'dt/linus' into dt/next

+53 -25
+2 -2
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
··· 23 23 compatible: 24 24 items: 25 25 - const: raspberrypi,bcm2835-firmware 26 - - const: simple-bus 26 + - const: simple-mfd 27 27 28 28 mboxes: 29 29 $ref: '/schemas/types.yaml#/definitions/phandle' ··· 57 57 examples: 58 58 - | 59 59 firmware { 60 - compatible = "raspberrypi,bcm2835-firmware", "simple-bus"; 60 + compatible = "raspberrypi,bcm2835-firmware", "simple-mfd"; 61 61 mboxes = <&mailbox>; 62 62 63 63 firmware_clocks: clocks {
+1 -1
Documentation/devicetree/bindings/clock/imx23-clock.yaml
··· 7 7 title: Clock bindings for Freescale i.MX23 8 8 9 9 maintainers: 10 - - Shawn Guo <shawn.guo@linaro.org> 10 + - Shawn Guo <shawnguo@kernel.org> 11 11 12 12 description: | 13 13 The clock consumer should specify the desired clock by having the clock
+1 -1
Documentation/devicetree/bindings/clock/imx28-clock.yaml
··· 7 7 title: Clock bindings for Freescale i.MX28 8 8 9 9 maintainers: 10 - - Shawn Guo <shawn.guo@linaro.org> 10 + - Shawn Guo <shawnguo@kernel.org> 11 11 12 12 description: | 13 13 The clock consumer should specify the desired clock by having the clock
+1 -1
Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml
··· 67 67 68 68 main_crypto: crypto@4e00000 { 69 69 compatible = "ti,j721-sa2ul"; 70 - reg = <0x0 0x4e00000 0x0 0x1200>; 70 + reg = <0x4e00000 0x1200>; 71 71 power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>; 72 72 dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>, 73 73 <&main_udmap 0x4001>;
+4 -4
Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml
··· 145 145 146 146 display@fd4a0000 { 147 147 compatible = "xlnx,zynqmp-dpsub-1.7"; 148 - reg = <0x0 0xfd4a0000 0x0 0x1000>, 149 - <0x0 0xfd4aa000 0x0 0x1000>, 150 - <0x0 0xfd4ab000 0x0 0x1000>, 151 - <0x0 0xfd4ac000 0x0 0x1000>; 148 + reg = <0xfd4a0000 0x1000>, 149 + <0xfd4aa000 0x1000>, 150 + <0xfd4ab000 0x1000>, 151 + <0xfd4ac000 0x1000>; 152 152 reg-names = "dp", "blend", "av_buf", "aud"; 153 153 interrupts = <0 119 4>; 154 154 interrupt-parent = <&gic>;
+1 -1
Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
··· 57 57 58 58 dma: dma-controller@fd4c0000 { 59 59 compatible = "xlnx,zynqmp-dpdma"; 60 - reg = <0x0 0xfd4c0000 0x0 0x1000>; 60 + reg = <0xfd4c0000 0x1000>; 61 61 interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 62 62 interrupt-parent = <&gic>; 63 63 clocks = <&dpdma_clk>;
+1 -1
Documentation/devicetree/bindings/gpio/gpio-mxs.yaml
··· 7 7 title: Freescale MXS GPIO controller 8 8 9 9 maintainers: 10 - - Shawn Guo <shawn.guo@linaro.org> 10 + - Shawn Guo <shawnguo@kernel.org> 11 11 - Anson Huang <Anson.Huang@nxp.com> 12 12 13 13 description: |
+1 -1
Documentation/devicetree/bindings/i2c/i2c-mxs.yaml
··· 7 7 title: Freescale MXS Inter IC (I2C) Controller 8 8 9 9 maintainers: 10 - - Shawn Guo <shawn.guo@linaro.org> 10 + - Shawn Guo <shawnguo@kernel.org> 11 11 12 12 properties: 13 13 compatible:
+1 -1
Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml
··· 30 30 const: 0 31 31 32 32 patternProperties: 33 - "^multi-led[0-9a-f]$": 33 + "^multi-led@[0-9a-b]$": 34 34 type: object 35 35 allOf: 36 36 - $ref: leds-class-multicolor.yaml#
+1 -1
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
··· 7 7 title: Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX 8 8 9 9 maintainers: 10 - - Shawn Guo <shawn.guo@linaro.org> 10 + - Shawn Guo <shawnguo@kernel.org> 11 11 12 12 allOf: 13 13 - $ref: "mmc-controller.yaml"
+1 -1
Documentation/devicetree/bindings/mmc/mxs-mmc.yaml
··· 7 7 title: Freescale MXS MMC controller 8 8 9 9 maintainers: 10 - - Shawn Guo <shawn.guo@linaro.org> 10 + - Shawn Guo <shawnguo@kernel.org> 11 11 12 12 description: | 13 13 The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller
+2 -1
Documentation/devicetree/bindings/net/ethernet-controller.yaml
··· 54 54 55 55 phy-connection-type: 56 56 description: 57 - Operation mode of the PHY interface 57 + Specifies interface type between the Ethernet device and a physical 58 + layer (PHY) device. 58 59 enum: 59 60 # There is not a standard bus between the MAC and the PHY, 60 61 # something proprietary is being used to embed the PHY in the
+8
Documentation/devicetree/bindings/pci/intel-gw-pcie.yaml
··· 9 9 maintainers: 10 10 - Dilip Kota <eswara.kota@linux.intel.com> 11 11 12 + select: 13 + properties: 14 + compatible: 15 + contains: 16 + const: intel,lgm-pcie 17 + required: 18 + - compatible 19 + 12 20 properties: 13 21 compatible: 14 22 items:
+1 -1
Documentation/devicetree/bindings/pwm/mxs-pwm.yaml
··· 7 7 title: Freescale MXS PWM controller 8 8 9 9 maintainers: 10 - - Shawn Guo <shawn.guo@linaro.org> 10 + - Shawn Guo <shawnguo@kernel.org> 11 11 - Anson Huang <anson.huang@nxp.com> 12 12 13 13 properties:
+1 -1
Documentation/devicetree/bindings/spi/fsl-imx-cspi.yaml
··· 7 7 title: Freescale (Enhanced) Configurable Serial Peripheral Interface (CSPI/eCSPI) for i.MX 8 8 9 9 maintainers: 10 - - Shawn Guo <shawn.guo@linaro.org> 10 + - Shawn Guo <shawnguo@kernel.org> 11 11 12 12 allOf: 13 13 - $ref: "/schemas/spi/spi-controller.yaml#"
+1 -1
Documentation/devicetree/bindings/thermal/imx-thermal.yaml
··· 7 7 title: NXP i.MX Thermal Binding 8 8 9 9 maintainers: 10 - - Shawn Guo <shawn.guo@linaro.org> 10 + - Shawn Guo <shawnguo@kernel.org> 11 11 - Anson Huang <Anson.Huang@nxp.com> 12 12 13 13 properties:
+1 -1
Documentation/devicetree/bindings/vendor-prefixes.yaml
··· 1001 1001 "^sst,.*": 1002 1002 description: Silicon Storage Technology, Inc. 1003 1003 "^sstar,.*": 1004 - description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd. 1004 + description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd. 1005 1005 (formerly part of MStar Semiconductor, Inc.) 1006 1006 "^st,.*": 1007 1007 description: STMicroelectronics
+2 -2
Documentation/devicetree/writing-schema.rst
··· 5 5 6 6 Devicetree bindings are written using json-schema vocabulary. Schema files are 7 7 written in a JSON compatible subset of YAML. YAML is used instead of JSON as it 8 - considered more human readable and has some advantages such as allowing 8 + is considered more human readable and has some advantages such as allowing 9 9 comments (Prefixed with '#'). 10 10 11 11 Schema Contents ··· 19 19 A json-schema unique identifier string. The string must be a valid 20 20 URI typically containing the binding's filename and path. For DT schema, it must 21 21 begin with "http://devicetree.org/schemas/". The URL is used in constructing 22 - references to other files specified in schema "$ref" properties. A $ref values 22 + references to other files specified in schema "$ref" properties. A $ref value 23 23 with a leading '/' will have the hostname prepended. A $ref value a relative 24 24 path or filename only will be prepended with the hostname and path components 25 25 of the current schema file's '$id' value. A URL is used even for local files,
+1 -1
arch/arm/boot/dts/bcm2835-rpi.dtsi
··· 13 13 14 14 soc { 15 15 firmware: firmware { 16 - compatible = "raspberrypi,bcm2835-firmware", "simple-bus"; 16 + compatible = "raspberrypi,bcm2835-firmware", "simple-mfd"; 17 17 #address-cells = <1>; 18 18 #size-cells = <1>; 19 19
+20 -1
drivers/of/address.c
··· 128 128 * PCI bus specific translator 129 129 */ 130 130 131 + static bool of_node_is_pcie(struct device_node *np) 132 + { 133 + bool is_pcie = of_node_name_eq(np, "pcie"); 134 + 135 + if (is_pcie) 136 + pr_warn_once("%pOF: Missing device_type\n", np); 137 + 138 + return is_pcie; 139 + } 140 + 131 141 static int of_bus_pci_match(struct device_node *np) 132 142 { 133 143 /* 134 144 * "pciex" is PCI Express 135 145 * "vci" is for the /chaos bridge on 1st-gen PCI powermacs 136 146 * "ht" is hypertransport 147 + * 148 + * If none of the device_type match, and that the node name is 149 + * "pcie", accept the device as PCI (with a warning). 137 150 */ 138 151 return of_node_is_type(np, "pci") || of_node_is_type(np, "pciex") || 139 - of_node_is_type(np, "vci") || of_node_is_type(np, "ht"); 152 + of_node_is_type(np, "vci") || of_node_is_type(np, "ht") || 153 + of_node_is_pcie(np); 140 154 } 141 155 142 156 static void of_bus_pci_count_cells(struct device_node *np, ··· 997 983 if (dma_offset && range.cpu_addr - range.bus_addr != dma_offset) { 998 984 pr_warn("Can't handle multiple dma-ranges with different offsets on node(%pOF)\n", node); 999 985 /* Don't error out as we'd break some existing DTs */ 986 + continue; 987 + } 988 + if (range.cpu_addr == OF_BAD_ADDR) { 989 + pr_err("translation of DMA address(%llx) to CPU address failed node(%pOF)\n", 990 + range.bus_addr, node); 1000 991 continue; 1001 992 } 1002 993 dma_offset = range.cpu_addr - range.bus_addr;
+1 -1
scripts/dtc/Makefile
··· 9 9 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o 10 10 11 11 # Source files need to get at the userspace version of libfdt_env.h to compile 12 - HOST_EXTRACFLAGS := -I $(srctree)/$(src)/libfdt 12 + HOST_EXTRACFLAGS += -I $(srctree)/$(src)/libfdt 13 13 14 14 ifeq ($(shell pkg-config --exists yaml-0.1 2>/dev/null && echo yes),) 15 15 ifneq ($(CHECK_DT_BINDING)$(CHECK_DTBS),)