platform/kernel/linux-starfive.git
4 years agodt-bindings: rtc: rtc-sh: Add missing power-domains property
Geert Uytterhoeven [Tue, 19 May 2020 07:49:53 +0000 (09:49 +0200)]
dt-bindings: rtc: rtc-sh: Add missing power-domains property

make dtbs_check:

    arch/arm/boot/dts/r7s72100-rskrza1.dt.yaml: rtc@fcff1000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'

Fix this by documenting the missing power-domains property.
Update the example to match reality.

Fixes: 7ae8b2f5dfb357f0 ("dt-bindings: rtc: rtc-sh: convert bindings to json-schema")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: media: Add missing clock domain description
Geert Uytterhoeven [Tue, 19 May 2020 07:42:29 +0000 (09:42 +0200)]
dt-bindings: media: Add missing clock domain description

make dtbs_check:

    arch/arm/boot/dts/r7s72100-genmai.dt.yaml: camera@e8210000: 'clocks', 'power-domains' do not match any of the regexes: 'pinctrl-[0-9]+'

Fix this by documenting the missing properties.
Update the example to match reality.

Fixes: 58361eaa11d561f3 ("dt-bindings: media: renesas,ceu: Convert to yaml")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: timer: Convert i.MX SYSCTR to json-schema
Anson Huang [Tue, 19 May 2020 03:55:47 +0000 (11:55 +0800)]
dt-bindings: timer: Convert i.MX SYSCTR to json-schema

Convert the i.MX SYSCTR binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: timer: Convert i.MX TPM to json-schema
Anson Huang [Tue, 19 May 2020 03:55:46 +0000 (11:55 +0800)]
dt-bindings: timer: Convert i.MX TPM to json-schema

Convert the i.MX TPM binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: vendor-prefixes: Add MikroTik
Jonathan McDowell [Mon, 18 May 2020 18:09:31 +0000 (19:09 +0100)]
dt-bindings: vendor-prefixes: Add MikroTik

MikroTik (SIA Mikrotīkls) is a Latvian company who develop routers and
wireless ISP systems.

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: clock: Convert i.MX7D clock to json-schema
Anson Huang [Mon, 18 May 2020 14:52:34 +0000 (22:52 +0800)]
dt-bindings: clock: Convert i.MX7D clock to json-schema

Convert the i.MX7D clock binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: interrupt-controller: Convert imx irqsteer to json-schema
Anson Huang [Mon, 18 May 2020 08:35:57 +0000 (16:35 +0800)]
dt-bindings: interrupt-controller: Convert imx irqsteer to json-schema

Convert the i.MX IRQSTEER binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: gpio: renesas, rcar-gpio: Add r8a7742 (RZ/G1H) support
Lad Prabhakar [Fri, 15 May 2020 15:45:27 +0000 (16:45 +0100)]
dt-bindings: gpio: renesas, rcar-gpio: Add r8a7742 (RZ/G1H) support

Renesas RZ/G1H (R8A7742) SoC GPIO blocks are identical to the R-Car Gen2
family. Add support for its GPIO controllers.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: power: renesas,apmu: Document r8a7742 support
Lad Prabhakar [Fri, 15 May 2020 15:08:54 +0000 (16:08 +0100)]
dt-bindings: power: renesas,apmu: Document r8a7742 support

Document APMU and SMP enable method for RZ/G1H (also known as r8a7742)
SoC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: net: renesas,ether: Document R8A7742 SoC
Lad Prabhakar [Fri, 15 May 2020 15:08:51 +0000 (16:08 +0100)]
dt-bindings: net: renesas,ether: Document R8A7742 SoC

Document RZ/G1H (R8A7742) SoC bindings.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: net: renesas, ravb: Add support for r8a7742 SoC
Lad Prabhakar [Fri, 15 May 2020 15:08:50 +0000 (16:08 +0100)]
dt-bindings: net: renesas, ravb: Add support for r8a7742 SoC

Document RZ/G1H (R8A7742) SoC bindings.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: ata: renesas,rcar-sata: Add r8a7742 support
Lad Prabhakar [Fri, 15 May 2020 15:08:48 +0000 (16:08 +0100)]
dt-bindings: ata: renesas,rcar-sata: Add r8a7742 support

Document SATA support for the RZ/G1H, which is compatible with
R-Car Gen2 SoC family.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: i2c: renesas, iic: Document r8a7742 support
Lad Prabhakar [Fri, 15 May 2020 15:08:42 +0000 (16:08 +0100)]
dt-bindings: i2c: renesas, iic: Document r8a7742 support

Document IIC controller for RZ/G1H (R8A7742) SoC, which is compatible
with R-Car Gen2 SoC family.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: i2c: renesas, i2c: Document r8a7742 support
Lad Prabhakar [Fri, 15 May 2020 15:08:41 +0000 (16:08 +0100)]
dt-bindings: i2c: renesas, i2c: Document r8a7742 support

Document i2c controller for RZ/G1H (R8A7742) SoC, which is compatible
with R-Car Gen2 SoC family.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: serial: renesas,scifa: Remove part numbers from comments
Geert Uytterhoeven [Fri, 15 May 2020 13:12:02 +0000 (15:12 +0200)]
dt-bindings: serial: renesas,scifa: Remove part numbers from comments

The conversion to json-schema accidentally retained some SoC part
numbers in comments for compatible values.  Drop them, as they're part
of the compatible values anyway.

Fixes: 384d00fae8e51f8f ("dt-bindings: serial: sh-sci: Convert to json-schema")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: serial: renesas,scifa: Document r8a7742 bindings
Lad Prabhakar [Sun, 3 May 2020 21:46:47 +0000 (22:46 +0100)]
dt-bindings: serial: renesas,scifa: Document r8a7742 bindings

RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible SCIFA ports,
so document the SoC specific bindings.

Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: pwm: Convert mxs pwm to json-schema
Anson Huang [Thu, 14 May 2020 11:41:10 +0000 (19:41 +0800)]
dt-bindings: pwm: Convert mxs pwm to json-schema

Convert the mxs pwm binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: auxdisplay: hd44780: Convert to json-schema
Geert Uytterhoeven [Thu, 14 May 2020 11:30:02 +0000 (13:30 +0200)]
dt-bindings: auxdisplay: hd44780: Convert to json-schema

Convert the Hitachi HD44780 Character LCD Controller Device Tree binding
documentation to json-schema.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: display: anx7814.txt: convert to yaml
Ricardo Cañuelo [Thu, 14 May 2020 10:12:35 +0000 (12:12 +0200)]
dt-bindings: display: anx7814.txt: convert to yaml

This converts the Analogix ANX7814 bridge DT binding to yaml. Port
definitions and descriptions were expanded, apart from that it's a
direct translation from the original binding.

Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: pwm: Convert imx tpm pwm to json-schema
Anson Huang [Thu, 14 May 2020 06:54:19 +0000 (14:54 +0800)]
dt-bindings: pwm: Convert imx tpm pwm to json-schema

Convert the imx tpm pwm binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: pwm: Convert imx pwm to json-schema
Anson Huang [Thu, 14 May 2020 06:54:18 +0000 (14:54 +0800)]
dt-bindings: pwm: Convert imx pwm to json-schema

Convert the imx pwm binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: rtc: Convert MXC RTC V2 to json-schema
Anson Huang [Thu, 14 May 2020 06:13:25 +0000 (14:13 +0800)]
dt-bindings: rtc: Convert MXC RTC V2 to json-schema

Convert the MXC RTC V2 binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: rtc: Convert MXC RTC to json-schema
Anson Huang [Thu, 14 May 2020 06:13:24 +0000 (14:13 +0800)]
dt-bindings: rtc: Convert MXC RTC to json-schema

Convert the MXC RTC binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: thermal: rcar-gen3-thermal: Convert bindings to json-schema
Niklas Söderlund [Wed, 13 May 2020 15:12:01 +0000 (17:12 +0200)]
dt-bindings: thermal: rcar-gen3-thermal: Convert bindings to json-schema

Convert Renesas R-Car Gen3 Thermal bindings documentation to
json-schema.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agomfd: madera: Move binding over to dtschema
Charles Keepax [Wed, 13 May 2020 09:57:20 +0000 (10:57 +0100)]
mfd: madera: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
[robh: Drop $ref on *-supply]
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agopinctrl: madera: Move binding over to dtschema
Charles Keepax [Wed, 13 May 2020 09:57:19 +0000 (10:57 +0100)]
pinctrl: madera: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agoASoC: madera: Move binding over to dtschema
Charles Keepax [Wed, 13 May 2020 09:57:18 +0000 (10:57 +0100)]
ASoC: madera: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agomfd: arizona: Move binding over to dtschema
Charles Keepax [Wed, 13 May 2020 09:57:17 +0000 (10:57 +0100)]
mfd: arizona: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
[robh: Drop ref from *-supply]
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agoASoC: arizona: Move binding over to dtschema
Charles Keepax [Wed, 13 May 2020 09:57:16 +0000 (10:57 +0100)]
ASoC: arizona: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agoextcon: arizona: Move binding over to dtschema
Charles Keepax [Wed, 13 May 2020 09:57:15 +0000 (10:57 +0100)]
extcon: arizona: Move binding over to dtschema

Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agoregulator: arizona-regulator: Move binding over to dtschema
Charles Keepax [Wed, 13 May 2020 09:57:14 +0000 (10:57 +0100)]
regulator: arizona-regulator: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: watchdog: Convert UniPhier watchdog timer to json-schema
Kunihiko Hayashi [Wed, 13 May 2020 05:42:25 +0000 (14:42 +0900)]
dt-bindings: watchdog: Convert UniPhier watchdog timer to json-schema

