Michal Simek
37f225ecc2
dt-bindings: xilinx: Remove Naga from memory and mtd bindings
...
Naga is no longer works for AMD/Xilinx and there is no activity from him to
continue to maintain Xilinx related drivers. Two drivers have Miquel as
maintainer and for the last one add myself instead to be kept in a loop if
there is any change required.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/6b4cdc7158599b4a38409a03eda56e38975b6233.1683103250.git.michal.simek@amd.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-05-04 15:13:12 -05:00
Lucas Tanure
b413281876
of: fdt: Scan /memreserve/ last
...
Change the scanning /memreserve/ and /reserved-memory node order to fix
Kernel panic on Khadas Vim3 Board.
If /memreserve/ goes first, the memory is reserved, but nomap can't be
applied to the region. So the memory won't be used by Linux, but it is
still present in the linear map as normal memory, which allows
speculation. Legitimate access to adjacent pages will cause the CPU
to end up prefetching into them leading to Kernel panic.
So /reserved-memory node should go first, as it has a more updated
description of the memory regions and can apply flags, like nomap.
Link: https://lore.kernel.org/all/CAJX_Q+1Tjc+-TjZ6JW9X0NxEdFe=82a9626yL63j7uVD4LpxEA@mail.gmail.com/
Signed-off-by: Lucas Tanure <tanure@linux.com >
Link: https://lore.kernel.org/r/20230424113846.46382-1-tanure@linux.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-27 15:52:16 -05:00
Chris Paterson
6e0c2bf2ca
dt-bindings: clock: r9a06g032-sysctrl: Change maintainer to Fabrizio Castro
...
Gareth no longer works for Renesas.
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com >
Acked-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com >
Link: https://lore.kernel.org/r/20230426100925.12063-1-chris.paterson2@renesas.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-27 11:03:18 -05:00
Chris Paterson
d25728563d
dt-bindings: pinctrl: renesas,rzv2m: Change maintainer to Fabrizio Castro
...
Phil no longer works for Renesas.
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com >
Acked-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com >
Link: https://lore.kernel.org/r/20230426100832.11945-1-chris.paterson2@renesas.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-27 11:03:09 -05:00
Chris Paterson
ae98cbffcb
dt-bindings: pinctrl: renesas,rzn1: Change maintainer to Fabrizio Castro
...
Gareth no longer works for Renesas.
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com >
Acked-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com >
Link: https://lore.kernel.org/r/20230426100802.11860-1-chris.paterson2@renesas.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-27 11:02:57 -05:00
Chris Paterson
f30ec5df80
dt-bindings: i2c: renesas,rzv2m: Change maintainer to Fabrizio Castro
...
Phil no longer works for Renesas.
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com >
Acked-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com >
Link: https://lore.kernel.org/r/20230426100736.11808-1-chris.paterson2@renesas.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-27 11:02:39 -05:00
Rob Herring
66ae053516
dt-bindings: rng: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Florian Fainelli <f.fainelli@gmail.com > #brcm,iproc-rng200
Link: https://lore.kernel.org/r/20230327170153.4105594-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-20 16:30:03 -05:00
Rob Herring
4b71ed9fb2
dt-bindings: arm/soc: mediatek: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com >
Link: https://lore.kernel.org/r/20230322173501.3970991-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-20 15:43:21 -05:00
Rob Herring
2961ab0568
dt-bindings: soc: qcom: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230327170205.4106310-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-20 15:36:54 -05:00
Rob Herring
98530c34d0
dt-bindings: i2c: samsung: Fix 'deprecated' value
...
'deprecated' is a boolean type which should have a value of 'true' rather
than 'yes'.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230418150643.1529895-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-20 15:34:23 -05:00
Rob Herring
ed3d8f3efa
dt-bindings: display: Fix lvds.yaml references
...
The trailing "/" in "lvds.yaml/#" is not a valid JSON pointer. The existing
jsonschema package allows it, but coming changes make allowed "$ref" URIs
stricter.
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Link: https://lore.kernel.org/r/20230418150658.1535120-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-20 15:34:23 -05:00
Krzysztof Kozlowski
e5ace96f2c
dt-bindings: display: simplify compatibles syntax
...
Lists (items) with one item should be just const or enum because it is
shorter and simpler.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20230414104230.23165-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-18 18:46:21 -05:00
Krzysztof Kozlowski
112d5560a0
dt-bindings: display: mediatek: simplify compatibles syntax
...
Lists (items) with one item should be just enum because it is shorter,
simpler and does not confuse, if one wants to add new entry with a
fallback. Convert all of them to enums. OTOH, leave unused "oneOf"
entries in anticipation of further growth of the entire binding.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com >
Link: https://lore.kernel.org/r/20230414083311.12197-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-18 18:46:20 -05:00
Fabio Estevam
a31a6c2465
dt-bindings: drm/bridge: ti-sn65dsi86: Fix the video-interfaces.yaml references
...
video-interface.txt does not exist anymore, as it has been converted
to video-interfaces.yaml.
Instead of referencing video-interfaces.yaml multiple times,
pass it as a $ref to the schema.
Signed-off-by: Fabio Estevam <festevam@denx.de >
Link: https://lore.kernel.org/r/20230412175800.2537812-1-festevam@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-18 18:46:20 -05:00
Rob Herring
975b1e5018
dt-bindings: timer: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Reviewed-by: Thierry Reding <treding@nvidia.com >
Link: https://lore.kernel.org/r/20230327170146.4104556-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-18 18:46:20 -05:00
Krzysztof Kozlowski
6416a6ec1a
dt-bindings: interrupt-controller: qcom,pdc: document qcom,qdu1000-pdc
...
Add QDU1000 PDC, already used in upstreamed DTS.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230416102831.105136-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-18 18:46:20 -05:00
Bartosz Golaszewski
a1c86caa2c
dt-bindings: interrupt-controller: qcom-pdc: add compatible for sa8775p
...
Add a compatible for the Power Domain Controller on SA8775p platforms.
Increase the number of PDC pin mappings.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230417094635.302344-1-brgl@bgdev.pl
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-18 12:52:50 -05:00
Alain Volmat
5c899820ba
dt-bindings: reset: remove stih415/stih416 reset
...
Remove the stih415 and stih416 reset dt-bindings since those
two platforms are no more supported.
Signed-off-by: Alain Volmat <avolmat@me.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230416200442.61554-1-avolmat@me.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-18 12:48:50 -05:00
Alain Volmat
3f90faa360
dt-bindings: net: dwmac: sti: remove stih415/sti416/stid127
...
Remove compatible for stih415/stih416 and stid127 which are
no more supported.
Signed-off-by: Alain Volmat <avolmat@me.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com >
Link: https://lore.kernel.org/r/20230416195857.61284-1-avolmat@me.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-18 12:48:30 -05:00
Alain Volmat
ae087ca2b3
dt-bindings: irqchip: sti: remove stih415/stih416 and stid127
...
Remove bindings for the stih415/stih416/stid127 since they are
not supported within the kernel anymore.
Signed-off-by: Alain Volmat <avolmat@me.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230416190950.18929-1-avolmat@me.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-18 12:37:03 -05:00
Konrad Dybcio
d1115de6af
dt-bindings: iommu: Convert QCOM IOMMU to YAML
...
Convert the Qualcomm IOMMU bindings to YAML.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230406-topic-qciommu-v3-1-aa0e4f018191@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-12 09:36:14 -05:00
Vignesh Raghavendra
a0108409c7
dt-bindings: irqchip: ti,sci-inta: Add optional power-domains property
...
On certain SoCs, Interrupt Aggregator may have a power-domain dependency
to be on before accessing. Add DT binding for the same
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230407045111.531107-1-vigneshr@ti.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-11 08:19:32 -05:00
Rob Herring
e62fc18213
dt-bindings: Add missing (unevaluated|additional)Properties on child node schemas
...
Just as unevaluatedProperties or additionalProperties are required at
the top level of schemas, they should (and will) also be required for
child node schemas. That ensures only documented properties are
present.
Add unevaluatedProperties or additionalProperties as appropriate, and
then add any missing properties flagged by the addition.
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Lee Jones <lee@kernel.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230124230228.372305-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-05 15:38:38 -05:00
Geert Uytterhoeven
5eac0bdc78
of: address: Reshuffle to remove forward declarations
...
Reshuffle the code to get rid of the forward declarations, which
improves readability.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/b8701c04d27e51618444a747c4f4be5cc889ce28.1680248888.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:13 -05:00
Geert Uytterhoeven
65b6b046e2
of: address: Fix documented return value of of_pci_range_to_resource()
...
of_pci_range_to_resource() returns a negative instead of a positive
error code.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/bcdaa9332e9c6dfa27af68d79fda121eac2975dc.1680248888.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:13 -05:00
Geert Uytterhoeven
7be5e675c8
of: address: Document return value of of_address_to_resource()
...
Add the missing return value documentation to the linuxdoc comment block
for the of_address_to_resource() function.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/61ffcb5e87511dfa21af169efd04806101c48b8a.1680248888.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:13 -05:00
Conor Dooley
dc8ea9204b
dt-bindings: move cache controller bindings to a cache directory
...
There's a bunch of bindings for (mostly l2) cache controllers
scattered to the four winds, move them to a common directory.
I renamed the freescale l2cache.txt file, as while that might make sense
when the parent dir is fsl, it's confusing after the move.
The two Marvell bindings have had a "marvell," prefix added to match
their compatibles.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20230330173255.109731-1-conor@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:13 -05:00
Neil Armstrong
0291b586ef
dt-bindings: timer: convert timer/amlogic,meson6-timer.txt to dt-schema
...
Convert the Amlogic Meson6 SoCs Timer Controller bindings to dt-schema.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20221117-b4-amlogic-bindings-convert-v5-1-63781bed4452@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:13 -05:00
Krzysztof Kozlowski
41d7e4f257
dt-bindings: vendor-prefixes: document Novatek
...
Document Novatek vendor prefix already used for Novatek nt36672a panel.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230326155719.91780-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:13 -05:00
Peng Fan
ef998faf9f
dt-bindings: crypto: sec-v4.0-mon: add snvs power off support
...
Add SNVS power off support. The SNVS_LP LPCR register could
drive signal to PMIC to turn off system power.
Signed-off-by: Peng Fan <peng.fan@nxp.com >
Link: https://lore.kernel.org/r/20230323123907.103719-1-peng.fan@oss.nxp.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:12 -05:00
Rob Herring
68b8960a65
dt-bindings: mailbox: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20230322173449.3970718-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:12 -05:00
Rob Herring
a65f2cf65f
dt-bindings: reset: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Florian Fainelli <f.fainelli@gmail.com > # Broadcom
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20230322173508.3971182-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:12 -05:00
Rob Herring
fcb52d7dea
dt-bindings: input: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com > # for mediatek,mt6779-keypad.yaml
Link: https://lore.kernel.org/r/20230320234718.2930154-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:12 -05:00
Rob Herring
81c00b5881
dt-bindings: watchdog: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com >
Acked-by: Hector Martin <marcan@marcan.st >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Florian Fainelli <f.fainelli@gmail.com > #brcm,bcm7038-wdt.yaml
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230317233643.3969019-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:12 -05:00
Rob Herring
f550162395
dt-bindings: PCI: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230320233911.2920364-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:12:12 -05:00
Rob Herring
72e418c478
dt-bindings: reserved-memory: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Thierry Reding <treding@nvidia.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230327170122.4103518-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:01:58 -05:00
Rob Herring
5bae6ac119
dt-bindings: ata: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru >
Link: https://lore.kernel.org/r/20230327170053.4100949-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:01:58 -05:00
Rob Herring
43d78445da
dt-bindings: interrupt-controller: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230320233928.2920693-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-04-04 12:01:52 -05:00
Rob Herring
3267197782
dt-bindings: clock: Drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Stephen Boyd <sboyd@kernel.org >
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/20230322173549.3972106-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-31 10:00:53 -05:00
Uwe Kleine-König
c9c9d764da
of: unittest: Convert to platform remove callback returning void
...
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is (mostly) ignored
and this typically results in resource leaks. To improve here there is a
quest to make the remove callback return void. In the first step of this
quest all drivers are converted to .remove_new() which already returns
void.
Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Link: https://lore.kernel.org/r/20230319100620.295849-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-20 14:59:08 -05:00
Uwe Kleine-König
13cd9ac670
of: unittest: Drop if blocks with always false condition
...
unittest_gpio_remove() is only called after unittest_gpio_probe() completed
successfully. In this case driver data was set to a non-NULL value and so
platform_get_drvdata() never returns NULL.
Also note that the compiler might optimize away this check anyhow as
devptr was already dereferenced for the dev_dbg call above.
Drop this if block.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Link: https://lore.kernel.org/r/20230319100620.295849-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-20 14:59:08 -05:00
Uwe Kleine-König
5cdade2d77
of: unittest: Drop call to platform_set_drvdata(..., NULL)
...
The driver core already unsets driver data after .remove() completes.
So there is no reason to do this explicitly in the driver itself.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de >
Link: https://lore.kernel.org/r/20230319100620.295849-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-20 14:59:08 -05:00
Rob Herring
0415d5a010
dt-bindings: crypto: fsl,sec-v4.0: Convert to DT schema
...
Convert Freescale CAAM/SEC4 binding to DT schema format. The
'fsl,sec-v4.0' and 'fsl,sec-v4.0-mon' parts are independent, so split
them into separate schema files.
Add a bunch of missing compatibles for v5.0, v5.4, etc. Drop unused
'ranges', '#address-cells', and '#size-cells' from fsl,sec-v4.0-mon nodes.
There's one DTB warning for LS1012a which has a 2nd 'reg' entry for
'fsl,sec-v4.0-rtic'. Leaving that as there is no clue as to what it is for.
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com >
Reviewed-by: Peng Fan <peng.fan@nxp.com >
Link: https://lore.kernel.org/r/20230220213334.353779-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-17 16:31:20 -05:00
Bernhard Rosenkränzer
41be03c8a9
dt-bindings: serial: mediatek,uart: add MT8365
...
Add binding description for mediatek,mt8365-uart
Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Link: https://lore.kernel.org/r/20230309213501.794764-3-bero@baylibre.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-11 07:45:03 -06:00
Bernhard Rosenkränzer
0558891ce1
dt-bindings: irq: mtk, sysirq: add support for mt8365
...
Add binding documentation of mediatek,sysirq for mt8365 SoC.
Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com >
Link: https://lore.kernel.org/r/20230309213501.794764-2-bero@baylibre.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-11 07:44:16 -06:00
Rob Herring
d0dcd0ce84
dt-bindings: yamllint: Require a space after a comment '#'
...
Enable yamllint to check the preferred commenting style of requiring a
space after a comment character '#'. Fix the cases in the tree which
have a warning with this enabled. Most cases just need a space after the
'#'. A couple of cases with comments which were not intended to be
comments are revealed. Those were in ti,sa2ul.yaml, ti,cal.yaml, and
brcm,bcmgenet.yaml.
Acked-by: Jakub Kicinski <kuba@kernel.org >
Acked-by: Mark Brown <broonie@kernel.org >
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org > # drm/msm
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Stephen Boyd <sboyd@kernel.org >
Link: https://lore.kernel.org/r/20230303214223.49451-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-08 09:04:53 -06:00
Rob Herring
20a72af11f
dt-bindings: Fix SPI and I2C bus node names in examples
...
SPI and I2C bus node names are expected to be "spi" or "i2c",
respectively, with nothing else, a unit-address, or a '-N' index. A
pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these
cases. Mostly scripted with the following commands:
git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e 's/i2c[0-9] {/i2c {/'
git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e 's/spi[0-9] {/spi {/'
With this, a few errors in examples were exposed and fixed.
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Reviewed-by: Stephen Boyd <sboyd@kernel.org >
Reviewed-by: Simon Glass <sjg@chromium.org >
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de > # for the microchip,mcp251xfd.yaml
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com > # for power-supply
Acked-by: Wolfram Sang <wsa@kernel.org >
Acked-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20230228215433.3944508-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-08 09:04:53 -06:00
Krzysztof Kozlowski
ab82b4f1bc
dt-bindings: display/bridge: toshiba,tc358764: convert to dtschema
...
Convert the Toshiba TC358764 bridge bindings to DT schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230225160252.18737-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-07 18:31:46 -06:00
Krzysztof Kozlowski
844f5ed5f5
dt-bindings: display: bridge: parade,ps8622: convert to dtschema
...
Convert the Parade PS8622/PS8625 DisplayPort to LVDS Converter bindings
to DT schema. Changes during conversion: add missing vdd12-supply, used
by Linux driver.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230221170955.62448-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-07 18:31:46 -06:00
Konrad Dybcio
36b3ff496e
dt-bindings: arm: Add Cortex-A78C and X1C
...
Add compatibles for the Cortex-A78C and X1C cores found in some
recent flagship designs.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230224130759.45579-1-konrad.dybcio@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-07 18:31:46 -06:00