- 14 9月, 2019 3 次提交
-
-
由 Colin Ian King 提交于
There is a spelling mistake on the documentation. Fix it. Signed-off-by: NColin Ian King <colin.king@canonical.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Uwe Kleine-König 提交于
Referencing device tree nodes from a property allows to pass arguments. This is for example used for referencing gpios. This looks as follows: gpio_ctrl: gpio-controller { #gpio-cells = <2> ... } someothernode { gpios = <&gpio_ctrl 5 0 &gpio_ctrl 3 0>; ... } To know the number of arguments this must be either fixed, or the referenced node is checked for a $cells_name (here: "#gpio-cells") property and with this information the start of the second reference can be determined. Currently regulators are referenced with no additional arguments. To allow some optional arguments without having to change all referenced nodes this change introduces a way to specify a default cell_count. So when a phandle is parsed we check for the $cells_name property and use it as before if present. If it is not present we fall back to cells_count if non-negative and only fail if cells_count is smaller than zero. Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Uwe Kleine-König 提交于
Currently of_for_each_phandle ignores the cell_count parameter when a cells_name is given. I intend to change that and let the iterator fall back to a non-negative cell_count if the cells_name property is missing in the referenced node. To not change how existing of_for_each_phandle's users iterate, fix them to pass cell_count = -1 when also cells_name is given which yields the expected behaviour with and without my change. Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: NJoerg Roedel <jroedel@suse.de> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 11 9月, 2019 2 次提交
-
-
由 Rob Herring 提交于
Convert Realtek SoC bindings to DT schema format using json-schema. Andreas is the only author and we agreed in person on licensing to be GPL2+/BSD. Cc: "Andreas Färber" <afaerber@suse.de> Cc: Mark Rutland <mark.rutland@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Rob Herring 提交于
Convert Actions Semi SoC bindings to DT schema format using json-schema. Cc: "Andreas Färber" <afaerber@suse.de> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: NRob Herring <robh@kernel.org>
-
- 06 9月, 2019 2 次提交
-
-
由 Simon Horman 提交于
Correct spelling of "identifier". Signed-off-by: NSimon Horman <horms+renesas@verge.net.au> Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 james.tai 提交于
Add arm cpu type cortex-a55. Signed-off-by: Njames.tai <james.tai@realtek.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 03 9月, 2019 1 次提交
-
-
由 Guillaume Gardet 提交于
Add "samsung,exynos5250-mali" binding. Signed-off-by: NGuillaume Gardet <guillaume.gardet@arm.com> Cc: Kukjin Kim <kgene@kernel.org> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Reviewed-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 02 9月, 2019 6 次提交
-
-
由 Geert Uytterhoeven 提交于
Move exit-latency-us explanation to exit-latency-us section. Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: NAmit Kucheria <amit.kucheria@linaro.org> Acked-by: NDaniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: NAmit Kucheria <amit.kucheria@linaro.org> Acked-by: NDaniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
Correct "constraints guarantees" to "constraint guarantees". Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: NAmit Kucheria <amit.kucheria@linaro.org> Acked-by: NDaniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
The paragraph explains the use of wakup-delay, as defined above. Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: NAmit Kucheria <amit.kucheria@linaro.org> Acked-by: NDaniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
Replace abbreviations "eg" and "ie" by "e.g." resp. "i.e." for consistency. Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: NAmit Kucheria <amit.kucheria@linaro.org> Acked-by: NDaniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Peter Vernia 提交于
The device-tree properties documentation-file specifies the property "microchip,spi-present-mask" as required for MCP23SXX chips. However, the device-tree-source example below it uses only "spi-present-mask". Without "microchip," on the front, the driver will print "missing spi-present-mask" when it initializes. Update the device-tree example with the correct property-name. Signed-off-by: NPeter Vernia <peter.vernia@gmail.com> Reviewed-by: NJan Kundrát <jan.kundrat@cesnet.cz> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 30 8月, 2019 1 次提交
-
-
由 Stephen Boyd 提交于
Reading the description about when to use interrupts-extended leads some developers to think that it shouldn't be used unless a device has interrupts from more than one interrupt controller. This isn't true. We should encourage devicetree writers to use this property in situations where it isn't the inherited interrupt-parent so that we have less properties in a DT node by virtue of not having to specify an interrupt-parent and an interrupts property. Reported-by: NAlexandru M Stan <amstan@chromium.org> Signed-off-by: NStephen Boyd <swboyd@chromium.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 29 8月, 2019 3 次提交
-
-
由 Rob Herring 提交于
Convert the Arm Utgard GPU binding to DT schema format. 'allwinner,sun8i-a23-mali' compatible was not documented, so add it. The 'clocks' property is now required. This simplifies the schema as effectively all the users require 'clocks' already and the upstream driver requires clocks. Reviewed-by: NNeil Armstrong <narmstrong@baylibre.com> Acked-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NHeiko Stuebner <heiko@sntech.de> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Rob Herring 提交于
Convert the Arm Bifrost GPU binding to DT schema format. The 'clocks' property is now required. This simplifies the schema as effectively all the users require 'clocks' already and the upstream driver requires at least one clock. Reviewed-by: NNeil Armstrong <narmstrong@baylibre.com> Acked-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NHeiko Stuebner <heiko@sntech.de> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Rob Herring 提交于
Convert the Arm Midgard GPU binding to DT schema format. The 'clocks' property is now required. This simplifies the schema as effectively all the users require 'clocks' already and the upstream driver requires at least one clock. Reviewed-by: NNeil Armstrong <narmstrong@baylibre.com> Acked-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NHeiko Stuebner <heiko@sntech.de> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 28 8月, 2019 3 次提交
-
-
由 Maxime Ripard 提交于
The Allwinner SoCs have an interrupt controller called NMI supported in Linux, with a matching Device Tree binding. Now that we have the DT validation in place, let's convert the device tree bindings for that controller over to a YAML schemas. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Maxime Ripard 提交于
The Allwinner SoCs have an interrupt controller supported in Linux, with a matching Device Tree binding. Now that we have the DT validation in place, let's convert the device tree bindings for that controller over to a YAML schemas. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Nishka Dasgupta 提交于
The local variable np in function of_unittest_platform_populate takes the return value of of_find_node_by_path, which gets a node but does not put it. If np is not put before return it may cause a memory leak. Hence put np before a return statement. Issue found with Coccinelle. Signed-off-by: NNishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 27 8月, 2019 2 次提交
-
-
由 Sakari Ailus 提交于
- The clock-lanes property is not needed for the sensors do not support lane reordering. (The information possibly present in existing clock-lane properties is simply not used.) - There's no need to refer to the sensor device in the DT example, thus remove the label. - Rename the "camera" device node as "camera-sensor". - Rename the endpoint label as "smiapp_ep" (was: "smiapp_1_1"). There is in practice only one anyway. - Remove the remote-endpoint documentation (it is covered by graph.txt to which video-interfaces.txt refers to). - Add a note on the port and endpoint nodes. These changes make the smiapp bindings a better example. Signed-off-by: NSakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 John Wang 提交于
Signed-off-by: NJohn Wang <wangzqbj@inspur.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 22 8月, 2019 3 次提交
-
-
由 Fabien Parent 提交于
This commit adds the device-tree documentation for the RNG IP on the MediaTek MT8516 SoC. Signed-off-by: NFabien Parent <fparent@baylibre.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Miquel Raynal 提交于
"Property" is misspelled, correct it. Fixes: caf8975b ("dt-bindings: ata: update ahci_sunxi bindings") Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Geert Uytterhoeven 提交于
The ARM CPU DT bindings were converted from plain text to YAML, but not all referrers were updated. Fixes: 672951cb ("dt-bindings: arm: Convert cpu binding to json-schema") Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 21 8月, 2019 1 次提交
-
-
由 Vinod Koul 提交于
Kryo485 is found in SM8150, so add it it list of cpu compatibles Signed-off-by: NVinod Koul <vkoul@kernel.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 20 8月, 2019 4 次提交
-
-
由 Peter Griffin 提交于
This is required to bring Mali450 gpu out of reset. Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Philipp Zabel <p.zabel@pengutronix.de> Cc: dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NPeter Griffin <peter.griffin@linaro.org> Signed-off-by: NJohn Stultz <john.stultz@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Peter Griffin 提交于
The reset driver now supports the ao reset controller, so update the documentation to match. Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Philipp Zabel <p.zabel@pengutronix.de> Cc: dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NPeter Griffin <peter.griffin@linaro.org> Signed-off-by: NJohn Stultz <john.stultz@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Peter Griffin 提交于
The Hisilicon hi6220 uses a Mali-450MP4 with 4 PPs, so add a compatible for it. Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Philipp Zabel <p.zabel@pengutronix.de> Cc: dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NPeter Griffin <peter.griffin@linaro.org> Signed-off-by: NJohn Stultz <john.stultz@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Rob Herring 提交于
-
- 17 8月, 2019 1 次提交
-
-
由 Bin Meng 提交于
The unit-address must match the first address specified in the reg property of the node. Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 15 8月, 2019 2 次提交
-
-
由 Lubomir Rintel 提交于
Diverged from what the code does with commit 530210c7 ("of/irq: Replace of_irq with of_phandle_args"). Signed-off-by: NLubomir Rintel <lkundrak@v3.sk> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Rob Herring 提交于
The proper way to add additional contraints to an existing json-schema is using 'allOf' to reference the base schema. Using just '$ref' doesn't work. Fix this for the 'st,syscfg' property. Cc: Mark Rutland <mark.rutland@arm.com> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: linux-gpio@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
-
- 14 8月, 2019 6 次提交
-
-
由 Stephen Boyd 提交于
It wasn't obvious that this was a command to run based on 'make help', so add it to the top-level help for devicetree builds. Also, add an example to the documentation to show that db_binding_check can be run with DT_SCHEMA_FILES= to only check one schema file instead of all of them. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: <linux-kbuild@vger.kernel.org> Cc: <devicetree@vger.kernel.org> Cc: <linux-doc@vger.kernel.org> Signed-off-by: NStephen Boyd <sboyd@kernel.org> [robh: fix-up due to .md to .rst conversion] Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Neil Armstrong 提交于
Now that we have the DT validation in place, let's convert the device tree bindings for the Amlogic GXBB Watchdog timer over to a YAML schemas. Reviewed-by: NRob Herring <robh@kernel.org> Reviewed-by: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Neil Armstrong 提交于
Now that we have the DT validation in place, let's convert the device tree bindings for the Amlogic UART Serial controller over to a YAML schemas. Reviewed-by: NRob Herring <robh@kernel.org> Reviewed-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Neil Armstrong 提交于
Now that we have the DT validation in place, let's convert the device tree bindings for the Amlogic G12A USB3 + PCIE Combo PHY over to a YAML schemas. While the original phy bindings specifies phy-supply as required, the examples and implementations makes it optional, thus phy-supply is not present in the properties and required lists. Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Neil Armstrong 提交于
Now that we have the DT validation in place, let's convert the device tree bindings for the Amlogic G12A USB2 PHY over to a YAML schemas. While the original phy bindings specifies phy-supply as required, the examples and implementations makes it optional, thus phy-supply is not in the required list of attributes. Reviewed-by: NRob Herring <robh@kernel.org> Reviewed-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NRob Herring <robh@kernel.org>
-
由 Neil Armstrong 提交于
Now that we have the DT validation in place, let's convert the device tree bindings for the Amlogic Always-On Secure Registers over to a YAML schemas. Reviewed-by: NRob Herring <robh@kernel.org> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NRob Herring <robh@kernel.org>
-