Convert UniPhier watchdog timer binding to DT schema format.

Cc: Keiji Hayashibara <hayashibara.keiji@socionext.com>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt/platform: Fix comment in of_dev_lookup()
Qi Zheng [Sun, 24 May 2020 15:26:14 +0000 (23:26 +0800)]
dt/platform: Fix comment in of_dev_lookup()

The code is using of_dev_lookup() rather than of_devname_lookup().

Signed-off-by: Qi Zheng <arch0.zheng@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agoof: Fix a refcounting bug in __of_attach_node_sysfs()
Dan Carpenter [Wed, 20 May 2020 12:04:14 +0000 (15:04 +0300)]
of: Fix a refcounting bug in __of_attach_node_sysfs()

The problem in this code is that if kobject_add() fails, then it should
call of_node_put(np) to drop the reference count.  I've actually moved
the of_node_get(np) later in the function to avoid needing to do clean
up.

Fixes: 5b2c2f5a0ea3 ("of: overlay: add missing of_node_get() in __of_attach_node_sysfs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agomfd: lochnagar: Move binding over to dtschema
Charles Keepax [Tue, 12 May 2020 15:23:58 +0000 (16:23 +0100)]
mfd: lochnagar: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agoclk: lochnagar: Move binding over to dtschema
Charles Keepax [Tue, 12 May 2020 15:23:57 +0000 (16:23 +0100)]
clk: lochnagar: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agopinctrl: lochnagar: Move binding over to dtschema
Charles Keepax [Tue, 12 May 2020 15:23:56 +0000 (16:23 +0100)]
pinctrl: lochnagar: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agoASoC: lochnagar: Move binding over to dtschema
Charles Keepax [Tue, 12 May 2020 15:23:55 +0000 (16:23 +0100)]
ASoC: lochnagar: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agohwmon: lochnagar: Move binding over to dtschema
Charles Keepax [Tue, 12 May 2020 15:23:54 +0000 (16:23 +0100)]
hwmon: lochnagar: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: watchdog: renesas,wdt: Document r8a7742 support
Lad Prabhakar [Wed, 27 May 2020 16:29:27 +0000 (17:29 +0100)]
dt-bindings: watchdog: renesas,wdt: Document r8a7742 support

RZ/G1H (R8A7742) watchdog implementation is compatible with R-Car Gen2,
therefore add relevant documentation.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: vendor-prefixes: Add Shanghai Awinic Technology Co., Ltd.
Nikita Travkin [Mon, 11 May 2020 11:11:26 +0000 (16:11 +0500)]
dt-bindings: vendor-prefixes: Add Shanghai Awinic Technology Co., Ltd.

Add the "awinic" vendor prefix for Shanghai Awinic Technology Co., Ltd.
Website: https://www.awinic.com/

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Nikita Travkin <nikitos.tr@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: clock: Convert i.MX6UL clock to json-schema
Anson Huang [Wed, 13 May 2020 00:11:24 +0000 (08:11 +0800)]
dt-bindings: clock: Convert i.MX6UL clock to json-schema

Convert the i.MX6UL clock binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: clock: Convert i.MX6SLL clock to json-schema
Anson Huang [Wed, 13 May 2020 00:11:23 +0000 (08:11 +0800)]
dt-bindings: clock: Convert i.MX6SLL clock to json-schema

Convert the i.MX6SLL clock binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: clock: Convert i.MX6SL clock to json-schema
Anson Huang [Wed, 13 May 2020 00:11:22 +0000 (08:11 +0800)]
dt-bindings: clock: Convert i.MX6SL clock to json-schema

Convert the i.MX6SL clock binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: clock: Convert i.MX6SX clock to json-schema
Anson Huang [Wed, 13 May 2020 00:11:21 +0000 (08:11 +0800)]
dt-bindings: clock: Convert i.MX6SX clock to json-schema

Convert the i.MX6SX clock binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: clock: Convert i.MX6Q clock to json-schema
Anson Huang [Wed, 13 May 2020 00:11:20 +0000 (08:11 +0800)]
dt-bindings: clock: Convert i.MX6Q clock to json-schema

Convert the i.MX6Q clock binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: usb: qcom,dwc3: Add compatible for SC7180
Sandeep Maheswaram [Thu, 21 May 2020 15:38:19 +0000 (21:08 +0530)]
dt-bindings: usb: qcom,dwc3: Add compatible for SC7180

Add compatible for SC7180 in usb dwc3 bindings.

Signed-off-by: Sandeep Maheswaram <sanm@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: usb: qcom,dwc3: Convert USB DWC3 bindings
Sandeep Maheswaram [Thu, 21 May 2020 15:38:18 +0000 (21:08 +0530)]
dt-bindings: usb: qcom,dwc3: Convert USB DWC3 bindings

Convert USB DWC3 bindings to DT schema format using json-schema.

Signed-off-by: Sandeep Maheswaram <sanm@codeaurora.org>
[robh: fixup example warnings]
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: nvmem: stm32: new property for data access
Etienne Carriere [Tue, 12 May 2020 13:13:34 +0000 (15:13 +0200)]
dt-bindings: nvmem: stm32: new property for data access

Introduce boolean property st,non-secure-otp for OTP data located
in a factory programmed area that only secure firmware can access
by default and that shall be reachable from the non-secure world.

This change also allows additional properties for NVMEM nodes that
were forbidden prior this change.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: eeprom: at24: Fix list of page sizes for writing
Geert Uytterhoeven [Tue, 12 May 2020 12:24:47 +0000 (14:24 +0200)]
dt-bindings: eeprom: at24: Fix list of page sizes for writing

"258" is an odd power-of-two ;-)
Obviously this is a typo, and the intended value is "256".

