/Linux-v6.1/Documentation/devicetree/bindings/display/rockchip/ |
D | rockchip-vop.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip-vop.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SoC display controller (VOP) 10 VOP (Video Output Processor) is the display controller for the Rockchip 15 - Sandy Huang <hjc@rock-chips.com> 16 - Heiko Stuebner <heiko@sntech.de> 21 - rockchip,px30-vop-big 22 - rockchip,px30-vop-lit [all …]
|
D | rockchip-lvds.txt | 1 Rockchip RK3288 LVDS interface 5 - compatible: matching the soc type, one of 6 - "rockchip,rk3288-lvds"; 7 - "rockchip,px30-lvds"; 9 - reg: physical base address of the controller and length 11 - clocks: must include clock specifiers corresponding to entries in the 12 clock-names property. 13 - clock-names: must contain "pclk_lvds" 15 - avdd1v0-supply: regulator phandle for 1.0V analog power 16 - avdd1v8-supply: regulator phandle for 1.8V analog power [all …]
|
D | analogix_dp-rockchip.txt | 1 Rockchip RK3288 specific extensions to the Analogix Display Port 5 - compatible: "rockchip,rk3288-dp", 6 "rockchip,rk3399-edp"; 8 - reg: physical base address of the controller and length 10 - clocks: from common clock binding: handle to dp clock. 13 - clock-names: from common clock binding: 16 - resets: Must contain an entry for each entry in reset-names. 19 - pinctrl-names: Names corresponding to the chip hotplug pinctrl states. 20 - pinctrl-0: pin-control mode. should be <&edp_hpd> 22 - reset-names: Must include the name "dp" [all …]
|
D | rockchip,dw-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Yao <markyao0591@gmail.com> 17 - $ref: ../bridge/synopsys,dw-hdmi.yaml# 22 - rockchip,rk3228-dw-hdmi 23 - rockchip,rk3288-dw-hdmi 24 - rockchip,rk3328-dw-hdmi 25 - rockchip,rk3399-dw-hdmi [all …]
|
D | dw_mipi_dsi_rockchip.txt | 5 - #address-cells: Should be <1>. 6 - #size-cells: Should be <0>. 7 - compatible: one of 8 "rockchip,px30-mipi-dsi", "snps,dw-mipi-dsi" 9 "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi" 10 "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi" 11 "rockchip,rk3568-mipi-dsi", "snps,dw-mipi-dsi" 12 - reg: Represent the physical address range of the controller. 13 - interrupts: Represent the controller's interrupt to the CPU(s). 14 - clocks, clock-names: Phandles to the controller's pll reference [all …]
|
/Linux-v6.1/drivers/gpu/drm/rockchip/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 25 bool "Rockchip VOP driver" 28 This selects support for the VOP driver. You should enable it 45 on RK3288 or RK3399 based SoC, you should select this option. 63 enable HDMI on RK3288 or RK3399 based SoC, you should select 72 enable MIPI DSI on RK3288 or RK3399 based SoC, you should 88 Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
|
D | analogix_dp-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Andy Yan <andy.yan@rock-chips.com> 7 * Yakir Yang <ykk@rock-chips.com> 8 * Jeff Chen <jeff.chen@rock-chips.com> 44 * struct rockchip_dp_chip_data - splite the grf setting of kind of chips 46 * @lcdsel_big: reg value of selecting vop big for eDP 47 * @lcdsel_lit: reg value of selecting vop little for eDP 88 reset_control_assert(dp->rst); in rockchip_dp_pre_init() 90 reset_control_deassert(dp->rst); in rockchip_dp_pre_init() 100 ret = clk_prepare_enable(dp->pclk); in rockchip_dp_poweron_start() [all …]
|
D | rockchip_vop_reg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author:Mark Yao <mark.yao@rock-chips.com> 456 * hs_start interrupt fires at frame-start, so serves 562 * hs_start interrupt fires at frame-start, so serves 693 * Note: rk3288 has a dedicated 'cursor' window, however, that window requires 949 * rk3399 vop big windows register layout is same as rk3288, but we 1106 { .compatible = "rockchip,rk3036-vop", 1108 { .compatible = "rockchip,rk3126-vop", 1110 { .compatible = "rockchip,px30-vop-big", 1112 { .compatible = "rockchip,px30-vop-lit", [all …]
|
D | rockchip_lvds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Mark Yao <mark.yao@rock-chips.com> 6 * Sandy Huang <hjc@rock-chips.com> 40 * struct rockchip_lvds_soc_data - rockchip lvds Soc private data 81 writel_relaxed(val, lvds->regs + offset); in rk3288_writel() 82 if (lvds->output == DISPLAY_OUTPUT_LVDS) in rk3288_writel() 84 writel_relaxed(val, lvds->regs + offset + RK3288_LVDS_CH1_OFFSET); in rk3288_writel() 89 if (strncmp(s, "jeida-18", 8) == 0) in rockchip_lvds_name_to_format() 91 else if (strncmp(s, "jeida-24", 8) == 0) in rockchip_lvds_name_to_format() 93 else if (strncmp(s, "vesa-24", 7) == 0) in rockchip_lvds_name_to_format() [all …]
|
D | dw_hdmi-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 61 * struct rockchip_hdmi_chip_data - splite the grf setting of kind of chips 63 * @lcdsel_big: reg value of selecting vop big for HDMI 64 * @lcdsel_lit: reg value of selecting vop little for HDMI 203 struct device_node *np = hdmi->dev->of_node; in rockchip_hdmi_parse_dt() 205 hdmi->regmap = syscon_regmap_lookup_by_phandle(np, "rockchip,grf"); in rockchip_hdmi_parse_dt() 206 if (IS_ERR(hdmi->regmap)) { in rockchip_hdmi_parse_dt() 207 DRM_DEV_ERROR(hdmi->dev, "Unable to get rockchip,grf\n"); in rockchip_hdmi_parse_dt() 208 return PTR_ERR(hdmi->regmap); in rockchip_hdmi_parse_dt() 211 hdmi->ref_clk = devm_clk_get_optional(hdmi->dev, "ref"); in rockchip_hdmi_parse_dt() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/pwm/ |
D | pwm-rockchip.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pwm/pwm-rockchip.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - const: rockchip,rk2928-pwm 16 - const: rockchip,rk3288-pwm 17 - const: rockchip,rk3328-pwm 18 - const: rockchip,vop-pwm 19 - items: [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | rk3288.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3288-cru.h> 8 #include <dt-bindings/power/rk3288-power.h> 9 #include <dt-bindings/thermal/thermal.h> 10 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #address-cells = <2>; [all …]
|
D | rk3036.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3036-cru.h> 8 #include <dt-bindings/soc/rockchip,boot-mode.h> 9 #include <dt-bindings/power/rk3036-power.h> 12 #address-cells = <1>; 13 #size-cells = <1>; [all …]
|
D | rk322x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3228-cru.h> 8 #include <dt-bindings/thermal/thermal.h> 9 #include <dt-bindings/power/rk3228-power.h> 12 #address-cells = <1>; 13 #size-cells = <1>; [all …]
|
D | rk3188.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/clock/rk3188-cru.h> 10 #include <dt-bindings/power/rk3188-power.h> 17 #address-cells = <1>; 18 #size-cells = <0>; 19 enable-method = "rockchip,rk3066-smp"; 23 compatible = "arm,cortex-a9"; 24 next-level-cache = <&L2>; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/power/ |
D | rockchip-io-domain.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/rockchip-io-domain.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 17 A specific example using rk3288 42 to report their voltage. The IO Voltage Domain for any non-specified 48 - rockchip,px30-io-voltage-domain 49 - rockchip,px30-pmu-io-voltage-domain 50 - rockchip,rk3188-io-voltage-domain [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3368.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3368-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3368-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 17 interrupt-parent = <&gic>; [all …]
|
D | rk3399.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3399-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3399-power.h> 12 #include <dt-bindings/thermal/thermal.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; [all …]
|
D | px30.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/px30-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/px30-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 18 interrupt-parent = <&gic>; [all …]
|
D | rk3328.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3328-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3328-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 18 interrupt-parent = <&gic>; [all …]
|
D | rk356x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3568-cru.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3568-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; [all …]
|
/Linux-v6.1/drivers/pwm/ |
D | pwm-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 65 u32 enable_conf = pc->data->enable_conf; in rockchip_pwm_get_state() 71 ret = clk_enable(pc->pclk); in rockchip_pwm_get_state() 75 ret = clk_enable(pc->clk); in rockchip_pwm_get_state() 79 clk_rate = clk_get_rate(pc->clk); in rockchip_pwm_get_state() 81 tmp = readl_relaxed(pc->base + pc->data->regs.period); in rockchip_pwm_get_state() 82 tmp *= pc->data->prescaler * NSEC_PER_SEC; in rockchip_pwm_get_state() 83 state->period = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); in rockchip_pwm_get_state() 85 tmp = readl_relaxed(pc->base + pc->data->regs.duty); in rockchip_pwm_get_state() 86 tmp *= pc->data->prescaler * NSEC_PER_SEC; in rockchip_pwm_get_state() [all …]
|
/Linux-v6.1/drivers/soc/rockchip/ |
D | io-domain.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 * - If the voltage on a rail is above the "1.8" voltage (1.98V) we'll tell the 28 * - If the voltage on a rail is above the "3.3" voltage (3.6V) we'll consider 84 struct rockchip_iodomain *iod = supply->iod; in rk3568_iodomain_write() 89 switch (supply->idx) { in rk3568_iodomain_write() 93 b = supply->idx; in rk3568_iodomain_write() 95 b = supply->idx + 4; in rk3568_iodomain_write() 98 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val0); in rk3568_iodomain_write() 99 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val1); in rk3568_iodomain_write() 109 b = supply->idx - 1; in rk3568_iodomain_write() [all …]
|
D | pm_domains.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <dt-bindings/power/px30-power.h> 22 #include <dt-bindings/power/rockchip,rv1126-power.h> 23 #include <dt-bindings/power/rk3036-power.h> 24 #include <dt-bindings/power/rk3066-power.h> 25 #include <dt-bindings/power/rk3128-power.h> 26 #include <dt-bindings/power/rk3188-power.h> 27 #include <dt-bindings/power/rk3228-power.h> 28 #include <dt-bindings/power/rk3288-power.h> 29 #include <dt-bindings/power/rk3328-power.h> [all …]
|