| /OK3568_Linux_fs/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 | 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 …]
|
| 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | am33xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for AM33xx clock data 9 #clock-cells = <0>; 10 compatible = "ti,mux-clock"; 12 ti,bit-shift = <22>; 17 #clock-cells = <0>; 18 compatible = "fixed-factor-clock"; 20 clock-mult = <1>; 21 clock-div = <1>; 25 #clock-cells = <0>; [all …]
|
| H A D | am43xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for AM43xx clock data 9 #clock-cells = <0>; 10 compatible = "ti,mux-clock"; 12 ti,bit-shift = <31>; 17 #clock-cells = <0>; 18 compatible = "ti,mux-clock"; 20 ti,bit-shift = <29>; 25 #clock-cells = <0>; 26 compatible = "ti,mux-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 9 #clock-cells = <0>; 10 compatible = "ti,composite-no-wait-gate-clock"; 12 ti,bit-shift = <0>; 17 #clock-cells = <0>; 18 compatible = "ti,composite-divider-clock"; 20 ti,bit-shift = <8>; 26 #clock-cells = <0>; 27 compatible = "ti,composite-clock"; [all …]
|
| 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 …]
|
| H A D | dra7xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for DRA7xx clock data 9 #clock-cells = <0>; 10 compatible = "ti,dra7-atl-clock"; 15 #clock-cells = <0>; 16 compatible = "ti,dra7-atl-clock"; 21 #clock-cells = <0>; 22 compatible = "ti,dra7-atl-clock"; 27 #clock-cells = <0>; 28 compatible = "ti,dra7-atl-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 | 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 …]
|
| 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-frequency = <12000000>; 15 #clock-cells = <0>; 16 compatible = "ti,gate-clock"; 18 ti,bit-shift = <8>; 23 #clock-cells = <0>; 24 compatible = "fixed-clock"; [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 | 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 …]
|
| H A D | omap24xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree Source for OMAP24xx clock data 9 #clock-cells = <0>; 10 compatible = "ti,composite-mux-clock"; 12 ti,bit-shift = <2>; 17 #clock-cells = <0>; 18 compatible = "ti,composite-clock"; 23 #clock-cells = <0>; 24 compatible = "ti,composite-mux-clock"; 26 ti,bit-shift = <6>; [all …]
|
| 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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: Binding for simple fixed factor rate clock sources 10 - Michael Turquette <mturquette@baylibre.com> 11 - Stephen Boyd <sboyd@kernel.org> 16 - allwinner,sun4i-a10-pll3-2x-clk 17 - fixed-factor-clock 19 "#clock-cells": [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/ti/ |
| H A D | fixed-factor.c | 2 * TI Fixed Factor Clock 6 * Tero Kristo <t-kristo@ti.com> 18 #include <linux/clk-provider.h> 25 #include "clock.h" 31 * of_ti_fixed_factor_clk_setup - Setup function for TI fixed factor clock 32 * @node: device node for this clock 34 * Sets up a simple fixed factor clock based on device tree info. 39 const char *clk_name = node->name; in of_ti_fixed_factor_clk_setup() 44 if (of_property_read_u32(node, "ti,clock-div", &div)) { in of_ti_fixed_factor_clk_setup() 45 pr_err("%pOFn must have a clock-div property\n", node); in of_ti_fixed_factor_clk_setup() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/samsung/ |
| H A D | clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Common Clock Framework support for all Samsung platforms 13 #include <linux/clk-provider.h> 14 #include "clk-pll.h" 17 * struct samsung_clk_provider: information about clock provider 19 * @lock: maintains exclusion between callbacks for a given clock-provider. 20 * @clk_data: holds clock related data like clk_hw* and number of clocks. 31 * struct samsung_clock_alias: information about mux clock 32 * @id: platform specific id of the clock. 33 * @dev_name: name of the device to which this clock belongs. [all …]
|