Fixes: 7f3bf4203774013b ("dt-bindings: at24: convert the binding document to yaml")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodrivers/of: keep description of function consistent with function name
chenqiwu [Mon, 11 May 2020 15:04:57 +0000 (23:04 +0800)]
drivers/of: keep description of function consistent with function name

Currently, there are some descriptions of function not
consistent with function name, fixing them will make
the code more readable.

Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodocs/devicetree/i2c: brcm,bcm2835: fix node id in example
Kangmin Park [Sun, 10 May 2020 19:58:21 +0000 (04:58 +0900)]
docs/devicetree/i2c: brcm,bcm2835: fix node id in example

This is a trivial patch to fix node id to match the reg in example.

Signed-off-by: Kangmin Park <l4stpr0gr4m@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: serial: qca,ar9330-uart: Convert to json-schema
Oleksij Rempel [Sun, 10 May 2020 05:15:22 +0000 (07:15 +0200)]
dt-bindings: serial: qca,ar9330-uart: Convert to json-schema

Convert the Qualcomm Atheros AR9330 High-Speed UART
Device Tree binding documentation to json-schema.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: ehci/ohci: Allow iommus property
Andre Przywara [Wed, 13 May 2020 10:30:16 +0000 (11:30 +0100)]
dt-bindings: ehci/ohci: Allow iommus property

A OHCI/EHCI controller could be behind an IOMMU, in which case an iommus
property assigns the stream ID for this device.

Allow that property in the DT bindings to fix a complaint about the Arm Juno
board's DTS file.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: mali-midgard: Allow dma-coherent
Andre Przywara [Wed, 13 May 2020 10:30:15 +0000 (11:30 +0100)]
dt-bindings: mali-midgard: Allow dma-coherent

Add the boolean dma-coherent property to the list of allowed properties,
since some boards (Arm Juno) integrate the GPU this way.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: arm: gic: Allow combining arm,gic-400 compatible strings
Andre Przywara [Wed, 13 May 2020 10:29:57 +0000 (11:29 +0100)]
dt-bindings: arm: gic: Allow combining arm,gic-400 compatible strings

The arm,gic-400 compatible is probably the best matching string for the
GIC in most modern SoCs, but was only introduced later into the kernel.
For historic reasons and to keep compatibility, some SoC DTs were thus
using a combination of this name and one of the older strings, which
currently the binding denies.

