lkml.org 
[lkml]   [2022]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V7 3/5] dt-bindings: display: mediatek: change to use enum for mutex
From
Il 14/03/22 10:00, Rex-BC Chen ha scritto:
> All single entry cases in mutex can be merged as a single enum.
>
> Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
> Reviewed-by: Rob Herring <robh@kernel.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

> ---
> .../display/mediatek/mediatek,mutex.yaml | 24 +++++++------------
> 1 file changed, 9 insertions(+), 15 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml
> index 00e6a1041a9b..b470fbb1b40a 100644
> --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml
> +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml
> @@ -23,21 +23,15 @@ description: |
>
> properties:
> compatible:
> - oneOf:
> - - items:
> - - const: mediatek,mt2701-disp-mutex
> - - items:
> - - const: mediatek,mt2712-disp-mutex
> - - items:
> - - const: mediatek,mt8167-disp-mutex
> - - items:
> - - const: mediatek,mt8173-disp-mutex
> - - items:
> - - const: mediatek,mt8183-disp-mutex
> - - items:
> - - const: mediatek,mt8192-disp-mutex
> - - items:
> - - const: mediatek,mt8195-disp-mutex
> + enum:
> + - mediatek,mt2701-disp-mutex
> + - mediatek,mt2712-disp-mutex
> + - mediatek,mt8167-disp-mutex
> + - mediatek,mt8173-disp-mutex
> + - mediatek,mt8183-disp-mutex
> + - mediatek,mt8192-disp-mutex
> + - mediatek,mt8195-disp-mutex
> +
> reg:
> maxItems: 1
>

\
 
 \ /
  Last update: 2022-03-14 11:13    [W:0.100 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site