/Linux-v5.4/drivers/mfd/ |
D | rk808.c | 467 struct rk808 *rk808 = i2c_get_clientdata(rk808_i2c_client); in rk805_device_shutdown() local 469 if (!rk808) in rk805_device_shutdown() 472 ret = regmap_update_bits(rk808->regmap, in rk805_device_shutdown() 482 struct rk808 *rk808 = i2c_get_clientdata(rk808_i2c_client); in rk805_device_shutdown_prepare() local 484 if (!rk808) in rk805_device_shutdown_prepare() 487 ret = regmap_update_bits(rk808->regmap, in rk805_device_shutdown_prepare() 497 struct rk808 *rk808 = i2c_get_clientdata(rk808_i2c_client); in rk808_device_shutdown() local 499 if (!rk808) in rk808_device_shutdown() 502 ret = regmap_update_bits(rk808->regmap, in rk808_device_shutdown() 512 struct rk808 *rk808 = i2c_get_clientdata(rk808_i2c_client); in rk818_device_shutdown() local [all …]
|
/Linux-v5.4/drivers/clk/ |
D | clk-rk808.c | 18 struct rk808 *rk808; member 34 struct rk808 *rk808 = rk808_clkout->rk808; in rk808_clkout2_enable() local 36 return regmap_update_bits(rk808->regmap, RK808_CLK32OUT_REG, in rk808_clkout2_enable() 55 struct rk808 *rk808 = rk808_clkout->rk808; in rk808_clkout2_is_prepared() local 58 int ret = regmap_read(rk808->regmap, RK808_CLK32OUT_REG, &val); in rk808_clkout2_is_prepared() 96 struct rk808 *rk808 = rk808_clkout->rk808; in rk817_clkout2_enable() local 98 return regmap_update_bits(rk808->regmap, RK817_SYS_CFG(1), in rk817_clkout2_enable() 118 struct rk808 *rk808 = rk808_clkout->rk808; in rk817_clkout2_is_prepared() local 121 int ret = regmap_read(rk808->regmap, RK817_SYS_CFG(1), &val); in rk817_clkout2_is_prepared() 155 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_clkout_probe() local [all …]
|
/Linux-v5.4/drivers/rtc/ |
D | rtc-rk808.c | 54 struct rk808 *rk808; member 100 struct rk808 *rk808 = rk808_rtc->rk808; in rk808_rtc_readtime() local 105 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_readtime() 119 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_readtime() 127 ret = regmap_bulk_read(rk808->regmap, rk808_rtc->creg->seconds_reg, in rk808_rtc_readtime() 151 struct rk808 *rk808 = rk808_rtc->rk808; in rk808_rtc_set_time() local 166 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_set_time() 174 ret = regmap_bulk_write(rk808->regmap, rk808_rtc->creg->seconds_reg, in rk808_rtc_set_time() 181 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_set_time() 194 struct rk808 *rk808 = rk808_rtc->rk808; in rk808_rtc_readalarm() local [all …]
|
/Linux-v5.4/drivers/pinctrl/ |
D | pinctrl-rk805.c | 65 struct rk808 *rk808; member 141 ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val); in rk805_gpio_get() 157 ret = regmap_update_bits(pci->rk808->regmap, in rk805_gpio_set() 189 ret = regmap_read(pci->rk808->regmap, in rk805_gpio_get_direction() 290 ret = regmap_update_bits(pci->rk808->regmap, in _rk805_pinctrl_set_mux() 335 ret = regmap_update_bits(pci->rk808->regmap, in rk805_pmx_gpio_set_direction() 426 pci->rk808 = dev_get_drvdata(pdev->dev.parent); in rk805_pinctrl_probe() 435 switch (pci->rk808->variant) { in rk805_pinctrl_probe() 450 pci->rk808->variant); in rk805_pinctrl_probe()
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | rk3288-evb-rk808.dts | 7 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288"; 13 rk808: pmic@1b { label 14 compatible = "rockchip,rk808"; 23 clock-output-names = "xin32k", "rk808-clkout2";
|
D | rk3288-tinker.dtsi | 8 #include <dt-bindings/clock/rockchip,rk808.h> 67 clocks = <&rk808 RK808_CLKOUT1>; 146 rk808: pmic@1b { label 147 compatible = "rockchip,rk808"; 152 clock-output-names = "xin32k", "rk808-clkout2";
|
D | rk3288-veyron-chromebook.dtsi | 9 #include <dt-bindings/clock/rockchip,rk808.h> 86 &rk808 {
|
D | rk3036-kylin.dts | 114 rk808: pmic@1b { label 115 compatible = "rockchip,rk808"; 124 clock-output-names = "xin32k", "rk808-clkout2";
|
D | rk3188-px3-evb.dts | 86 rk808: pmic@1c { label 94 clock-output-names = "xin32k", "rk808-clkout2";
|
D | rk3288-vyasa.dts | 161 rk808: pmic@1b { label 162 compatible = "rockchip,rk808"; 167 clock-output-names = "xin32k", "rk808-clkout2";
|
D | rk3288-veyron.dtsi | 8 #include <dt-bindings/clock/rockchip,rk808.h> 82 clocks = <&rk808 RK808_CLKOUT1>; 216 rk808: pmic@1b { label 217 compatible = "rockchip,rk808";
|
D | rk3288-popmetal.dts | 164 rk808: pmic@1b { label 165 compatible = "rockchip,rk808"; 174 clock-output-names = "xin32k", "rk808-clkout2";
|
/Linux-v5.4/Documentation/devicetree/bindings/mfd/ |
D | rk808.txt | 5 rk808 12 - compatible: "rockchip,rk808" 19 outputs). See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 150 rk808: pmic@1b { 151 compatible = "rockchip,rk808"; 152 clock-output-names = "xin32k", "rk808-clkout2";
|
/Linux-v5.4/arch/arm64/boot/dts/rockchip/ |
D | rk3368-px5-evb.dts | 64 rk808: pmic@1b { label 65 compatible = "rockchip,rk808"; 83 clock-output-names = "xin32k", "rk808-clkout2";
|
D | rk3368-geekbox.dts | 104 rk808: pmic@1b { label 105 compatible = "rockchip,rk808"; 123 clock-output-names = "xin32k", "rk808-clkout2";
|
D | rk3368-lion.dtsi | 168 rk808: pmic@1b { label 169 compatible = "rockchip,rk808"; 173 clock-output-names = "xin32k", "rk808-clkout2";
|
D | rk3399-rock960.dtsi | 14 clocks = <&rk808 1>; 165 rk808: pmic@1b { label 166 compatible = "rockchip,rk808"; 175 clock-output-names = "xin32k", "rk808-clkout2"; 559 clocks = <&rk808 1>;
|
D | rk3399-leez-p710.dts | 29 clocks = <&rk808 1>; 174 rk808: pmic@1b { label 175 compatible = "rockchip,rk808"; 180 clock-output-names = "xin32k", "rk808-clkout2"; 583 clocks = <&rk808 1>;
|
D | rk3399-rock-pi-4.dts | 30 clocks = <&rk808 1>; 191 rk808: pmic@1b { label 192 compatible = "rockchip,rk808"; 197 clock-output-names = "xin32k", "rk808-clkout2"; 651 clocks = <&rk808 1>;
|
D | rk3399-khadas-edge.dtsi | 27 clocks = <&rk808 1>; 295 rk808: pmic@1b { label 296 compatible = "rockchip,rk808"; 301 clock-output-names = "xin32k", "rk808-clkout2"; 739 clocks = <&rk808 1>;
|
D | rk3399-nanopi4.dtsi | 110 clocks = <&rk808 1>; 231 rk808: pmic@1b { label 232 compatible = "rockchip,rk808"; 662 clocks = <&rk808 1>;
|
D | rk3399-hugsun-x99.dts | 109 clocks = <&rk808 1>; 221 rk808: pmic@1b { label 222 compatible = "rockchip,rk808"; 676 clocks = <&rk808 1>;
|
D | rk3399-roc-pc.dts | 33 clocks = <&rk808 1>; 193 rk808: pmic@1b { label 194 compatible = "rockchip,rk808"; 199 clock-output-names = "xin32k", "rk808-clkout2";
|
D | rk3399-puma.dtsi | 174 rk808: pmic@1b { label 175 compatible = "rockchip,rk808"; 180 clock-output-names = "xin32k", "rk808-clkout2";
|
/Linux-v5.4/drivers/regulator/ |
D | rk808-regulator.c | 1317 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_regulator_probe() local 1318 struct i2c_client *client = rk808->i2c; in rk808_regulator_probe() 1330 rk808->regmap, pdata); in rk808_regulator_probe() 1336 switch (rk808->variant) { in rk808_regulator_probe() 1359 rk808->variant); in rk808_regulator_probe() 1365 config.regmap = rk808->regmap; in rk808_regulator_probe()
|