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

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
...@@ -23,19 +23,6 @@ properties: ...@@ -23,19 +23,6 @@ properties:
interrupts: interrupts:
maxItems: 1 maxItems: 1
iommus:
maxItems: 1
power-domains:
maxItems: 1
phys:
maxItems: 1
description: phandle for the PHY port
phy-names:
const: dphy
clocks: clocks:
items: items:
- description: ISP clock - description: ISP clock
...@@ -52,6 +39,19 @@ properties: ...@@ -52,6 +39,19 @@ properties:
- const: hclk_isp - const: hclk_isp
- const: hclk_isp_wrap - 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 # See ./video-interfaces.txt for details
ports: ports:
type: object type: object
...@@ -110,10 +110,10 @@ required: ...@@ -110,10 +110,10 @@ required:
- interrupts - interrupts
- clocks - clocks
- clock-names - clock-names
- power-domains
- iommus - iommus
- phys - phys
- phy-names - phy-names
- power-domains
- ports - ports
additionalProperties: false additionalProperties: false
...@@ -139,19 +139,19 @@ examples: ...@@ -139,19 +139,19 @@ examples:
clock-names = "clk_isp", clock-names = "clk_isp",
"aclk_isp", "aclk_isp_wrap", "aclk_isp", "aclk_isp_wrap",
"hclk_isp", "hclk_isp_wrap"; "hclk_isp", "hclk_isp_wrap";
power-domains = <&power RK3399_PD_ISP0>;
iommus = <&isp0_mmu>; iommus = <&isp0_mmu>;
phys = <&dphy>; phys = <&dphy>;
phy-names = "dphy"; phy-names = "dphy";
power-domains = <&power RK3399_PD_ISP0>;
ports { ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
port@0 { port@0 {
reg = <0>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0>;
mipi_in_wcam: endpoint@0 { mipi_in_wcam: endpoint@0 {
reg = <0>; reg = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment