Home
last modified time | relevance | path

Searched refs:uart_clk (Results 1 – 27 of 27) sorted by relevance

/linux-4.1.27/drivers/tty/serial/8250/
D8250_mtk.c36 struct clk *uart_clk; member
136 data->uart_clk = of_clk_get(np, 0); in mtk8250_probe_of()
137 if (IS_ERR(data->uart_clk)) { in mtk8250_probe_of()
139 return PTR_ERR(data->uart_clk); in mtk8250_probe_of()
142 err = clk_prepare_enable(data->uart_clk); in mtk8250_probe_of()
145 clk_put(data->uart_clk); in mtk8250_probe_of()
148 p->uartclk = clk_get_rate(data->uart_clk); in mtk8250_probe_of()
217 if (!IS_ERR(data->uart_clk)) { in mtk8250_remove()
218 clk_disable_unprepare(data->uart_clk); in mtk8250_remove()
219 clk_put(data->uart_clk); in mtk8250_remove()
[all …]
/linux-4.1.27/arch/arm/boot/dts/
Dmt6592.dtsi81 uart_clk: dummy26m { label
116 clocks = <&uart_clk>;
124 clocks = <&uart_clk>;
132 clocks = <&uart_clk>;
140 clocks = <&uart_clk>;
Dmt8127.dtsi68 uart_clk: dummy26m { label
114 clocks = <&uart_clk>;
122 clocks = <&uart_clk>;
130 clocks = <&uart_clk>;
138 clocks = <&uart_clk>;
Dmt6589.dtsi69 uart_clk: dummy26m { label
114 clocks = <&uart_clk>;
122 clocks = <&uart_clk>;
130 clocks = <&uart_clk>;
138 clocks = <&uart_clk>;
Dnspire-cx.dts26 clocks = <&uart_clk>, <&apb_pclk>;
27 clock-names = "uart_clk", "apb_pclk";
85 uart_clk: uart_clk { label
Dmt8135.dtsi90 uart_clk: dummy26m { label
137 clocks = <&uart_clk>;
145 clocks = <&uart_clk>;
153 clocks = <&uart_clk>;
161 clocks = <&uart_clk>;
Dzynq-7000.dtsi157 clock-names = "uart_clk", "pclk";
166 clock-names = "uart_clk", "pclk";
/linux-4.1.27/arch/arm64/boot/dts/mediatek/
Dmt8173.dtsi84 uart_clk: dummy26m { label
155 clocks = <&uart_clk>;
164 clocks = <&uart_clk>;
173 clocks = <&uart_clk>;
182 clocks = <&uart_clk>;
/linux-4.1.27/Documentation/devicetree/bindings/serial/
Dcdns,uart.txt9 - clock-names: Tuple to identify input clocks, must contain "uart_clk" and "pclk"
17 clock-names = "uart_clk", "pclk";
Dmtk-uart.txt25 clocks = <&uart_clk>;
/linux-4.1.27/arch/mips/boot/dts/brcm/
Dbcm7125.dtsi38 uart_clk: uart_clk { label
117 clocks = <&uart_clk>;
Dbcm7360.dtsi32 uart_clk: uart_clk { label
111 clocks = <&uart_clk>;
Dbcm7358.dtsi32 uart_clk: uart_clk { label
111 clocks = <&uart_clk>;
Dbcm7362.dtsi38 uart_clk: uart_clk { label
117 clocks = <&uart_clk>;
Dbcm7420.dtsi38 uart_clk: uart_clk { label
117 clocks = <&uart_clk>;
Dbcm7425.dtsi38 uart_clk: uart_clk { label
118 clocks = <&uart_clk>;
Dbcm7346.dtsi38 uart_clk: uart_clk { label
117 clocks = <&uart_clk>;
/linux-4.1.27/drivers/tty/serial/
Ddigicolor-usart.c459 struct clk *uart_clk; in digicolor_uart_probe() local
474 uart_clk = devm_clk_get(&pdev->dev, NULL); in digicolor_uart_probe()
475 if (IS_ERR(uart_clk)) in digicolor_uart_probe()
476 return PTR_ERR(uart_clk); in digicolor_uart_probe()
489 dp->port.uartclk = clk_get_rate(uart_clk); in digicolor_uart_probe()
Dclps711x.c452 struct clk *uart_clk; in uart_clps711x_probe() local
461 uart_clk = devm_clk_get(&pdev->dev, NULL); in uart_clps711x_probe()
462 if (IS_ERR(uart_clk)) in uart_clps711x_probe()
463 return PTR_ERR(uart_clk); in uart_clps711x_probe()
498 s->port.uartclk = clk_get_rate(uart_clk); in uart_clps711x_probe()
Dserial-tegra.c104 struct clk *uart_clk; member
282 ret = clk_set_rate(tup->uart_clk, rate); in tegra_set_baudrate()
290 rate = clk_get_rate(tup->uart_clk); in tegra_set_baudrate()
822 clk_disable_unprepare(tup->uart_clk); in tegra_uart_hw_deinit()
835 clk_prepare_enable(tup->uart_clk); in tegra_uart_hw_init()
1085 struct clk *parent_clk = clk_get_parent(tup->uart_clk); in tegra_uart_set_termios()
1311 tup->uart_clk = devm_clk_get(&pdev->dev, NULL); in tegra_uart_probe()
1312 if (IS_ERR(tup->uart_clk)) { in tegra_uart_probe()
1314 return PTR_ERR(tup->uart_clk); in tegra_uart_probe()
/linux-4.1.27/arch/powerpc/boot/
D4xx.h24 void ibm405ex_fixup_clocks(unsigned int sys_clk, unsigned int uart_clk);
D4xx.c727 void ibm405ex_fixup_clocks(unsigned int sys_clk, unsigned int uart_clk) in ibm405ex_fixup_clocks() argument
795 uart0 = uart1 = uart_clk; in ibm405ex_fixup_clocks()
/linux-4.1.27/include/linux/
Dfs_uart_pd.h52 u32 uart_clk; member
/linux-4.1.27/arch/arm/mach-omap1/
Dclock.c530 struct uart_clk *uclk; in omap1_clk_enable_uart_functional_16xx()
535 uclk = (struct uart_clk *)clk; in omap1_clk_enable_uart_functional_16xx()
546 struct uart_clk *uclk; in omap1_clk_disable_uart_functional_16xx()
549 uclk = (struct uart_clk *)clk; in omap1_clk_disable_uart_functional_16xx()
Dclock.h224 struct uart_clk { struct
Dclock_data.c437 static struct uart_clk uart1_16xx = {
495 static struct uart_clk uart3_16xx = {
/linux-4.1.27/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi151 clock-names = "uart_clk", "pclk";
161 clock-names = "uart_clk", "pclk";