Searched +full:syscon +full:- +full:clkset (Results 1 – 6 of 6) sorted by relevance
1 // SPDX-License-Identifier: GPL-2.0+29 const uint32_t clkset = readl(pllreg); in get_PLLCLK() local31 rate *= ((clkset >> SYSCON_CLKSET_PLL_X1FBD1_SHIFT) & 0x1f) + 1; in get_PLLCLK()32 rate *= ((clkset >> SYSCON_CLKSET_PLL_X2FBD2_SHIFT) & 0x3f) + 1; in get_PLLCLK()33 do_div(rate, (clkset & 0x1f) + 1); /* X2IPD */ in get_PLLCLK()34 for (i = 0; i < ((clkset >> SYSCON_CLKSET_PLL_PS_SHIFT) & 3); i++) in get_PLLCLK()44 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_FCLK() local46 const uint32_t clkset1 = readl(&syscon->clkset1); in get_FCLK()49 const ulong fclk_rate = get_PLLCLK(&syscon->clkset1) / fclk_div; in get_FCLK()58 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_HCLK() local[all …]
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---4 $id: http://devicetree.org/schemas/phy/bcm-ns-usb2-phy.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#14 - Rafał Miłecki <rafal@milecki.pl>18 const: brcm,ns-usb2-phy22 - maxItems: 124 - maxItems: 128 reg-names:30 - const: dmu[all …]
1 // SPDX-License-Identifier: GPL-2.0-only12 #include <linux/mfd/syscon.h>25 struct regmap *clkset; member35 struct device *dev = usb2->dev; in bcm_ns_usb2_phy_init()39 err = clk_prepare_enable(usb2->ref_clk); in bcm_ns_usb2_phy_init()45 ref_clk_rate = clk_get_rate(usb2->ref_clk); in bcm_ns_usb2_phy_init()48 err = -EINVAL; in bcm_ns_usb2_phy_init()52 if (usb2->base) in bcm_ns_usb2_phy_init()53 usb2ctl = readl(usb2->base); in bcm_ns_usb2_phy_init()55 usb2ctl = readl(usb2->dmu + BCMA_DMU_CRU_USB2_CONTROL); in bcm_ns_usb2_phy_init()[all …]
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Rafał Miłecki <rafal@milecki.pl>20 - enum:21 - brcm,ns-cru22 - const: simple-mfd29 "#address-cells":32 "#size-cells":36 '^clock-controller@[a-f0-9]+$':[all …]
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/mfd/syscon.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#12 represent as any specific type of device. The typical use-case is13 for some other node's driver, or platform-specific code, to acquire14 a reference to the syscon node (e.g. by phandle, node path, or20 - Lee Jones <lee@kernel.org>27 - syscon30 - compatible[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT3 * Copyright 2013-2014 Hauke Mehrtens <hauke@hauke-m.de>6 #include <dt-bindings/clock/bcm-nsp.h>7 #include <dt-bindings/gpio/gpio.h>8 #include <dt-bindings/input/input.h>9 #include <dt-bindings/interrupt-controller/irq.h>10 #include <dt-bindings/interrupt-controller/arm-gic.h>13 interrupt-parent = <&gic>;14 #address-cells = <1>;15 #size-cells = <1>;[all …]