Vishwaroop A
4614fd6342
spi: dt-bindings: tegra: Document IOMMU property for Tegra234 QSPI
...
Add the 'iommus' property to the Tegra QSPI device tree binding.
The property is needed for Tegra234 when using the internal DMA
controller, and is not supported on other Tegra chips, as DMA is
handled by an external controller.
Signed-off-by: Vishwaroop A <va@nvidia.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Jon Hunter <jonathanh@nvidia.com >
Link: https://patch.msgid.link/20250513200043.608292-1-va@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2025-05-15 09:37:16 +02:00
Rob Herring
9f778f377c
spi: dt-bindings: Make "additionalProperties: true" explicit
...
Make it explicit that child nodes have additional properties and the
child node schema is not complete. The complete schemas are applied
separately based the compatible strings.
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Link: https://lore.kernel.org/r/20230925212614.1974243-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-09-26 09:50:01 +02:00
Krzysztof Kozlowski
ee8d422c91
spi: dt-bindings: cleanup examples - indentation, lowercase hex
...
Cleanup examples:
- use 4-space indentation (for cases when it is neither 4 not 2 space),
- drop redundant blank lines,
- use lowercase hex.
No functional impact except adjusting to preferred coding style.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be > # renesas
Reviewed-by: Andrew Jeffery <andrew@aj.id.au > # aspeed
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org > # meson
Link: https://lore.kernel.org/r/20230124083342.34869-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-01-25 12:39:14 +00:00
Krzysztof Kozlowski
99a7fa0e75
spi: dt-bindings: drop unneeded quotes
...
Cleanup by removing unneeded quotes from refs and redundant blank lines.
No functional impact except adjusting to preferred coding style.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Andrew Jeffery <andrew@aj.id.au > # aspeed
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org > # meson
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com > # st
Reviewed-by: Heiko Stuebner <heiko@sntech.de > # rockchip
Reviewed-by: Serge Semin <fancer.lancer@gmail.com > # synopsys
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230124083342.34869-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2023-01-25 12:39:13 +00:00
Rob Herring
7621aabdae
dt-bindings: Add missing start and/or end of line regex anchors
...
json-schema patterns by default will match anywhere in a string, so
typically we want at least the start or end anchored. Fix the obvious
cases where the anchors were forgotten.
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com >
Acked-by: Viresh Kumar <viresh.kumar@linaro.org >
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Link: https://lore.kernel.org/r/20221118223728.1721589-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-12-06 14:50:35 -06:00
Krishna Yarlagadda
4f37809f4c
spi: dt-bindings: Add compatible for Tegra241 QSPI
...
Add new compatible for Tegra241 QSPI controller which has
multiple chip select lines.
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com >
Link: https://lore.kernel.org/r/20220607114659.54314-4-kyarlagadda@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-06-13 13:28:31 +01:00
Krishna Yarlagadda
e23917822d
spi: dt-bindings: split peripheral prods
...
Move peripheral properties for Tegra QSPI controller to
nvidia,tegra210-quad-peripheral-props.yaml and add reference
to spi-peripheral-props.yaml file.
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com >
Link: https://lore.kernel.org/r/20220607114659.54314-3-kyarlagadda@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-06-13 13:28:30 +01:00
Jon Hunter
320689a1b5
spi: Fix Tegra QSPI example
...
When running dt_binding_check on the nvidia,tegra210-quad.yaml binding
document the following error is reported ...
nvidia,tegra210-quad.example.dt.yaml:0:0: /example-0/spi@70410000/flash@0:
failed to match any schema with compatible: ['spi-nor']
Update the example in the binding document to fix the above error.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Fixes: 9684752e5f ("dt-bindings: spi: Add Tegra Quad SPI device tree binding")
Link: https://lore.kernel.org/r/20220307113529.315685-1-jonathanh@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-03-07 13:16:10 +00:00
Krishna Yarlagadda
de2f678b11
spi: Add Tegra234 QUAD SPI compatible
...
Add compatible string for Tegra234 for Tegra QUAD SPI
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com >
Link: https://lore.kernel.org/r/20220222175611.58051-3-kyarlagadda@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2022-02-24 20:22:26 +00:00
Sowjanya Komatineni
9684752e5f
dt-bindings: spi: Add Tegra Quad SPI device tree binding
...
This patch adds YAML based device tree binding document for Tegra
Quad SPI driver.
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com >
Link: https://lore.kernel.org/r/1608585459-17250-3-git-send-email-skomatineni@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2021-01-06 13:09:28 +00:00