Add a stanza to the DT binding to allow "arm,gic-400", followed by
either "arm,cortex-a15-gic" or "arm,cortex-a7-gic". This fixes binding
compliance for quite some SoC .dtsi files in the kernel tree.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: irqchip: renesas-intc-irqpin: Convert to json-schema
Yoshihiro Kaneko [Thu, 7 May 2020 07:55:03 +0000 (09:55 +0200)]
dt-bindings: irqchip: renesas-intc-irqpin: Convert to json-schema

Convert the Renesas Interrupt Controller (INTC) for external pins Device
Tree binding documentation to json-schema.

Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Co-developed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
[robh: drop allOf]
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: Fix incorrect 'reg' property sizes
Rob Herring [Tue, 12 May 2020 20:45:43 +0000 (15:45 -0500)]
dt-bindings: Fix incorrect 'reg' property sizes

The examples template is a 'simple-bus' with a size of 1 cell for
had between 2 and 4 cells which really only errors on I2C or SPI type
devices with a single cell.

The easiest fix in most cases is to change the 'reg' property to for 1 cell
address and size. In some cases with child devices having 2 cells, that
doesn't make sense so a bus node is needed.

Acked-by: Stephen Boyd <sboyd@kernel.org> # clk
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: ufs: ti: Add missing 'additionalProperties: false'
Rob Herring [Tue, 12 May 2020 20:45:42 +0000 (15:45 -0500)]
dt-bindings: ufs: ti: Add missing 'additionalProperties: false'

The ti,j721e-ufs schema is missing an 'additionalProperties: false'. Add
that and and the missing assigned-clock properties.

Acked-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: ufs: ti: Fix address properties handling
Rob Herring [Tue, 12 May 2020 20:45:41 +0000 (15:45 -0500)]
dt-bindings: ufs: ti: Fix address properties handling

The ti,j721e-ufs schema and example have a couple of problems related to
address properties. First, the default #size-cells and #address-cells
are 1 for examples, so they need to be overriden with a bus node.
Second, address translation for the child ufs node is broken because
'ranges', '#address-cells', and '#size-cells' are missing from the
schema.

Acked-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: usb: ehci: Add missing 2nd register region
Rob Herring [Tue, 12 May 2020 20:45:40 +0000 (15:45 -0500)]
dt-bindings: usb: ehci: Add missing 2nd register region

The 'ibm,usb-ehci-440epx' compatible has a 2nd 'reg' region, but the
schema says there is only 1 region. Fix this.

Cc: linux-usb@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agospi: dt-bindings: sifive: Add missing 2nd register region
Rob Herring [Tue, 12 May 2020 20:45:39 +0000 (15:45 -0500)]
spi: dt-bindings: sifive: Add missing 2nd register region

The 'reg' description and example have a 2nd register region for memory
mapped flash, but the schema says there is only 1 region. Fix this.

Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: linux-spi@vger.kernel.org
Cc: linux-riscv@lists.infradead.org
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: serial: renesas,hscif: Document r8a7742 bindings
Lad Prabhakar [Wed, 6 May 2020 19:51:32 +0000 (20:51 +0100)]
dt-bindings: serial: renesas,hscif: Document r8a7742 bindings

RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible HSCIF ports,
so document the SoC specific bindings.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: serial: renesas,scifb: Document r8a7742 bindings
Lad Prabhakar [Wed, 6 May 2020 19:51:31 +0000 (20:51 +0100)]
dt-bindings: serial: renesas,scifb: Document r8a7742 bindings

RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible SCIFB ports,
so document the SoC specific bindings.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: serial: renesas,scif: Document r8a7742 bindings
Lad Prabhakar [Wed, 6 May 2020 19:51:30 +0000 (20:51 +0100)]
dt-bindings: serial: renesas,scif: Document r8a7742 bindings

RZ/G1H (R8A7742) SoC also has the R-Car gen2 compatible SCIF ports,
so document the SoC specific bindings.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: irqchip: renesas-irqc: Document r8a7742 bindings
Lad Prabhakar [Wed, 6 May 2020 19:51:28 +0000 (20:51 +0100)]
dt-bindings: irqchip: renesas-irqc: Document r8a7742 bindings

Document SoC specific bindings for RZ/G1H (r8a7742) SoC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: Add vendor prefix for Baikal Electronics, JSC
Serge Semin [Wed, 6 May 2020 17:42:21 +0000 (20:42 +0300)]
dt-bindings: Add vendor prefix for Baikal Electronics, JSC

Add "BAIKAL ELECTRONICS, JSC" to the list of devicetree vendor prefixes
as "baikal".

Website: http://www.baikalelectronics.com

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-mips@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: vendor-prefixes: Add Vaisala
Vesa Jääskeläinen [Sun, 3 May 2020 09:33:55 +0000 (12:33 +0300)]
dt-bindings: vendor-prefixes: Add Vaisala

