dt-bindings: display: Add missing property types

Message ID 20230613201114.2824626-1-robh@kernel.org
State New
Headers
Series dt-bindings: display: Add missing property types |

Commit Message

Rob Herring June 13, 2023, 8:11 p.m. UTC
  A couple of display bridge properties are missing a type definition. Add
the types to them.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/display/bridge/analogix,dp.yaml          | 1 +
 .../devicetree/bindings/display/bridge/nxp,tda998x.yaml          | 1 +
 2 files changed, 2 insertions(+)
  

Comments

Conor Dooley June 13, 2023, 9:07 p.m. UTC | #1
On Tue, Jun 13, 2023 at 02:11:14PM -0600, Rob Herring wrote:
> A couple of display bridge properties are missing a type definition. Add
> the types to them.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.
  
Rob Herring June 15, 2023, 5:26 p.m. UTC | #2
On Tue, 13 Jun 2023 14:11:14 -0600, Rob Herring wrote:
> A couple of display bridge properties are missing a type definition. Add
> the types to them.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../devicetree/bindings/display/bridge/analogix,dp.yaml          | 1 +
>  .../devicetree/bindings/display/bridge/nxp,tda998x.yaml          | 1 +
>  2 files changed, 2 insertions(+)
> 

Applied, thanks!
  

Patch

diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml
index c9b06885cc63..62f0521b0924 100644
--- a/Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml
@@ -26,6 +26,7 @@  properties:
     const: dp
 
   force-hpd:
+    type: boolean
     description:
       Indicate driver need force hpd when hpd detect failed, this
       is used for some eDP screen which don not have a hpd signal.
diff --git a/Documentation/devicetree/bindings/display/bridge/nxp,tda998x.yaml b/Documentation/devicetree/bindings/display/bridge/nxp,tda998x.yaml
index c4bf54397473..21d995f29a1e 100644
--- a/Documentation/devicetree/bindings/display/bridge/nxp,tda998x.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/nxp,tda998x.yaml
@@ -20,6 +20,7 @@  properties:
     maxItems: 1
 
   video-ports:
+    $ref: /schemas/types.yaml#/definitions/uint32
     default: 0x230145
     maximum: 0xffffff
     description: