[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <751374a287a70831c09da51daef1ee286285359b.camel@mediatek.com>
Date: Wed, 6 Apr 2022 11:29:04 +0800
From: CK Hu <ck.hu@...iatek.com>
To: Rex-BC Chen <rex-bc.chen@...iatek.com>, <chunkuang.hu@...nel.org>,
<matthias.bgg@...il.com>, <robh+dt@...nel.org>
CC: <devicetree@...r.kernel.org>, <krzysztof.kozlowski@...onical.com>,
<airlied@...ux.ie>, <jassisinghbrar@...il.com>,
<linux-kernel@...r.kernel.org>, <dri-devel@...ts.freedesktop.org>,
<yongqiang.niu@...iatek.com>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>,
<fparent@...libre.com>, <linux-mediatek@...ts.infradead.org>,
<hsinyi@...omium.org>, <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v10 2/4] dt-bindings: display: mediatek: change to use
enum for mutex
Hi, Rex:
On Wed, 2022-04-06 at 11:00 +0800, Rex-BC Chen wrote:
> All single entry cases in mutex can be merged as a single enum.
Reviewed-by: CK Hu <ck.hu@...iatek.com>
>
> Signed-off-by: Rex-BC Chen <rex-bc.chen@...iatek.com>
> Reviewed-by: Rob Herring <robh@...nel.org>
> Reviewed-by: AngeloGioacchino Del Regno <
> angelogioacchino.delregno@...labora.com>
> ---
> .../display/mediatek/mediatek,mutex.yaml | 24 +++++++--------
> ----
> 1 file changed, 9 insertions(+), 15 deletions(-)
>
> diff --git
> a/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.y
> aml
> b/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.y
> aml
> index 00e6a1041a9b..b470fbb1b40a 100644
> ---
> a/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.y
> aml
> +++
> b/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.y
> aml
> @@ -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
>
Powered by blists - more mailing lists