Home
last modified time | relevance | path

Searched +full:clock +full:- +full:indices (Results 1 – 25 of 269) sorted by relevance

1234567891011

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/
Drenesas,cpg-mstp-clocks.txt7 Clocks are referenced by user nodes by the MSTP node phandle and the clock
12 - compatible: Must be one of the following
13 - "renesas,r7s72100-mstp-clocks" for R7S72100 (RZ) MSTP gate clocks
14 - "renesas,r8a73a4-mstp-clocks" for R8A73A4 (R-Mobile APE6) MSTP gate clocks
15 - "renesas,r8a7740-mstp-clocks" for R8A7740 (R-Mobile A1) MSTP gate clocks
16 - "renesas,r8a7778-mstp-clocks" for R8A7778 (R-Car M1) MSTP gate clocks
17 - "renesas,r8a7779-mstp-clocks" for R8A7779 (R-Car H1) MSTP gate clocks
18 - "renesas,r8a7790-mstp-clocks" for R8A7790 (R-Car H2) MSTP gate clocks
19 - "renesas,r8a7791-mstp-clocks" for R8A7791 (R-Car M2-W) MSTP gate clocks
20 - "renesas,r8a7792-mstp-clocks" for R8A7792 (R-Car V2H) MSTP gate clocks
[all …]
Dclock-bindings.txt1 This binding is a work-in-progress, and are based on some experimental
4 Sources of clock signal can be represented by any node in the device
5 tree. Those nodes are designated as clock providers. Clock consumer
6 nodes use a phandle and clock specifier pair to connect clock provider
7 outputs to clock inputs. Similar to the gpio specifiers, a clock
8 specifier is an array of zero, one or more cells identifying the clock
9 output on a device. The length of a clock specifier is defined by the
10 value of a #clock-cells property in the clock provider node.
14 ==Clock providers==
17 #clock-cells: Number of cells in a clock specifier; Typically 0 for nodes
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dallwinner,sun4i-a10-gates-clk.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-gates-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Bus Gates Clock Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 "#clock-cells":
19 This additional argument passed to that clock is the offset of
24 - const: allwinner,sun4i-a10-gates-clk
[all …]
Drenesas,cpg-mstp-clocks.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/renesas,cpg-mstp-clocks.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas Clock Pulse Generator (CPG) Module Stop (MSTP) Clocks
10 - Geert Uytterhoeven <geert+renesas@glider.be>
13 The Clock Pulse Generator (CPG) can gate SoC device clocks. The gates are
18 and the clock index in the group, from 0 to 31.
23 - enum:
24 - renesas,r7s72100-mstp-clocks # RZ/A1
[all …]
Dallwinner,sun8i-h3-bus-gates-clk.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/clock/allwinner,sun8i-h3-bus-gates-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Bus Gates Clock Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 "#clock-cells":
19 This additional argument passed to that clock is the offset of
23 const: allwinner,sun8i-h3-bus-gates-clk
[all …]
Dclock-bindings.txt1 This binding is a work-in-progress, and are based on some experimental
4 Sources of clock signal can be represented by any node in the device
5 tree. Those nodes are designated as clock providers. Clock consumer
6 nodes use a phandle and clock specifier pair to connect clock provider
7 outputs to clock inputs. Similar to the gpio specifiers, a clock
8 specifier is an array of zero, one or more cells identifying the clock
9 output on a device. The length of a clock specifier is defined by the
10 value of a #clock-cells property in the clock provider node.
14 ==Clock providers==
17 #clock-cells: Number of cells in a clock specifier; Typically 0 for nodes
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dr7s72100.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2013-14 Renesas Solutions Corp.
6 * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
9 #include <dt-bindings/clock/r7s72100-clock.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
15 #address-cells = <1>;
16 #size-cells = <1>;
32 #clock-cells = <0>;
33 compatible = "fixed-factor-clock";
[all …]
Ddm816x-clocks.dtsi9 #clock-cells = <1>;
10 compatible = "ti,dm816-fapll-clock";
13 clock-indices = <1>, <2>, <3>, <4>, <5>,
15 clock-output-names = "main_pll_clk1",
25 #clock-cells = <1>;
26 compatible = "ti,dm816-fapll-clock";
29 clock-indices = <1>, <2>, <3>, <4>;
30 clock-output-names = "ddr_pll_clk1",
37 #clock-cells = <1>;
38 compatible = "ti,dm816-fapll-clock";
[all …]
Dr8a7740.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/clock/r8a7740-clock.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 interrupt-parent = <&gic>;
15 #address-cells = <1>;
16 #size-cells = <1>;
19 #address-cells = <1>;
20 #size-cells = <0>;
22 compatible = "arm,cortex-a9";
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Darm,scpi.txt2 ----------------------------------------------------------
10 - compatible : should be
12 * "arm,scpi-pre-1.0" : For implementations complying to all
14 - mboxes: List of phandle and mailbox channel specifiers
17 - shmem : List of phandle pointing to the shared memory(SHM) area between the
26 Clock bindings for the clocks based on SCPI Message Protocol
27 ------------------------------------------------------------
29 This binding uses the common clock binding[1].
34 - compatible : should be "arm,scpi-clocks"
36 protocol much be listed as sub-nodes under this node.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/arm/
Darm,scpi.txt2 ----------------------------------------------------------
10 - compatible : should be
12 * "arm,scpi-pre-1.0" : For implementations complying to all
14 - mboxes: List of phandle and mailbox channel specifiers
17 - shmem : List of phandle pointing to the shared memory(SHM) area between the
26 Clock bindings for the clocks based on SCPI Message Protocol
27 ------------------------------------------------------------
29 This binding uses the common clock binding[1].
34 - compatible : should be "arm,scpi-clocks"
36 protocol much be listed as sub-nodes under this node.
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dr7s72100.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2013-14 Renesas Solutions Corp.
6 * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
9 #include <dt-bindings/clock/r7s72100-clock.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
15 #address-cells = <1>;
16 #size-cells = <1>;
32 #clock-cells = <0>;
33 compatible = "fixed-factor-clock";
[all …]
Ddm816x-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
5 #clock-cells = <1>;
6 compatible = "ti,dm816-fapll-clock";
9 clock-indices = <1>, <2>, <3>, <4>, <5>,
11 clock-output-names = "main_pll_clk1",
21 #clock-cells = <1>;
22 compatible = "ti,dm816-fapll-clock";
25 clock-indices = <1>, <2>, <3>, <4>;
26 clock-output-names = "ddr_pll_clk1",
33 #clock-cells = <1>;
[all …]
Dr8a7740.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the R-Mobile A1 (R8A77400) SoC
8 #include <dt-bindings/clock/r8a7740-clock.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 interrupt-parent = <&gic>;
15 #address-cells = <1>;
16 #size-cells = <1>;
19 #address-cells = <1>;
20 #size-cells = <0>;
[all …]
/kernel/linux/linux-5.10/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Based on clk-simple-gates.c, which is:
8 * Maxime Ripard <maxime.ripard@free-electrons.com>
11 #include <linux/clk-provider.h>
41 int idx = of_property_match_string(node, "clock-names", in sun8i_h3_bus_gates_init()
53 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init()
54 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init()
56 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sun8i_h3_bus_gates_init()
57 if (!clk_data->clks) in sun8i_h3_bus_gates_init()
61 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sun8i_h3_bus_gates_init()
[all …]
Dclk-simple-gates.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Maxime Ripard <maxime.ripard@free-electrons.com>
9 #include <linux/clk-provider.h>
43 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup()
44 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup()
46 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sunxi_simple_gates_setup()
47 if (!clk_data->clks) in sunxi_simple_gates_setup()
50 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sunxi_simple_gates_setup()
51 of_property_read_string_index(node, "clock-output-names", in sunxi_simple_gates_setup()
57 clk_data->clks[index] = clk_register_gate(NULL, clk_name, in sunxi_simple_gates_setup()
[all …]
/kernel/linux/linux-4.19/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c4 * Based on clk-simple-gates.c, which is:
7 * Maxime Ripard <maxime.ripard@free-electrons.com>
20 #include <linux/clk-provider.h>
49 int idx = of_property_match_string(node, "clock-names", in sun8i_h3_bus_gates_init()
61 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init()
62 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init()
64 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sun8i_h3_bus_gates_init()
65 if (!clk_data->clks) in sun8i_h3_bus_gates_init()
69 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sun8i_h3_bus_gates_init()
70 of_property_read_string_index(node, "clock-output-names", in sun8i_h3_bus_gates_init()
[all …]
Dclk-simple-gates.c4 * Maxime Ripard <maxime.ripard@free-electrons.com>
18 #include <linux/clk-provider.h>
51 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup()
52 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup()
54 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sunxi_simple_gates_setup()
55 if (!clk_data->clks) in sunxi_simple_gates_setup()
58 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sunxi_simple_gates_setup()
59 of_property_read_string_index(node, "clock-output-names", in sunxi_simple_gates_setup()
65 clk_data->clks[index] = clk_register_gate(NULL, clk_name, in sunxi_simple_gates_setup()
72 if (IS_ERR(clk_data->clks[index])) { in sunxi_simple_gates_setup()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
Dnxp,sc16is7xx.txt1 * NXP SC16IS7xx advanced Universal Asynchronous Receiver-Transmitter (UART)
5 - compatible: Should be one of the following:
6 - "nxp,sc16is740" for NXP SC16IS740,
7 - "nxp,sc16is741" for NXP SC16IS741,
8 - "nxp,sc16is750" for NXP SC16IS750,
9 - "nxp,sc16is752" for NXP SC16IS752,
10 - "nxp,sc16is760" for NXP SC16IS760,
11 - "nxp,sc16is762" for NXP SC16IS762.
12 - reg: I2C address of the SC16IS7xx device.
13 - interrupts: Should contain the UART interrupt
[all …]
/kernel/linux/linux-5.10/drivers/clk/renesas/
Dclk-mstp.c1 // SPDX-License-Identifier: GPL-2.0
3 * R-Car MSTP clocks
12 #include <linux/clk-provider.h>
25 * status register when enabling the clock.
31 * struct mstp_clock_group - MSTP gating clocks group
33 * @data: clock specifier translation for clocks in this group
37 * @width_8bit: registers are 8-bit, not 32-bit
50 * struct mstp_clock - MSTP gating clock
51 * @hw: handle between common and hardware-specific interfaces
66 return group->width_8bit ? readb(reg) : readl(reg); in cpg_mstp_read()
[all …]
/kernel/linux/linux-4.19/drivers/clk/renesas/
Dclk-mstp.c2 * R-Car MSTP clocks
15 #include <linux/clk-provider.h>
28 * status register when enabling the clock.
34 * struct mstp_clock_group - MSTP gating clocks group
40 * @width_8bit: registers are 8-bit, not 32-bit
51 * struct mstp_clock - MSTP gating clock
52 * @hw: handle between common and hardware-specific interfaces
67 return group->width_8bit ? readb(reg) : readl(reg); in cpg_mstp_read()
73 group->width_8bit ? writeb(val, reg) : writel(val, reg); in cpg_mstp_write()
78 struct mstp_clock *clock = to_mstp_clock(hw); in cpg_mstp_clock_endisable() local
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/
Dmaxim,ds3231.txt1 * Maxim DS3231 Real Time Clock
4 - compatible: Should contain "maxim,ds3231".
5 - reg: I2C address for chip.
8 - #clock-cells: Should be 1.
9 - clock-output-names:
10 overwrite the default clock names "ds3231_clk_sqw" and "ds3231_clk_32khz".
12 Each clock is assigned an identifier and client nodes can use this identifier
13 to specify the clock which they consume. Following indices are allowed:
14 - 0: square-wave output on the SQW pin
15 - 1: square-wave output on the 32kHz pin
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/rtc/
Dmaxim,ds3231.txt1 * Maxim DS3231 Real Time Clock
4 - compatible: Should contain "maxim,ds3231".
5 - reg: I2C address for chip.
8 - #clock-cells: Should be 1.
9 - clock-output-names:
10 overwrite the default clock names "ds3231_clk_sqw" and "ds3231_clk_32khz".
12 Each clock is assigned an identifier and client nodes can use this identifier
13 to specify the clock which they consume. Following indices are allowed:
14 - 0: square-wave output on the SQW pin
15 - 1: square-wave output on the 32kHz pin
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ti/
Dfapll.txt1 Binding for Texas Instruments FAPLL clock.
3 Binding status: Unstable - ABI compatibility may be broken in the future
5 This binding uses the common clock binding[1]. It assumes a
6 register-mapped FAPLL with usually two selectable input clocks
7 (reference clock and bypass clock), and one or more child
10 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
13 - compatible : shall be "ti,dm816-fapll-clock"
14 - #clock-cells : from common clock binding; shall be set to 0.
15 - clocks : link phandles of parent clocks (clk-ref and clk-bypass)
16 - reg : address and length of the register set for controlling the FAPLL.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/ti/
Dfapll.txt1 Binding for Texas Instruments FAPLL clock.
3 Binding status: Unstable - ABI compatibility may be broken in the future
5 This binding uses the common clock binding[1]. It assumes a
6 register-mapped FAPLL with usually two selectable input clocks
7 (reference clock and bypass clock), and one or more child
10 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
13 - compatible : shall be "ti,dm816-fapll-clock"
14 - #clock-cells : from common clock binding; shall be set to 0.
15 - clocks : link phandles of parent clocks (clk-ref and clk-bypass)
16 - reg : address and length of the register set for controlling the FAPLL.
[all …]

1234567891011