Vaisala Oyj is a company based in Finland and also has subsidiaries in other
countries. Vaisala develops, manufactures and markets innovative products and
services for environmental and industrial measurement.

https://www.vaisala.com/

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: vendor-prefixes: Add U-Boot bootloader prefix
Michal Simek [Thu, 30 Apr 2020 09:31:27 +0000 (11:31 +0200)]
dt-bindings: vendor-prefixes: Add U-Boot bootloader prefix

List U-Boot project in vendor prefixes.

For more information take a look at:
https://en.wikipedia.org/wiki/Das_U-Boot
Source code is available here:
https://gitlab.denx.de/u-boot/u-boot

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: thermal: Convert UniPhier thermal monitor to json-schema
Kunihiko Hayashi [Thu, 30 Apr 2020 03:05:34 +0000 (12:05 +0900)]
dt-bindings: thermal: Convert UniPhier thermal monitor to json-schema

Convert the UniPhier thermal monitor binding to DT schema format.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: phy: Convert UniPhier USB3-PHY conroller to json-schema
Kunihiko Hayashi [Tue, 28 Apr 2020 06:34:50 +0000 (15:34 +0900)]
dt-bindings: phy: Convert UniPhier USB3-PHY conroller to json-schema

Convert the UniPhier USB3-PHY controller for SS/HS to DT schema format.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: phy: Convert UniPhier USB2-PHY controller to json-schema
Kunihiko Hayashi [Tue, 28 Apr 2020 06:34:49 +0000 (15:34 +0900)]
dt-bindings: phy: Convert UniPhier USB2-PHY controller to json-schema

Convert the UniPhier USB2-PHY conroller to DT schema format.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: phy: Convert UniPhier PCIe-PHY controller to json-schema
Kunihiko Hayashi [Tue, 28 Apr 2020 06:34:48 +0000 (15:34 +0900)]
dt-bindings: phy: Convert UniPhier PCIe-PHY controller to json-schema

Convert the UniPhier PCIe-PHY controller to DT schema format.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: timer: renesas: ostm: Convert to json-schema
Geert Uytterhoeven [Mon, 27 Apr 2020 19:32:24 +0000 (21:32 +0200)]
dt-bindings: timer: renesas: ostm: Convert to json-schema

Convert the Renesas OS Timer (OSTM) Device Tree binding documentation to
json-schema.

Document missing properties.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: watchdog: renesas-wdt: Convert to json-schema
Geert Uytterhoeven [Mon, 27 Apr 2020 19:25:22 +0000 (21:25 +0200)]
dt-bindings: watchdog: renesas-wdt: Convert to json-schema

Convert the Renesas Watchdog Timer (WDT) Controller Device Tree binding
documentation to json-schema.

Add missing "renesas,r8a77980-wdt" compatible value.
Document missing properties.
Update the example to match reality.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: gpio: rcar: Convert to json-schema
Geert Uytterhoeven [Mon, 27 Apr 2020 19:22:59 +0000 (21:22 +0200)]
dt-bindings: gpio: rcar: Convert to json-schema

Convert the Renesas General-Purpose Input/Output Ports (GPIO) Device
Tree binding documentation to json-schema.

Drop the deprecated "renesas,gpio-rcar" compatible value.
Document missing properties.
Drop the first example, as it doesn't add much value.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: serial: Convert ingenic,uart.txt to YAML
Paul Cercueil [Sun, 26 Apr 2020 18:58:55 +0000 (20:58 +0200)]
dt-bindings: serial: Convert ingenic,uart.txt to YAML

Convert the ingenic,uart.txt to a new ingenic,uart.yaml file.

A few things were changed in the process:
- the dmas and dma-names properties are now required.
- the ingenic,jz4770-uart and ingenic,jz4775-uart compatible strings now
  require the ingenic,jz4760-uart string to be used as fallback, since
  the hardware is compatible.
- the ingenic,jz4725b-uart compatible string was added, with a fallback
  to ingenic,jz4740-uart.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: i2c: Convert i2c-jz4780.txt to YAML
Paul Cercueil [Sun, 26 Apr 2020 18:58:54 +0000 (20:58 +0200)]
dt-bindings: i2c: Convert i2c-jz4780.txt to YAML

Convert the i2c-jz4780.txt file to ingenic,i2c.yaml.

Two things were changed in the process:
- the clock-frequency property can now only be set to the two values
  that can be set by the hardware;
