Message ID | 20200403142122.297283-4-maxime.chevallier@bootlin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | media: rockchip: Introduce driver for the camera interface on PX30 | expand |
Am Freitag, 3. April 2020, 16:21:22 CEST schrieb Maxime Chevallier: > The PX30 has a camera interface, supporting CSI2, BT656 and Parallel > modes. Add a DT description for this interface. > > Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> > --- > arch/arm64/boot/dts/rockchip/px30.dtsi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi > index 3e1f51a66daf..38ed35bc9b7a 100644 > --- a/arch/arm64/boot/dts/rockchip/px30.dtsi > +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi > @@ -1058,6 +1058,18 @@ dsi_in_vopl: endpoint@1 { > }; > }; > > + cif: cif@ff490000 { nit: please sort by register address, so @ff490000 is definitly somewhere after that ff460000 of the vopb ;-) > + compatible = "rockchip,px30-cif"; > + reg = <0x0 0xff490000 0x0 0x200>; > + interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&cru ACLK_CIF>, <&cru HCLK_CIF>, <&cru PCLK_CIF>, <&cru SCLK_CIF_OUT>; > + clock-names = "aclk_cif", "hclk_cif", "pclk_cif", "cif_out"; > + resets = <&cru SRST_CIF_A>, <&cru SRST_CIF_H>, <&cru SRST_CIF_PCLKIN>; > + reset-names = "rst_cif_a", "rst_cif_h", "rst_cif_pclkin"; > + power-domains = <&power PX30_PD_VI>; nit: while doing the above, ideally just move the power-domains above resets everthing else is sorted nicely. Thanks Heiko > + status = "disabled"; > + }; > + > vopb: vop@ff460000 { > compatible = "rockchip,px30-vop-big"; > reg = <0x0 0xff460000 0x0 0xefc>; >
diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index 3e1f51a66daf..38ed35bc9b7a 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -1058,6 +1058,18 @@ dsi_in_vopl: endpoint@1 { }; }; + cif: cif@ff490000 { + compatible = "rockchip,px30-cif"; + reg = <0x0 0xff490000 0x0 0x200>; + interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cru ACLK_CIF>, <&cru HCLK_CIF>, <&cru PCLK_CIF>, <&cru SCLK_CIF_OUT>; + clock-names = "aclk_cif", "hclk_cif", "pclk_cif", "cif_out"; + resets = <&cru SRST_CIF_A>, <&cru SRST_CIF_H>, <&cru SRST_CIF_PCLKIN>; + reset-names = "rst_cif_a", "rst_cif_h", "rst_cif_pclkin"; + power-domains = <&power PX30_PD_VI>; + status = "disabled"; + }; + vopb: vop@ff460000 { compatible = "rockchip,px30-vop-big"; reg = <0x0 0xff460000 0x0 0xefc>;
The PX30 has a camera interface, supporting CSI2, BT656 and Parallel modes. Add a DT description for this interface. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> --- arch/arm64/boot/dts/rockchip/px30.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)