Krzysztof Kozlowski
1581355bd0
dt-bindings: ufs: cdns,ufshc: convert to dtschema
...
Convert the Cadence Universal Flash Storage (UFS) Controlle to DT schema
format.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-4-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:53 -06:00
Krzysztof Kozlowski
cebe22345f
dt-bindings: ufs: samsung,exynos-ufs: use common bindings
...
Use common UFS bindings in Samsung Exynos UFS to cover generic/common
properties in DTS.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-3-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:53 -06:00
Krzysztof Kozlowski
8544073271
dt-bindings: ufs: add common platform bindings
...
Add bindings for common parts (platform) of Universal Flash Storage
(UFS) Host Controllers in dtschema format.
Include also the bindings directory in the UFS maintainers entry.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220306111125.116455-2-krzysztof.kozlowski@canonical.com
2022-03-08 10:42:53 -06:00
Krzysztof Kozlowski
a45194b9de
MAINTAINERS: dt-bindings: update Krzysztof Kozlowski's email
...
Use Krzysztof Kozlowski's @kernel.org account in dt-bindings maintainer
entry.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220307172901.156929-1-krzysztof.kozlowski@canonical.com
2022-03-07 14:56:20 -06:00
Rob Herring
ea87f1eb4f
dt-bindings: arm: Allow 32-bit 'cpu-release-addr' values
...
While the DT Spec says 'cpu-release-addr' is always 64-bit, some 32-bit Arm
DTs used a 32-bit value. We're now stuck with those cases, so add uint32 as
a valid type.
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20220303165710.1859862-1-robh@kernel.org
2022-03-04 16:11:59 -06:00
Rob Herring
309d955985
dt-bindings: kbuild: Support partial matches with DT_SCHEMA_FILES
...
DT_SCHEMA_FILES is currently restricted to a list of exact files with
the full source tree path (i.e. Documentation/devicetree/bindings/...).
Loosen this requirement and let DT_SCHEMA_FILES be a partial match.
With this, checking all schema files in a directory is possible:
$ make DT_SCHEMA_FILES=/gpio/ dt_binding_check
Or all schema files with 'qcom' in the path or filename:
$ make DT_SCHEMA_FILES=qcom dt_binding_check
Cc: Masahiro Yamada <masahiroy@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Link: https://lore.kernel.org/r/20220228201006.1484903-1-robh@kernel.org
2022-03-03 14:30:52 -06:00
Rob Herring
dca669354e
dt-bindings: Another pass removing cases of 'allOf' containing a '$ref'
...
Another pass at removing unnecessary use of 'allOf' with a '$ref'.
json-schema versions draft7 and earlier have a weird behavior in that
any keywords combined with a '$ref' are ignored (silently). The correct
form was to put a '$ref' under an 'allOf'. This behavior is now changed
in the 2019-09 json-schema spec and '$ref' can be mixed with other
keywords.
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Cc: Thierry Reding <thierry.reding@gmail.com >
Cc: Sam Ravnborg <sam@ravnborg.org >
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: Pavel Machek <pavel@ucw.cz >
Cc: Guenter Roeck <groeck@chromium.org >
Cc: Richard Weinberger <richard@nod.at >
Cc: Vignesh Raghavendra <vigneshr@ti.com >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Kishon Vijay Abraham I <kishon@ti.com >
Cc: Sebastian Reichel <sre@kernel.org >
Cc: Mathieu Poirier <mathieu.poirier@linaro.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Mark Brown <broonie@kernel.org >
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-by: Marek Behún <kabel@kernel.org >
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Jakub Kicinski <kuba@kernel.org >
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20220228213802.1639658-1-robh@kernel.org
2022-03-02 14:02:57 -06:00
Lad Prabhakar
53157759f5
dt-bindings: usb: renesas,usbhs: Document RZ/V2L bindings
...
Document RZ/V2L (R9A07G054) SoC bindings. USBHS block is identical to one
found on RZ/A2 SoC. No driver changes are required as generic compatible
string "renesas,rza2-usbhs" will be used as a fallback.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220227231531.32279-1-prabhakar.mahadev-lad.rj@bp.renesas.com
2022-03-01 09:38:19 -06:00
Lad Prabhakar
f866a7ae12
dt-bindings: reset: renesas,rzg2l-usbphy-ctrl: Document RZ/V2L USBPHY Control bindings
...
Add device tree binding document for RZ/V2L USBPHY Control Device.
RZ/V2L USBPHY Control Device is identical to one found on the RZ/G2L SoC.
No driver changes are required as generic compatible string
"renesas,rzg2l-usbphy-ctrl" will be used as a fallback.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220227230302.30388-1-prabhakar.mahadev-lad.rj@bp.renesas.com
2022-03-01 09:38:00 -06:00
Lad Prabhakar
7419553d03
dt-bindings: timer: renesas: ostm: Document Renesas RZ/V2L OSTM
...
Document the General Timer Module(a.k.a OSTM) found on the RZ/V2L SoC.
OSTM module is identical to one found RZ/G2L SoC. No driver changes are
required as generic compatible string "renesas,ostm" will be used as a
fallback.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220227224845.27348-1-prabhakar.mahadev-lad.rj@bp.renesas.com
2022-03-01 09:35:28 -06:00
Lad Prabhakar
eb1e49e04a
dt-bindings: i2c: renesas,riic: Document RZ/V2L SoC
...
Document RZ/V2L I2C bindings. RZ/V2L I2C is identical to one found on
the RZ/G2L SoC. No driver changes are required as RZ/G2L compatible
string "renesas,riic-rz" will be used as a fallback.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220227214747.24819-1-prabhakar.mahadev-lad.rj@bp.renesas.com
2022-03-01 09:34:55 -06:00
Lad Prabhakar
c205cac49e
dt-bindings: net: can: renesas,rcar-canfd: Document RZ/V2L SoC
...
Document RZ/V2L CANFD bindings. RZ/V2L CANFD is identical to one found on
the RZ/G2L SoC. No driver changes are required as generic compatible
string "renesas,rzg2l-canfd" will be used as a fallback.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220227213250.23637-1-prabhakar.mahadev-lad.rj@bp.renesas.com
2022-03-01 09:28:36 -06:00
Frank Rowand
8e4296c286
of: unittest: add program to process EXPECT messages
...
If unittest detects a problem it will print a warning or error message
to the console. Unittest also triggers warning and error messages from
other kernel code as a result of intentionally bad unittest data. This
has led to confusion as to whether the triggered messages are an
expected result of a test or whether there is a real problem that is
independent of unittest.
EXPECT messages were added to unittest to report each triggered message
that is expected, resulting in verbose console output.
scripts/dtc/of_unittest is a new program that processes the EXPECT
messages to determine whether the triggered messages occurred and
also removes the excess verbosity of the EXPECT messages. More
information is available from 'scripts/dtc/of_unittest_expect --help'.
Signed-off-by: Frank Rowand <frank.rowand@sony.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220201181413.2719955-1-frowand.list@gmail.com
2022-02-28 15:20:32 -06:00
Geert Uytterhoeven
4eb7b1339c
dt-bindings: timer: sifive,clint: Group interrupt tuples
...
To improve human readability and enable automatic validation, the tuples
in "interrupts-extended" properties should be grouped using angle
brackets.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Anup Patel <anup@brainfault.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/62bf4ee6613550c07a99d4bd226ab0d33acae4c4.1643360652.git.geert@linux-m68k.org
2022-02-28 13:55:29 -06:00
Geert Uytterhoeven
73b9f6389e
dt-bindings: timer: sifive,clint: Fix number of interrupts
...
The number of interrupts lacks an upper bound, thus assuming one,
causing properly grouped "interrupts-extended" properties to be flagged
as an error by "make dtbs_check".
Fix this by adding the missing "maxItems", using the architectural
maximum of 4095 interrupts.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org >
Acked-by: Rob Herring <robh@kernel.org >
Reviewed-by: Anup Patel <anup@brainfault.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/e6a4c5b20d2acb52125d7d6e6c7e3694d7cb182c.1643360652.git.geert@linux-m68k.org
2022-02-28 13:55:28 -06:00
Robin Murphy
10d7e31249
dt-bindings: reserved-memory: Add restricted-dma-pool constraints
...
The "restricted-dma-pool" definition prohibits combination with either
of the "no-map" and "reusable" properties, but this is only stated in
the description text. Add those constraints to the schema so we can
properly validate them.
Signed-off-by: Robin Murphy <robin.murphy@arm.com >
Acked-by: Florian Fainelli <f.fainelli@gmail.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/a4f3d4e2feef008d1236ebc3f5f0c46360f20c60.1645119806.git.robin.murphy@arm.com
2022-02-24 16:32:30 -06:00
Krzysztof Kozlowski
418adabeb3
dt-bindings: example: Extend with typical case (int-array and disallowed prop)
...
Extend the example with:
- an array where each element has constraints (min/max value),
- property not allowed in case of different compatible.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220223073547.8746-2-krzysztof.kozlowski@canonical.com
2022-02-24 09:55:56 -06:00
Krzysztof Kozlowski
2b709a7209
dt-bindings: writing-schema: Install from PyPI repository
...
Installing dtschema from github.com/devicetree-org is not needed anymore
because dtschema is now part of regular PyPI repository. In certain
cases it might cause some troubles as it brings latest master version,
not the stable release:
$ pip3 show dtschema
Version: 2020.8.2.dev4+g341f3e3
$ make dt_binding_check
dtschema minimum version is v2020.8.1
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com >
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220223073547.8746-1-krzysztof.kozlowski@canonical.com
2022-02-24 09:55:32 -06:00
Krzysztof Kozlowski
16234ef1d2
dt-bindings: usb: do not use deprecated synopsys prefix
...
The "synopsys" prefix and "synopsys,dwc3" compatible are deprecated.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220221082228.34407-3-krzysztof.kozlowski@canonical.com
2022-02-22 16:06:07 -06:00
Krzysztof Kozlowski
aaffb26991
dt-bindings: vendor-prefixes: add second Synopsys prefix
...
There are few bindings with compatibles starting with a "synopsys"
prefix. Document it as deprecated, to be sure no new usages will
appear.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220221082228.34407-2-krzysztof.kozlowski@canonical.com
2022-02-22 16:06:06 -06:00
Krzysztof Kozlowski
5dad90f360
dt-bindings: vendor-prefixes: add second HiSilicon prefix
...
There are few boards DTS using "hisi,rst-syscon" property -
undocumented "hisi" prefix. The property will not be changed in DTS to
non-deprecated one, because of compatibility reasons. Add deprecated
"hisi" prefix to silence DT schema warnings.
Cc: Wei Xu <xuwei5@hisilicon.com >
Cc: David Heidelberg <david@ixit.cz >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: David Heidelberg <david@ixit.cz >
Reviewed-by: Wei Xu <xuwei5@hisilicon.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220221082228.34407-1-krzysztof.kozlowski@canonical.com
2022-02-22 16:06:06 -06:00
Corentin Labbe
5d16dcd252
dt-bindings: convert ata/cortina,gemini-sata-bridge to yaml
...
This patch converts ata/cortina,gemini-sata-bridge binding to yaml
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com >
Signed-off-by: Corentin Labbe <clabbe@baylibre.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220211120157.3385145-1-clabbe@baylibre.com
2022-02-17 17:34:05 -06:00
Tudor Ambarus
44c75c9e3d
dt-bindings: crypto: Convert Atmel SHA to yaml
...
Convert Atmel SHA documentation to yaml format. With the conversion the
clock and clock-names properties are made mandatory. The driver returns
-EINVAL if "sha_clk" is not found, reflect that in the bindings and make
the clock and clock-names properties mandatory. Update the example to
better describe how one should define the dt node.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220211093922.456634-4-tudor.ambarus@microchip.com
2022-02-17 17:29:06 -06:00
Tudor Ambarus
d63b583f68
dt-bindings: crypto: Convert Atmel TDES to yaml
...
Convert Atmel TDES documentation to yaml format. With the conversion the
clock and clock-names properties are made mandatory. The driver returns
-EINVAL if "tdes_clk" is not found, reflect that in the bindings and make
the clock and clock-names properties mandatory. Update the example to
better describe how one should define the dt node.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220211093922.456634-3-tudor.ambarus@microchip.com
2022-02-17 17:28:44 -06:00
Tudor Ambarus
c8f2ad6869
dt-bindings: crypto: Convert Atmel AES to yaml
...
Convert Atmel AES documentation to yaml format. With the conversion the
clock and clock-names properties are made mandatory. The driver returns
-EINVAL if "aes_clk" is not found, reflect that in the bindings and make
the clock and clock-names properties mandatory. Update the example to
better describe how one should define the dt node.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220211093922.456634-2-tudor.ambarus@microchip.com
2022-02-17 17:28:29 -06:00
Nick Hawkins
2e8185fccd
dt-bindings: vendor-prefixes: add HPE Prefix
...
Description: This patch adds the Hewlett Packard Enterprise prefix
that will be used for upcoming support in the HPE BMC GXP.
Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220210175912.102159-1-nick.hawkins@hpe.com
2022-02-17 14:26:52 -06:00
Frank Rowand
54eb8dc8f3
of: unittest: print pass messages at PR_INFO level
...
Printing the devicetree unittest pass message for each passed test
creates much console verbosity. The existing pass messages are
printed at loglevel KERN_DEBUG so they will not print by default.
Change default to print the pass messages at loglevel PR_INFO so
they will print with the default console loglevel.
The test community expects either a pass or a fail message for each
test in a test suite. The messages are typically post-processed to
report pass/fail results.
Signed-off-by: Frank Rowand <frank.rowand@sony.com >
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220210230819.3303212-1-frowand.list@gmail.com
2022-02-15 13:59:35 -06:00
Fabrice Gasnier
4936413808
dt-bindings: timer: armv7m-systick: convert to dtschema
...
Convert the ARMv7-M system timer bindings to DT schema format.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com >
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/1644414747-22159-1-git-send-email-fabrice.gasnier@foss.st.com
2022-02-11 11:01:30 -06:00
Oleksij Rempel
bd79e84c65
dt-bindings: net: ethernet-controller: document label property
...
"label" provides human readable name used on a box, board or schematic
to identify Ethernet port.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220209082820.2210753-1-o.rempel@pengutronix.de
2022-02-11 10:52:07 -06:00
Zenghui Yu
c2687295df
dt-bindings: arm: Trivial typo fixes in cpu-capacity.txt
...
Correct the spelling of 'cluster1@max-freq' and fix the wrong
capacity-dmips-mhz value 576 (which should be 578 instead).
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220208070300.1610-1-yuzenghui@huawei.com
2022-02-11 10:36:58 -06:00
David Heidelberg
e044e3e696
dt-bindings: display: bridge: document Toshiba TC358768 cells and panel node
...
Inherit valid properties from the dsi-controller.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com >
Signed-off-by: David Heidelberg <david@ixit.cz >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220207223911.97180-1-david@ixit.cz
2022-02-11 10:32:31 -06:00
Quentin Schulz
b4ba994f26
dt-bindings: ltk050h3146w: replace Heiko Stuebner by myself as maintainer
...
Heiko does not work at Theobroma Systems anymore and the boards using
those panels are downstream, maintained internally by the company, so
let's relieve Heiko of maintainership duties.
Cc: Heiko Stuebner <heiko@sntech.de >
Cc: Quentin Schulz <foss+kernel@0leil.net >
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com >
Acked-by: Heiko Stuebner <heiko@sntech.de >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220131165439.717713-1-quentin.schulz@theobroma-systems.com
2022-02-09 18:39:08 -06:00
Nicolas Ferre
3a36eb031b
dt-bindings: rng: atmel,at91-trng: update maintainers entry
...
Update according to new MAINTAINERS entry.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com >
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com >
Acked-by: Claudiu Beznea <claudiu.beznea@microchip.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/d84760e0b81c338e01f7856e1ce3c5b600b08f23.1643553619.git.nicolas.ferre@microchip.com
2022-02-09 18:29:00 -06:00
Dinh Nguyen
59dfdc13ca
dt-bindings: net: can: fix dtbs warning
...
Mute the warning from "make dtbs_check":
Documentation/devicetree/bindings/net/can/bosch,m_can.example.dt.yaml:
can@20e8000: bosch,mram-cfg: [[0, 0, 0, 32, 0, 0, 0, 1]] is too short
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220128133142.2135718-1-dinguyen@kernel.org
2022-02-09 18:26:41 -06:00
Krzysztof Kozlowski
e4fc20d74a
dt-bindings: display: samsung,exynos-fimd: convert to dtschema
...
Convert the S3C/S5P/Exynos FIMD bindings to DT schema format.
The conversion includes also updates to the bindings, matching the
current DTS and Linux driver: adding optional iommus and power-domains.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220208171823.226211-11-krzysztof.kozlowski@canonical.com
2022-02-09 17:00:16 -06:00
Krzysztof Kozlowski
4c5e180b83
dt-bindings: display: samsung,exynos5433-mic: convert to dtschema
...
Convert the Exynos5433 MIC bindings to DT schema format.
The conversion includes also updates to the bindings, matching the
current DTS and Linux driver: adding optional power-domains.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220208171823.226211-10-krzysztof.kozlowski@canonical.com
2022-02-09 16:59:32 -06:00
Krzysztof Kozlowski
a5032991e1
dt-bindings: display: samsung,exynos-hdmi: convert to dtschema
...
Convert the Exynos HDMI bindings to DT schema format.
The conversion includes also updates to the bindings, matching the
current DTS and Linux driver:
1. Add required properties: VDD supplies, power-domains.
2. Add optional properties: HDMI-EN supply, ports.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220208171823.226211-9-krzysztof.kozlowski@canonical.com
2022-02-09 16:54:17 -06:00
Krzysztof Kozlowski
68e89bb36d
dt-bindings: display: samsung,exynos-mixer: convert to dtschema
...
Convert the Exynos Mixer bindings to DT schema format.
The conversion includes also updates to the bindings, matching the
current DTS and Linux driver:
1. Add clocks required on Exynos4210 and Exynos4212 types of Mixer.
2. Add second memory range on Exynos4210 and Exynos4212.
3. Add interconnects, iommus and power-domains.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220208171823.226211-8-krzysztof.kozlowski@canonical.com
2022-02-09 16:52:01 -06:00
Krzysztof Kozlowski
6b15415e03
dt-bindings: display: samsung,exynos-hdmi-ddc: convert to dtschema
...
Convert the Exynos HDMI DDC bindings to DT schema format.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220208171823.226211-7-krzysztof.kozlowski@canonical.com
2022-02-09 16:49:58 -06:00
Krzysztof Kozlowski
5c45a11b61
dt-bindings: display: samsung,exynos7-decon: convert to dtschema
...
Convert the Exynos7 DECON display controller bindings to DT schema
format.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220208171823.226211-6-krzysztof.kozlowski@canonical.com
2022-02-09 16:39:55 -06:00
Krzysztof Kozlowski
f16fe2d3b4
dt-bindings: display: samsung,exynos5433-decon: convert to dtschema
...
Convert the Exynos5433 DECON display controller bindings to DT schema
format.
The conversion includes also updates to the bindings, matching the
current DTS and Linux driver:
1. Require "fifo" interrupt.
2. Add "dsd" as a last clock.
3. Document "power-domains" and "iommus" properties.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220208171823.226211-5-krzysztof.kozlowski@canonical.com
2022-02-09 16:38:42 -06:00
Krzysztof Kozlowski
e87d05d85a
dt-bindings: phy: samsung,exynos-hdmi-phy: convert to dtschema
...
Convert the Exynos HDMI PHY bindings to DT schema format and put them
next to other PHYs.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220208171823.226211-4-krzysztof.kozlowski@canonical.com
2022-02-09 16:37:50 -06:00
Tony Lindgren
31fc1c63c2
dt-bindings: clock: Add binding for TI clksel
...
In order to prepare for fixing lots of devicetree unique_unit_address
warnings for the TI clock nodes, let's add a binding for the TI clksel
clocks. This allows us to move the overlapping reg properties for the
component clocks to be children of the related clksel nodes. And with
that we need the reg property only for the parent clksel node making
the reg property unique like it should be.
We want to set #clock-cells = <2> in case we ever start parsing ranges
of clkcsel instances directly using a clksel driver rather than using the
existing component clock drivers and child nodes.
And before the devicetree files can be updated, we need to update the
TI clock drivers to get the IO address from the parent clksel node.
Cc: Tero Kristo <kristo@kernel.org >
Signed-off-by: Tony Lindgren <tony@atomide.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220203073929.59296-1-tony@atomide.com
2022-02-09 16:01:00 -06:00
Corentin Labbe
208b65f7b5
dt-bindings: net: convert net/cortina,gemini-ethernet to yaml
...
Converts net/cortina,gemini-ethernet.txt to yaml
This permits to detect some missing properties like interrupts
Signed-off-by: Corentin Labbe <clabbe@baylibre.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220201144940.2488782-1-clabbe@baylibre.com
2022-02-09 15:47:55 -06:00
Jonathan Neuschäfer
f4e82f190e
dt-bindings: timer: nuvoton,npcm7xx-timer: Convert to YAML
...
Let's convert this devicetree binding to YAML, to make it easier to
extend later.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220130102704.2892072-1-j.neuschaefer@gmx.net
2022-02-09 15:13:53 -06:00
Krzysztof Kozlowski
d71ea59122
dt-bindings: vendor-prefixes: clarify HP prefix
...
There are two independent companies: "HP Inc." and "Hewlett Packard
Enterprise". Clarify that "hp" prefix is about the first one.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220127075229.10299-1-krzysztof.kozlowski@canonical.com
2022-02-08 21:36:58 -06:00
Stanislav Jakubek
e84d3a45cc
dt-bindings: trivial-devices: make comment indentation consistent
...
Makes the comment indentation consistent across the board.
Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220114172155.GA3677@standask-GA-A55M-S2HP
2022-02-08 20:37:11 -06:00
Krzysztof Kozlowski
056d38576a
dt-bindings: i2c: samsung,s3c2410-i2c: convert to dtschema
...
Convert the Samsung S3C24xx/S3C64xx/S5PV210/Exynos SoC I2C Controller
bindings to DT schema format.
The conversion includes also changes/fixes to the bindings, matching the
real hardware and existing Linux driver:
1. Do not require interrupts on samsung,exynos5-sata-phy-i2c, because
there is no such.
2. Do not allow gpios on samsung,exynos5-sata-phy-i2c, because they are
hard-wired just like for HDMI phy.
3. Do not require samsung,i2c-sda-delay and use default of 0.
4. Require clock, which was always required but missing in bindings.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220131172713.208976-1-krzysztof.kozlowski@canonical.com
2022-02-07 13:18:44 -06:00
Krzysztof Kozlowski
d029175f14
MAINTAINERS: dt-bindings: Add Krzysztof Kozlowski
...
Add Krzysztof Kozlowski as a second maintainer for the Devicetree
bindings, to share the Rob's workload and help in review.
Cc: devicetree@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220204161851.138874-1-krzysztof.kozlowski@canonical.com
2022-02-04 11:52:18 -06:00
Thomas Bracht Laumann Jespersen
a8b309ce97
scripts/dtc: Call pkg-config POSIXly correct
...
Running with POSIXLY_CORRECT=1 in the environment the scripts/dtc build
fails, because pkg-config doesn't output anything when the flags come
after the arguments.
Fixes: 067c650c45 ("dtc: Use pkg-config to locate libyaml")
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220131112028.7907-1-t@laumann.xyz
2022-02-04 09:43:43 -06:00