Samuel Holland
b925c1fdea
media: dt-bindings: media: Add compatible for D1
...
D1 contains a video engine similar to the one in other sunxi SoCs.
Add a compatible for it.
Signed-off-by: Samuel Holland <samuel@sholland.org >
Acked-by: Maxime Ripard <maxime@cerno.tech >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2021-12-07 11:29:54 +01:00
Rob Herring
0499220d6d
dt-bindings: Add missing array size constraints
...
DT properties which can have multiple entries need to specify what the
entries are and define how many entries there can be. In the case of
only a single entry, just 'maxItems: 1' is sufficient.
Add the missing entry constraints. These were found with a modified
meta-schema. Unfortunately, there are a few cases where the size
constraints are not defined such as common bindings, so the meta-schema
can't be part of the normal checks.
Cc: Jens Axboe <axboe@kernel.dk >
Cc: Stephen Boyd <sboyd@kernel.org >
Cc: Thierry Reding <thierry.reding@gmail.com >
Cc: MyungJoo Ham <myungjoo.ham@samsung.com >
Cc: Chanwoo Choi <cw00.choi@samsung.com >
Cc: Linus Walleij <linus.walleij@linaro.org >
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Cc: Jonathan Cameron <jic23@kernel.org >
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Marc Zyngier <maz@kernel.org >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Chen-Yu Tsai <wens@csie.org >
Cc: Ulf Hansson <ulf.hansson@linaro.org >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Jakub Kicinski <kuba@kernel.org >
Cc: Sebastian Reichel <sre@kernel.org >
Cc: Ohad Ben-Cohen <ohad@wizery.com >
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Sebastian Reichel <sre@kernel.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > #for-iio
Acked-by: Chanwoo Choi <cw00.choi@samsung.com >
Reviewed-by: Suman Anna <s-anna@ti.com >
Acked-by: Paul Cercueil <paul@crapouillou.net >
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Link: https://lore.kernel.org/r/20210104230253.2805217-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2021-01-11 17:42:25 -06:00
Martin Cerveny
4c7047b7dc
media: dt-bindings: media: cedrus: Add V3s compatible
...
Allwinner V3s SoC contains video engine. Add compatible for it.
Signed-off-by: Martin Cerveny <m.cerveny@computer.org >
Acked-by: Chen-Yu Tsai <wens@csie.org >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-12-03 07:36:25 +01:00
Jernej Skrabec
d41662e52a
media: dt-bindings: media: allwinner,sun4i-a10-video-engine: Add R40 compatible
...
Allwinner R40 SoC contains video engine. Add compatible for it.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net >
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-11-16 10:31:16 +01:00
Maxime Ripard
62a8ccf3a2
arm64: dts: allwinner: h6: Fix Cedrus IOMMU usage
...
Now that the IOMMU driver has been introduced, it prevents any access from
a DMA master going through it that hasn't properly mapped the pages, and
that link is set up through the iommus property.
Unfortunately we forgot to add that property to the video engine node when
adding the IOMMU node, so now any DMA access is broken.
Fixes: b3a0a2f910 ("arm64: dts: allwinner: h6: Add IOMMU")
Signed-off-by: Maxime Ripard <maxime@cerno.tech >
Link: https://lore.kernel.org/r/20200628180804.79026-1-maxime@cerno.tech
2020-07-16 10:10:30 +02:00
Maxime Ripard
fc0b90f63e
dt-bindings: media: Convert Allwinner hardware codec to a schema
...
The Allwinner SoCs have a hardware video codec that is supported in Linux,
with a matching Device Tree binding.
Now that we have the DT validation in place, let's convert the device tree
bindings for that controller over to a YAML schemas.
Signed-off-by: Maxime Ripard <maxime@cerno.tech >
Signed-off-by: Rob Herring <robh@kernel.org >
2019-12-17 19:57:14 -06:00