/openbmc/u-boot/arch/arm/dts/ |
H A D | am33xx-clocks.dtsi | 2 * Device Tree Source for AM33xx clock data 12 #clock-cells = <0>; 13 compatible = "ti,mux-clock"; 15 ti,bit-shift = <22>; 20 #clock-cells = <0>; 21 compatible = "fixed-factor-clock"; 23 clock-mult = <1>; 24 clock-div = <1>; 28 #clock-cells = <0>; 29 compatible = "fixed-factor-clock"; [all …]
|
H A D | am43xx-clocks.dtsi | 2 * Device Tree Source for AM43xx clock data 12 #clock-cells = <0>; 13 compatible = "ti,mux-clock"; 15 ti,bit-shift = <31>; 20 #clock-cells = <0>; 21 compatible = "ti,mux-clock"; 23 ti,bit-shift = <29>; 28 #clock-cells = <0>; 29 compatible = "ti,mux-clock"; 31 ti,bit-shift = <22>; [all …]
|
H A D | omap36xx-omap3430es2plus-clocks.dtsi | 2 * Device Tree Source for OMAP34xx/OMAP36xx clock data 12 #clock-cells = <0>; 13 compatible = "ti,composite-no-wait-gate-clock"; 15 ti,bit-shift = <0>; 20 #clock-cells = <0>; 21 compatible = "ti,composite-divider-clock"; 23 ti,bit-shift = <8>; 29 #clock-cells = <0>; 30 compatible = "ti,composite-clock"; 35 #clock-cells = <0>; [all …]
|
H A D | keystone-clocks.dtsi | 2 * Device Tree Source for Keystone 2 clock tree 12 #address-cells = <1>; 13 #size-cells = <1>; 17 #clock-cells = <0>; 18 compatible = "ti,keystone,pll-mux-clock"; 21 bit-shift = <23>; 22 bit-mask = <1>; 23 clock-output-names = "mainmuxclk"; 27 #clock-cells = <0>; 28 compatible = "fixed-factor-clock"; [all …]
|
H A D | omap3xxx-clocks.dtsi | 2 * Device Tree Source for OMAP3 clock data 12 #clock-cells = <0>; 13 compatible = "fixed-clock"; 14 clock-frequency = <16800000>; 18 #clock-cells = <0>; 19 compatible = "ti,mux-clock"; 25 #clock-cells = <0>; 26 compatible = "ti,divider-clock"; 28 ti,bit-shift = <6>; 29 ti,max-div = <3>; [all …]
|
H A D | omap36xx-am35xx-omap3430es2plus-clocks.dtsi | 2 * Device Tree Source for OMAP36xx/AM35xx/OMAP34xx clock data 12 #clock-cells = <0>; 13 compatible = "fixed-factor-clock"; 15 clock-mult = <1>; 16 clock-div = <3>; 20 #clock-cells = <0>; 21 compatible = "fixed-factor-clock"; 23 clock-mult = <1>; 24 clock-div = <5>; 29 #clock-cells = <0>; [all …]
|
H A D | dra7xx-clocks.dtsi | 2 * Device Tree Source for DRA7xx clock data 12 #clock-cells = <0>; 13 compatible = "ti,dra7-atl-clock"; 18 #clock-cells = <0>; 19 compatible = "ti,dra7-atl-clock"; 24 #clock-cells = <0>; 25 compatible = "ti,dra7-atl-clock"; 30 #clock-cells = <0>; 31 compatible = "ti,dra7-atl-clock"; 36 #clock-cells = <0>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am33xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for AM33xx clock data 8 sys_clkin_ck: clock-sys-clkin-22@40 { 9 #clock-cells = <0>; 10 compatible = "ti,mux-clock"; 11 clock-output-names = "sys_clkin_ck"; 13 ti,bit-shift = <22>; 17 adc_tsc_fck: clock-adc-tsc-fck { 18 #clock-cells = <0>; 19 compatible = "fixed-factor-clock"; [all …]
|
H A D | omap36xx-omap3430es2plus-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for OMAP34xx/OMAP36xx clock data 8 clock@a00 { 11 #clock-cells = <2>; 12 #address-cells = <0>; 14 ssi_ssr_gate_fck_3430es2: clock-ssi-ssr-gate-fck-3430es2 { 15 #clock-cells = <0>; 16 compatible = "ti,composite-no-wait-gate-clock"; 17 clock-output-names = "ssi_ssr_gate_fck_3430es2"; 19 ti,bit-shift = <0>; [all …]
|
H A D | am43xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for AM43xx clock data 8 sys_clkin_ck: clock-sys-clkin-31@40 { 9 #clock-cells = <0>; 10 compatible = "ti,mux-clock"; 11 clock-output-names = "sys_clkin_ck"; 13 ti,bit-shift = <31>; 17 crystal_freq_sel_ck: clock-crystal-freq-sel-29@40 { 18 #clock-cells = <0>; 19 compatible = "ti,mux-clock"; [all …]
|
H A D | omap3xxx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for OMAP3 clock data 9 #clock-cells = <0>; 10 compatible = "fixed-clock"; 11 clock-frequency = <16800000>; 15 #clock-cells = <0>; 16 compatible = "ti,mux-clock"; 22 #clock-cells = <0>; 23 compatible = "ti,divider-clock"; 25 ti,bit-shift = <6>; [all …]
|
H A D | dra7xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for DRA7xx clock data 8 atl_clkin0_ck: clock-atl-clkin0 { 9 #clock-cells = <0>; 10 compatible = "ti,dra7-atl-clock"; 11 clock-output-names = "atl_clkin0_ck"; 15 atl_clkin1_ck: clock-atl-clkin1 { 16 #clock-cells = <0>; 17 compatible = "ti,dra7-atl-clock"; 18 clock-output-names = "atl_clkin1_ck"; [all …]
|
H A D | omap36xx-am35xx-omap3430es2plus-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for OMAP36xx/AM35xx/OMAP34xx clock data 9 #clock-cells = <0>; 10 compatible = "fixed-factor-clock"; 12 clock-mult = <1>; 13 clock-div = <3>; 17 #clock-cells = <0>; 18 compatible = "fixed-factor-clock"; 20 clock-mult = <1>; 21 clock-div = <5>; [all …]
|
H A D | omap54xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for OMAP5 clock data 9 #clock-cells = <0>; 10 compatible = "fixed-clock"; 11 clock-output-names = "pad_clks_src_ck"; 12 clock-frequency = <12000000>; 16 #clock-cells = <0>; 17 compatible = "ti,gate-clock"; 18 clock-output-names = "pad_clks_ck"; 20 ti,bit-shift = <8>; [all …]
|
H A D | dm814x-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #clock-cells = <1>; 11 compatible = "ti,dm814-adpll-s-clock"; 14 clock-names = "clkinp", "clkinpulow", "clkinphif"; 15 clock-output-names = "481c5040.adpll.dcoclkldo", 22 #clock-cells = <1>; 23 compatible = "ti,dm814-adpll-lj-clock"; 26 clock-names = "clkinp", "clkinpulow"; 27 clock-output-names = "481c5080.adpll.dcoclkldo", 33 #clock-cells = <1>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/broadcom/stingray/ |
H A D | stingray-clock.dtsi | 4 * Copyright(c) 2016-2017 Broadcom. All rights reserved. 33 #include <dt-bindings/clock/bcm-sr.h> 36 #clock-cells = <0>; 37 compatible = "fixed-clock"; 38 clock-frequency = <50000000>; 42 #clock-cells = <0>; 43 compatible = "fixed-factor-clock"; 45 clock-div = <2>; 46 clock-mult = <1>; 50 #clock-cells = <1>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | fixed-factor-clock.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/fixed-factor-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Simple fixed factor rate clock sources 10 - Michael Turquette <mturquette@baylibre.com> 11 - Stephen Boyd <sboyd@kernel.org> 16 - fixed-factor-clock 18 "#clock-cells": 24 clock-div: [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-fixed-factor.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 13 * DOC: basic fixed multiplier and divider clock that cannot gate 15 * Traits of this clock: 16 * prepare - clk_prepare only ensures that parents are prepared 17 * enable - clk_enable only ensures that parents are enabled 18 * rate - rate is fixed. clk->rate = parent->rate / div * mult 19 * parent - fixed parent. No clk_set_parent support 28 rate = (unsigned long long int)parent_rate * fix->mult; in clk_factor_recalc_rate() 29 do_div(rate, fix->div); in clk_factor_recalc_rate() [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/keystone/ |
H A D | keystone-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for Keystone 2 clock tree 5 * Copyright (C) 2013-2017 Texas Instruments Incorporated - http://www.ti.com/ 9 #address-cells = <1>; 10 #size-cells = <1>; 14 #clock-cells = <0>; 15 compatible = "ti,keystone,pll-mux-clock"; 18 bit-shift = <23>; 19 bit-mask = <1>; 20 clock-output-names = "mainmuxclk"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ti/ |
H A D | fixed-factor-clock.txt | 1 Binding for TI fixed factor rate clock sources. 3 Binding status: Unstable - ABI compatibility may be broken in the future 5 This binding uses the common clock binding[1], and also uses the autoidle 6 support from TI autoidle clock [2]. 8 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 9 [2] Documentation/devicetree/bindings/clock/ti/autoidle.txt 12 - compatible : shall be "ti,fixed-factor-clock". 13 - #clock-cells : from common clock binding; shall be set to 0. 14 - ti,clock-div: fixed divider. 15 - ti,clock-mult: fixed multiplier. [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/clock/ |
H A D | fixed-factor-clock.txt | 1 Binding for simple fixed factor rate clock sources. 3 This binding uses the common clock binding[1]. 5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 8 - compatible : shall be "fixed-factor-clock". 9 - #clock-cells : from common clock binding; shall be set to 0. 10 - clock-div: fixed divider. 11 - clock-mult: fixed multiplier. 12 - clocks: parent clock. 15 - clock-output-names : From common clock binding. 18 clock { [all …]
|
/openbmc/linux/arch/arm/boot/dts/arm/ |
H A D | mps2.dtsi | 6 * This file is dual-licensed: you can use it either under the terms 45 #include "../armv7-m.dtsi" 48 #address-cells = <1>; 49 #size-cells = <1>; 51 oscclk0: clk-osc0 { 52 compatible = "fixed-clock"; 53 #clock-cells = <0>; 54 clock-frequency = <50000000>; 57 oscclk1: clk-osc1 { 58 compatible = "fixed-clock"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | allwinner,sun8i-a23-prcm.yaml | 1 # SPDX-License-Identifier: GPL-2.0+ 3 --- 4 $id: http://devicetree.org/schemas/mfd/allwinner,sun8i-a23-prcm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 17 const: allwinner,sun8i-a23-prcm 30 - fixed-factor-clock 31 - allwinner,sun8i-a23-apb0-clk 32 - allwinner,sun8i-a23-apb0-gates-clk [all …]
|
/openbmc/linux/drivers/clk/ti/ |
H A D | fixed-factor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI Fixed Factor Clock 7 * Tero Kristo <t-kristo@ti.com> 10 #include <linux/clk-provider.h> 17 #include "clock.h" 23 * of_ti_fixed_factor_clk_setup - Setup function for TI fixed factor clock 24 * @node: device node for this clock 26 * Sets up a simple fixed factor clock based on device tree info. 36 if (of_property_read_u32(node, "ti,clock-div", &div)) { in of_ti_fixed_factor_clk_setup() 37 pr_err("%pOFn must have a clock-div property\n", node); in of_ti_fixed_factor_clk_setup() [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm-cygnus-clock.dtsi | 34 #address-cells = <1>; 35 #size-cells = <1>; 39 #clock-cells = <0>; 40 compatible = "fixed-clock"; 41 clock-frequency = <25000000>; 46 #clock-cells = <0>; 47 compatible = "brcm,cygnus-armpll"; 52 /* peripheral clock for system timer */ 54 #clock-cells = <0>; 55 compatible = "fixed-factor-clock"; [all …]
|