| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | phy-rockchip-inno-hdmi-phy.c | 215 void (*init)(struct inno_hdmi_phy *inno); 216 int (*power_on)(struct inno_hdmi_phy *inno, 219 void (*power_off)(struct inno_hdmi_phy *inno); 220 int (*pre_pll_update)(struct inno_hdmi_phy *inno, 222 unsigned long (*recalc_rate)(struct inno_hdmi_phy *inno, 376 static inline void inno_write(struct inno_hdmi_phy *inno, u32 reg, u8 val) in inno_write() argument 378 regmap_write(inno->regmap, reg * 4, val); in inno_write() 381 static inline u8 inno_read(struct inno_hdmi_phy *inno, u32 reg) in inno_read() argument 385 regmap_read(inno->regmap, reg * 4, &val); in inno_read() 390 static inline void inno_update_bits(struct inno_hdmi_phy *inno, u8 reg, in inno_update_bits() argument [all …]
|
| H A D | phy-rockchip-inno-hdmi.c | 280 int (*init)(struct inno_hdmi_phy *inno); 281 int (*power_on)(struct inno_hdmi_phy *inno, 284 void (*power_off)(struct inno_hdmi_phy *inno); 382 static inline void inno_write(struct inno_hdmi_phy *inno, u32 reg, u8 val) in inno_write() argument 384 regmap_write(inno->regmap, reg * 4, val); in inno_write() 387 static inline u8 inno_read(struct inno_hdmi_phy *inno, u32 reg) in inno_read() argument 391 regmap_read(inno->regmap, reg * 4, &val); in inno_read() 396 static inline void inno_update_bits(struct inno_hdmi_phy *inno, u8 reg, in inno_update_bits() argument 399 regmap_update_bits(inno->regmap, reg * 4, mask, val); in inno_update_bits() 402 #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \ argument [all …]
|
| H A D | phy-rockchip-inno-dsidphy.c | 306 static void phy_update_bits(struct inno_dsidphy *inno, in phy_update_bits() argument 312 orig = readl(inno->phy_base + reg); in phy_update_bits() 315 writel(tmp, inno->phy_base + reg); in phy_update_bits() 318 static void host_update_bits(struct inno_dsidphy *inno, in host_update_bits() argument 323 orig = readl(inno->host_base + reg); in host_update_bits() 326 writel(tmp, inno->host_base + reg); in host_update_bits() 329 static unsigned long inno_dsidphy_pll_calc_rate(struct inno_dsidphy *inno, in inno_dsidphy_pll_calc_rate() argument 332 unsigned long prate = clk_get_rate(inno->ref_clk); in inno_dsidphy_pll_calc_rate() 391 inno->pll.prediv = best_prediv; in inno_dsidphy_pll_calc_rate() 392 inno->pll.fbdiv = best_fbdiv; in inno_dsidphy_pll_calc_rate() [all …]
|
| H A D | phy-rockchip-inno-mipi-dphy.c | 275 static void inno_update_bits(struct inno_mipi_dphy *inno, u8 first, u8 second, in inno_update_bits() argument 280 regmap_update_bits(inno->regmap, reg, mask, val); in inno_update_bits() 283 static void inno_mipi_dphy_reset(struct inno_mipi_dphy *inno) in inno_mipi_dphy_reset() argument 286 inno_update_bits(inno, REGISTER_PART_ANALOG, 0x01, in inno_mipi_dphy_reset() 289 inno_update_bits(inno, REGISTER_PART_ANALOG, 0x01, in inno_mipi_dphy_reset() 292 inno_update_bits(inno, REGISTER_PART_DIGITAL, 0x00, in inno_mipi_dphy_reset() 295 inno_update_bits(inno, REGISTER_PART_DIGITAL, 0x00, in inno_mipi_dphy_reset() 299 static void inno_mipi_dphy_power_work_enable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_power_work_enable() argument 301 inno_update_bits(inno, REGISTER_PART_ANALOG, 0x00, in inno_mipi_dphy_power_work_enable() 305 static void inno_mipi_dphy_power_work_disable(struct inno_mipi_dphy *inno) in inno_mipi_dphy_power_work_disable() argument [all …]
|
| H A D | phy-rockchip-inno-video-combo-phy.c | 235 static void phy_update_bits(struct inno_video_phy *inno, in phy_update_bits() argument 241 orig = readl(inno->phy_base + reg); in phy_update_bits() 244 writel(tmp, inno->phy_base + reg); in phy_update_bits() 247 static void host_update_bits(struct inno_video_phy *inno, in host_update_bits() argument 252 orig = readl(inno->host_base + reg); in host_update_bits() 255 writel(tmp, inno->host_base + reg); in host_update_bits() 286 static void inno_video_phy_mipi_mode_enable(struct inno_video_phy *inno) in inno_video_phy_mipi_mode_enable() argument 315 phy_update_bits(inno, REGISTER_PART_LVDS, 0x03, in inno_video_phy_mipi_mode_enable() 318 phy_update_bits(inno, REGISTER_PART_ANALOG, 0x03, in inno_video_phy_mipi_mode_enable() 319 REG_PREDIV_MASK, REG_PREDIV(inno->pll.prediv)); in inno_video_phy_mipi_mode_enable() [all …]
|
| H A D | phy-rockchip-inno-video-phy.c | 84 struct inno_video_phy *inno = phy_get_drvdata(phy); in inno_video_phy_power_on() local 92 clk_prepare_enable(inno->pclk); in inno_video_phy_power_on() 93 pm_runtime_get_sync(inno->dev); in inno_video_phy_power_on() 111 regmap_multi_reg_write(inno->regmap, wseq, nregs); in inno_video_phy_power_on() 113 regmap_update_bits(inno->regmap, 0x0030, DISABLE_PLL, 0); in inno_video_phy_power_on() 114 ret = regmap_read_poll_timeout(inno->regmap, 0x003c, status, in inno_video_phy_power_on() 117 dev_err(inno->dev, "PLL is not lock\n"); in inno_video_phy_power_on() 121 regmap_update_bits(inno->regmap, 0x0084, ENABLE_TX, ENABLE_TX); in inno_video_phy_power_on() 128 struct inno_video_phy *inno = phy_get_drvdata(phy); in inno_video_phy_power_off() local 130 regmap_update_bits(inno->regmap, 0x0084, ENABLE_TX, 0); in inno_video_phy_power_off() [all …]
|
| H A D | Makefile | 7 obj-$(CONFIG_PHY_ROCKCHIP_INNO_COMBPHY) += phy-rockchip-inno-combphy.o 8 obj-$(CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY) += phy-rockchip-inno-dsidphy.o 9 obj-$(CONFIG_PHY_ROCKCHIP_INNO_HDMI) += phy-rockchip-inno-hdmi-phy.o 10 obj-$(CONFIG_PHY_ROCKCHIP_INNO_USB2) += phy-rockchip-inno-usb2.o 11 obj-$(CONFIG_PHY_ROCKCHIP_INNO_USB3) += phy-rockchip-inno-usb3.o
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rockchip-inno-hdmi-phy.c | 200 void (*init)(struct inno_hdmi_phy *inno); 201 int (*power_on)(struct inno_hdmi_phy *inno, 204 void (*power_off)(struct inno_hdmi_phy *inno); 205 int (*pre_pll_update)(struct inno_hdmi_phy *inno, 207 unsigned long (*recalc_rate)(struct inno_hdmi_phy *inno, 345 static inline void inno_write(struct inno_hdmi_phy *inno, u32 reg, u8 val) in inno_write() argument 347 writel(val, inno->regs + (reg * 4)); in inno_write() 350 static inline u8 inno_read(struct inno_hdmi_phy *inno, u32 reg) in inno_read() argument 354 val = readl(inno->regs + (reg * 4)); in inno_read() 359 static inline void inno_update_bits(struct inno_hdmi_phy *inno, u8 reg, in inno_update_bits() argument [all …]
|
| H A D | inno_video_combo_phy.c | 327 static inline void phy_update_bits(struct inno_video_phy *inno, in phy_update_bits() argument 333 orig = readl(inno->phy.start + reg); in phy_update_bits() 336 writel(tmp, inno->phy.start + reg); in phy_update_bits() 339 static inline void host_update_bits(struct inno_video_phy *inno, in host_update_bits() argument 344 orig = readl(inno->host.start + reg); in host_update_bits() 347 writel(tmp, inno->host.start + reg); in host_update_bits() 379 inno_mipi_dphy_get_timing(struct inno_video_phy *inno) in inno_mipi_dphy_get_timing() argument 383 unsigned int lane_mbps = inno->pll.rate / USEC_PER_SEC; in inno_mipi_dphy_get_timing() 386 timings = inno->mipi_dphy_info->inno_mipi_dphy_timing_table; in inno_mipi_dphy_get_timing() 387 num_timings = inno->mipi_dphy_info->num_timings; in inno_mipi_dphy_get_timing() [all …]
|
| H A D | inno_mipi_phy.c | 255 static inline void inno_write(struct inno_mipi_dphy *inno, u32 reg, u32 val) in inno_write() argument 257 writel(val, inno->regs + reg); in inno_write() 260 static inline u32 inno_read(struct inno_mipi_dphy *inno, u32 reg) in inno_read() argument 262 return readl(inno->regs + reg); in inno_read() 265 static inline void inno_update_bits(struct inno_mipi_dphy *inno, u32 reg, in inno_update_bits() argument 270 orig = inno_read(inno, reg); in inno_update_bits() 273 inno_write(inno, reg, tmp); in inno_update_bits() 304 static void inno_mipi_dphy_timing_update(struct inno_mipi_dphy *inno, in inno_mipi_dphy_timing_update() argument 313 inno_update_bits(inno, base + T_HS_PREPARE_OFFSET, m, v); in inno_mipi_dphy_timing_update() 317 inno_update_bits(inno, base + T_HS_ZERO_OFFSET, m, v); in inno_mipi_dphy_timing_update() [all …]
|
| H A D | inno_video_phy.c | 84 static inline void phy_write(struct inno_video_phy *inno, u32 reg, u32 val) in phy_write() argument 86 writel(val, inno->base + reg); in phy_write() 89 static inline u32 phy_read(struct inno_video_phy *inno, u32 reg) in phy_read() argument 91 return readl(inno->base + reg); in phy_read() 94 static inline void phy_update_bits(struct inno_video_phy *inno, in phy_update_bits() argument 99 orig = phy_read(inno, reg); in phy_update_bits() 102 phy_write(inno, reg, tmp); in phy_update_bits() 105 static void phy_multi_write(struct inno_video_phy *inno, in phy_multi_write() argument 111 phy_write(inno, regs[i].reg, regs[i].def); in phy_multi_write() 120 struct inno_video_phy *inno = dev_get_priv(phy->dev); in inno_video_phy_power_on() local [all …]
|
| H A D | Makefile | 25 obj-$(CONFIG_ROCKCHIP_INNO_HDMI_PHY) += rockchip-inno-hdmi-phy.o 42 …p_connector.o rockchip_post_csc.o rockchip_vop2.o rockchip_phy.o rockchip-inno-hdmi-phy.o rockchip…
|
| /OK3568_Linux_fs/u-boot/drivers/phy/ |
| H A D | phy-rockchip-inno-usb2.su | |
| H A D | Makefile | 10 obj-$(CONFIG_PHY_ROCKCHIP_INNO_USB2) += phy-rockchip-inno-usb2.o 12 obj-$(CONFIG_PHY_ROCKCHIP_INNO_USB3) += phy-rockchip-inno-usb3.o 22 CFLAGS_phy-rockchip-inno-usb2.o := -Wno-error=unused-function -Wno-error=unused-const-variable -Wun…
|
| H A D | .phy-rockchip-inno-usb2.o.cmd | |
| H A D | .built-in.o.cmd | |
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/rockchip/ |
| H A D | inno_hdmi-rockchip.txt | 6 "rockchip,rk3036-inno-hdmi"; 7 "rockchip,rk3128-inno-hdmi"; 22 compatible = "rockchip,rk3036-inno-hdmi";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/ |
| H A D | hisilicon,histb-xhci.txt | 22 "inno": for inno phy 44 phy-names = "inno", "combo";
|
| H A D | rockchip,dwc3.txt | 19 Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml - USB2.0 PHY
|
| H A D | rockchip-inno,dwc3.txt | 20 Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb3.txt
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/ |
| H A D | multi-inno,mi0283qt.txt | 4 - compatible: "multi-inno,mi0283qt". 21 compatible = "multi-inno,mi0283qt";
|
| /OK3568_Linux_fs/kernel/drivers/phy/hisilicon/ |
| H A D | Makefile | 5 obj-$(CONFIG_PHY_HISI_INNO_USB2) += phy-hisi-inno-usb2.o
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | phy-hisi-inno-usb2.txt | 5 "hisilicon,inno-usb2-phy",
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rk3128.dtsi | 64 compatible = "rockchip,rk3128-inno-hdmi";
|
| /OK3568_Linux_fs/buildroot/output/OK3568/target/usr/lib/modules/5.10.160/ |
| H A D | modules.builtin | |