Home
last modified time | relevance | path

Searched full:rk808 (Results 1 – 25 of 91) sorted by relevance

1234

/linux-6.12.1/drivers/mfd/
Drk8xx-core.c14 #include <linux/mfd/rk808.h>
60 { .name = "rk808-clkout", },
61 { .name = "rk808-regulator", },
64 .name = "rk808-rtc",
76 { .name = "rk808-regulator", },
85 { .name = "rk808-clkout", },
86 { .name = "rk808-regulator", },
88 .name = "rk808-rtc",
96 { .name = "rk808-clkout", },
97 { .name = "rk808-regulator", },
[all …]
Drk8xx-i2c.c3 * Rockchip RK805/RK808/RK816/RK817/RK818 Core (I2C) driver
14 #include <linux/mfd/rk808.h>
229 { .compatible = "rockchip,rk808", .data = &rk808_data },
/linux-6.12.1/drivers/power/supply/
Drk817_charger.c13 #include <linux/mfd/rk808.h>
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
[all …]
/linux-6.12.1/drivers/clk/
Dclk-rk808.c3 * Clkout driver for Rockchip RK808
14 #include <linux/mfd/rk808.h>
150 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_clkout_probe() local
169 init.name = "rk808-clkout1"; in rk808_clkout_probe()
181 init.name = "rk808-clkout2"; in rk808_clkout_probe()
182 init.ops = rkpmic_get_ops(rk808->variant); in rk808_clkout_probe()
200 .name = "rk808-clkout",
206 MODULE_DESCRIPTION("Clkout driver for the rk808 series PMICs");
209 MODULE_ALIAS("platform:rk808-clkout");
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Drockchip,rk808.yaml4 $id: http://devicetree.org/schemas/mfd/rockchip,rk808.yaml#
7 title: RK808 Power Management Integrated Circuit
14 Rockchip RK808 series PMIC. This device consists of an i2c controlled MFD
20 - rockchip,rk808
30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
133 rk808: pmic@1b {
134 compatible = "rockchip,rk808";
135 clock-output-names = "xin32k", "rk808-clkout2";
/linux-6.12.1/drivers/rtc/
Drtc-rk808.c3 * RTC driver for Rockchip RK808
15 #include <linux/mfd/rk808.h>
21 /* RK808 has a shadowed register for saving a "frozen" RTC time.
60 * The Rockchip calendar used by the RK808 counts November with 31 days. We use
380 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_rtc_probe() local
388 switch (rk808->variant) { in rk808_rtc_probe()
433 /* request alarm irq of rk808 */ in rk808_rtc_probe()
449 .name = "rk808-rtc",
456 MODULE_DESCRIPTION("RTC driver for the rk808 series PMICs");
460 MODULE_ALIAS("platform:rk808-rtc");
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-rk805.c17 #include <linux/mfd/rk808.h>
69 struct rk808 *rk808; member
319 ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val); in rk805_gpio_get()
335 ret = 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()
[all …]
/linux-6.12.1/arch/arm/boot/dts/rockchip/
Drk3288-evb-rk808.dts7 model = "Rockchip RK3288 EVB RK808";
8 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
14 rk808: pmic@1b { label
15 compatible = "rockchip,rk808";
24 clock-output-names = "xin32k", "rk808-clkout2";
Drk3288-vmarc-som.dtsi51 rk808: pmic@1b { label
52 compatible = "rockchip,rk808";
61 clock-output-names = "rk808-clkout1", "rk808-clkout2";
Drk3288-tinker.dtsi8 #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";
Drk3288-veyron-chromebook.dtsi9 #include <dt-bindings/clock/rockchip,rk808.h>
86 &rk808 {
Drk3036-kylin.dts139 rk808: pmic@1b { label
140 compatible = "rockchip,rk808";
149 clock-output-names = "xin32k", "rk808-clkout2";
Drk3288-veyron.dtsi8 #include <dt-bindings/clock/rockchip,rk808.h>
62 clocks = <&rk808 RK808_CLKOUT1>;
191 rk808: pmic@1b { label
192 compatible = "rockchip,rk808";
/linux-6.12.1/sound/soc/codecs/
Drk817_codec.c10 #include <linux/mfd/rk808.h>
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-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3368-lba3368.dts5 #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>;
Drk3368-geekbox.dts109 rk808: pmic@1b { label
110 compatible = "rockchip,rk808";
128 clock-output-names = "xin32k", "rk808-clkout2";
Drk3368-px5-evb.dts69 rk808: pmic@1b { label
70 compatible = "rockchip,rk808";
88 clock-output-names = "xin32k", "rk808-clkout2";
Drk3399-evb.dts174 rk808: pmic@1b { label
175 compatible = "rockchip,rk808";
184 clock-output-names = "rk808-clkout1", "rk808-clkout2";
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>;
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>;
Drk3368-lion.dtsi172 rk808: pmic@1b { label
173 compatible = "rockchip,rk808";
177 clock-output-names = "xin32k", "rk808-clkout2";
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>;
Dpx30-engicam-px30-core.dtsi56 clock-output-names = "rk808-clkout1", "rk808-clkout2";
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>;
/linux-6.12.1/include/dt-bindings/clock/
Drockchip,rk808.h3 * This header provides constants clk index RK808 pmic clkout

1234