···77title: Clock bindings for Freescale i.MX238899maintainers:1010- - Shawn Guo <shawn.guo@linaro.org>1010+ - Shawn Guo <shawnguo@kernel.org>11111212description: |1313 The clock consumer should specify the desired clock by having the clock
···77title: Clock bindings for Freescale i.MX288899maintainers:1010- - Shawn Guo <shawn.guo@linaro.org>1010+ - Shawn Guo <shawnguo@kernel.org>11111212description: |1313 The clock consumer should specify the desired clock by having the clock
···54545555 phy-connection-type:5656 description:5757- Operation mode of the PHY interface5757+ Specifies interface type between the Ethernet device and a physical5858+ layer (PHY) device.5859 enum:5960 # There is not a standard bus between the MAC and the PHY,6061 # something proprietary is being used to embed the PHY in the
···5566Devicetree bindings are written using json-schema vocabulary. Schema files are77written in a JSON compatible subset of YAML. YAML is used instead of JSON as it88-considered more human readable and has some advantages such as allowing88+is considered more human readable and has some advantages such as allowing99comments (Prefixed with '#').10101111Schema Contents···1919 A json-schema unique identifier string. The string must be a valid2020 URI typically containing the binding's filename and path. For DT schema, it must2121 begin with "http://devicetree.org/schemas/". The URL is used in constructing2222- references to other files specified in schema "$ref" properties. A $ref values2222+ references to other files specified in schema "$ref" properties. A $ref value2323 with a leading '/' will have the hostname prepended. A $ref value a relative2424 path or filename only will be prepended with the hostname and path components2525 of the current schema file's '$id' value. A URL is used even for local files,
···128128 * PCI bus specific translator129129 */130130131131+static bool of_node_is_pcie(struct device_node *np)132132+{133133+ bool is_pcie = of_node_name_eq(np, "pcie");134134+135135+ if (is_pcie)136136+ pr_warn_once("%pOF: Missing device_type\n", np);137137+138138+ return is_pcie;139139+}140140+131141static int of_bus_pci_match(struct device_node *np)132142{133143 /*134144 * "pciex" is PCI Express135145 * "vci" is for the /chaos bridge on 1st-gen PCI powermacs136146 * "ht" is hypertransport147147+ *148148+ * If none of the device_type match, and that the node name is149149+ * "pcie", accept the device as PCI (with a warning).137150 */138151 return of_node_is_type(np, "pci") || of_node_is_type(np, "pciex") ||139139- of_node_is_type(np, "vci") || of_node_is_type(np, "ht");152152+ of_node_is_type(np, "vci") || of_node_is_type(np, "ht") ||153153+ of_node_is_pcie(np);140154}141155142156static void of_bus_pci_count_cells(struct device_node *np,···997983 if (dma_offset && range.cpu_addr - range.bus_addr != dma_offset) {998984 pr_warn("Can't handle multiple dma-ranges with different offsets on node(%pOF)\n", node);999985 /* Don't error out as we'd break some existing DTs */986986+ continue;987987+ }988988+ if (range.cpu_addr == OF_BAD_ADDR) {989989+ pr_err("translation of DMA address(%llx) to CPU address failed node(%pOF)\n",990990+ range.bus_addr, node);1000991 continue;1001992 }1002993 dma_offset = range.cpu_addr - range.bus_addr;
+1-1
scripts/dtc/Makefile
···99dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o10101111# Source files need to get at the userspace version of libfdt_env.h to compile1212-HOST_EXTRACFLAGS := -I $(srctree)/$(src)/libfdt1212+HOST_EXTRACFLAGS += -I $(srctree)/$(src)/libfdt13131414ifeq ($(shell pkg-config --exists yaml-0.1 2>/dev/null && echo yes),)1515ifneq ($(CHECK_DT_BINDING)$(CHECK_DTBS),)