- the dmas and dma-names properties are now required.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[robh: add ref to i2c-controller.yaml]
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: intc: Convert ingenic,intc.txt to YAML
Paul Cercueil [Sun, 26 Apr 2020 18:58:50 +0000 (20:58 +0200)]
dt-bindings: intc: Convert ingenic,intc.txt to YAML

Convert the ingenic,intc.txt doc file to ingenic,intc.yaml.

Some compatible strings now require a fallback, as the controller
generally works the same across the SoCs families.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: clock: Convert ingenic,cgu.txt to YAML
Paul Cercueil [Sun, 26 Apr 2020 18:58:49 +0000 (20:58 +0200)]
dt-bindings: clock: Convert ingenic,cgu.txt to YAML

Convert the ingenic,cgu.txt doc file to ingenic,cgu.yaml.

The binding documentation has been updated as well. The node can have a
child node that corresponds to the USB PHY, which happens to be present
in the middle of the CGU registers.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: timer: Document allwinner,erratum-unknown1 property
Samuel Holland [Sun, 26 Apr 2020 16:20:32 +0000 (11:20 -0500)]
dt-bindings: timer: Document allwinner,erratum-unknown1 property

This arch_timer property was added in commit c950ca8c35ee
("clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability")
but I omitted the device tree binding documentation. Now
`make dtbs_check` prints the following warning for all A64 boards:

timer: 'allwinner,erratum-unknown1' does not match any of the regexes: 'pinctrl-[0-9]+'

Resolve this by documenting the erratum property.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: usb: dwc2: add power-domains property
Johan Jonker [Sat, 25 Apr 2020 17:08:33 +0000 (19:08 +0200)]
dt-bindings: usb: dwc2: add power-domains property

A test with the command below gives this error:

arch/arm64/boot/dts/rockchip/px30-evb.dt.yaml: usb@ff300000:
'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'

With the conversion to yaml it also filters things
in a node that are used by other drivers like
'power-domains' for Rockchip px30 usb nodes,
so add them to 'dwc2.yaml'.

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/usb/dwc2.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: gpu: add power-domains #cooling-cells to arm,mali-bifrost.yaml
Johan Jonker [Sat, 25 Apr 2020 15:40:37 +0000 (17:40 +0200)]
dt-bindings: gpu: add power-domains #cooling-cells to arm,mali-bifrost.yaml

A test with the command below gives this error:

arch/arm64/boot/dts/rockchip/px30-evb.dt.yaml: gpu@ff400000:
'#cooling-cells', 'power-domains'
do not match any of the regexes: 'pinctrl-[0-9]+'

With the conversion to yaml it also filters things
in a node that are used by other drivers like
'#cooling-cells' and 'power-domains'
for Rockchip px30 gpu nodes,
so add them to 'arm,mali-bifrost.yaml'.

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/gpu/
arm,mali-bifrost.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: sh_eth: Sort compatible string in increasing number of the SoC
Lad Prabhakar [Fri, 24 Apr 2020 10:38:15 +0000 (11:38 +0100)]
dt-bindings: sh_eth: Sort compatible string in increasing number of the SoC

Sort the items in the compatible string list in increasing number of SoC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: at24: add microchip, 24lc[0-9]+ to the compatible pattern
Masahiro Yamada [Wed, 22 Apr 2020 14:18:36 +0000 (23:18 +0900)]
dt-bindings: at24: add microchip, 24lc[0-9]+ to the compatible pattern

arch/arm/boot/dts/uniphier-ref-daughter.dtsi has

  compatible = "microchip,24lc128", "atmel,24c128";

and 'make ARCH=arm dtbs_check' warns this:

  eeprom@50: compatible: ['microchip,24lc128', 'atmel,24c128'] is not valid under any of the given schemas (Possible causes of the failure)

Microchip 24LC128 is the device used on this board, and I see it in
https://www.microchip.com/wwwproducts/en/24LC128

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: watchdog: Convert i.MX7ULP to json-schema
Anson Huang [Tue, 21 Apr 2020 14:21:26 +0000 (22:21 +0800)]
dt-bindings: watchdog: Convert i.MX7ULP to json-schema

Convert the i.MX7ULP watchdog binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: watchdog: Convert i.MX to json-schema
Anson Huang [Tue, 21 Apr 2020 14:21:25 +0000 (22:21 +0800)]
dt-bindings: watchdog: Convert i.MX to json-schema

Convert the i.MX watchdog binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: nvmem: Convert MXS OCOTP to json-schema
Anson Huang [Tue, 21 Apr 2020 14:09:41 +0000 (22:09 +0800)]
dt-bindings: nvmem: Convert MXS OCOTP to json-schema

