move Rockchip ISP bindings out of staging / add ISP DT nodes for RK3399
Subsystems (6)
v2 cover move Rockchip ISP bindings out of staging / add ISP DT nodes for RK3399
Move the bindings out of drivers/staging and place them in Documentation/devicetree/bindings instead.
Also, add DT nodes for RK3399 and verify with make ARCH=arm64 dtbs_check and make ARCH=arm64 dt_binding_check.
Tested by verifying images streamed from RockPi 4 board with imx219 module.
Changes in v2:
Add patches modifying bindings, as sugested by Johan Jonker in v1, before moving them out of staging.
Johan, I added a Suggested-by tag in the commits, please let me know if you prefer not having the tag there.
Helen Koike (7):
media: staging: dt-bindings: rkisp1: add missing required nodes
media: staging: dt-bindings: rkisp1: add required items in i2c example
media: staging: dt-bindings: rkisp1: re-order properties
media: staging: dt-bindings: phy-rockchip-dphy-rx0: remove non-used
reg property
dt-bindings: phy: phy-rockchip-dphy-rx0: move rockchip dphy rx0
bindings out of staging
dt-bindings: media: rkisp1: move rockchip-isp1 bindings out of staging
media: MAINTAINERS: rkisp1: add path to dt-bindings
Shunqian Zheng (2):
arm64: dts: rockchip: add rx0 mipi-phy for rk3399
arm64: dts: rockchip: add isp0 node for rk3399
.../bindings/media/rockchip-isp1.yaml | 45 ++++++++++++-------
.../bindings/phy/rockchip-mipi-dphy-rx0.yaml | 3 --
MAINTAINERS | 1 +
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 38 ++++++++++++++++
4 files changed, 68 insertions(+), 19 deletions(-)
rename {drivers/staging/media/rkisp1/Documentation => Documentation}/devicetree/bindings/media/rockchip-isp1.yaml (91%)
rename {drivers/staging/media/phy-rockchip-dphy-rx0/Documentation => Documentation}/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml (98%)Signature · 1 line
2.26.0
PATCH v2 1/9 media: staging: dt-bindings: rkisp1: add missing required nodes
Add missing required nodes in json-schema yaml file for Rockchip ISP1 dt-bindings.
---
Changes in v2:
- New patch in the series
--- .../devicetree/bindings/media/rockchip-isp1.yaml | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml +8 -0
@@ -94,11 +94,19 @@ properties: remote-endpoint: true + required: + - reg + - "#address-cells" + - "#size-cells" + required: + - "#address-cells" + - "#size-cells" - port@0 required: - compatible + - reg - interrupts - clocks - clock-names
Signature · 1 line
2.26.0
PATCH v2 2/9 media: staging: dt-bindings: rkisp1: add required items in i2c example
In reply to Helen KoikeAdd missing required items in Rockchip ISP1 dt-bindings example for a complete i2c node.
---
Changes in v2:
- new patch in the series
--- .../devicetree/bindings/media/rockchip-isp1.yaml | 5 +++++ 1 file changed, 5 insertions(+)
drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml +5 -0
@@ -169,6 +169,11 @@ examples: }; i2c7: i2c@ff160000 { + compatible = "rockchip,rk3399-i2c"; + reg = <0x0 0xff160000 0x0 0x1000>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&cru SCLK_I2C7>, <&cru PCLK_I2C7>; + clock-names = "i2c", "pclk"; clock-frequency = <400000>; #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
2.26.0
PATCH v2 3/9 media: staging: dt-bindings: rkisp1: re-order properties
In reply to Helen KoikeOrganize properties order in dt-binbings to move it out of staging.
On top: compatible, reg and interrupts.
Then alphabetical order, then properties starting with '#'.
---
V2:
- this is a new patch in the series
--- .../bindings/media/rockchip-isp1.yaml | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-)
drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml +16 -16
@@ -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>;
Signature · 1 line
2.26.0
PATCH v2 4/9 media: staging: dt-bindings: phy-rockchip-dphy-rx0: remove non-used reg property
In reply to Helen Koikereg property is not used in Rockchip MIPI DPHY RX0 bindings, thus remove it.
---
Changes in v2:
- this is a new patch in the series
--- .../devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml | 3 --- 1 file changed, 3 deletions(-)
drivers/staging/media/phy-rockchip-dphy-rx0/Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml +0 -3
@@ -18,9 +18,6 @@ properties: compatible: const: rockchip,rk3399-mipi-dphy-rx0 - reg: - maxItems: 1 - clocks: items: - description: MIPI D-PHY ref clock
Signature · 1 line
2.26.0
PATCH v2 5/9 dt-bindings: phy: phy-rockchip-dphy-rx0: move rockchip dphy rx0 bindings out of staging
In reply to Helen KoikeMove phy-rockchip-dphy-rx0 bindings to Documentation/devicetree/bindings/phy
Verified with:
make ARCH=arm64 dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml
---
V2:
- no changes
.../devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename {drivers/staging/media/phy-rockchip-dphy-rx0/Documentation => Documentation}/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml (100%)Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml renamed from drivers/staging/media/phy-rockchip-dphy-rx0/Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml +0 -0
Signature · 1 line
2.26.0
Re: [PATCH v2 5/9] dt-bindings: phy: phy-rockchip-dphy-rx0: move rockchip dphy rx0 bindings out of staging
Quoted 6 lines · Helen Koike
Move phy-rockchip-dphy-rx0 bindings to
Documentation/devicetree/bindings/phyVerified with:
make ARCH=arm64dt_binding_checkDT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yamlSigned-off-by Helen Koike <[email protected]>
Quoted 9 lines
---
V2:
- no changes.../devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {drivers/staging/media/phy-rockchip-dphy-rx0/Documentation => Documentation}/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml (100%)
PATCH v2 6/9 dt-bindings: media: rkisp1: move rockchip-isp1 bindings out of staging
In reply to Helen KoikeMove rkisp1 bindings to Documentation/devicetree/bindings/media
Verified with:
make ARCH=arm64 dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-isp1.yaml
---
V2:
- no changes
.../devicetree/bindings/media/rockchip-isp1.yaml | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename {drivers/staging/media/rkisp1/Documentation => Documentation}/devicetree/bindings/media/rockchip-isp1.yaml (100%)Documentation/devicetree/bindings/media/rockchip-isp1.yaml renamed from drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml +0 -0
Signature · 1 line
2.26.0
Re: [PATCH v2 6/9] dt-bindings: media: rkisp1: move rockchip-isp1 bindings out of staging
Quoted 6 lines · Helen Koike
Move rkisp1 bindings to
Documentation/devicetree/bindings/mediaVerified with:
make ARCH=arm64dt_binding_checkDT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-isp1.yamlSigned-off-by Helen Koike <helen.koike-ZGY8ohtN/[email protected]>
Quoted 9 lines
---
V2:
- no changes.../devicetree/bindings/media/rockchip-isp1.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {drivers/staging/media/rkisp1/Documentation => Documentation}/devicetree/bindings/media/rockchip-isp1.yaml (100%)
Re: [PATCH v2 6/9] dt-bindings: media: rkisp1: move rockchip-isp1 bindings out of staging
In reply to Helen KoikeHi Helen,
make ARCH=arm dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-isp1.yaml
SCHEMA Documentation/devicetree/bindings/processed-schema-examples.yaml SCHEMA Documentation/devicetree/bindings/processed-schema.yaml CHKDT Documentation/devicetree/bindings/media/rockchip-isp1.yaml
DTCDocumentation/devicetree/bindings/media/rockchip-isp1.example.dt.yaml Documentation/devicetree/bindings/media/rockchip-isp1.example.dts:22.27-99.11:
Warning (unit_address_vs_reg): /example-0/parent@0: node has a unit name, but no reg or ranges property
CHECKDocumentation/devicetree/bindings/media/rockchip-isp1.example.dt.yaml
Quoted 20 lines · Helen Koike
Move rkisp1 bindings to
Documentation/devicetree/bindings/mediaVerified with:
make ARCH=arm64dt_binding_checkDT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-isp1.yamlSigned-off-by Helen Koike <helen.koike-ZGY8ohtN/[email protected]>---
V2:
- no changes.../devicetree/bindings/media/rockchip-isp1.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {drivers/staging/media/rkisp1/Documentation => Documentation}/devicetree/bindings/media/rockchip-isp1.yaml (100%)Documentation/devicetree/bindings/media/rockchip-isp1.yaml renamed from drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml +0
-0
Re: [PATCH v2 6/9] dt-bindings: media: rkisp1: move rockchip-isp1 bindings out of staging
In reply to Helen KoikeHi Helen,
Quoted 6 lines
clocks:
items:
- description: ISP clock
- description: ISP AXI clock clock
- description: ISP AXI clock wrapper clock
- description: ISP AHB clock clock
Too many clocks here ^
Too many spaces here ^
Quoted 1 line
- description: ISP AHB wrapper clock
We can expect 4 to 5 clocks.
With 5 clocks and a different description this layout is maybe not so handy.
As first change:
clocks:
maxItems: 5
description:
rk3399 clocks
ISP clock
ISP AXI clock
ISP AXI wrapper clock
ISP AHB clock
ISP AHB wrapper clock
And then later:
clocks:
maxItems: 5
description:
rk3288 clocks
ISP clock
ISP AXI clock
ISP AHB clock
ISP Pixel clock
ISP JPEG source clock
rk3399 clocks
ISP clock
ISP AXI clock
ISP AXI wrapper clock
ISP AHB clock
ISP AHB wrapper clock
With 4 clocks:
clocks:
minItems: 4
maxItems: 5
description:
rk1808 clocks
rk3288 clocks
rk3326 clocks
rk3368 clocks
rk3399 clocks[..]
Quoted 8 lines
clock-names:
items:
- const:clk_isp
- const:aclk_isp
- const:aclk_isp_wrap
- const:hclk_isp
- const:hclk_isp_wrap
Quoted 20 lines · Helen Koike
Move rkisp1 bindings to
Documentation/devicetree/bindings/mediaVerified with:
make ARCH=arm64dt_binding_checkDT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-isp1.yamlSigned-off-by Helen Koike <helen.koike-ZGY8ohtN/[email protected]>---
V2:
- no changes.../devicetree/bindings/media/rockchip-isp1.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {drivers/staging/media/rkisp1/Documentation => Documentation}/devicetree/bindings/media/rockchip-isp1.yaml (100%)Documentation/devicetree/bindings/media/rockchip-isp1.yaml renamed from drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.yaml +0
-0
PATCH v2 7/9 media: MAINTAINERS: rkisp1: add path to dt-bindings
In reply to Helen KoikeThe Rockchip ISP bindings was moved out of staging. Update MAINTAINERS file with the new path.
---
V2:
- This is a new patch in the series
--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -14303,6 +14303,7 @@ M: Helen Koike <[email protected]> L: [email protected] S: Maintained F: drivers/staging/media/rkisp1/ +F: Documentation/devicetree/bindings/media/rockchip-isp1.yaml ROCKCHIP RASTER 2D GRAPHIC ACCELERATION UNIT DRIVER M: Jacob Chen <[email protected]>
Signature · 1 line
2.26.0
Re: [PATCH v2 7/9] media: MAINTAINERS: rkisp1: add path to dt-bindings
Quoted 2 lines · Helen Koike
The Rockchip ISP bindings was moved out of staging. Update
MAINTAINERSfile with the new path.
Shouldn't there be a reference to Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml as well in MAINTAINERS?
Regards,
Hans
Quoted 24 lines
Suggested-by Johan Jonker <[email protected]>Signed-off-by Helen Koike <helen.koike-ZGY8ohtN/[email protected]>---
V2:
- This is a new patch in the series--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)MAINTAINERS +1
-0@@ -14303,6 +14303,7 @@ M: Helen Koike <helen.koike-ZGY8ohtN/[email protected]> L: [email protected] S: Maintained F: drivers/staging/media/rkisp1/ +F: Documentation/devicetree/bindings/media/rockchip-isp1.yaml ROCKCHIP RASTER 2D GRAPHIC ACCELERATION UNIT DRIVER M: Jacob Chen <jacob-chen-fyOeoxGR3m/[email protected]>
Re: [PATCH v2 7/9] media: MAINTAINERS: rkisp1: add path to dt-bindings
Quoted 6 lines · Hans Verkuil
Quoted 2 lines · Helen Koike
The Rockchip ISP bindings was moved out of staging. Update
MAINTAINERSfile with the new path.Shouldn't there be a reference to
Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yamlas well inMAINTAINERS?
And please keep the file references F: fields in
alphabetic order.
Quoted 1 line
MAINTAINERS
Quoted 1 line
MAINTAINERS +0
-0
[]
Quoted 9 lines
Quoted 9 lines
MAINTAINERS +1
-0@@ -14303,6 +14303,7 @@ M: Helen Koike <helen.koike-ZGY8ohtN/[email protected]> L: [email protected] S: Maintained F: drivers/staging/media/rkisp1/ +F: Documentation/devicetree/bindings/media/rockchip-isp1.yaml ROCKCHIP RASTER 2D GRAPHIC ACCELERATION UNIT DRIVER M: Jacob Chen <jacob-chen-fyOeoxGR3m/[email protected]>
Re: [PATCH v2 7/9] media: MAINTAINERS: rkisp1: add path to dt-bindings
In reply to Hans VerkuilHi Hans,
Quoted 7 lines · Hans Verkuil
Quoted 2 lines · Helen Koike
The Rockchip ISP bindings was moved out of staging. Update
MAINTAINERSfile with the new path.Shouldn't there be a reference to
Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yamlas well inMAINTAINERS?
Indeed, and I can take care of that later. I was planning to move this PHY driver out of staging, but was waiting on patches 4 and 5 of this series.
They seem fine, would you mind picking them?
Thanks!
Ezequiel
Quoted 29 lines
Regards,
Hans
Quoted 23 lines
Suggested-by Johan Jonker <[email protected]>Signed-off-by Helen Koike <helen.koike-ZGY8ohtN/[email protected]>---
V2:
- This is a new patch in the series--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)MAINTAINERS +1
-0@@ -14303,6 +14303,7 @@ M: Helen Koike <helen.koike-ZGY8ohtN/[email protected]> L: [email protected] S: Maintained F: drivers/staging/media/rkisp1/ +F: Documentation/devicetree/bindings/media/rockchip-isp1.yaml ROCKCHIP RASTER 2D GRAPHIC ACCELERATION UNIT DRIVER M: Jacob Chen <jacob-chen-fyOeoxGR3m/[email protected]>
Re: [PATCH v2 7/9] media: MAINTAINERS: rkisp1: add path to dt-bindings
In reply to Helen KoikeHi Helen,
Quoted 18 lines · Helen Koike
The Rockchip ISP bindings was moved out of staging. Update
MAINTAINERSfile with the new path.Suggested-by Johan Jonker <[email protected]>Signed-off-by Helen Koike <helen.koike-ZGY8ohtN/[email protected]>---
V2:
- This is a new patch in the series--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)MAINTAINERS +0
-0
MAINTAINERS M: Helen Koike <helen.koike-ZGY8ohtN/[email protected]> · line 14303
Quoted 1 line
MAINTAINERS +0
-0@@ -14303,6 +14303,7 @@ M: Helen Koike <helen.koike-ZGY8ohtN/[email protected]> L: [email protected]
MAINTAINERS M: Helen Koike <[email protected]> · line 14306
Quoted 4 lines
MAINTAINERS +1
-0S: Maintained F: drivers/staging/media/rkisp1/ +F: Documentation/devicetree/bindings/media/rockchip-isp1.yaml
Rebase.
The MAINTAINERS document was recently sort.
Check entries with:
./scripts/parse-maintainers.pl --input=MAINTAINERS --output=MAINTAINERS --order
Quoted 4 lines
MAINTAINERS +0
-0ROCKCHIP RASTER 2D GRAPHIC ACCELERATION UNIT DRIVER M: Jacob Chen <jacob-chen-fyOeoxGR3m/[email protected]>
PATCH v2 8/9 arm64: dts: rockchip: add rx0 mipi-phy for rk3399
In reply to Helen KoikeFrom: Shunqian Zheng <[email protected]>
Designware MIPI D-PHY, used for ISP0 in rk3399.
Verified with:
make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yaml
---
Changes in v2:
- fix alignment of clocks
V1:
This patchset came from the original ISP series from Rockchip:
https://patchwork.kernel.org/patch/10267409/
The only difference is:
- add phy-cells
- update compatible to "rockchip,rk3399-mipi-dphy-rx0"
- commit message
--- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399.dtsi +11 -0
@@ -1394,6 +1394,17 @@ io_domains: io-domains { status = "disabled"; }; + mipi_dphy_rx0: mipi-dphy-rx0 { + compatible = "rockchip,rk3399-mipi-dphy-rx0"; + clocks = <&cru SCLK_MIPIDPHY_REF>, + <&cru SCLK_DPHY_RX0_CFG>, + <&cru PCLK_VIO_GRF>; + clock-names = "dphy-ref", "dphy-cfg", "grf"; + power-domains = <&power RK3399_PD_VIO>; + #phy-cells = <0>; + status = "disabled"; + }; + u2phy0: usb2-phy@e450 { compatible = "rockchip,rk3399-usb2phy"; reg = <0xe450 0x10>;
Signature · 1 line
2.26.0
Re: [PATCH v2 8/9] arm64: dts: rockchip: add rx0 mipi-phy for rk3399
Hi Heiko,
Quoted 13 lines · Helen Koike
From: Shunqian Zheng <[email protected]>
Designware MIPI D-PHY, used for ISP0 in rk3399.
Verified with:
make ARCH=arm64dtbs_checkDT_SCHEMA_FILES=Documentation/devicetree/bindings/phy/rockchip-mipi-dphy-rx0.yamlSigned-off-by Shunqian Zheng <[email protected]>Signed-off-by Jacob Chen <[email protected]>Signed-off-by Helen Koike <helen.koike-ZGY8ohtN/[email protected]>---
Quoted 8 lines
Changes in v2:
- fix alignment of clocksV1:
This patchset came from the original ISP series from Rockchip:https://patchwork.kernel.org/patch/10267409/
Can you take the devicetree changes (patches 8 and 9) ?
Thanks,
Ezequiel
Quoted 34 lines
The only difference is:
- add phy-cells
- update compatible to "rockchip,rk3399-mipi-dphy-rx0"
- commit message--- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)arch/arm64/boot/dts/rockchip/rk3399.dtsi +11
-0@@ -1394,6 +1394,17 @@ io_domains: io-domains { status = "disabled"; }; + mipi_dphy_rx0: mipi-dphy-rx0 { + compatible = "rockchip,rk3399-mipi-dphy-rx0"; + clocks = <&cru SCLK_MIPIDPHY_REF>, + <&cru SCLK_DPHY_RX0_CFG>, + <&cru PCLK_VIO_GRF>; + clock-names = "dphy-ref", "dphy-cfg", "grf"; + power-domains = <&power RK3399_PD_VIO>; + #phy-cells = <0>; + status = "disabled"; + }; + u2phy0: usb2-phy@e450 { compatible = "rockchip,rk3399-usb2phy"; reg = <0xe450 0x10>;Signature · 1 line
2.26.0
PATCH v2 9/9 arm64: dts: rockchip: add isp0 node for rk3399
In reply to Helen KoikeFrom: Shunqian Zheng <[email protected]>
RK3399 has two ISPs, but only ISP0 was tested at present. Add isp0 node in rk3399 dtsi
Verified with:
make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-isp1.yaml
---
V2:
- re-order power-domains property
V1:
This patch was originally part of this patchset:
https://patchwork.kernel.org/patch/10267431/
The only difference is:
- add phy properties
- add ports
--- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399.dtsi +27 -0
@@ -1718,6 +1718,33 @@ vopb_mmu: iommu@ff903f00 { status = "disabled"; }; + isp0: isp0@ff910000 { + compatible = "rockchip,rk3399-cif-isp"; + reg = <0x0 0xff910000 0x0 0x4000>; + interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&cru SCLK_ISP0>, + <&cru ACLK_ISP0>, <&cru ACLK_ISP0_WRAPPER>, + <&cru HCLK_ISP0>, <&cru HCLK_ISP0_WRAPPER>; + clock-names = "clk_isp", + "aclk_isp", "aclk_isp_wrap", + "hclk_isp", "hclk_isp_wrap"; + iommus = <&isp0_mmu>; + phys = <&mipi_dphy_rx0>; + 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>; + }; + }; + }; + isp0_mmu: iommu@ff914000 { compatible = "rockchip,iommu"; reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>;
Signature · 1 line
2.26.0
Quoted 10 lines · Helen Koike
Move the bindings out of
drivers/stagingand place them inDocumentation/devicetree/bindingsinstead.Also, add DT nodes for RK3399 and verify with make ARCH=arm64
dtbs_checkand make ARCH=arm64dt_binding_check.Tested by verifying images streamed from RockPi 4 board with imx219 module.
[...]
Applied, thanks!
[1/1] arm64: dts: rockchip: add rx0 mipi-phy for rk3399
commit: e4bfde13e323f9ee5f2f38aa5cac0676dd656f8e
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>