Home
last modified time | relevance | path

Searched full:csiphy (Results 1 – 14 of 14) sorted by relevance

/linux-6.14.4/drivers/media/platform/qcom/camss/
Dcamss-csiphy.c3 * camss-csiphy.c
5 * Qualcomm MSM Camera Subsystem - CSIPHY Module
22 #include "camss-csiphy.h"
139 * csiphy_set_clock_rates - Calculate and set clock rates on CSIPHY module
140 * @csiphy: CSIPHY device
142 static int csiphy_set_clock_rates(struct csiphy_device *csiphy) in csiphy_set_clock_rates() argument
144 struct device *dev = csiphy->camss->dev; in csiphy_set_clock_rates()
149 u8 bpp = csiphy_get_bpp(csiphy->res->formats->formats, csiphy->res->formats->nformats, in csiphy_set_clock_rates()
150 csiphy->fmt[MSM_CSIPHY_PAD_SINK].code); in csiphy_set_clock_rates()
151 u8 num_lanes = csiphy->cfg.csi2->lane_cfg.num_data; in csiphy_set_clock_rates()
[all …]
Dcamss-csiphy-2ph-1-0.c3 * camss-csiphy-2ph-1-0.c
5 * Qualcomm MSM Camera Subsystem - CSIPHY Module 2phase v1.0
11 #include "camss-csiphy.h"
43 static void csiphy_hw_version_read(struct csiphy_device *csiphy, in csiphy_hw_version_read() argument
46 u8 hw_version = readl_relaxed(csiphy->base + in csiphy_hw_version_read()
49 dev_dbg(dev, "CSIPHY HW Version = 0x%02x\n", hw_version); in csiphy_hw_version_read()
53 * csiphy_reset - Perform software reset on CSIPHY module
54 * @csiphy: CSIPHY device
56 static void csiphy_reset(struct csiphy_device *csiphy) in csiphy_reset() argument
58 writel_relaxed(0x1, csiphy->base + CAMSS_CSI_PHY_GLBL_RESET); in csiphy_reset()
[all …]
Dcamss-csiphy-3ph-1-0.c3 * camss-csiphy-3ph-1-0.c
5 * Qualcomm MSM Camera Subsystem - CSIPHY Module 3phase v1.0
12 #include "camss-csiphy.h"
351 static void csiphy_hw_version_read(struct csiphy_device *csiphy, in csiphy_hw_version_read() argument
357 csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(6)); in csiphy_hw_version_read()
359 hw_version = readl_relaxed(csiphy->base + in csiphy_hw_version_read()
361 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read()
363 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read()
365 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read()
368 dev_dbg(dev, "CSIPHY 3PH HW Version = 0x%08x\n", hw_version); in csiphy_hw_version_read()
[all …]
Dcamss-csiphy.h3 * camss-csiphy.h
5 * Qualcomm MSM Camera Subsystem - CSIPHY Module
30 * struct csiphy_lanes_cfg - CSIPHY lanes configuration
71 void (*hw_version_read)(struct csiphy_device *csiphy,
73 void (*reset)(struct csiphy_device *csiphy);
74 void (*lanes_enable)(struct csiphy_device *csiphy,
77 void (*lanes_disable)(struct csiphy_device *csiphy,
110 struct csiphy_device *csiphy,
113 int msm_csiphy_register_entity(struct csiphy_device *csiphy,
116 void msm_csiphy_unregister_entity(struct csiphy_device *csiphy);
DMakefile10 camss-csiphy-2ph-1-0.o \
11 camss-csiphy-3ph-1-0.o \
12 camss-csiphy.o \
Dcamss.c48 .csiphy = {
64 .csiphy = {
320 .csiphy = {
336 .csiphy = {
352 .csiphy = {
526 .csiphy = {
544 .csiphy = {
562 .csiphy = {
758 .csiphy = {
780 .csiphy = {
[all …]
Dcamss.h22 #include "camss-csiphy.h"
53 struct csiphy_subdev_resources csiphy; member
116 struct csiphy_device *csiphy; member
Dcamss-csid.c529 * @csiphy: CSID device
969 /* If CSID is linked to CSIPHY, do not allow to enable test generator */ in csid_set_test_pattern()
1185 struct csiphy_device *csiphy; in csid_link_setup() local
1192 /* do not allow a link from CSIPHY to CSID */ in csid_link_setup()
1197 csiphy = v4l2_get_subdevdata(sd); in csid_link_setup()
1199 /* If a sensor is not linked to CSIPHY */ in csid_link_setup()
1200 /* do no allow a link from CSIPHY to CSID */ in csid_link_setup()
1201 if (!csiphy->cfg.csi2) in csid_link_setup()
1204 csid->phy.csiphy_id = csiphy->id; in csid_link_setup()
1206 lane_cfg = &csiphy->cfg.csi2->lane_cfg; in csid_link_setup()
/linux-6.14.4/Documentation/admin-guide/media/
Dqcom_camss.rst30 - 2 / 3 CSIPHY modules. They handle the Physical layer of the CSI2 receivers.
31 A separate camera sensor can be connected to each of the CSIPHY module;
34 CSIPHY. Each CSID also contains a TG (Test Generator) block which can generate
52 - Input from camera sensor via CSIPHY;
114 - 2 / 3 CSIPHY sub-devices - each CSIPHY is represented by a single sub-device;
123 - representing CSIPHY and CSID modules by a separate sub-device for each module
/linux-6.14.4/Documentation/devicetree/bindings/media/
Dqcom,sc7280-camss.yaml145 Input port for receiving CSI data on CSIPHY 0.
164 Input port for receiving CSI data on CSIPHY 1.
183 Input port for receiving CSI data on CSIPHY 2.
202 Input port for receiving CSI data on CSIPHY 3.
221 Input port for receiving CSI data on CSIPHY 4.
/linux-6.14.4/drivers/media/platform/ti/omap3isp/
Dispcsiphy.h24 struct mutex mutex; /* serialize csiphy configuration */
Disp.h146 * @syscon_offset: Offset of the CSIPHY control register in syscon
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dqrb5165-rb5-vision-mezzanine.dtso33 /* The port index denotes CSIPHY id i.e. csiphy2 */
/linux-6.14.4/drivers/media/i2c/
Dmax96714.c471 dev_info(dev, "CSI controller DPLL freq:%u00MHz CSIPHY enabled:%d\n", in max96714_csi_status()