Commit a493baf1 authored by Helen Koike's avatar Helen Koike Committed by Mauro Carvalho Chehab
Browse files

media: staging: dt-bindings: rkisp1: re-order properties



Organize properties order in dt-bindings to move it out of staging.

On top: compatible, reg and interrupts.
Then alphabetical order, then properties starting with '#'.

Signed-off-by: default avatarHelen Koike <helen.koike@collabora.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarTomasz Figa <tfiga@chromium.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent d55575f8
Loading
Loading
Loading
Loading
+16 −16
Original line number Diff line number Diff line
@@ -23,19 +23,6 @@ properties:
  interrupts:
    maxItems: 1

  iommus:
    maxItems: 1

  power-domains:
    maxItems: 1

  phys:
    maxItems: 1
    description: phandle for the PHY port

  phy-names:
    const: dphy

  clocks:
    items:
      - description: ISP clock
@@ -52,6 +39,19 @@ properties:
      - const: hclk_isp
      - const: hclk_isp_wrap

  iommus:
    maxItems: 1

  phys:
    maxItems: 1
    description: phandle for the PHY port

  phy-names:
    const: dphy

  power-domains:
    maxItems: 1

  # See ./video-interfaces.txt for details
  ports:
    type: object
@@ -110,10 +110,10 @@ required:
  - interrupts
  - clocks
  - clock-names
  - power-domains
  - iommus
  - phys
  - phy-names
  - power-domains
  - ports

additionalProperties: false
@@ -139,19 +139,19 @@ examples:
            clock-names = "clk_isp",
                          "aclk_isp", "aclk_isp_wrap",
                          "hclk_isp", "hclk_isp_wrap";
            power-domains = <&power RK3399_PD_ISP0>;
            iommus = <&isp0_mmu>;
            phys = <&dphy>;
            phy-names = "dphy";
            power-domains = <&power RK3399_PD_ISP0>;

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                    reg = <0>;
                    #address-cells = <1>;
                    #size-cells = <0>;
                    reg = <0>;

                    mipi_in_wcam: endpoint@0 {
                        reg = <0>;