Home
last modified time | relevance | path

Searched refs:rk808 (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/power/supply/
H A Drk817_charger.c50 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 Drk8xx-core.c607 struct rk808 *rk808 = data->cb_data; in rk808_power_off() local
611 switch (rk808->variant) { in rk808_power_off()
637 ret = regmap_update_bits(rk808->regmap, reg, bit, bit); in rk808_power_off()
639 dev_err(rk808->dev, "Failed to shutdown device!\n"); in rk808_power_off()
646 struct rk808 *rk808 = data->cb_data; in rk808_restart() local
650 switch (rk808->variant) { in rk808_restart()
660 ret = regmap_update_bits(rk808->regmap, reg, bit, bit); in rk808_restart()
662 dev_err(rk808->dev, "Failed to restart device!\n"); in rk808_restart()
669 struct rk808 *rk808 = dev_get_drvdata(dev); in rk8xx_shutdown() local
672 switch (rk808->variant) { in rk8xx_shutdown()
[all …]
/linux/sound/soc/codecs/
H A Drk817_codec.c22 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/arch/arm/boot/dts/rockchip/
H A Drk3288-evb-rk808.dts8 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 Drk3288-veyron-analog-audio.dtsi57 &rk808 {
H A Drk3288-veyron-sdmmc.dtsi56 &rk808 {
/linux/drivers/clk/
H A Dclk-rk808.c150 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 Drk3399-evb.dts174 rk808: pmic@1b { label
175 compatible = "rockchip,rk808";
184 clock-output-names = "rk808-clkout1", "rk808-clkout2";
H A Drk3399-leez-p710.dts36 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 Drk3399-rock960.dtsi20 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 Drk3399-khadas-edge.dtsi33 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 Drk3399-rock-4se.dts39 clocks = <&rk808 1>;
H A Drk3399-rock-pi-4b.dts49 clocks = <&rk808 1>;
H A Drk3399-eaidk-610.dts156 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 Drk3399-rockpro64.dtsi89 clocks = <&rk808 1>;
336 rk808: pmic@1b { label
337 compatible = "rockchip,rk808";
342 clock-output-names = "xin32k", "rk808-clkout2";
891 clocks = <&rk808 1>;
H A Drk3399-rock-pi-4b-plus.dts50 clocks = <&rk808 1>;
H A Drk3399-rock-pi-4c.dts61 clocks = <&rk808 1>;
H A Drk3399-hugsun-x99.dts136 clocks = <&rk808 1>;
248 rk808: pmic@1b { label
249 compatible = "rockchip,rk808";
707 clocks = <&rk808 1>;
H A Drk3399-nanopi4.dtsi137 clocks = <&rk808 1>;
263 rk808: pmic@1b { label
264 compatible = "rockchip,rk808";
697 clocks = <&rk808 1>;
H A Drk3399-rock-pi-4.dtsi45 clocks = <&rk808 1>;
239 rk808: pmic@1b { label
240 compatible = "rockchip,rk808";
245 clock-output-names = "xin32k", "rk808-clkout2";
H A Drk3399-roc-pc.dtsi102 clocks = <&rk808 1>;
292 rk808: pmic@1b { label
293 compatible = "rockchip,rk808";
298 clock-output-names = "xin32k", "rk808-clkout2";
H A Drk3399-pinebook-pro.dts120 clocks = <&rk808 1>;
441 rk808: pmic@1b { label
442 compatible = "rockchip,rk808";
445 clock-output-names = "xin32k", "rk808-clkout2";
1044 clocks = <&rk808 1>;
H A Drk3399-kobol-helios64.dts304 rk808: pmic@1b { label
305 compatible = "rockchip,rk808";
309 clock-output-names = "xin32k", "rk808-clkout2";
H A Drk3399-sapphire.dtsi227 rk808: pmic@1b { label
228 compatible = "rockchip,rk808";
233 clock-output-names = "xin32k", "rk808-clkout2";
/linux/drivers/rtc/
H A Drtc-rk808.c380 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_rtc_probe() local
388 switch (rk808->variant) { in rk808_rtc_probe()

12