diff mbox series

[v4,09/13] dt-bindings: display: bridge: lvds-codec: Document ti,ds90cf384a

Message ID 1573660292-10629-10-git-send-email-fabrizio.castro@bp.renesas.com
State Not Applicable, archived
Headers show
Series Add LCD panel support to iwg20d | expand

Checks

Context Check Description
robh/checkpatch success
robh/dt-meta-schema success

Commit Message

Fabrizio Castro Nov. 13, 2019, 3:51 p.m. UTC
The DS90CF384A from TI is a transparent LVDS receiver (decoder),
and therefore it is compatible with the lvds-codec driver and
bindings.

Document the ti,ds90cf384a compatible string with the dt-bindings.
No driver change required.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

---
v3->v4:
* New patch
---
 Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Comments

Rob Herring (Arm) Nov. 18, 2019, 9:41 p.m. UTC | #1
On Wed, 13 Nov 2019 15:51:28 +0000, Fabrizio Castro wrote:
> The DS90CF384A from TI is a transparent LVDS receiver (decoder),
> and therefore it is compatible with the lvds-codec driver and
> bindings.
> 
> Document the ti,ds90cf384a compatible string with the dt-bindings.
> No driver change required.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> 
> ---
> v3->v4:
> * New patch
> ---
>  Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Laurent Pinchart Nov. 19, 2019, 12:09 a.m. UTC | #2
Hi Fabrizio,

Thank you for the patch.

On Wed, Nov 13, 2019 at 03:51:28PM +0000, Fabrizio Castro wrote:
> The DS90CF384A from TI is a transparent LVDS receiver (decoder),
> and therefore it is compatible with the lvds-codec driver and
> bindings.
> 
> Document the ti,ds90cf384a compatible string with the dt-bindings.
> No driver change required.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> v3->v4:
> * New patch
> ---
>  Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
> index 0ecc8a4..21f8c6e 100644
> --- a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
> @@ -40,7 +40,10 @@ properties:
>            - ti,ds90c187       # For the TI DS90C187 FPD-Link Serializer
>            - ti,sn75lvds83     # For the TI SN75LVDS83 FlatLink transmitter
>          - const: lvds-encoder # Generic LVDS encoder compatible fallback
> -      - const: lvds-decoder   # Generic LVDS decoders compatible fallback
> +      - items:
> +        - enum:
> +          - ti,ds90cf384a     # For the DS90CF384A FPD-Link LVDS Receiver
> +        - const: lvds-decoder # Generic LVDS decoders compatible fallback
>  
>    ports:
>      type: object
> @@ -102,7 +105,7 @@ examples:
>  
>    - |
>      lvds-decoder {
> -      compatible = "lvds-decoder";
> +      compatible = "ti,ds90cf384a", "lvds-decoder";
>  
>        ports {
>          #address-cells = <1>;
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
index 0ecc8a4..21f8c6e 100644
--- a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
@@ -40,7 +40,10 @@  properties:
           - ti,ds90c187       # For the TI DS90C187 FPD-Link Serializer
           - ti,sn75lvds83     # For the TI SN75LVDS83 FlatLink transmitter
         - const: lvds-encoder # Generic LVDS encoder compatible fallback
-      - const: lvds-decoder   # Generic LVDS decoders compatible fallback
+      - items:
+        - enum:
+          - ti,ds90cf384a     # For the DS90CF384A FPD-Link LVDS Receiver
+        - const: lvds-decoder # Generic LVDS decoders compatible fallback
 
   ports:
     type: object
@@ -102,7 +105,7 @@  examples:
 
   - |
     lvds-decoder {
-      compatible = "lvds-decoder";
+      compatible = "ti,ds90cf384a", "lvds-decoder";
 
       ports {
         #address-cells = <1>;