| From 55a23ec24200c1c7d48156856c89dfb280ef490c Mon Sep 17 00:00:00 2001 |
| From: Jacopo Mondi <jacopo+renesas@jmondi.org> |
| Date: Thu, 26 Apr 2018 14:24:42 -0400 |
| Subject: [PATCH 1565/1795] media: dt-bindings: media: renesas-ceu: Add |
| R-Mobile R8A7740 |
| |
| Add R-Mobile A1 R8A7740 SoC to the list of compatible values for the CEU |
| unit. |
| |
| Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> |
| Reviewed-by: Rob Herring <robh@kernel.org> |
| Reviewed-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> |
| (cherry picked from commit 5377f3c3312e14b6f664b2db80ab3915e247ab28) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| Documentation/devicetree/bindings/media/renesas,ceu.txt | 7 ++++--- |
| drivers/media/platform/renesas-ceu.c | 1 + |
| 2 files changed, 5 insertions(+), 3 deletions(-) |
| |
| diff --git a/Documentation/devicetree/bindings/media/renesas,ceu.txt b/Documentation/devicetree/bindings/media/renesas,ceu.txt |
| index 3fc66dfb192c..8a7a616e9019 100644 |
| --- a/Documentation/devicetree/bindings/media/renesas,ceu.txt |
| +++ b/Documentation/devicetree/bindings/media/renesas,ceu.txt |
| @@ -2,14 +2,15 @@ Renesas Capture Engine Unit (CEU) |
| ---------------------------------------------- |
| |
| The Capture Engine Unit is the image capture interface found in the Renesas |
| -SH Mobile and RZ SoCs. |
| +SH Mobile, R-Mobile and RZ SoCs. |
| |
| The interface supports a single parallel input with data bus width of 8 or 16 |
| bits. |
| |
| Required properties: |
| -- compatible: Shall be "renesas,r7s72100-ceu" for CEU units found in RZ/A1H |
| - and RZ/A1M SoCs. |
| +- compatible: Shall be one of the following values: |
| + "renesas,r7s72100-ceu" for CEU units found in RZ/A1H and RZ/A1M SoCs |
| + "renesas,r8a7740-ceu" for CEU units found in R-Mobile A1 R8A7740 SoCs |
| - reg: Registers address base and size. |
| - interrupts: The interrupt specifier. |
| |
| diff --git a/drivers/media/platform/renesas-ceu.c b/drivers/media/platform/renesas-ceu.c |
| index 7214ccdbb152..7d4b07d6c505 100644 |
| --- a/drivers/media/platform/renesas-ceu.c |
| +++ b/drivers/media/platform/renesas-ceu.c |
| @@ -1555,6 +1555,7 @@ static const struct ceu_data ceu_data_sh4 = { |
| #if IS_ENABLED(CONFIG_OF) |
| static const struct of_device_id ceu_of_match[] = { |
| { .compatible = "renesas,r7s72100-ceu", .data = &ceu_data_rz }, |
| + { .compatible = "renesas,r8a7740-ceu", .data = &ceu_data_rz }, |
| { } |
| }; |
| MODULE_DEVICE_TABLE(of, ceu_of_match); |
| -- |
| 2.19.0 |
| |