/Linux-v5.4/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_drv.c | 135 static void adv7511_set_colormap(struct adv7511 *adv7511, bool enable, in adv7511_set_colormap() argument 141 regmap_update_bits(adv7511->regmap, ADV7511_REG_CSC_UPPER(1), in adv7511_set_colormap() 146 regmap_update_bits(adv7511->regmap, in adv7511_set_colormap() 149 regmap_write(adv7511->regmap, in adv7511_set_colormap() 156 regmap_update_bits(adv7511->regmap, ADV7511_REG_CSC_UPPER(0), in adv7511_set_colormap() 159 regmap_update_bits(adv7511->regmap, ADV7511_REG_CSC_UPPER(0), in adv7511_set_colormap() 162 regmap_update_bits(adv7511->regmap, ADV7511_REG_CSC_UPPER(1), in adv7511_set_colormap() 166 static int adv7511_packet_enable(struct adv7511 *adv7511, unsigned int packet) in adv7511_packet_enable() argument 169 regmap_update_bits(adv7511->regmap, ADV7511_REG_PACKET_ENABLE0, in adv7511_packet_enable() 174 regmap_update_bits(adv7511->regmap, ADV7511_REG_PACKET_ENABLE1, in adv7511_packet_enable() [all …]
|
D | adv7511_cec.c | 35 static void adv_cec_tx_raw_status(struct adv7511 *adv7511, u8 tx_raw_status) in adv_cec_tx_raw_status() argument 37 unsigned int offset = adv7511->type == ADV7533 ? in adv_cec_tx_raw_status() 41 if (regmap_read(adv7511->regmap_cec, in adv_cec_tx_raw_status() 49 cec_transmit_attempt_done(adv7511->cec_adap, in adv_cec_tx_raw_status() 65 if (regmap_read(adv7511->regmap_cec, in adv_cec_tx_raw_status() 77 cec_transmit_done(adv7511->cec_adap, status, in adv_cec_tx_raw_status() 82 cec_transmit_attempt_done(adv7511->cec_adap, CEC_TX_STATUS_OK); in adv_cec_tx_raw_status() 87 void adv7511_cec_irq_process(struct adv7511 *adv7511, unsigned int irq1) in adv7511_cec_irq_process() argument 89 unsigned int offset = adv7511->type == ADV7533 ? in adv7511_cec_irq_process() 100 adv_cec_tx_raw_status(adv7511, irq1); in adv7511_cec_irq_process() [all …]
|
D | adv7511_audio.c | 35 static int adv7511_update_cts_n(struct adv7511 *adv7511) in adv7511_update_cts_n() argument 40 adv7511_calc_cts_n(adv7511->f_tmds, adv7511->f_audio, &cts, &n); in adv7511_update_cts_n() 42 regmap_write(adv7511->regmap, ADV7511_REG_N0, (n >> 16) & 0xf); in adv7511_update_cts_n() 43 regmap_write(adv7511->regmap, ADV7511_REG_N1, (n >> 8) & 0xff); in adv7511_update_cts_n() 44 regmap_write(adv7511->regmap, ADV7511_REG_N2, n & 0xff); in adv7511_update_cts_n() 46 regmap_write(adv7511->regmap, ADV7511_REG_CTS_MANUAL0, in adv7511_update_cts_n() 48 regmap_write(adv7511->regmap, ADV7511_REG_CTS_MANUAL1, in adv7511_update_cts_n() 50 regmap_write(adv7511->regmap, ADV7511_REG_CTS_MANUAL2, in adv7511_update_cts_n() 60 struct adv7511 *adv7511 = dev_get_drvdata(dev); in adv7511_hdmi_hw_params() local 128 regmap_update_bits(adv7511->regmap, ADV7511_REG_AUDIO_SOURCE, 0x70, in adv7511_hdmi_hw_params() [all …]
|
D | adv7511.h | 327 struct adv7511 { struct 382 int adv7511_cec_init(struct device *dev, struct adv7511 *adv7511); argument 383 void adv7511_cec_irq_process(struct adv7511 *adv7511, unsigned int irq1); 385 static inline int adv7511_cec_init(struct device *dev, struct adv7511 *adv7511) in adv7511_cec_init() argument 387 unsigned int offset = adv7511->type == ADV7533 ? in adv7511_cec_init() 390 regmap_write(adv7511->regmap, ADV7511_REG_CEC_CTRL + offset, in adv7511_cec_init() 397 void adv7533_dsi_power_on(struct adv7511 *adv); 398 void adv7533_dsi_power_off(struct adv7511 *adv); 399 void adv7533_mode_set(struct adv7511 *adv, const struct drm_display_mode *mode); 400 int adv7533_patch_registers(struct adv7511 *adv); [all …]
|
D | Makefile | 2 adv7511-y := adv7511_drv.o 3 adv7511-$(CONFIG_DRM_I2C_ADV7511_AUDIO) += adv7511_audio.o 4 adv7511-$(CONFIG_DRM_I2C_ADV7511_CEC) += adv7511_cec.o 5 adv7511-$(CONFIG_DRM_I2C_ADV7533) += adv7533.o 6 obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511.o
|
D | adv7533.c | 27 static void adv7511_dsi_config_timing_gen(struct adv7511 *adv) in adv7511_dsi_config_timing_gen() 66 void adv7533_dsi_power_on(struct adv7511 *adv) in adv7533_dsi_power_on() 95 void adv7533_dsi_power_off(struct adv7511 *adv) in adv7533_dsi_power_off() 103 void adv7533_mode_set(struct adv7511 *adv, const struct drm_display_mode *mode) in adv7533_mode_set() 125 int adv7533_patch_registers(struct adv7511 *adv) in adv7533_patch_registers() 132 int adv7533_patch_cec_registers(struct adv7511 *adv) in adv7533_patch_cec_registers() 139 int adv7533_attach_dsi(struct adv7511 *adv) in adv7533_attach_dsi() 184 void adv7533_detach_dsi(struct adv7511 *adv) in adv7533_detach_dsi() 190 int adv7533_parse_dt(struct device_node *np, struct adv7511 *adv) in adv7533_parse_dt()
|
/Linux-v5.4/arch/arc/boot/dts/ |
D | axs10x_mb.dtsi | 186 adv7511:adv7511@39{ label 187 compatible="adi,adv7511"; 306 encoder-slave = <&adv7511>; 325 sound-dai = <&adv7511>;
|
/Linux-v5.4/drivers/gpu/drm/bridge/ |
D | Makefile | 16 obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511/
|
D | Kconfig | 155 source "drivers/gpu/drm/bridge/adv7511/Kconfig"
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | zynq-zc706.dts | 88 adv7511: hdmi-tx@39 { label 89 compatible = "adi,adv7511";
|
D | zynq-zc702.dts | 130 adv7511: hdmi-tx@39 { label 131 compatible = "adi,adv7511";
|
/Linux-v5.4/drivers/media/i2c/ |
D | Makefile | 38 obj-$(CONFIG_VIDEO_ADV7511) += adv7511-v4l2.o
|
D | Kconfig | 525 module will be called adv7511. 532 When selected the adv7511 will support the optional
|
/Linux-v5.4/Documentation/devicetree/bindings/display/bridge/ |
D | adi,adv7511.txt | 12 "adi,adv7511"
|
/Linux-v5.4/include/ |
D | Kbuild | 763 header-test- += media/i2c/adv7511.h
|
/Linux-v5.4/ |
D | MAINTAINERS | 989 F: drivers/media/i2c/adv7511*
|