/openbmc/linux/Documentation/devicetree/bindings/soc/starfive/ |
H A D | starfive,jh7110-syscon.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/starfive/starfive,jh7110-syscon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - William Qiu <william.qiu@starfivetech.com> 19 - items: 20 - const: starfive,jh7110-sys-syscon 21 - const: syscon 22 - const: simple-mfd 23 - items: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | starfive,jh7110-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/starfive,jh7110-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Minda Chen <minda.chen@starfivetech.com> 14 const: starfive,jh7110-pcie-phy 19 "#phy-cells": 22 starfive,sys-syscon: 23 $ref: /schemas/types.yaml#/definitions/phandle-array 25 - items: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | arm,syscon-icst.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/arm,syscon-icst.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linusw@kernel.org> 25 connects the low 8 bits of the VDW (missing one bit), hard-wires RDW to 26 different values and sometimes also hard-wires the output divider. They 38 integratorap-cm 41 integratorap-sys 44 integratorap-pci 14 1 14 [all …]
|
H A D | pistachio-clock.txt | 6 from the device-tree. 9 ---------------- 12 defined with the following clock-output-names: 13 - "xtal": External 52Mhz oscillator (required) 14 - "audio_clk_in": Alternate audio reference clock (optional) 15 - "enet_clk_in": Alternate ethernet PHY clock (optional) 18 ---------------------- 21 co-processor), audio, and several peripherals. 24 - compatible: Must be "img,pistachio-clk". 25 - reg: Must contain the base address and length of the core clock controller. [all …]
|
H A D | starfive,jh7110-pll.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/clock/starfive,jh7110-pll.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 registers in the sys syscon. So the PLLs node should be a child of 13 SYS-SYSCON node. 18 - Xingyu Wu <xingyu.wu@starfivetech.com> 22 const: starfive,jh7110-pll 28 '#clock-cells': 31 See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices. [all …]
|
H A D | mediatek,mt8365-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/mediatek,mt8365-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Markus Schneider-Pargmann <msp@baylibre.com> 20 - enum: 21 - mediatek,mt8365-topckgen 22 - mediatek,mt8365-infracfg 23 - mediatek,mt8365-apmixedsys 24 - mediatek,mt8365-pericfg [all …]
|
H A D | mediatek,mt6795-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/mediatek,mt6795-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 11 - Chun-Jie Chen <chun-jie.chen@mediatek.com> 20 - enum: 21 - mediatek,mt6795-apmixedsys 22 - mediatek,mt6795-infracfg 23 - mediatek,mt6795-pericfg [all …]
|
H A D | mediatek,mt8188-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/mediatek,mt8188-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Garmin Chang <garmin.chang@mediatek.com> 14 PLLs --> 15 dividers --> 17 --> 29 - enum: 30 - mediatek,mt8188-apmixedsys [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/mediatek/ |
H A D | mediatek,mt8192-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt8192-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Jie Chen <chun-jie.chen@mediatek.com> 19 - enum: 20 - mediatek,mt8192-topckgen 21 - mediatek,mt8192-infracfg 22 - mediatek,mt8192-pericfg 23 - mediatek,mt8192-apmixedsys [all …]
|
H A D | mediatek,mt8195-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt8195-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Jie Chen <chun-jie.chen@mediatek.com> 14 PLLs --> 15 dividers --> 17 --> 27 - enum: 28 - mediatek,mt8195-topckgen [all …]
|
H A D | mediatek,mt8186-sys-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt8186-sys-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Jie Chen <chun-jie.chen@mediatek.com> 14 PLLs --> 15 dividers --> 17 --> 29 - enum: 30 - mediatek,mt8186-mcusys [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | syscon.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <syscon.h> 20 ut_asserteq(SYSCON0, dev->driver_data); in dm_test_syscon_base() 23 ut_asserteq(SYSCON1, dev->driver_data); in dm_test_syscon_base() 25 ut_asserteq(-ENODEV, uclass_get_device(UCLASS_SYSCON, 2, &dev)); in dm_test_syscon_base() 37 ut_asserteq(SYSCON0, dev->driver_data); in dm_test_syscon_by_driver_data() 40 ut_asserteq(SYSCON1, dev->driver_data); in dm_test_syscon_by_driver_data() 42 ut_asserteq(-ENODEV, syscon_get_by_driver_data(2, &dev)); in dm_test_syscon_by_driver_data() 57 ut_assertok_ptr(syscon_regmap_lookup_by_phandle(dev, "first-syscon")); in dm_test_syscon_by_phandle() 58 map = syscon_regmap_lookup_by_phandle(dev, "first-syscon"); in dm_test_syscon_by_phandle() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | syscon.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 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 is 13 for some other node's driver, or platform-specific code, to acquire 14 a reference to the syscon node (e.g. by phandle, node path, or 20 - Lee Jones <lee@kernel.org> 27 - syscon 30 - compatible [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | snps,dw-apb-ssi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Brown <broonie@kernel.org> 13 - $ref: spi-controller.yaml# 14 - if: 19 - mscc,ocelot-spi 20 - mscc,jaguar2-spi 25 - if: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3568.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 compatible = "rockchip,rk3568-dwc-ahci", "snps,dwc-ahci"; 16 clock-names = "sata", "pmalive", "rxoob"; 19 phy-names = "sata-phy"; 20 ports-implemented = <0x1>; 21 power-domains = <&power RK3568_PD_PIPE>; 25 pipe_phy_grf0: syscon@fdc70000 { 26 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon"; 31 compatible = "rockchip,rk3568-qos", "syscon"; 36 compatible = "rockchip,rk3568-qos", "syscon"; [all …]
|
/openbmc/linux/drivers/clk/versatile/ |
H A D | clk-icst.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2012-2015 Linus Walleij 17 #include <linux/clk-provider.h> 20 #include <linux/mfd/syscon.h> 23 #include "clk-icst.h" 37 * struct clk_icst - ICST VCO clock wrapper 59 * vco_get() - get ICST VCO settings from a certain ICST 68 ret = regmap_read(icst->map, icst->vcoreg_off, &val); in vco_get() 77 * "Integrator CM926EJ-S, CM946E-S, CM966E-S, CM1026EJ-S and in vco_get() 78 * CM1136JF-S User Guide" ARM DUI 0138E, page 3-13 thru 3-14. in vco_get() [all …]
|
/openbmc/linux/drivers/clk/at91/ |
H A D | clk-system.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <linux/clk-provider.h> 10 #include <linux/mfd/syscon.h> 43 struct clk_system *sys = to_clk_system(hw); in clk_system_prepare() local 45 regmap_write(sys->regmap, AT91_PMC_SCER, 1 << sys->id); in clk_system_prepare() 47 if (!is_pck(sys->id)) in clk_system_prepare() 50 while (!clk_system_ready(sys->regmap, sys->id)) in clk_system_prepare() 58 struct clk_system *sys = to_clk_system(hw); in clk_system_unprepare() local 60 regmap_write(sys->regmap, AT91_PMC_SCDR, 1 << sys->id); in clk_system_unprepare() 65 struct clk_system *sys = to_clk_system(hw); in clk_system_is_prepared() local [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | altera-sysmgr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018-2019, Intel Corporation. 7 * Based on syscon driver. 10 #include <linux/arm-smccc.h> 13 #include <linux/mfd/altera-sysmgr.h> 14 #include <linux/mfd/syscon.h> 22 * struct altr_sysmgr - Altera SOCFPGA System Manager 108 return ERR_PTR(-ENODEV); in altr_sysmgr_regmap_lookup_by_phandle() 116 return ERR_PTR(-EPROBE_DEFER); in altr_sysmgr_regmap_lookup_by_phandle() 120 return sysmgr->regmap; in altr_sysmgr_regmap_lookup_by_phandle() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | img,pistachio-gptimer.txt | 1 * Pistachio general-purpose timer based clocksource 4 - compatible: "img,pistachio-gptimer". 5 - reg: Address range of the timer registers. 6 - interrupts: An interrupt for each of the four timers 7 - clocks: Should contain a clock specifier for each entry in clock-names 8 - clock-names: Should contain the following entries: 9 "sys", interface clock 12 - img,cr-periph: Must contain a phandle to the peripheral control 13 syscon node. 17 compatible = "img,pistachio-gptimer"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pwm/ |
H A D | img-pwm.txt | 4 - compatible: Should be "img,pistachio-pwm" 5 - reg: Should contain physical base address and length of pwm registers. 6 - clocks: Must contain an entry for each entry in clock-names. 7 See ../clock/clock-bindings.txt for details. 8 - clock-names: Must include the following entries. 9 - pwm: PWM operating clock. 10 - sys: PWM system interface clock. 11 - #pwm-cells: Should be 2. See pwm.yaml in this directory for the 13 - img,cr-periph: Must contain a phandle to the peripheral control 14 syscon node which contains PWM control registers. [all …]
|
/openbmc/u-boot/arch/mips/dts/ |
H A D | mscc,ocelot.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #address-cells = <1>; 8 #size-cells = <1>; 12 #address-cells = <1>; 13 #size-cells = <0>; 27 cpuintc: interrupt-controller@0 { 28 #address-cells = <0>; 29 #interrupt-cells = <1>; 30 interrupt-controller; 31 compatible = "mti,cpu-interrupt-controller"; [all …]
|
H A D | mscc,serval.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #address-cells = <1>; 8 #size-cells = <1>; 12 #address-cells = <1>; 13 #size-cells = <0>; 27 cpuintc: interrupt-controller@0 { 28 #address-cells = <0>; 29 #interrupt-cells = <1>; 30 interrupt-controller; 31 compatible = "mti,cpu-interrupt-controller"; [all …]
|
H A D | mscc,servalt.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #address-cells = <1>; 8 #size-cells = <1>; 12 #address-cells = <1>; 13 #size-cells = <0>; 27 cpuintc: interrupt-controller@0 { 28 #address-cells = <0>; 29 #interrupt-cells = <1>; 30 interrupt-controller; 31 compatible = "mti,cpu-interrupt-controller"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/ |
H A D | amlogic,meson-gx-pwrc.txt | 7 ---------------- 13 power-domain.yaml 16 --------------------- 19 - compatible: should be one of the following : 20 - "amlogic,meson-gx-pwrc-vpu" for the Meson GX SoCs 21 - "amlogic,meson-g12a-pwrc-vpu" for the Meson G12A SoCs 22 - #power-domain-cells: should be 0 23 - amlogic,hhi-sysctrl: phandle to the HHI sysctrl node 24 - resets: phandles to the reset lines needed for this power demain sequence 26 - clocks: from common clock binding: handle to VPU and VAPB clocks [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/rockchip/ |
H A D | grf.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - items: 16 - enum: 17 - rockchip,rk3288-sgrf 18 - rockchip,rk3566-pipe-grf 19 - rockchip,rk3568-pcie3-phy-grf 20 - rockchip,rk3568-pipe-grf [all …]
|