/linux-6.12.1/drivers/media/platform/renesas/rzg2l-cru/ |
D | rzg2l-video.c | 108 static void rzg2l_cru_write(struct rzg2l_cru_dev *cru, u32 offset, u32 value) in rzg2l_cru_write() argument 110 iowrite32(value, cru->base + offset); in rzg2l_cru_write() 113 static u32 rzg2l_cru_read(struct rzg2l_cru_dev *cru, u32 offset) in rzg2l_cru_read() argument 115 return ioread32(cru->base + offset); in rzg2l_cru_read() 119 static void return_unused_buffers(struct rzg2l_cru_dev *cru, in return_unused_buffers() argument 126 spin_lock_irqsave(&cru->qlock, flags); in return_unused_buffers() 127 for (i = 0; i < cru->num_buf; i++) { in return_unused_buffers() 128 if (cru->queue_buf[i]) { in return_unused_buffers() 129 vb2_buffer_done(&cru->queue_buf[i]->vb2_buf, in return_unused_buffers() 131 cru->queue_buf[i] = NULL; in return_unused_buffers() [all …]
|
D | rzg2l-core.c | 41 struct rzg2l_cru_dev *cru = notifier_to_cru(notifier); in rzg2l_cru_group_notify_complete() local 45 ret = rzg2l_cru_ip_subdev_register(cru); in rzg2l_cru_group_notify_complete() 49 ret = v4l2_device_register_subdev_nodes(&cru->v4l2_dev); in rzg2l_cru_group_notify_complete() 51 dev_err(cru->dev, "Failed to register subdev nodes\n"); in rzg2l_cru_group_notify_complete() 55 ret = rzg2l_cru_video_register(cru); in rzg2l_cru_group_notify_complete() 65 source = &cru->csi.subdev->entity; in rzg2l_cru_group_notify_complete() 66 sink = &cru->ip.subdev.entity; in rzg2l_cru_group_notify_complete() 71 dev_err(cru->dev, "Error creating link from %s to %s\n", in rzg2l_cru_group_notify_complete() 75 cru->csi.channel = 0; in rzg2l_cru_group_notify_complete() 76 cru->ip.remote = cru->csi.subdev; in rzg2l_cru_group_notify_complete() [all …]
|
D | rzg2l-ip.c | 37 struct v4l2_mbus_framefmt *rzg2l_cru_ip_get_src_fmt(struct rzg2l_cru_dev *cru) in rzg2l_cru_ip_get_src_fmt() argument 42 state = v4l2_subdev_lock_and_get_active_state(&cru->ip.subdev); in rzg2l_cru_ip_get_src_fmt() 51 struct rzg2l_cru_dev *cru; in rzg2l_cru_ip_s_stream() local 55 cru = v4l2_get_subdevdata(sd); in rzg2l_cru_ip_s_stream() 58 ret = v4l2_subdev_call(cru->ip.remote, video, s_stream, enable); in rzg2l_cru_ip_s_stream() 62 ret = v4l2_subdev_call(cru->ip.remote, video, post_streamoff); in rzg2l_cru_ip_s_stream() 67 rzg2l_cru_stop_image_processing(cru); in rzg2l_cru_ip_s_stream() 69 ret = v4l2_subdev_call(cru->ip.remote, video, pre_streamon, 0); in rzg2l_cru_ip_s_stream() 77 ret = rzg2l_cru_start_image_processing(cru); in rzg2l_cru_ip_s_stream() 79 v4l2_subdev_call(cru->ip.remote, video, post_streamoff); in rzg2l_cru_ip_s_stream() [all …]
|
D | rzg2l-cru.h | 136 int rzg2l_cru_start_image_processing(struct rzg2l_cru_dev *cru); 137 void rzg2l_cru_stop_image_processing(struct rzg2l_cru_dev *cru); 139 int rzg2l_cru_dma_register(struct rzg2l_cru_dev *cru); 140 void rzg2l_cru_dma_unregister(struct rzg2l_cru_dev *cru); 142 int rzg2l_cru_video_register(struct rzg2l_cru_dev *cru); 143 void rzg2l_cru_video_unregister(struct rzg2l_cru_dev *cru); 147 int rzg2l_cru_ip_subdev_register(struct rzg2l_cru_dev *cru); 148 void rzg2l_cru_ip_subdev_unregister(struct rzg2l_cru_dev *cru); 149 struct v4l2_mbus_framefmt *rzg2l_cru_ip_get_src_fmt(struct rzg2l_cru_dev *cru);
|
/linux-6.12.1/arch/arm64/boot/dts/rockchip/ |
D | rk3588-base.dtsi | 6 #include <dt-bindings/clock/rockchip,rk3588-cru.h> 10 #include <dt-bindings/reset/rockchip,rk3588-cru.h> 450 clocks = <&cru CLK_GPU>, <&cru CLK_GPU_COREGROUP>, 451 <&cru CLK_GPU_STACKS>; 466 clocks = <&cru REF_CLK_USB3OTG0>, <&cru SUSPEND_CLK_USB3OTG0>, 467 <&cru ACLK_USB3OTG0>; 474 resets = <&cru SRST_A_USB3OTG0>; 488 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST_ARB0>, <&cru ACLK_USB>, <&u2phy2>; 499 clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST_ARB0>, <&cru ACLK_USB>, <&u2phy2>; 510 clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST_ARB1>, <&cru ACLK_USB>, <&u2phy3>; [all …]
|
D | rk3588-extra.dtsi | 14 clocks = <&cru REF_CLK_USB3OTG1>, <&cru SUSPEND_CLK_USB3OTG1>, 15 <&cru ACLK_USB3OTG1>; 22 resets = <&cru SRST_A_USB3OTG1>; 55 clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>; 59 resets = <&cru SRST_OTGPHY_U3_1>, <&cru SRST_P_USB2PHY_U3_1_GRF0>; 74 clocks = <&cru MCLK_I2S8_8CH_TX>, <&cru MCLK_I2S8_8CH_TX>, <&cru HCLK_I2S8_8CH>; 76 assigned-clocks = <&cru CLK_I2S8_8CH_TX_SRC>; 77 assigned-clock-parents = <&cru PLL_AUPLL>; 81 resets = <&cru SRST_M_I2S8_8CH_TX>; 91 clocks = <&cru MCLK_I2S6_8CH_TX>, <&cru MCLK_I2S6_8CH_TX>, <&cru HCLK_I2S6_8CH>; [all …]
|
D | rk356x.dtsi | 6 #include <dt-bindings/clock/rk3568-cru.h> 298 clocks = <&cru ACLK_SATA1>, <&cru CLK_SATA1_PMALIVE>, 299 <&cru CLK_SATA1_RXOOB>; 312 clocks = <&cru ACLK_SATA2>, <&cru CLK_SATA2_PMALIVE>, 313 <&cru CLK_SATA2_RXOOB>; 327 clocks = <&cru CLK_USB3OTG0_REF>, <&cru CLK_USB3OTG0_SUSPEND>, 328 <&cru ACLK_USB3OTG0>; 334 resets = <&cru SRST_USB3OTG0>; 343 clocks = <&cru CLK_USB3OTG1_REF>, <&cru CLK_USB3OTG1_SUSPEND>, 344 <&cru ACLK_USB3OTG1>; [all …]
|
D | rk3399-base.dtsi | 6 #include <dt-bindings/clock/rk3399-cru.h> 85 clocks = <&cru ARMCLKL>; 104 clocks = <&cru ARMCLKL>; 123 clocks = <&cru ARMCLKL>; 142 clocks = <&cru ARMCLKL>; 161 clocks = <&cru ARMCLKB>; 186 clocks = <&cru ARMCLKB>; 255 clocks = <&cru SCLK_DDRC>; 302 clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>, 303 <&cru PCLK_PCIE>, <&cru SCLK_PCIE_PM>; [all …]
|
D | rk3328.dtsi | 6 #include <dt-bindings/clock/rk3328-cru.h> 44 clocks = <&cru ARMCLK>; 63 clocks = <&cru ARMCLK>; 82 clocks = <&cru ARMCLK>; 101 clocks = <&cru ARMCLK>; 246 clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S0_8CH>; 258 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1_8CH>; 270 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2_2CH>; 282 clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>; 295 clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>; [all …]
|
D | rk3568.dtsi | 14 clocks = <&cru ACLK_SATA0>, <&cru CLK_SATA0_PMALIVE>, 15 <&cru CLK_SATA0_RXOOB>; 55 <&cru PCLK_PCIE30PHY>; 57 resets = <&cru SRST_PCIE30PHY>; 68 clocks = <&cru ACLK_PCIE30X1_MST>, <&cru ACLK_PCIE30X1_SLV>, 69 <&cru ACLK_PCIE30X1_DBI>, <&cru PCLK_PCIE30X1>, 70 <&cru CLK_PCIE30X1_AUX_NDFT>; 102 resets = <&cru SRST_PCIE30X1_POWERUP>; 121 clocks = <&cru ACLK_PCIE30X2_MST>, <&cru ACLK_PCIE30X2_SLV>, 122 <&cru ACLK_PCIE30X2_DBI>, <&cru PCLK_PCIE30X2>, [all …]
|
D | rk3368.dtsi | 6 #include <dt-bindings/clock/rk3368-cru.h> 186 clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, 187 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; 191 resets = <&cru SRST_MMC0>; 200 clocks = <&cru HCLK_SDIO0>, <&cru SCLK_SDIO0>, 201 <&cru SCLK_SDIO0_DRV>, <&cru SCLK_SDIO0_SAMPLE>; 205 resets = <&cru SRST_SDIO0>; 214 clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, 215 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; 219 resets = <&cru SRST_EMMC>; [all …]
|
D | px30.dtsi | 6 #include <dt-bindings/clock/px30-cru.h> 46 clocks = <&cru ARMCLK>; 58 clocks = <&cru ARMCLK>; 70 clocks = <&cru ARMCLK>; 82 clocks = <&cru ARMCLK>; 269 clocks = <&cru HCLK_HOST>, 270 <&cru HCLK_OTG>, 271 <&cru SCLK_OTG_ADP>; 277 clocks = <&cru HCLK_SDMMC>, 278 <&cru SCLK_SDMMC>; [all …]
|
D | rk3308.dtsi | 7 #include <dt-bindings/clock/rk3308-cru.h> 51 clocks = <&cru ARMCLK>; 201 assigned-clocks = <&cru USB480M>; 203 clocks = <&cru SCLK_USBPHY_REF>; 245 clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>; 258 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>; 271 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>; 284 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>; 297 clocks = <&cru PCLK_WDT>; 306 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/rockchip/ |
D | rk322x.dtsi | 7 #include <dt-bindings/clock/rk3228-cru.h> 36 resets = <&cru SRST_CORE0>; 40 clocks = <&cru ARMCLK>; 48 resets = <&cru SRST_CORE1>; 58 resets = <&cru SRST_CORE2>; 68 resets = <&cru SRST_CORE3>; 144 clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1_8CH>; 157 clocks = <&cru SCLK_I2S0>, <&cru HCLK_I2S0_8CH>; 167 clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF_8CH>; 181 clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2_2CH>; [all …]
|
D | rv1126.dtsi | 6 #include <dt-bindings/clock/rockchip,rv1126-cru.h> 43 clocks = <&cru ARMCLK>; 51 clocks = <&cru ARMCLK>; 59 clocks = <&cru ARMCLK>; 67 clocks = <&cru ARMCLK>; 186 clocks = <&cru HCLK_EMMC>, 187 <&cru CLK_EMMC>, 188 <&cru HCLK_NANDC>, 189 <&cru CLK_NANDC>, 190 <&cru HCLK_SFC>, [all …]
|
D | rk3128.dtsi | 6 #include <dt-bindings/clock/rk3128-cru.h> 52 clocks = <&cru ARMCLK>; 53 resets = <&cru SRST_CORE0>; 62 resets = <&cru SRST_CORE1>; 70 resets = <&cru SRST_CORE2>; 78 resets = <&cru SRST_CORE3>; 190 clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>; 193 resets = <&cru SRST_GPU>; 210 clocks = <&cru ACLK_CIF>, 211 <&cru HCLK_CIF>, [all …]
|
D | rk3288.dtsi | 7 #include <dt-bindings/clock/rk3288-cru.h> 70 resets = <&cru SRST_CORE0>; 74 clocks = <&cru ARMCLK>; 81 resets = <&cru SRST_CORE1>; 85 clocks = <&cru ARMCLK>; 92 resets = <&cru SRST_CORE2>; 96 clocks = <&cru ARMCLK>; 103 resets = <&cru SRST_CORE3>; 107 clocks = <&cru ARMCLK>; 208 clocks = <&cru PCLK_TIMER>, <&xin24m>; [all …]
|
D | rk3066a.dtsi | 9 #include <dt-bindings/clock/rk3066a-cru.h> 41 clocks = <&cru ARMCLK>; 89 clocks = <&cru ACLK_LCDC0>, 90 <&cru DCLK_LCDC0>, 91 <&cru HCLK_LCDC0>; 94 resets = <&cru SRST_LCDC0_AXI>, 95 <&cru SRST_LCDC0_AHB>, 96 <&cru SRST_LCDC0_DCLK>; 115 clocks = <&cru ACLK_LCDC1>, 116 <&cru DCLK_LCDC1>, [all …]
|
D | rk3xxx.dtsi | 46 clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>; 48 assigned-clocks = <&cru ACLK_GPU>; 50 resets = <&cru SRST_GPU>; 60 clocks = <&cru ACLK_VDPU>, <&cru HCLK_VDPU>, 61 <&cru ACLK_VEPU>, <&cru HCLK_VEPU>; 82 clocks = <&cru CORE_PERI>; 96 clocks = <&cru CORE_PERI>; 114 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 125 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; 173 clocks = <&cru HCLK_OTG0>; [all …]
|
D | rk3036.dtsi | 7 #include <dt-bindings/clock/rk3036-cru.h> 44 resets = <&cru SRST_CORE0>; 50 clocks = <&cru ARMCLK>; 57 resets = <&cru SRST_CORE1>; 114 assigned-clocks = <&cru SCLK_GPU>; 116 clocks = <&cru SCLK_GPU>, <&cru SCLK_GPU>; 119 resets = <&cru SRST_GPU>; 128 clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; 138 clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; 148 clocks = <&cru ACLK_LCDC>, <&cru SCLK_LCDC>, <&cru HCLK_LCDC>; [all …]
|
D | rv1108.dtsi | 6 #include <dt-bindings/clock/rv1108-cru.h> 36 clocks = <&cru ARMCLK>; 103 clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; 118 clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; 133 clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; 147 clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>; 161 clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>; 175 clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>; 187 clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>; 199 clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>; [all …]
|
D | rk3188.dtsi | 9 #include <dt-bindings/clock/rk3188-cru.h> 27 clocks = <&cru ARMCLK>; 29 resets = <&cru SRST_CORE0>; 37 resets = <&cru SRST_CORE1>; 45 resets = <&cru SRST_CORE2>; 53 resets = <&cru SRST_CORE3>; 119 clocks = <&cru ACLK_LCDC0>, <&cru DCLK_LCDC0>, <&cru HCLK_LCDC0>; 122 resets = <&cru SRST_LCDC0_AXI>, <&cru SRST_LCDC0_AHB>, <&cru SRST_LCDC0_DCLK>; 136 clocks = <&cru ACLK_LCDC1>, <&cru DCLK_LCDC1>, <&cru HCLK_LCDC1>; 139 resets = <&cru SRST_LCDC1_AXI>, <&cru SRST_LCDC1_AHB>, <&cru SRST_LCDC1_DCLK>; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/phy/ |
D | phy-rockchip-typec.txt | 11 - assigned-clocks: main clock, should be <&cru SCLK_UPHY0_TCPDCORE> or 12 <&cru SCLK_UPHY1_TCPDCORE>; 43 clocks = <&cru SCLK_UPHY0_TCPDCORE>, 44 <&cru SCLK_UPHY0_TCPDPHY_REF>; 46 assigned-clocks = <&cru SCLK_UPHY0_TCPDCORE>; 48 resets = <&cru SRST_UPHY0>, 49 <&cru SRST_UPHY0_PIPE_L00>, 50 <&cru SRST_P_UPHY0_TCPHY>; 67 clocks = <&cru SCLK_UPHY1_TCPDCORE>, 68 <&cru SCLK_UPHY1_TCPDPHY_REF>; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/renesas/ |
D | Makefile | 114 dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043u11-smarc-cru-csi-ov5645.dtbo 117 r9a07g043u11-smarc-cru-csi-ov5645-dtbs := r9a07g043u11-smarc.dtb r9a07g043u11-smarc-cru-csi-ov5645.… 118 dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043u11-smarc-cru-csi-ov5645.dtb 125 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044c2-smarc-cru-csi-ov5645.dtbo 126 r9a07g044c2-smarc-cru-csi-ov5645-dtbs := r9a07g044c2-smarc.dtb r9a07g044c2-smarc-cru-csi-ov5645.dtbo 127 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044c2-smarc-cru-csi-ov5645.dtb 130 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc-cru-csi-ov5645.dtbo 131 r9a07g044l2-smarc-cru-csi-ov5645-dtbs := r9a07g044l2-smarc.dtb r9a07g044l2-smarc-cru-csi-ov5645.dtbo 132 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc-cru-csi-ov5645.dtb 135 dtb-$(CONFIG_ARCH_R9A07G054) += r9a07g054l2-smarc-cru-csi-ov5645.dtbo [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/display/rockchip/ |
D | cdn-dp-rockchip.txt | 19 - assigned-clocks: main clock, should be <&cru SCLK_DP_CORE> 41 clocks = <&cru SCLK_DP_CORE>, <&cru PCLK_DP_CTRL>, 42 <&cru SCLK_SPDIF_REC_DPTX>, <&cru PCLK_VIO_GRF>; 44 assigned-clocks = <&cru SCLK_DP_CORE>; 48 resets = <&cru SRST_DPTX_SPDIF_REC>;
|