Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/mfd/
Drk808.c467 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/
Dclk-rk808.c18 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/
Drtc-rk808.c54 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/
Dpinctrl-rk805.c65 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/
Drk3288-evb-rk808.dts7 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
13 rk808: pmic@1b { label
14 compatible = "rockchip,rk808";
23 clock-output-names = "xin32k", "rk808-clkout2";
Drk3288-tinker.dtsi8 #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";
Drk3288-veyron-chromebook.dtsi9 #include <dt-bindings/clock/rockchip,rk808.h>
86 &rk808 {
Drk3036-kylin.dts114 rk808: pmic@1b { label
115 compatible = "rockchip,rk808";
124 clock-output-names = "xin32k", "rk808-clkout2";
Drk3188-px3-evb.dts86 rk808: pmic@1c { label
94 clock-output-names = "xin32k", "rk808-clkout2";
Drk3288-vyasa.dts161 rk808: pmic@1b { label
162 compatible = "rockchip,rk808";
167 clock-output-names = "xin32k", "rk808-clkout2";
Drk3288-veyron.dtsi8 #include <dt-bindings/clock/rockchip,rk808.h>
82 clocks = <&rk808 RK808_CLKOUT1>;
216 rk808: pmic@1b { label
217 compatible = "rockchip,rk808";
Drk3288-popmetal.dts164 rk808: pmic@1b { label
165 compatible = "rockchip,rk808";
174 clock-output-names = "xin32k", "rk808-clkout2";
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Drk808.txt5 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/
Drk3368-px5-evb.dts64 rk808: pmic@1b { label
65 compatible = "rockchip,rk808";
83 clock-output-names = "xin32k", "rk808-clkout2";
Drk3368-geekbox.dts104 rk808: pmic@1b { label
105 compatible = "rockchip,rk808";
123 clock-output-names = "xin32k", "rk808-clkout2";
Drk3368-lion.dtsi168 rk808: pmic@1b { label
169 compatible = "rockchip,rk808";
173 clock-output-names = "xin32k", "rk808-clkout2";
Drk3399-rock960.dtsi14 clocks = <&rk808 1>;
165 rk808: pmic@1b { label
166 compatible = "rockchip,rk808";
175 clock-output-names = "xin32k", "rk808-clkout2";
559 clocks = <&rk808 1>;
Drk3399-leez-p710.dts29 clocks = <&rk808 1>;
174 rk808: pmic@1b { label
175 compatible = "rockchip,rk808";
180 clock-output-names = "xin32k", "rk808-clkout2";
583 clocks = <&rk808 1>;
Drk3399-rock-pi-4.dts30 clocks = <&rk808 1>;
191 rk808: pmic@1b { label
192 compatible = "rockchip,rk808";
197 clock-output-names = "xin32k", "rk808-clkout2";
651 clocks = <&rk808 1>;
Drk3399-khadas-edge.dtsi27 clocks = <&rk808 1>;
295 rk808: pmic@1b { label
296 compatible = "rockchip,rk808";
301 clock-output-names = "xin32k", "rk808-clkout2";
739 clocks = <&rk808 1>;
Drk3399-nanopi4.dtsi110 clocks = <&rk808 1>;
231 rk808: pmic@1b { label
232 compatible = "rockchip,rk808";
662 clocks = <&rk808 1>;
Drk3399-hugsun-x99.dts109 clocks = <&rk808 1>;
221 rk808: pmic@1b { label
222 compatible = "rockchip,rk808";
676 clocks = <&rk808 1>;
Drk3399-roc-pc.dts33 clocks = <&rk808 1>;
193 rk808: pmic@1b { label
194 compatible = "rockchip,rk808";
199 clock-output-names = "xin32k", "rk808-clkout2";
Drk3399-puma.dtsi174 rk808: pmic@1b { label
175 compatible = "rockchip,rk808";
180 clock-output-names = "xin32k", "rk808-clkout2";
/Linux-v5.4/drivers/regulator/
Drk808-regulator.c1317 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()

12