Home
last modified time | relevance | path

Searched +full:rk808 +full:- +full:clkout2 (Results 1 – 25 of 63) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/clk/
Dclk-rk808.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Clkout driver for Rockchip RK808
7 * Author:Chris Zhong <zyw@rock-chips.com>
10 #include <linux/clk-provider.h>
14 #include <linux/mfd/rk808.h>
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()
[all …]
/kernel/linux/linux-6.6/drivers/clk/
Dclk-rk808.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Clkout driver for Rockchip RK808
7 * Author:Chris Zhong <zyw@rock-chips.com>
10 #include <linux/clk-provider.h>
14 #include <linux/mfd/rk808.h>
34 return regmap_update_bits(rk808_clkout->regmap, RK808_CLK32OUT_REG, in rk808_clkout2_enable()
55 int ret = regmap_read(rk808_clkout->regmap, RK808_CLK32OUT_REG, &val); in rk808_clkout2_is_prepared()
78 unsigned int idx = clkspec->args[0]; in of_clk_rk808_get()
82 return ERR_PTR(-EINVAL); in of_clk_rk808_get()
85 return idx ? &rk808_clkout->clkout2_hw : &rk808_clkout->clkout1_hw; in of_clk_rk808_get()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Drockchip,rk808.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rockchip,rk808.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RK808 Power Management Integrated Circuit
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
14 Rockchip RK808 series PMIC. This device consists of an i2c controlled MFD
20 - rockchip,rk808
28 '#clock-cells':
[all …]
Drockchip,rk809.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chris Zhong <zyw@rock-chips.com>
11 - Zhang Qing <zhangqing@rock-chips.com>
20 - rockchip,rk809
28 '#clock-cells':
30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
34 clock-output-names:
38 rockchip,system-power-controller:
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/
Drk3288-evb-rk808.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include "rk3288-evb.dtsi"
7 model = "Rockchip RK3288 EVB RK808";
8 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
12 clock-frequency = <400000>;
14 rk808: pmic@1b { label
15 compatible = "rockchip,rk808";
17 interrupt-parent = <&gpio0>;
19 pinctrl-names = "default";
[all …]
Drk3288-vmarc-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
12 compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288";
14 vccio_flash: vccio-flash-regulator {
15 compatible = "regulator-fixed";
16 regulator-name = "vccio_flash";
17 regulator-min-microvolt = <1800000>;
18 regulator-max-microvolt = <1800000>;
19 vin-supply = <&vcc_io>;
[all …]
Drk3188-px3-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Andy Yan <andy.yan@rock-chips.com>
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
11 model = "Rockchip PX3-EVB";
12 compatible = "rockchip,px3-evb", "rockchip,px3", "rockchip,rk3188";
20 stdout-path = "serial2:115200n8";
28 gpio-keys {
29 compatible = "gpio-keys";
32 key-power {
[all …]
Drk3288-tinker.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/clock/rockchip,rk808.h>
12 stdout-path = "serial2:115200n8";
20 ext_gmac: external-gmac-clock {
21 compatible = "fixed-clock";
22 #clock-cells = <0>;
23 clock-frequency = <125000000>;
24 clock-output-names = "ext_gmac";
27 gpio-keys {
[all …]
Drk3036-kylin.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
9 compatible = "rockchip,rk3036-kylin", "rockchip,rk3036";
16 leds: gpio-leds {
17 compatible = "gpio-leds";
19 work_led: led-0 {
22 pinctrl-names = "default";
23 pinctrl-0 = <&led_ctl>;
27 sdio_pwrseq: sdio-pwrseq {
28 compatible = "mmc-pwrseq-simple";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3288-evb-rk808.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include "rk3288-evb.dtsi"
7 model = "Rockchip RK3288 EVB RK808";
8 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
12 clock-frequency = <400000>;
14 rk808: pmic@1b { label
15 compatible = "rockchip,rk808";
17 interrupt-parent = <&gpio0>;
19 pinctrl-names = "default";
[all …]
Drk3288-vmarc-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
12 compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288";
14 vccio_flash: vccio-flash-regulator {
15 compatible = "regulator-fixed";
16 regulator-name = "vccio_flash";
17 regulator-min-microvolt = <1800000>;
18 regulator-max-microvolt = <1800000>;
19 vin-supply = <&vcc_io>;
[all …]
Drk3188-px3-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Andy Yan <andy.yan@rock-chips.com>
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
11 model = "Rockchip PX3-EVB";
12 compatible = "rockchip,px3-evb", "rockchip,px3", "rockchip,rk3188";
15 stdout-path = "serial2:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
31 linux,input-type = <1>;
[all …]
Drk3288-tinker.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/clock/rockchip,rk808.h>
12 stdout-path = "serial2:115200n8";
20 ext_gmac: external-gmac-clock {
21 compatible = "fixed-clock";
22 #clock-cells = <0>;
23 clock-frequency = <125000000>;
24 clock-output-names = "ext_gmac";
27 gpio-keys {
[all …]
Drk3036-kylin.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
9 compatible = "rockchip,rk3036-kylin", "rockchip,rk3036";
16 leds: gpio-leds {
17 compatible = "gpio-leds";
19 work_led: led-0 {
22 pinctrl-names = "default";
23 pinctrl-0 = <&led_ctl>;
27 sdio_pwrseq: sdio-pwrseq {
28 compatible = "mmc-pwrseq-simple";
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Drk808.txt5 rk808
11 - compatible: "rockchip,rk805"
12 - compatible: "rockchip,rk808"
13 - compatible: "rockchip,rk809"
14 - compatible: "rockchip,rk817"
15 - compatible: "rockchip,rk818"
16 - reg: I2C slave address
17 - interrupts: the interrupt outputs of the controller.
18 - #clock-cells: from common clock binding; shall be set to 1 (multiple clock
19 outputs). See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
Drk3368-px5-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
12 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
20 stdout-path = "serial4:115200n8";
28 keys: gpio-keys {
29 compatible = "gpio-keys";
30 pinctrl-names = "default";
31 pinctrl-0 = <&pwr_key>;
33 key-power {
[all …]
Drk3368-geekbox.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
19 stdout-path = "serial2:115200n8";
27 ext_gmac: gmac-clk {
28 compatible = "fixed-clock";
29 clock-frequency = <125000000>;
30 clock-output-names = "ext_gmac";
31 #clock-cells = <0>;
34 ir: ir-receiver {
[all …]
Dpx30-engicam-px30-core.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
13 compatible = "engicam,px30-core", "rockchip,px30";
21 cpu-supply = <&vdd_arm>;
25 cpu-supply = <&vdd_arm>;
29 cpu-supply = <&vdd_arm>;
33 cpu-supply = <&vdd_arm>;
37 cap-mmc-highspeed;
38 mmc-hs200-1_8v;
[all …]
Drk3368-lion.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
15 stdout-path = "serial0:115200n8";
18 ext_gmac: gmac-clk {
19 compatible = "fixed-clock";
20 clock-frequency = <125000000>;
21 clock-output-names = "ext_gmac";
22 #clock-cells = <0>;
26 compatible = "i2c-mux-gpio";
27 #address-cells = <1>;
[all …]
Drk3399-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/pwm/pwm.h>
12 compatible = "rockchip,rk3399-evb", "rockchip,rk3399";
19 compatible = "pwm-backlight";
20 brightness-levels = <
53 default-brightness-level = <200>;
57 edp_panel: edp-panel {
58 compatible = "lg,lp079qx1-sp0v";
60 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3368-px5-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
12 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
15 stdout-path = "serial4:115200n8";
23 keys: gpio-keys {
24 compatible = "gpio-keys";
25 pinctrl-names = "default";
26 pinctrl-0 = <&pwr_key>;
32 wakeup-source;
[all …]
Drk3368-geekbox.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
15 stdout-path = "serial2:115200n8";
23 ext_gmac: gmac-clk {
24 compatible = "fixed-clock";
25 clock-frequency = <125000000>;
26 clock-output-names = "ext_gmac";
27 #clock-cells = <0>;
30 ir: ir-receiver {
[all …]
Drk3368-lion.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
11 stdout-path = "serial0:115200n8";
14 ext_gmac: gmac-clk {
15 compatible = "fixed-clock";
16 clock-frequency = <125000000>;
17 clock-output-names = "ext_gmac";
18 #clock-cells = <0>;
22 compatible = "i2c-mux-gpio";
23 #address-cells = <1>;
[all …]
Drk3399-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/pwm/pwm.h>
12 compatible = "rockchip,rk3399-evb", "rockchip,rk3399";
15 compatible = "pwm-backlight";
16 brightness-levels = <
49 default-brightness-level = <200>;
53 edp_panel: edp-panel {
54 compatible ="lg,lp079qx1-sp0v";
56 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
[all …]
Drk3399-leez-p710.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/pwm/pwm.h>
10 #include "rk3399-opp.dtsi"
17 stdout-path = "serial2:1500000n8";
20 clkin_gmac: external-gmac-clock {
21 compatible = "fixed-clock";
22 clock-frequency = <125000000>;
23 clock-output-names = "clkin_gmac";
[all …]

123