Searched refs:rk1000 (Results 1 – 12 of 12) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/ |
| H A D | rk1000.c | 106 static int rk1000_tv_write_block(struct rk1000_tve *rk1000, in rk1000_tv_write_block() argument 112 ret = regmap_write(rk1000->tvemap, reg + i, buf[i]); in rk1000_tv_write_block() 120 static int rk1000_control_write_block(struct rk1000_tve *rk1000, in rk1000_control_write_block() argument 126 ret = regmap_write(rk1000->ctlmap, reg + i, buf[i]); in rk1000_control_write_block() 134 static int rk1000_mode_set(struct rk1000_tve *rk1000) in rk1000_mode_set() argument 139 switch (rk1000->mode) { in rk1000_mode_set() 141 dev_dbg(rk1000->dev, "rk1000 PAL\n"); in rk1000_mode_set() 146 dev_dbg(rk1000->dev, "rk1000 NTSC\n"); in rk1000_mode_set() 151 dev_dbg(rk1000->dev, "mode select err\n"); in rk1000_mode_set() 155 ret = rk1000_tv_write_block(rk1000, 0, tv_regs, 6); in rk1000_mode_set() [all …]
|
| H A D | Makefile | 15 obj-$(CONFIG_DRM_RK1000_TVE) += rk1000.o
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | rk1000-core.c | 31 struct rk1000 { struct 66 struct rk1000 *rk1000 = devm_kzalloc(&client->dev, sizeof(*rk1000), in rk1000_probe() local 68 if (!rk1000) in rk1000_probe() 71 rk1000->client = client; in rk1000_probe() 72 rk1000->dev = &client->dev; in rk1000_probe() 74 rk1000->regmap = devm_regmap_init_i2c(client, &rk1000_regmap_config); in rk1000_probe() 75 if (IS_ERR(rk1000->regmap)) in rk1000_probe() 76 return PTR_ERR(rk1000->regmap); in rk1000_probe() 78 ret = regmap_read(rk1000->regmap, CTRL_TVE, &val); in rk1000_probe() 91 rk1000->io_reset = devm_gpiod_get_optional(rk1000->dev, "reset", in rk1000_probe() [all …]
|
| H A D | Makefile | 232 obj-$(CONFIG_MFD_RK1000) += rk1000-core.o
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | rk1000_codec.c | 501 struct rk1000_codec_priv *rk1000; in rk1000_codec_i2c_probe() local 506 rk1000 = devm_kzalloc(&i2c->dev, sizeof(*rk1000), GFP_KERNEL); in rk1000_codec_i2c_probe() 507 if (!rk1000) in rk1000_codec_i2c_probe() 510 i2c_set_clientdata(i2c, rk1000); in rk1000_codec_i2c_probe() 513 &rk1000->pa_enable_time); in rk1000_codec_i2c_probe() 515 rk1000->spk_en_gpio = devm_gpiod_get_optional(&i2c->dev, "rockchip,spk-en", in rk1000_codec_i2c_probe() 517 if (IS_ERR(rk1000->spk_en_gpio)) in rk1000_codec_i2c_probe() 518 return PTR_ERR(rk1000->spk_en_gpio); in rk1000_codec_i2c_probe() 530 rk1000->regmap = devm_regmap_init(&i2c->dev, NULL, in rk1000_codec_i2c_probe() 532 if (IS_ERR(rk1000->regmap)) in rk1000_codec_i2c_probe() [all …]
|
| H A D | Makefile | 166 snd-soc-rk1000-objs := rk1000_codec.o 493 obj-$(CONFIG_SND_SOC_RK1000) += snd-soc-rk1000.o
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/bridge/ |
| H A D | rk1000.txt | 9 - compatible: should be "rockchip,rk1000-tve" 13 - rockchip,ctl: phandle to the rk1000 core controller 21 The rk1000 tve has one video port. its connection is modeled using the OF 30 rk1000-tve@42 { 32 compatible = "rockchip,rk1000-tve";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | rockchip,rk1000-codec.txt | 5 - compatible: "rockchip,rk1000-codec" 9 - rockchip,ctl: phandle to the rk1000 core controller. 11 Example for rk1000 codec: 13 rk1000_codec: rk1000-codec@60 {
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | rk1000-core.txt | 8 - compatible : "rockchip,rk1000-ctl" 15 rk1000-ctl@40 { 16 compatible = "rockchip,rk1000-ctl";
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rk1000.c | 132 U_BOOT_DRIVER(rk1000) = {
|
| H A D | Makefile | 39 obj-$(CONFIG_DRM_ROCKCHIP_RK1000) += rk1000.o rk1000_tve.o
|
| H A D | .rockchip_display.o.cmd | |