- Jul 09, 2019
-
-
Rob Herring authored
Convert RDA Micro SoC bindings to DT schema format using json-schema. Cc: "Andreas Färber" <afaerber@suse.de> Acked-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by:
Rob Herring <robh@kernel.org>
-
- Jul 03, 2019
-
-
Maxime Ripard authored
The example of the EHCI binding generates a bunch of warnings now that the examples are validated too. Most notably, phy-names isn't used at all, and the node name should be USB. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
When adding support for the DWMAC (and derivatives) bindings, phy-connection-type was required, even though the previous binding required the equivalent phy-mode. Let's fix this by using phy-mode as we should have. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
Both the allwinner and amlogic compatibles require that either the allwinner,pipeline or the amlogic,pipeline property is set. This was dropped during the conversion since we didn't have conditionals back then, but we can express this properly now. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
The simple-framebuffer binding has a compatible that isn't one of the valid options. Since an Allwinner pipeline is being described, let's add the matching compatible. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
The child nodes of a mdio bus are supposed to be ethernet PHYs, with a reg property. Make sure that's validated as well. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
MDIO controllers should have child nodes with a singe value in their reg properties being the ID of the PHY in the bus. Let's add the proper constraints on #address-cells and #size-cells. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
The node name of an MDIO controller should be MDIO. Let's add a rule for this. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
- Jun 28, 2019
-
-
Rob Herring authored
Mixing 'maxItems' and scalar properties doesn't make much sense, so drop 'maxItems' as a single item is implied. Cc: David Woodhouse <dwmw2@infradead.org> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Miquel Raynal <miquel.raynal@bootlin.com> Cc: Richard Weinberger <richard@nod.at> Cc: Vignesh Raghavendra <vigneshr@ti.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Chen-Yu Tsai <wens@csie.org> Cc: linux-mtd@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
Matching on the 'cpus' node was a bad choice because the schema is incorrectly applied to non-Arm cpus nodes. As we now have a common cpus schema which checks the general structure, it is also redundant to do so in the Arm CPU schema. The downside is one could conceivably mix different architecture's cpu nodes or have typos in the compatible string. The latter problem pretty much exists for every schema. Signed-off-by:
Rob Herring <robh@kernel.org>
-
Brian Masney authored
The '#address-cells' and '#size-cells' properties were not defined in the lm3630a bindings and would cause the following error when attempting to validate the examples against the schema: Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.example.dt.yaml: '#address-cells', '#size-cells' do not match any of the regexes: '^led@[01]$', 'pinctrl-[0-9]+' Correct this by adding those two properties. While we're here, move the ti,linear-mapping-mode property to the led@[01] child nodes to correct the following validation error: Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.example.dt.yaml: led@0: 'ti,linear-mapping-mode' does not match any of the regexes: 'pinctrl-[0-9]+' Fixes: 32fcb75c ("dt-bindings: backlight: Add lm3630a bindings") Signed-off-by:
Brian Masney <masneyb@onstation.org> Reported-by:
Rob Herring <robh+dt@kernel.org> Acked-by:
Daniel Thompson <daniel.thompson@linaro.org> Acked-by:
Dan Murphy <dmurphy@ti.com> [robh: also drop maxItems from child reg] Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
Even though the DWMAC driver uses some driver specific properties, the PHY core has a bunch of generic properties and can deal with them nicely. Let's deprecate our specific properties. Reviewed-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
Switch our Allwinner H3 EMAC controller binding to a YAML schema to enable the DT validation. Since that controller is based on a Synopsys IP, let's add the validation to that schemas with a bunch of conditionals. Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
Switch our Allwinner A20 GMAC controller binding to a YAML schema to enable the DT validation. Since that controller is based on a Synopsys IP, let's add the validation to that schemas with a bunch of conditionals. Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
Switch the STMMAC / Synopsys DesignWare MAC controller binding to a YAML schema to enable the DT validation. Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
Switch our Allwinner A10 MDIO controller binding to a YAML schema to enable the DT validation. Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
Switch our Allwinner A10 EMAC controller binding to a YAML schema to enable the DT validation. Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
Unlike what was initially claimed in the PHY binding, the interrupt property of a PHY can be omitted, and the OS will turn to polling instead. Document that. Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
The MDIO buses have a number of available device tree properties that can be used in their device tree node. Add a YAML schemas for those. Suggested-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
The networking PHYs have a number of available device tree properties that can be used in their device tree node. Add a YAML schemas for those. Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> [robh: drop maxItems from reg] Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
The Ethernet controllers have a good number of generic options that can be needed in a device tree. Add a YAML schemas for those. Reviewed-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Rob Herring <robh@kernel.org>
-
- Jun 27, 2019
-
-
Rob Herring authored
Convert the PSCI binding to use DT schema format. Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Will Deacon <will@kernel.org> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
Convert Conexant Digicolor SoC bindings to DT schema format using json-schema. Acked-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
Convert NXP LPC32xx SoC bindings to DT schema format using json-schema. Cc: Roland Stigge <stigge@antcom.de> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
Convert MOXA ART SoC bindings to DT schema format using json-schema. Cc: Jonas Jensen <jonas.jensen@gmail.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
Convert Axxia SoC bindings to DT schema format using json-schema. Cc: Anders Berg <anders.berg@lsi.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
The board bindings for IPQ4019 are undocumented. Add the missing bindings to the schema. Cc: Andy Gross <agross@kernel.org> Cc: David Brown <david.brown@linaro.org> Cc: linux-arm-msm@vger.kernel.org Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
The SoC/board bindings for MSM8974 are undocumented. Add the missing bindings to the schema. Cc: Andy Gross <agross@kernel.org> Cc: David Brown <david.brown@linaro.org> Cc: linux-arm-msm@vger.kernel.org Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
Convert Alpine SoC bindings to DT schema format using json-schema. Cc: Tsahee Zidenberg <tsahee@annapurnalabs.com> Cc: Antoine Tenart <antoine.tenart@free-electrons.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by:
Rob Herring <robh@kernel.org>
-
- Jun 18, 2019
-
-
Geert Uytterhoeven authored
"git diff" says: \ No newline at end of file after modifying the files. Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Marco Felsch authored
Kontron is a leading embedded computer supplier. More information can be found on: https://www.kontron.de/ Signed-off-by:
Marco Felsch <m.felsch@pengutronix.de> Signed-off-by:
Rob Herring <robh@kernel.org>
-
- Jun 14, 2019
-
-
Erwan Le Ray authored
STM32 serial can be reset via reset controller. Add an optional reset property to stm32 usart bindings. Signed-off-by:
Erwan Le Ray <erwan.leray@st.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
- Jun 13, 2019
-
-
Amit Kucheria authored
The "enable-method" property for cpu nodes needs to be "psci" for CPU idle management to be setup correctly. Add a note to the binding documentation to this effect to make it obvious. Signed-off-by:
Amit Kucheria <amit.kucheria@linaro.org> Acked-by:
Sudeep Holla <sudeep.holla@arm.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Geert Uytterhoeven authored
Make the naming of units consistent with common practices: - Do not capitalize the first character of units ("Celsius" is special, as it is not the unit name, but a reference to its proposer), - Do not use plural for units, - Do not abbreviate "ampere", - Concatenate prefixes and units (no spaces or hyphens), - Separate units by spaces not hyphens, - "milli" applies to "degree", not to "Celsius". Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Hannes Schmelzer authored
Signed-off-by:
Hannes Schmelzer <hannes.schmelzer@br-automation.com> [robh: rework for schema] Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
Currently, the binding examples are just built with dtc. dtc recently gained the support necessary to output the examples in YAML format (commit 87963ee20693 ("livetree: add missing type markers in generated overlay properties"). Now just switch the output format and the examples will be checked against the schema. Reviewed-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Rob Herring authored
Generated nodes for overlays begin with '_'. The binding examples are built as overlays in order to allow unresolved phandles, so we need to allow the generated node names. Reviewed-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
- Jun 11, 2019
-
-
Maxime Ripard authored
Add all the missing vendors used in Allwinner DTS. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
- May 26, 2019
-
-
Maxime Ripard authored
In the text file, simtek didn't have any description and apparently this confused the conversion script. Fix the simtek entry and add a proper description. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-
Maxime Ripard authored
Single quotes need to be escaped in YAML, make sure it's the case. Signed-off-by:
Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by:
Rob Herring <robh@kernel.org>
-