| /linux/drivers/power/supply/ |
| H A D | rk817_charger.c | 50 struct rk808 *rk808; member 177 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB0_H, in rk817_bat_calib_vol() 181 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB1_H, in rk817_bat_calib_vol() 196 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_IOFFSET_H, in rk817_bat_calib_cur() 198 regmap_bulk_write(charger->rk808->regmap, RK817_GAS_GAUGE_CAL_OFFSET_H, in rk817_bat_calib_cur() 216 ret = regmap_bulk_write(charger->rk808->regmap, RK817_GAS_GAUGE_BAT_R1, in rk817_record_battery_nvram_values() 226 ret = regmap_bulk_write(charger->rk808->regmap, RK817_GAS_GAUGE_DATA0, in rk817_record_battery_nvram_values() 232 ret = regmap_bulk_write(charger->rk808->regmap, RK817_GAS_GAUGE_DATA3, in rk817_record_battery_nvram_values() 242 struct rk808 *rk808 = charger->rk808; in rk817_bat_calib_cap() local 287 regmap_bulk_write(rk808->regmap, RK817_GAS_GAUGE_Q_INIT_H3, in rk817_bat_calib_cap() [all …]
|
| /linux/drivers/mfd/ |
| H A D | rk8xx-core.c | 672 struct rk808 *rk808 = data->cb_data; in rk808_power_off() local 676 switch (rk808->variant) { in rk808_power_off() 706 ret = regmap_update_bits(rk808->regmap, reg, bit, bit); in rk808_power_off() 708 dev_err(rk808->dev, "Failed to shutdown device!\n"); in rk808_power_off() 715 struct rk808 *rk808 = data->cb_data; in rk808_restart() local 719 switch (rk808->variant) { in rk808_restart() 729 ret = regmap_update_bits(rk808->regmap, reg, bit, bit); in rk808_restart() 731 dev_err(rk808->dev, "Failed to restart device!\n"); in rk808_restart() 738 struct rk808 *rk808 = dev_get_drvdata(dev); in rk8xx_shutdown() local 741 switch (rk808->variant) { in rk8xx_shutdown() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | rk817_codec.c | 22 struct rk808 *rk808; member 417 struct rk808 *rk808 = dev_get_drvdata(component->dev->parent); in rk817_probe() local 419 snd_soc_component_init_regmap(component, rk808->regmap); in rk817_probe() 474 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk817_platform_probe() local 486 rk817_codec_data->rk808 = rk808; in rk817_platform_probe()
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-rk805.c | 69 struct rk808 *rk808; member 319 ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val); in rk805_gpio_get() 333 return regmap_update_bits(pci->rk808->regmap, in rk805_gpio_set() 361 ret = regmap_read(pci->rk808->regmap, in rk805_gpio_get_direction() 465 ret = regmap_update_bits(pci->rk808->regmap, in _rk805_pinctrl_set_mux() 492 switch (pci->rk808->variant) { in rk805_pinctrl_gpio_request_enable() 515 ret = regmap_update_bits(pci->rk808->regmap, in rk805_pmx_gpio_set_direction() 576 if (pci->rk808->variant != RK805_ID && arg) { in rk805_pinconf_set() 615 pci->rk808 = dev_get_drvdata(pdev->dev.parent); in rk805_pinctrl_probe() 623 switch (pci->rk808->variant) { in rk805_pinctrl_probe() [all …]
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rk3288-evb-rk808.dts | 8 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288"; 14 rk808: pmic@1b { label 15 compatible = "rockchip,rk808"; 24 clock-output-names = "xin32k", "rk808-clkout2";
|
| H A D | rk3288-vmarc-som.dtsi | 51 rk808: pmic@1b { label 52 compatible = "rockchip,rk808"; 61 clock-output-names = "rk808-clkout1", "rk808-clkout2";
|
| H A D | rk3288-tinker.dtsi | 8 #include <dt-bindings/clock/rockchip,rk808.h> 65 clocks = <&rk808 RK808_CLKOUT1>; 155 rk808: pmic@1b { label 156 compatible = "rockchip,rk808"; 161 clock-output-names = "xin32k", "rk808-clkout2";
|
| H A D | rk3288-veyron-chromebook.dtsi | 9 #include <dt-bindings/clock/rockchip,rk808.h> 86 &rk808 {
|
| H A D | rk3036-kylin.dts | 145 rk808: pmic@1b { label 146 compatible = "rockchip,rk808"; 155 clock-output-names = "xin32k", "rk808-clkout2";
|
| H A D | rk3288-veyron.dtsi | 8 #include <dt-bindings/clock/rockchip,rk808.h> 62 clocks = <&rk808 RK808_CLKOUT1>; 191 rk808: pmic@1b { label 192 compatible = "rockchip,rk808";
|
| H A D | rk3188-px3-evb.dts | 91 rk808: pmic@1c { label 99 clock-output-names = "xin32k", "rk808-clkout2";
|
| /linux/drivers/clk/ |
| H A D | clk-rk808.c | 150 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_clkout_probe() local 182 init.ops = rkpmic_get_ops(rk808->variant); in rk808_clkout_probe()
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3368-lba3368.dts | 5 #include <dt-bindings/clock/rockchip,rk808.h> 21 rtc1 = &rk808; 107 clocks = <&rk808 RK808_CLKOUT1>; 258 rk808: pmic@1b { label 259 compatible = "rockchip,rk808"; 262 clock-output-names = "rk808-clkout1", "xin32k_wifi_bt"; 614 clocks = <&rk808 RK808_CLKOUT1>;
|
| H A D | rk3368-geekbox.dts | 109 rk808: pmic@1b { label 110 compatible = "rockchip,rk808"; 128 clock-output-names = "xin32k", "rk808-clkout2";
|
| H A D | rk3368-px5-evb.dts | 69 rk808: pmic@1b { label 70 compatible = "rockchip,rk808"; 88 clock-output-names = "xin32k", "rk808-clkout2";
|
| H A D | rk3399-evb.dts | 174 rk808: pmic@1b { label 175 compatible = "rockchip,rk808"; 184 clock-output-names = "rk808-clkout1", "rk808-clkout2";
|
| H A D | rk3399-leez-p710.dts | 36 clocks = <&rk808 1>; 181 rk808: pmic@1b { label 182 compatible = "rockchip,rk808"; 187 clock-output-names = "xin32k", "rk808-clkout2"; 590 clocks = <&rk808 1>;
|
| H A D | rk3399-rock960.dtsi | 20 clocks = <&rk808 1>; 182 rk808: pmic@1b { label 183 compatible = "rockchip,rk808"; 192 clock-output-names = "xin32k", "rk808-clkout2"; 578 clocks = <&rk808 1>;
|
| H A D | rk3368-lion.dtsi | 175 rk808: pmic@1b { label 176 compatible = "rockchip,rk808"; 180 clock-output-names = "xin32k", "rk808-clkout2";
|
| H A D | rk3399-khadas-edge.dtsi | 33 clocks = <&rk808 1>; 309 rk808: pmic@1b { label 310 compatible = "rockchip,rk808"; 315 clock-output-names = "xin32k", "rk808-clkout2"; 771 clocks = <&rk808 1>;
|
| H A D | px30-engicam-px30-core.dtsi | 56 clock-output-names = "rk808-clkout1", "rk808-clkout2";
|
| H A D | rk3399-rockpro64.dtsi | 80 clocks = <&rk808 1>; 331 rk808: pmic@1b { label 332 compatible = "rockchip,rk808"; 337 clock-output-names = "xin32k", "rk808-clkout2"; 842 clocks = <&rk808 1>;
|
| H A D | rk3399-eaidk-610.dts | 156 clocks = <&rk808 1>; 305 rk808: pmic@1b { label 306 compatible = "rockchip,rk808"; 315 clock-output-names = "xin32k", "rk808-clkout2"; 865 clocks = <&rk808 1>;
|
| H A D | rk3399-rock-pi-4b.dts | 49 clocks = <&rk808 1>;
|
| /linux/drivers/rtc/ |
| H A D | rtc-rk808.c | 380 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_rtc_probe() local 388 switch (rk808->variant) { in rk808_rtc_probe()
|