Re: [PATCH 1/2] dt-bindings: phy: add mtk-mipi-csi driver

From: Krzysztof Kozlowski
Date: Mon Apr 03 2023 - 05:51:26 EST


On 03/04/2023 09:19, Julien Stephan wrote:
> From: Florian Sylvestre <fsylvestre@xxxxxxxxxxxx>
>

There is no commit msg.

> Signed-off-by: Florian Sylvestre <fsylvestre@xxxxxxxxxxxx>
> Signed-off-by: Julien Stephan <jstephan@xxxxxxxxxxxx>
> ---
> .../bindings/phy/mediatek,csi-phy.yaml | 41 +++++++++++++++++++
> MAINTAINERS | 6 +++
> 2 files changed, 47 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/phy/mediatek,csi-phy.yaml
>
> diff --git a/Documentation/devicetree/bindings/phy/mediatek,csi-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,csi-phy.yaml
> new file mode 100644
> index 000000000000..c026e43f35fd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/mediatek,csi-phy.yaml

Filename like compatible.

> @@ -0,0 +1,41 @@
> +# SPDX-License-Identifier: (GPL-2.0-Only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/phy/mediatek,csi-phy.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Mediatek Sensor Interface MIPI CSI CD-PHY
> +
> +maintainers:
> + - Julien Stephan <jstephan@xxxxxxxxxxxx>
> + - Andy Hsieh <andy.hsieh@xxxxxxxxxxxx>
> +
> +description: |

Do not need '|'.

> + The SENINF CD-PHY is a set of CD-PHY connected to the SENINF CSI-2
> + receivers. The number of PHYs depends on the SoC model.
> +
> +properties:
> + compatible:
> + const: mediatek,mt8365-mipi-csi
> +
> + reg:
> + minItems: 1

maxItems instead
(from where did you get such example?)

> +
> + '#phy-cells':
> + const: 1
> +


Best regards,
Krzysztof