aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
AgeCommit message (Collapse)AuthorFilesLines
2021-03-23dt-bindings: Clean-up undocumented compatible stringsRob Herring19-78/+57
Adding checks for undocumented compatible strings reveals a bunch of warnings in the DT binding examples. Fix the cases which are typos, just a mismatch between the schema and the example, or aren't documented at all. In a couple of cases, fixing the compatible revealed some schema errors which are fixed. There's a bunch of others remaining after this which have bindings, but those aren't converted to schema yet. Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Pavel Machek <pavel@ucw.cz> Cc: linux-clk@vger.kernel.org Cc: dmaengine@vger.kernel.org Cc: linux-i3c@lists.infradead.org Cc: linux-iio@vger.kernel.org Cc: linux-leds@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: linux-serial@vger.kernel.org Cc: linux-spi@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Stephen Boyd <sboyd@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Sebastian Reichel <sre@kernel.org> Acked-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Vinod Koul <vkoul@kernel.org> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Alain Volmat <alain.volmat@foss.st.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20210316194918.3528417-1-robh@kernel.org
2021-03-23dt-bindings: nvmem: use base meta-schema for consumer schemaRob Herring1-1/+1
Common consumer schemas need to use the base.yaml meta-schema because they need to define different constraints (e.g. the type) from what users of the common schema need to define (e.g. how many entries). Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20210316195111.3531755-1-robh@kernel.org
2021-03-23dt-bindings: trivial-devices: Allow 'spi-max-frequency' propertyRob Herring1-0/+3
Trivial SPI devices can also specify 'spi-max-frequency' properties, so allow it in the trivial devices schema. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210316194939.3529018-1-robh@kernel.org
2021-03-23dt-bindings: More cleanup of standard unit propertiesRob Herring6-7/+0
Properties with standard unit suffixes already have a type and don't need type references. Fix a few more cases which have gotten added. Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Zhang Rui <rui.zhang@intel.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Kevin Tsai <ktsai@capellamicro.com> Cc: linux-iio@vger.kernel.org Cc: linux-input@vger.kernel.org Cc: linux-pm@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Dmity Baryshkov <dmitry.baryshkov@linaro.org> Acked-by: Mark Brown <broonie@kernel.org> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Sebastian Reichel <sre@kernel.org> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://lore.kernel.org/r/20210316194824.3526913-1-robh@kernel.org
2021-03-23dt-bindings: media: Convert video-mux to DT schemaRob Herring2-60/+106
Now that we have the graph schema, convert the video-mux binding to DT schema. Cc: Sakari Ailus <sakari.ailus@linux.intel.com> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: linux-media@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Link: https://lore.kernel.org/r/20210311234042.1588310-1-robh@kernel.org
2021-03-23dt-bindings: i3c: Fix silvaco,i3c-master-v1 compatible stringRob Herring1-1/+1
The example for the Silvaco I3C master doesn't match the schema's compatible string. Fix it. Cc: Miquel Raynal <miquel.raynal@bootlin.com> Cc: Conor Culhane <conor.culhane@silvaco.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: linux-i3c@lists.infradead.org Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210311234056.1588751-1-robh@kernel.org
2021-03-23spi: update spi slave bindings for MT8195 SoCLeilk Liu1-0/+1
Add a DT binding documentation for the MT8195 soc. Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> Link: https://lore.kernel.org/r/20210322055244.30179-3-leilk.liu@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-23spi: update spi master bindings for MT8195 SoCLeilk Liu1-0/+1
Add a DT binding documentation for the MT8195 soc. Signed-off-by: leilk.liu <leilk.liu@mediatek.com> Link: https://lore.kernel.org/r/20210322055244.30179-2-leilk.liu@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-23dt-bindings: power: supply: Drop power_supply.txtSebastian Reichel1-2/+0
The file has been replaced by power-supply.yaml and all links have been updated to the new file. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: Fix remaining battery.txt linksSebastian Reichel3-5/+2
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: sbs-battery: Fix dtbs_checkSebastian Reichel1-2/+5
Existing in-tree users make use of '"ti,bq20z45", "sbs,sbs-battery"', so add it to the list of known compatible strings. Also add missing support for the generic 'power-supplies' property by importing power-supply.yaml and setting unevaluatedProperties instead of additionalProperties. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: ab8500: Convert to DT schema formatSebastian Reichel8-85/+309
Convert the binding to DT schema format. Note: The battery node does not have a compatible value and needs to be described from the binding file for the PMIC. That has not yet been converted, so I kept the information in plaintext for now. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: olpc-battery: Convert to DT schema formatSebastian Reichel2-5/+27
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: rt9455: Convert to DT schema formatSebastian Reichel2-46/+90
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: ltc294x: Convert to DT schema formatSebastian Reichel2-28/+66
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: lt3651: Convert to DT schema formatSebastian Reichel2-29/+44
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: lp8727: Convert to DT schema formatSebastian Reichel2-43/+90
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: da9150: Convert to DT schema formatSebastian Reichel4-49/+103
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: axp20x: Convert to DT schema formatSebastian Reichel6-86/+95
Convert the binding to DT schema format. Cc: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: act8945a: Convert to DT schema formatSebastian Reichel2-44/+76
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: pm8941-coincell: Convert to DT schema formatSebastian Reichel2-48/+57
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: pm8941-charger: Convert to DT schema formatSebastian Reichel2-150/+169
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: ucs1002: Convert to DT schema formatSebastian Reichel2-27/+51
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: max8903: Convert to DT schema formatSebastian Reichel2-24/+67
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: max17042: Convert to DT schema formatSebastian Reichel2-35/+78
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: max14656: Convert to DT schema formatSebastian Reichel2-23/+45
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: max17040: Convert to DT schema formatSebastian Reichel2-52/+95
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: lego-ev3-battery: Convert to DT schema formatSebastian Reichel2-21/+55
Convert the binding to DT schema format. Cc: David Lechner <david@lechnology.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: David Lechner <david@lechnology.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: n900-battery: Convert to DT schema formatSebastian Reichel2-25/+49
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Rejected-by: Pali Rohár <pali@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: twl4030: Convert to DT schema formatSebastian Reichel2-30/+68
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: tps65217: Convert to DT schema formatSebastian Reichel2-17/+43
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: tps65090: Convert to DT schema formatSebastian Reichel2-17/+36
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: sc2731-charger: Convert to DT schema formatSebastian Reichel2-40/+53
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: sc27xx-fg: Convert to DT schema formatSebastian Reichel2-59/+98
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: ds2760: Convert to DT schema formatSebastian Reichel2-26/+43
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: sbs-manager: Convert to DT schema formatSebastian Reichel2-66/+107
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: sbs-charger: Convert to DT schema formatSebastian Reichel2-21/+55
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: isp1704: Convert to DT schema formatSebastian Reichel2-17/+42
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: bq24735: Convert to DT schema formatSebastian Reichel2-39/+89
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: bq2415x: Convert to DT schema formatSebastian Reichel2-47/+98
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: bq24190: Convert to DT schema formatSebastian Reichel2-61/+92
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: bq24257: Convert to DT schema formatSebastian Reichel2-62/+124
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: bq25890: Convert to DT schema formatSebastian Reichel2-60/+123
Convert the binding to DT schema format. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: cpcap-charger: Convert to DT schema formatSebastian Reichel2-40/+106
Convert the binding to DT schema format. I also added the missing bits used by the only in-tree user and implemented in the driver. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: power: supply: cpcap-battery: Convert to DT schema formatSebastian Reichel2-31/+87
Convert the binding to DT schema format. I also added the missing bits used by the only in-tree user and implemented in the driver. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: usb: dwc3-xilinx: Add documentation for Versal DWC3 ControllerManish Narani1-2/+26
Add documentation for Versal DWC3 controller. Add required property 'reg' for the same. Also add optional properties for snps,dwc3. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Manish Narani <manish.narani@xilinx.com> Link: https://lore.kernel.org/r/1615963949-75320-2-git-send-email-manish.narani@xilinx.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-23dt-bindings: usb: generic-ehci: document spurious-oc flagÁlvaro Fernández Rojas1-0/+6
Over-current reporting isn't supported on some platforms such as bcm63xx. These devices will incorrectly report over-current if this flag isn't properly activated. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/20210223174455.1378-3-noltari@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-23dt-bindings: usb: fix yamllint check warningChunfeng Yun1-3/+3
Fix warning: "missing starting space in comment" Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Link: https://lore.kernel.org/r/20210308053745.25697-1-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-23dt-bindings: PCI: ti,j721e: Add endpoint mode dt-bindings for TI's AM64 SoCKishon Vijay Abraham I1-4/+5
Add endpoint mode dt-bindings for TI's AM64 SoC. This is the same IP used in J7200, however AM64 is a non-coherent architecture. Link: https://lore.kernel.org/r/20210308063550.6227-4-kishon@ti.com Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Rob Herring <robh@kernel.org>
2021-03-23dt-bindings: PCI: ti,j721e: Add host mode dt-bindings for TI's AM64 SoCKishon Vijay Abraham I1-4/+7
Add host mode dt-bindings for TI's AM64 SoC. This is the same IP used in J7200, however AM64 is a non-coherent architecture. Link: https://lore.kernel.org/r/20210308063550.6227-3-kishon@ti.com Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Rob Herring <robh@kernel.org>