Home
last modified time | relevance | path

Searched refs:rockchip (Results 1 – 25 of 234) sorted by relevance

12345678910

/Linux-v6.1/drivers/pci/controller/
Dpcie-rockchip.c25 int rockchip_pcie_parse_dt(struct rockchip_pcie *rockchip) in rockchip_pcie_parse_dt() argument
27 struct device *dev = rockchip->dev; in rockchip_pcie_parse_dt()
33 if (rockchip->is_rc) { in rockchip_pcie_parse_dt()
37 rockchip->reg_base = devm_pci_remap_cfg_resource(dev, regs); in rockchip_pcie_parse_dt()
38 if (IS_ERR(rockchip->reg_base)) in rockchip_pcie_parse_dt()
39 return PTR_ERR(rockchip->reg_base); in rockchip_pcie_parse_dt()
41 rockchip->mem_res = in rockchip_pcie_parse_dt()
44 if (!rockchip->mem_res) in rockchip_pcie_parse_dt()
48 rockchip->apb_base = in rockchip_pcie_parse_dt()
50 if (IS_ERR(rockchip->apb_base)) in rockchip_pcie_parse_dt()
[all …]
Dpcie-rockchip-host.c42 static void rockchip_pcie_enable_bw_int(struct rockchip_pcie *rockchip) in rockchip_pcie_enable_bw_int() argument
46 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS); in rockchip_pcie_enable_bw_int()
48 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS); in rockchip_pcie_enable_bw_int()
51 static void rockchip_pcie_clr_bw_int(struct rockchip_pcie *rockchip) in rockchip_pcie_clr_bw_int() argument
55 status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS); in rockchip_pcie_clr_bw_int()
57 rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS); in rockchip_pcie_clr_bw_int()
60 static void rockchip_pcie_update_txcredit_mui(struct rockchip_pcie *rockchip) in rockchip_pcie_update_txcredit_mui() argument
65 val = rockchip_pcie_read(rockchip, PCIE_CORE_TXCREDIT_CFG1); in rockchip_pcie_update_txcredit_mui()
68 rockchip_pcie_write(rockchip, val, PCIE_CORE_TXCREDIT_CFG1); in rockchip_pcie_update_txcredit_mui()
71 static int rockchip_pcie_valid_device(struct rockchip_pcie *rockchip, in rockchip_pcie_valid_device() argument
[all …]
Dpcie-rockchip-ep.c41 struct rockchip_pcie rockchip; member
53 static void rockchip_pcie_clear_ep_ob_atu(struct rockchip_pcie *rockchip, in rockchip_pcie_clear_ep_ob_atu() argument
56 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
58 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
60 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
62 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
64 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
66 rockchip_pcie_write(rockchip, 0, in rockchip_pcie_clear_ep_ob_atu()
70 static void rockchip_pcie_prog_ep_ob_atu(struct rockchip_pcie *rockchip, u8 fn, in rockchip_pcie_prog_ep_ob_atu() argument
83 cpu_addr -= rockchip->mem_res->start; in rockchip_pcie_prog_ep_ob_atu()
[all …]
/Linux-v6.1/drivers/pci/controller/dwc/
Dpcie-dw-rockchip.c63 static int rockchip_pcie_readl_apb(struct rockchip_pcie *rockchip, in rockchip_pcie_readl_apb() argument
66 return readl_relaxed(rockchip->apb_base + reg); in rockchip_pcie_readl_apb()
69 static void rockchip_pcie_writel_apb(struct rockchip_pcie *rockchip, in rockchip_pcie_writel_apb() argument
72 writel_relaxed(val, rockchip->apb_base + reg); in rockchip_pcie_writel_apb()
78 struct rockchip_pcie *rockchip = irq_desc_get_handler_data(desc); in rockchip_pcie_legacy_int_handler() local
83 reg = rockchip_pcie_readl_apb(rockchip, PCIE_CLIENT_INTR_STATUS_LEGACY); in rockchip_pcie_legacy_int_handler()
86 generic_handle_domain_irq(rockchip->irq_domain, hwirq); in rockchip_pcie_legacy_int_handler()
125 static int rockchip_pcie_init_irq_domain(struct rockchip_pcie *rockchip) in rockchip_pcie_init_irq_domain() argument
127 struct device *dev = rockchip->pci.dev; in rockchip_pcie_init_irq_domain()
136 rockchip->irq_domain = irq_domain_add_linear(intc, PCI_NUM_INTX, in rockchip_pcie_init_irq_domain()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3568-pinctrl.dtsi6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include "rockchip-pinconf.dtsi"
17 rockchip,pins =
38 rockchip,pins =
45 rockchip,pins =
52 rockchip,pins =
59 rockchip,pins =
66 rockchip,pins =
73 rockchip,pins =
82 rockchip,pins =
[all …]
Drk3308.dtsi11 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
16 compatible = "rockchip,rk3308";
166 compatible = "rockchip,rk3308-grf", "syscon", "simple-mfd";
181 compatible = "rockchip,rk3308-usb2phy-grf", "syscon", "simple-mfd";
187 compatible = "rockchip,rk3308-usb2phy";
217 compatible = "rockchip,rk3308-detect-grf", "syscon", "simple-mfd";
224 compatible = "rockchip,rk3308-core-grf", "syscon", "simple-mfd";
231 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
244 compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
[all …]
Dpx30.dtsi10 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
16 compatible = "rockchip,px30";
155 compatible = "rockchip,display-subsystem";
237 compatible = "rockchip,px30-pmu", "syscon", "simple-mfd";
241 compatible = "rockchip,px30-power-controller";
332 compatible = "rockchip,px30-pmugrf", "syscon", "simple-mfd";
338 compatible = "rockchip,px30-pmu-io-voltage-domain";
354 compatible = "rockchip,px30-uart", "snps,dw-apb-uart";
369 compatible = "rockchip,px30-i2s-tdm";
[all …]
Drk3328.dtsi10 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
16 compatible = "rockchip,rk3328";
171 compatible = "rockchip,display-subsystem";
212 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
224 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
236 compatible = "rockchip,rk3328-i2s", "rockchip,rk3066-i2s";
248 compatible = "rockchip,rk3328-spdif";
262 compatible = "rockchip,pdm";
283 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
[all …]
Drk3368.dtsi10 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
16 compatible = "rockchip,rk3368";
180 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
194 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
208 compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
222 compatible = "rockchip,saradc";
234 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
247 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
260 compatible = "rockchip,rk3368-spi", "rockchip,rk3066-spi";
[all …]
Drk3399.dtsi10 #include <dt-bindings/pinctrl/rockchip.h>
15 compatible = "rockchip,rk3399";
177 compatible = "rockchip,display-subsystem";
182 compatible = "rockchip,rk3399-dmc";
183 rockchip,pmu = <&pmugrf>;
222 compatible = "rockchip,rk3399-pcie";
269 compatible = "rockchip,rk3399-gmac";
284 rockchip,grf = <&grf>;
290 compatible = "rockchip,rk3399-dw-mshc",
291 "rockchip,rk3288-dw-mshc";
[all …]
Drk356x.dtsi10 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/soc/rockchip,boot-mode.h>
133 compatible = "rockchip,display-subsystem";
255 compatible = "rockchip,rk3568-dwc-ahci", "snps,dwc-ahci";
269 compatible = "rockchip,rk3568-dwc-ahci", "snps,dwc-ahci";
283 compatible = "rockchip,rk3568-dwc3", "snps,dwc3";
299 compatible = "rockchip,rk3568-dwc3", "snps,dwc3";
373 compatible = "rockchip,rk3568-pmugrf", "syscon", "simple-mfd";
377 compatible = "rockchip,rk3568-pmu-io-voltage-domain";
387 compatible = "rockchip,rk3568-grf", "syscon", "simple-mfd";
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Drockchip-max98090.txt4 - compatible: "rockchip,rockchip-audio-max98090"
5 - rockchip,model: The user-visible name of this sound complex
6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec.
11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is
12 required if there is rockchip,audio-codec.
13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec.
19 compatible = "rockchip,rockchip-audio-max98090";
20 rockchip,model = "ROCKCHIP-I2S";
21 rockchip,i2s-controller = <&i2s>;
[all …]
Drockchip,rk3288-hdmi-analog.txt4 - compatible: "rockchip,rk3288-hdmi-analog"
5 - rockchip,model: The user-visible name of this sound complex
6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
8 - rockchip,audio-codec: The phandle of the analog audio codec.
9 - rockchip,routing: A list of the connections between audio components.
16 - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the
18 - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone
25 compatible = "rockchip,rk3288-hdmi-analog";
26 rockchip,model = "Analog audio output";
27 rockchip,i2s-controller = <&i2s>;
[all …]
Drockchip-rt5645.txt4 - compatible: "rockchip,rockchip-audio-rt5645"
5 - rockchip,model: The user-visible name of this sound complex
6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
8 - rockchip,audio-codec: The phandle of the RT5645/RT5650 audio codec
13 compatible = "rockchip,rockchip-audio-rt5645";
14 rockchip,model = "ROCKCHIP-I2S";
15 rockchip,i2s-controller = <&i2s>;
16 rockchip,audio-codec = <&rt5645>;
/Linux-v6.1/arch/arm/boot/dts/
Drk3188.dtsi8 #include <dt-bindings/pinctrl/rockchip.h>
14 compatible = "rockchip,rk3188";
19 enable-method = "rockchip,rk3066-smp";
98 compatible = "rockchip,display-subsystem";
110 compatible = "rockchip,rk3066-smp-sram";
116 compatible = "rockchip,rk3188-vop";
133 compatible = "rockchip,rk3188-vop";
150 compatible = "rockchip,rk3188-timer", "rockchip,rk3288-timer";
158 compatible = "rockchip,rk3188-timer", "rockchip,rk3288-timer";
166 compatible = "rockchip,rk3188-i2s", "rockchip,rk3066-i2s";
[all …]
Drv1108.dtsi7 #include <dt-bindings/pinctrl/rockchip.h>
13 compatible = "rockchip,rv1108";
97 compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart";
112 compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart";
127 compatible = "rockchip,rv1108-uart", "snps,dw-apb-uart";
142 compatible = "rockchip,rv1108-i2c";
151 rockchip,grf = <&grf>;
156 compatible = "rockchip,rv1108-i2c";
165 rockchip,grf = <&grf>;
170 compatible = "rockchip,rv1108-i2c";
[all …]
Drk3036.dtsi6 #include <dt-bindings/pinctrl/rockchip.h>
8 #include <dt-bindings/soc/rockchip,boot-mode.h>
15 compatible = "rockchip,rk3036";
35 enable-method = "rockchip,rk3036-smp";
66 compatible = "rockchip,display-subsystem";
95 compatible = "rockchip,rk3066-smp-sram";
101 compatible = "rockchip,rk3036-mali", "arm,mali-400";
121 compatible = "rockchip,rk3036-vpu";
132 compatible = "rockchip,iommu";
142 compatible = "rockchip,rk3036-vop";
[all …]
Drk3066a.dtsi8 #include <dt-bindings/pinctrl/rockchip.h>
14 compatible = "rockchip,rk3066a";
19 enable-method = "rockchip,rk3066-smp";
47 compatible = "rockchip,display-subsystem";
59 compatible = "rockchip,rk3066-smp-sram";
65 compatible = "rockchip,rk3066-vop";
91 compatible = "rockchip,rk3066-vop";
117 compatible = "rockchip,rk3066-hdmi";
125 rockchip,grf = <&grf>;
155 compatible = "rockchip,rk3066-i2s";
[all …]
Drk3288.dtsi6 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/soc/rockchip,boot-mode.h>
16 compatible = "rockchip,rk3288";
54 enable-method = "rockchip,rk3066-smp";
55 rockchip,pmu = <&pmu>;
196 compatible = "rockchip,rk3288-timer";
204 compatible = "rockchip,display-subsystem";
209 compatible = "rockchip,rk3288-dw-mshc";
223 compatible = "rockchip,rk3288-dw-mshc";
237 compatible = "rockchip,rk3288-dw-mshc";
[all …]
Drk322x.dtsi6 #include <dt-bindings/pinctrl/rockchip.h>
131 compatible = "rockchip,display-subsystem";
136 compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s";
149 compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s";
160 compatible = "rockchip,rk3228-spdif";
173 compatible = "rockchip,rk3228-i2s", "rockchip,rk3066-i2s";
184 compatible = "rockchip,rk3228-grf", "syscon", "simple-mfd";
190 compatible = "rockchip,rk3228-io-voltage-domain";
195 compatible = "rockchip,rk3228-power-controller";
253 compatible = "rockchip,rk3228-usb2phy";
[all …]
Drk3288-veyron-analog-audio.dtsi11 compatible = "rockchip,rockchip-audio-max98090";
14 rockchip,model = "VEYRON-I2S";
15 rockchip,i2s-controller = <&i2s>;
16 rockchip,audio-codec = <&max98090>;
17 rockchip,hp-det-gpios = <&gpio6 RK_PA5 GPIO_ACTIVE_HIGH>;
18 rockchip,mic-det-gpios = <&gpio6 RK_PB3 GPIO_ACTIVE_LOW>;
19 rockchip,headset-codec = <&headsetcodec>;
20 rockchip,hdmi-codec = <&hdmi>;
77 rockchip,pins = <6 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
86 rockchip,pins = <6 RK_PA7 RK_FUNC_GPIO &pcfg_pull_down>;
[all …]
Drk3xxx.dtsi9 #include <dt-bindings/soc/rockchip,boot-mode.h>
51 compatible = "rockchip,rk3066-vpu";
126 compatible = "rockchip,rk3066-qos", "syscon";
131 compatible = "rockchip,rk3066-qos", "syscon";
136 compatible = "rockchip,rk3066-qos", "syscon";
141 compatible = "rockchip,rk3066-qos", "syscon";
146 compatible = "rockchip,rk3066-qos", "syscon";
151 compatible = "rockchip,rk3066-qos", "syscon";
156 compatible = "rockchip,rk3066-qos", "syscon";
161 compatible = "rockchip,rk3066-qos", "syscon";
[all …]
/Linux-v6.1/drivers/phy/rockchip/
DMakefile2 obj-$(CONFIG_PHY_ROCKCHIP_DP) += phy-rockchip-dp.o
3 obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0) += phy-rockchip-dphy-rx0.o
4 obj-$(CONFIG_PHY_ROCKCHIP_EMMC) += phy-rockchip-emmc.o
5 obj-$(CONFIG_PHY_ROCKCHIP_INNO_CSIDPHY) += phy-rockchip-inno-csidphy.o
6 obj-$(CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY) += phy-rockchip-inno-dsidphy.o
7 obj-$(CONFIG_PHY_ROCKCHIP_INNO_HDMI) += phy-rockchip-inno-hdmi.o
8 obj-$(CONFIG_PHY_ROCKCHIP_INNO_USB2) += phy-rockchip-inno-usb2.o
9 obj-$(CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY) += phy-rockchip-naneng-combphy.o
10 obj-$(CONFIG_PHY_ROCKCHIP_PCIE) += phy-rockchip-pcie.o
11 obj-$(CONFIG_PHY_ROCKCHIP_SNPS_PCIE3) += phy-rockchip-snps-pcie3.o
[all …]
/Linux-v6.1/sound/soc/rockchip/
DMakefile3 snd-soc-rockchip-i2s-objs := rockchip_i2s.o
4 snd-soc-rockchip-i2s-tdm-objs := rockchip_i2s_tdm.o
5 snd-soc-rockchip-pdm-objs := rockchip_pdm.o
6 snd-soc-rockchip-spdif-objs := rockchip_spdif.o
8 obj-$(CONFIG_SND_SOC_ROCKCHIP_I2S) += snd-soc-rockchip-i2s.o
9 obj-$(CONFIG_SND_SOC_ROCKCHIP_PDM) += snd-soc-rockchip-pdm.o
10 obj-$(CONFIG_SND_SOC_ROCKCHIP_SPDIF) += snd-soc-rockchip-spdif.o
11 obj-$(CONFIG_SND_SOC_ROCKCHIP_I2S_TDM) += snd-soc-rockchip-i2s-tdm.o
13 snd-soc-rockchip-max98090-objs := rockchip_max98090.o
14 snd-soc-rockchip-rt5645-objs := rockchip_rt5645.o
[all …]
/Linux-v6.1/drivers/clk/rockchip/
DMakefile6 obj-$(CONFIG_COMMON_CLK_ROCKCHIP) += clk-rockchip.o
8 clk-rockchip-y += clk.o
9 clk-rockchip-y += clk-pll.o
10 clk-rockchip-y += clk-cpu.o
11 clk-rockchip-y += clk-half-divider.o
12 clk-rockchip-y += clk-inverter.o
13 clk-rockchip-y += clk-mmc-phase.o
14 clk-rockchip-y += clk-muxgrf.o
15 clk-rockchip-y += clk-ddr.o
16 clk-rockchip-$(CONFIG_RESET_CONTROLLER) += softrst.o

12345678910