| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rk618.c | 15 int rk618_i2c_write(struct rk618 *rk618, u16 reg, u32 val) in rk618_i2c_write() argument 17 struct dm_i2c_chip *chip = dev_get_parent_platdata(rk618->dev); in rk618_i2c_write() 31 ret = dm_i2c_xfer(rk618->dev, &msg, 1); in rk618_i2c_write() 33 dev_err(rk618->dev, "Could not execute transfer: %d\n", ret); in rk618_i2c_write() 40 int rk618_i2c_read(struct rk618 *rk618, u16 reg, u32 *val) in rk618_i2c_read() argument 42 struct dm_i2c_chip *chip = dev_get_parent_platdata(rk618->dev); in rk618_i2c_read() 59 ret = dm_i2c_xfer(rk618->dev, msg, 2); in rk618_i2c_read() 61 dev_err(rk618->dev, "Could not execute transfer: %d\n", ret); in rk618_i2c_read() 70 void rk618_frc_dither_disable(struct rk618 *rk618) in rk618_frc_dither_disable() argument 72 rk618_i2c_write(rk618, RK618_FRC_REG, FRC_DITHER_DISABLE); in rk618_frc_dither_disable() [all …]
|
| H A D | rk618.h | 59 struct rk618 { struct 67 int rk618_i2c_write(struct rk618 *rk618, u16 reg, u32 val); argument 68 int rk618_i2c_read(struct rk618 *rk618, u16 reg, u32 *val); 69 void rk618_frc_dither_disable(struct rk618 *rk618); 70 void rk618_frc_dither_enable(struct rk618 *rk618); 71 void rk618_frc_dclk_invert(struct rk618 *rk618);
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | rk618.c | 52 static int rk618_power_on(struct rk618 *rk618) in rk618_power_on() argument 57 ret = regulator_enable(rk618->supply); in rk618_power_on() 59 dev_err(rk618->dev, "failed to enable supply: %d\n", ret); in rk618_power_on() 63 if (rk618->enable_gpio) in rk618_power_on() 64 gpiod_direction_output(rk618->enable_gpio, 1); in rk618_power_on() 68 ret = regmap_read(rk618->regmap, 0x0000, ®); in rk618_power_on() 70 gpiod_direction_output(rk618->reset_gpio, 0); in rk618_power_on() 72 gpiod_direction_output(rk618->reset_gpio, 1); in rk618_power_on() 74 gpiod_direction_output(rk618->reset_gpio, 0); in rk618_power_on() 80 static void rk618_power_off(struct rk618 *rk618) in rk618_power_off() argument [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/rockchip/ |
| H A D | rockchip,rk618.txt | 9 "rockchip,rk618-vif" 23 &rk618 { 27 compatible = "rockchip,rk618-vif"; 60 "rockchip,rk618-scaler" 74 &rk618 { 78 compatible = "rockchip,rk618-scaler"; 111 "rockchip,rk618-lvds" 128 &rk618 { 132 compatible = "rockchip,rk618-lvds"; 165 "rockchip,rk618-rgb" [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk618/ |
| H A D | rk618_dither.c | 23 void rk618_frc_dither_init(struct rk618 *rk618, u32 bus_format) in rk618_frc_dither_init() argument 43 regmap_write(rk618->regmap, RK618_FRC_REG, val); in rk618_frc_dither_init() 47 void rk618_frc_dclk_invert(struct rk618 *rk618) in rk618_frc_dclk_invert() argument 49 regmap_write(rk618->regmap, RK618_FRC_REG, FRC_DCLK_INV); in rk618_frc_dclk_invert()
|
| H A D | rk618_dither.h | 14 void rk618_frc_dither_init(struct rk618 *rk618, u32 bus_format); 15 void rk618_frc_dclk_invert(struct rk618 *rk618);
|
| H A D | rk618_lvds.c | 43 struct rk618 *parent; 219 struct rk618 *rk618 = dev_get_drvdata(pdev->dev.parent); in rk618_lvds_probe() local 233 lvds->parent = rk618; in rk618_lvds_probe() 234 lvds->regmap = rk618->regmap; in rk618_lvds_probe()
|
| H A D | rk618_rgb.c | 37 struct rk618 *parent; 214 struct rk618 *rk618 = dev_get_drvdata(pdev->dev.parent); in rk618_rgb_probe() local 227 rgb->parent = rk618; in rk618_rgb_probe() 228 rgb->regmap = rk618->regmap; in rk618_rgb_probe()
|
| H A D | Kconfig | 4 tristate "Rockchip rk618 display bridge driver" 10 Rockchip rk618 display bridge chips driver.
|
| H A D | rk618_vif.c | 197 struct rk618 *rk618 = dev_get_drvdata(pdev->dev.parent); in rk618_vif_probe() local 210 vif->regmap = rk618->regmap; in rk618_vif_probe()
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | px30-ad-r35-mb-rk618-hdmi-lvds.dts | 8 #include <dt-bindings/clock/rk618-cru.h> 60 rk618@50 { 61 compatible = "rockchip,rk618"; 73 compatible = "rockchip,rk618-cru"; 93 compatible = "rockchip,rk618-hdmi"; 125 compatible = "rockchip,rk618-lvds"; 153 compatible = "rockchip,rk618-scaler"; 182 compatible = "rockchip,rk618-vif";
|
| H A D | px30-ad-r35-mb-rk618-hdmi.dts | 7 #include <dt-bindings/clock/rk618-cru.h> 17 rk618@50 { 18 compatible = "rockchip,rk618"; 30 compatible = "rockchip,rk618-cru"; 50 compatible = "rockchip,rk618-hdmi";
|
| H A D | px30-ad-r35-mb-rk618-lvds.dts | 7 #include <dt-bindings/clock/rk618-cru.h> 59 rk618@50 { 60 compatible = "rockchip,rk618"; 72 compatible = "rockchip,rk618-cru"; 92 compatible = "rockchip,rk618-lvds";
|
| H A D | px30-ad-r35-mb-rk618-dual-lvds.dts | 7 #include <dt-bindings/clock/rk618-cru.h> 59 rk618@50 { 60 compatible = "rockchip,rk618"; 72 compatible = "rockchip,rk618-cru"; 92 compatible = "rockchip,rk618-lvds";
|
| H A D | px30-evb-ext-rk618.dtsi | 7 #include <dt-bindings/clock/rk618-cru.h> 120 rk618@50 { 121 compatible = "rockchip,rk618"; 133 compatible = "rockchip,rk618-cru"; 153 compatible = "rockchip,rk618-hdmi";
|
| H A D | rk3568-nvr-demo-v10.dtsi | 10 #include <dt-bindings/clock/rk618-cru.h> 199 rk618@50 { 200 compatible = "rockchip,rk618"; 213 compatible = "rockchip,rk618-cru"; 233 compatible = "rockchip,rk618-hdmi"; 421 rk618 { 422 rk618_reset: rk618-reeset { 425 rk618_int: rk618-int {
|
| H A D | rk3308b-mipi-display-v11.dtsi | 7 #include <dt-bindings/clock/rk618-cru.h> 88 rk618@50 { 89 compatible = "rockchip,rk618"; 102 compatible = "rockchip,rk618-cru"; 122 compatible = "rockchip,rk618-dsi";
|
| H A D | px30-evb-ext-rk618-avb.dts | 6 #include "px30-evb-ext-rk618.dtsi" 10 compatible = "rockchip,px30-evb-ext-rk618-avb", "rockchip,px30";
|
| H A D | px30-evb-ext-rk618.dts | 7 #include "px30-evb-ext-rk618.dtsi" 11 compatible = "rockchip,px30-evb-ext-rk618", "rockchip,px30";
|
| H A D | rk3368-sziauto-rk618.dts | 11 #include <dt-bindings/clock/rk618-cru.h> 204 rk618@50 { 205 compatible = "rockchip,rk618"; 217 compatible = "rockchip,rk618-cru"; 231 compatible = "rockchip,rk618-hdmi"; 263 compatible = "rockchip,rk618-lvds"; 292 compatible = "rockchip,rk618-scaler"; 321 compatible = "rockchip,rk618-vif";
|
| H A D | px30-z7-a0-rk618-dsi.dts | 12 #include <dt-bindings/clock/rk618-cru.h> 529 rk618@50 { 530 compatible = "rockchip,rk618"; 542 compatible = "rockchip,rk618-cru"; 562 compatible = "rockchip,rk618-dsi";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | rk618.txt | 5 "rockchip,rk618" 20 rk618: rk618@50 { 21 compatible = "rockchip,rk618";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | rockchip,rk618-cru.txt | 7 - compatible : Should be "rockchip,rk618-cru" 15 &rk618 { 17 compatible = "rockchip,rk618-cru";
|
| /OK3568_Linux_fs/kernel/drivers/clk/rockchip/regmap/ |
| H A D | clk-rk618.c | 59 struct rk618 *parent; 302 struct rk618 *rk618 = dev_get_drvdata(pdev->dev.parent); in rk618_cru_probe() local 326 cru->parent = rk618; in rk618_cru_probe() 327 cru->regmap = rk618->regmap; in rk618_cru_probe()
|
| H A D | Makefile | 12 obj-$(CONFIG_CLK_RK618) += clk-rk618.o
|