Convert the MXS OCOTP binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: nvmem: Convert i.MX IIM to json-schema
Anson Huang [Tue, 21 Apr 2020 14:09:40 +0000 (22:09 +0800)]
dt-bindings: nvmem: Convert i.MX IIM to json-schema

Convert the i.MX IIM binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: nvmem: Convert i.MX OCOTP to json-schema
Anson Huang [Tue, 21 Apr 2020 14:09:39 +0000 (22:09 +0800)]
dt-bindings: nvmem: Convert i.MX OCOTP to json-schema

Convert the i.MX OCOTP binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: gpio: Convert i.MX to json-schema
Anson Huang [Tue, 21 Apr 2020 14:03:43 +0000 (22:03 +0800)]
dt-bindings: gpio: Convert i.MX to json-schema

Convert the i.MX GPIO binding to DT schema format using json-schema.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: thermal: Convert i.MX8MM to json-schema
Anson Huang [Tue, 21 Apr 2020 13:59:04 +0000 (21:59 +0800)]
dt-bindings: thermal: Convert i.MX8MM to json-schema

Convert the i.MX8MM thermal binding to DT schema format using json-schema

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodt-bindings: iommu: renesas,ipmmu-vmsa: convert to json-schema
Yoshihiro Shimoda [Tue, 21 Apr 2020 05:15:52 +0000 (14:15 +0900)]
dt-bindings: iommu: renesas,ipmmu-vmsa: convert to json-schema

Convert Renesas VMSA-Compatible IOMMU bindings documentation
to json-schema.

Note that original documentation doesn't mention renesas,ipmmu-vmsa
for R-Mobile APE6. But, R-Mobile APE6 is similar to the R-Car
Gen2. So, renesas,ipmmu-r8a73a4 belongs the renesas,ipmmu-vmsa
section.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodocs: dt: convert writing-bindings.txt to ReST
Mauro Carvalho Chehab [Wed, 15 Apr 2020 14:45:26 +0000 (16:45 +0200)]
docs: dt: convert writing-bindings.txt to ReST

- Add a SPDX header;
- Adjust document and section titles;
- Mark literal blocks as such;
- Add it to bindings/index.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodocs: dt: convert submitting-patches.txt to ReST format
Mauro Carvalho Chehab [Wed, 15 Apr 2020 14:45:25 +0000 (16:45 +0200)]
docs: dt: convert submitting-patches.txt to ReST format

- Add a SPDX header;
- Adjust document and section titles;
- Mark literal blocks as such;
- Add it to bindings/index.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodocs: dt: convert ABI.txt to ReST format
Mauro Carvalho Chehab [Wed, 15 Apr 2020 14:45:24 +0000 (16:45 +0200)]
docs: dt: convert ABI.txt to ReST format

This file only requires a properly-formatted title to be
recognized as a ReST file.

As there will be more files under bindings/ that will be
included at the documentation body, add a new index.rst
file there.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodocs: dt: convert overlay-notes.txt to ReST format
Mauro Carvalho Chehab [Wed, 15 Apr 2020 14:45:22 +0000 (16:45 +0200)]
docs: dt: convert overlay-notes.txt to ReST format

- Add a SPDX header;
- Adjust document title;
- Some whitespace fixes and new line breaks;
- Mark literal blocks as such;
- Add it to devicetree/index.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodocs: dt: convert of_unittest.txt to ReST
Mauro Carvalho Chehab [Wed, 15 Apr 2020 14:45:21 +0000 (16:45 +0200)]
docs: dt: convert of_unittest.txt to ReST

- Add a SPDX header;
- Adjust document and section titles;
- Adjust numerated list markups;
- Some whitespace fixes and new line breaks;
- Mark literal blocks as such;
- Add it to devicetree/index.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodocs: dt: convert dynamic-resolution-notes.txt to ReST
Mauro Carvalho Chehab [Wed, 15 Apr 2020 14:45:20 +0000 (16:45 +0200)]
docs: dt: convert dynamic-resolution-notes.txt to ReST

- Add a SPDX header;
- Adjust document title;
- Add it to devicetree/index.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
4 years agodocs: dt: convert changesets to ReST
Mauro Carvalho Chehab [Wed, 15 Apr 2020 14:45:19 +0000 (16:45 +0200)]
docs: dt: convert changesets to ReST

- Add a SPDX header;
- Add a document title;
- Some whitespace fixes and new line breaks;
- Add it to devicetree/index.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>