Home
last modified time | relevance | path

Searched refs:crg (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/arch/arm64/boot/dts/hisilicon/
Dhi3798cv200.dtsi87 crg: clock-reset-controller@8a22000 { label
88 compatible = "hisilicon,hi3798cv200-crg", "syscon", "simple-mfd";
122 clocks = <&crg HISTB_USB2_PHY1_REF_CLK>;
123 resets = <&crg 0xbc 4>;
130 resets = <&crg 0xbc 8>;
136 resets = <&crg 0xbc 9>;
143 clocks = <&crg HISTB_USB2_PHY2_REF_CLK>;
144 resets = <&crg 0xbc 6>;
151 resets = <&crg 0xbc 10>;
159 clocks = <&crg HISTB_COMBPHY0_CLK>;
[all …]
/Linux-v4.19/drivers/clk/hisilicon/
Dclk-hi3519.c140 struct hi3519_crg_data *crg = platform_get_drvdata(pdev); in hi3519_clk_unregister() local
146 crg->clk_data); in hi3519_clk_unregister()
149 crg->clk_data); in hi3519_clk_unregister()
152 crg->clk_data); in hi3519_clk_unregister()
157 struct hi3519_crg_data *crg; in hi3519_clk_probe() local
159 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3519_clk_probe()
160 if (!crg) in hi3519_clk_probe()
163 crg->rstc = hisi_reset_init(pdev); in hi3519_clk_probe()
164 if (!crg->rstc) in hi3519_clk_probe()
167 crg->clk_data = hi3519_clk_register(pdev); in hi3519_clk_probe()
[all …]
Dcrg-hi3516cv300.c187 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3516cv300_clk_unregister() local
192 ARRAY_SIZE(hi3516cv300_gate_clks), crg->clk_data); in hi3516cv300_clk_unregister()
194 ARRAY_SIZE(hi3516cv300_mux_clks), crg->clk_data); in hi3516cv300_clk_unregister()
196 ARRAY_SIZE(hi3516cv300_fixed_rate_clks), crg->clk_data); in hi3516cv300_clk_unregister()
246 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3516cv300_sysctrl_clk_unregister() local
252 crg->clk_data); in hi3516cv300_sysctrl_clk_unregister()
275 struct hisi_crg_dev *crg; in hi3516cv300_crg_probe() local
277 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3516cv300_crg_probe()
278 if (!crg) in hi3516cv300_crg_probe()
281 crg->funcs = of_device_get_match_data(&pdev->dev); in hi3516cv300_crg_probe()
[all …]
Dcrg-hi3798cv200.c268 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3798cv200_clk_unregister() local
274 crg->clk_data); in hi3798cv200_clk_unregister()
277 crg->clk_data); in hi3798cv200_clk_unregister()
280 crg->clk_data); in hi3798cv200_clk_unregister()
333 struct hisi_crg_dev *crg = platform_get_drvdata(pdev); in hi3798cv200_sysctrl_clk_unregister() local
339 crg->clk_data); in hi3798cv200_sysctrl_clk_unregister()
358 struct hisi_crg_dev *crg; in hi3798cv200_crg_probe() local
360 crg = devm_kmalloc(&pdev->dev, sizeof(*crg), GFP_KERNEL); in hi3798cv200_crg_probe()
361 if (!crg) in hi3798cv200_crg_probe()
364 crg->funcs = of_device_get_match_data(&pdev->dev); in hi3798cv200_crg_probe()
[all …]
DMakefile11 obj-$(CONFIG_COMMON_CLK_HI3516CV300) += crg-hi3516cv300.o
14 obj-$(CONFIG_COMMON_CLK_HI3798CV200) += crg-hi3798cv200.o
/Linux-v4.19/arch/arm/boot/dts/
Dhi3519.dtsi50 crg: clock-reset-controller@12010000 { label
51 compatible = "hisilicon,hi3519-crg";
68 clocks = <&crg HI3519_UART0_CLK>;
77 clocks = <&crg HI3519_UART1_CLK>;
86 clocks = <&crg HI3519_UART2_CLK>;
95 clocks = <&crg HI3519_UART3_CLK>;
104 clocks = <&crg HI3519_UART4_CLK>;
143 clocks = <&crg HI3519_SPI0_CLK>;
155 clocks = <&crg HI3519_SPI1_CLK>;
167 clocks = <&crg HI3519_SPI2_CLK>;
/Linux-v4.19/Documentation/devicetree/bindings/phy/
Dphy-hisi-inno-usb2.txt39 clocks = <&crg HISTB_USB2_PHY1_REF_CLK>;
40 resets = <&crg 0xbc 4>;
47 resets = <&crg 0xbc 8>;
53 resets = <&crg 0xbc 9>;
60 clocks = <&crg HISTB_USB2_PHY2_REF_CLK>;
61 resets = <&crg 0xbc 6>;
68 resets = <&crg 0xbc 10>;
Dphy-hi3798cv200-combphy.txt46 clocks = <&crg HISTB_COMBPHY0_CLK>;
47 resets = <&crg 0x188 4>;
55 clocks = <&crg HISTB_COMBPHY1_CLK>;
56 resets = <&crg 0x188 12>;
/Linux-v4.19/Documentation/devicetree/bindings/pci/
Dhisilicon-histb-pcie.txt60 clocks = <&crg PCIE_AUX_CLK>,
61 <&crg PCIE_PIPE_CLK>,
62 <&crg PCIE_SYS_CLK>,
63 <&crg PCIE_BUS_CLK>;
65 resets = <&crg 0x18c 6>, <&crg 0x18c 5>, <&crg 0x18c 4>;
/Linux-v4.19/Documentation/devicetree/bindings/usb/
Dhisilicon,histb-xhci.txt36 clocks = <&crg HISTB_USB3_BUS_CLK>,
37 <&crg HISTB_USB3_UTMI_CLK>,
38 <&crg HISTB_USB3_PIPE_CLK>,
39 <&crg HISTB_USB3_SUSPEND_CLK>;
41 resets = <&crg 0xb0 12>;
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dhisilicon-hix5hd2-gmac.txt49 clocks = <&crg HISTB_ETH0_MAC_CLK>, <&crg HISTB_ETH0_MACIF_CLK>;
51 resets = <&crg 0xcc 8>, <&crg 0xcc 10>, <&crg 0xcc 12>;
Dhisilicon-femac.txt32 clocks = <&crg HI3518EV200_ETH_CLK>;
33 resets = <&crg 0xec 0>,<&crg 0xec 3>;
Dhisilicon-femac-mdio.txt15 clocks = <&crg HI3516CV300_MDIO_CLK>;
/Linux-v4.19/Documentation/devicetree/bindings/mmc/
Dhi3798cv200-dw-mshc.txt28 clocks = <&crg HISTB_MMC_CIU_CLK>,
29 <&crg HISTB_MMC_BIU_CLK>,
30 <&crg HISTB_MMC_SAMPLE_CLK>,
31 <&crg HISTB_MMC_DRV_CLK>;
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dhisi-crg.txt13 - "hisilicon,hi3516cv300-crg"
15 - "hisilicon,hi3519-crg"
16 - "hisilicon,hi3798cv200-crg"
38 compatible = "hisilicon,hi3519-crg";
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddispc.c878 int yr, yg, yb, cbr, cbg, cbb, crr, crg, crb; member
908 dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 2), CVAL(ct->crb, ct->crg)); in dispc_wb_write_color_conv_coef()