Home
last modified time | relevance | path

Searched full:syscfg (Results 1 – 25 of 177) sorted by relevance

12345678

/openbmc/linux/drivers/bus/
H A Dvexpress-config.c54 struct vexpress_syscfg *syscfg; member
161 struct vexpress_syscfg *syscfg = func->syscfg; in vexpress_syscfg_exec() local
169 command = readl(syscfg->base + SYS_CFGCTRL); in vexpress_syscfg_exec()
181 dev_dbg(syscfg->dev, "func %p, command %x, data %x\n", in vexpress_syscfg_exec()
183 writel(*data, syscfg->base + SYS_CFGDATA); in vexpress_syscfg_exec()
184 writel(0, syscfg->base + SYS_CFGSTAT); in vexpress_syscfg_exec()
185 writel(command, syscfg->base + SYS_CFGCTRL); in vexpress_syscfg_exec()
201 status = readl(syscfg->base + SYS_CFGSTAT); in vexpress_syscfg_exec()
212 *data = readl(syscfg->base + SYS_CFGDATA); in vexpress_syscfg_exec()
213 dev_dbg(syscfg->dev, "func %p, read data %x\n", func, *data); in vexpress_syscfg_exec()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/arm/stm32/
H A Dst,stm32-syscon.yaml19 - st,stm32-syscfg
23 - st,stm32mp157-syscfg
24 - st,stm32mp25-syscfg
46 - st,stm32mp157-syscfg
57 syscfg: syscon@50020000 {
58 compatible = "st,stm32mp157-syscfg", "syscon";
60 clocks = <&rcc SYSCFG>;
/openbmc/linux/Documentation/devicetree/bindings/remoteproc/
H A Dst,stm32-rproc.yaml37 st,syscfg-holdboot:
46 st,syscfg-tz:
105 st,syscfg-pdds:
115 st,syscfg-m4-state:
125 st,syscfg-rsc-tbl:
156 - st,syscfg-holdboot
159 st,syscfg-holdboot: false
174 st,syscfg-holdboot = <&rcc 0x10C 0x1>;
175 st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
176 st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>;
[all …]
/openbmc/qemu/tests/qtest/
H A Dstm32l4x5_syscfg-test.c29 /* SoC forwards GPIOs to SysCfg */
31 #define SYSCFG "/machine/soc/syscfg" macro
32 #define SYSCFG_CLK "/machine/soc/syscfg/clk"
236 * Test that syscfg irq sets the right exti irq in test_irq_pin_multiplexer()
311 /* Enable SYSCFG clock */ in test_clock_enable()
325 qtest_add_func("stm32l4x5/syscfg/test_reset", test_reset); in main()
326 qtest_add_func("stm32l4x5/syscfg/test_reserved_bits", in main()
328 qtest_add_func("stm32l4x5/syscfg/test_set_and_clear", in main()
330 qtest_add_func("stm32l4x5/syscfg/test_clear_by_writing_1", in main()
332 qtest_add_func("stm32l4x5/syscfg/test_set_only_bits", in main()
[all …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstih407-family.dtsi54 st,syscfg = <&syscfg_core 0x8e0>;
120 st,syscfg = <&syscfg_sbc_reg>;
139 irq-syscfg {
140 compatible = "st,stih407-irq-syscfg";
141 st,syscfg = <&syscfg_core>;
151 st,syscfg = <&syscfg_core 0x100 0xf4>;
159 st,syscfg = <&syscfg_core>;
172 st,syscfg = <0x114 0x818 0xe0 0xec>;
187 st,syscfg = <0x118 0x81c 0xe4 0xf0>;
201 st,syscfg = <0x11c 0x820>;
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dstih407-family.dtsi50 st,syscfg = <&syscfg_core 0x8e0>;
123 st,syscfg = <&syscfg_sbc_reg>;
142 syscfg_sbc: sbc-syscfg@9620000 {
143 compatible = "st,stih407-sbc-syscfg", "syscon";
147 syscfg_front: front-syscfg@9280000 {
148 compatible = "st,stih407-front-syscfg", "syscon";
152 syscfg_rear: rear-syscfg@9290000 {
153 compatible = "st,stih407-rear-syscfg", "syscon";
157 syscfg_flash: flash-syscfg@92a0000 {
158 compatible = "st,stih407-flash-syscfg", "syscon";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dst,stih407-irq-syscfg.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/st,stih407-irq-syscfg.yaml#
19 const: st,stih407-irq-syscfg
21 st,syscfg:
48 - st,syscfg
57 irq-syscfg {
58 compatible = "st,stih407-irq-syscfg";
59 st,syscfg = <&syscfg_cpu>;
/openbmc/linux/drivers/cpufreq/
H A Dsti-cpufreq.c47 * @syscfg: Syscon register map
52 struct regmap *syscfg; member
62 ret = of_property_read_u32_index(np, "st,syscfg", in sti_cpufreq_fetch_major()
70 ret = regmap_read(ddata.syscfg, major_offset, &socid); in sti_cpufreq_fetch_major()
88 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_fetch_minor()
173 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_set_opp_info()
240 ddata.syscfg = syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in sti_cpufreq_fetch_syscon_registers()
241 if (IS_ERR(ddata.syscfg)) { in sti_cpufreq_fetch_syscon_registers()
242 dev_err(dev, "\"st,syscfg\" not supplied\n"); in sti_cpufreq_fetch_syscon_registers()
243 return PTR_ERR(ddata.syscfg); in sti_cpufreq_fetch_syscon_registers()
[all …]
/openbmc/u-boot/drivers/misc/
H A Dvexpress_config.c29 static int vexpress_config_exec(struct vexpress_config_sysreg *syscfg, in vexpress_config_exec() argument
34 cmd = (*(u32 *)buf) | SYS_CFGCTRL_START | (syscfg->site << 16); in vexpress_config_exec()
38 writel(0xdeadbeef, syscfg->addr + SYS_CFGDATA); in vexpress_config_exec()
41 writel(((u32 *)buf)[1], syscfg->addr + SYS_CFGDATA); in vexpress_config_exec()
43 writel(0, syscfg->addr + SYS_CFGSTAT); in vexpress_config_exec()
44 writel(cmd, syscfg->addr + SYS_CFGCTRL); in vexpress_config_exec()
49 status = readl(syscfg->addr + SYS_CFGSTAT); in vexpress_config_exec()
58 (*(u32 *)buf) = readl(syscfg->addr + SYS_CFGDATA); in vexpress_config_exec()
/openbmc/linux/drivers/phy/intel/
H A Dphy-intel-keembay-emmc.c43 struct regmap *syscfg; member
66 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, PWR_DOWN_MASK, in keembay_emmc_phy_power()
73 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, DLL_EN_MASK, in keembay_emmc_phy_power()
109 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, PWR_DOWN_MASK, in keembay_emmc_phy_power()
123 ret = regmap_read_poll_timeout(priv->syscfg, PHY_STAT, in keembay_emmc_phy_power()
132 ret = regmap_update_bits(priv->syscfg, PHY_CFG_2, SEL_FREQ_MASK, in keembay_emmc_phy_power()
140 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, DLL_EN_MASK, in keembay_emmc_phy_power()
173 ret = regmap_read_poll_timeout(priv->syscfg, PHY_STAT, in keembay_emmc_phy_power()
218 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, SEL_DLY_TXCLK_MASK, in keembay_emmc_phy_power_on()
226 ret = regmap_update_bits(priv->syscfg, PHY_CFG_0, OTAP_DLY_ENA_MASK, in keembay_emmc_phy_power_on()
[all …]
H A Dphy-intel-lgm-emmc.c47 struct regmap *syscfg; member
64 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL1_REG, PDB_MASK, in intel_emmc_phy_power()
88 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL1_REG, PDB_MASK, in intel_emmc_phy_power()
102 ret = regmap_read_poll_timeout(priv->syscfg, EMMC_PHYSTAT_REG, in intel_emmc_phy_power()
111 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL2_REG, FRQSEL_MASK, in intel_emmc_phy_power()
119 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL1_REG, ENDLL_MASK, in intel_emmc_phy_power()
140 ret = regmap_read_poll_timeout(priv->syscfg, in intel_emmc_phy_power()
193 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL0_REG, DR_TY_MASK, in intel_emmc_phy_power_on()
201 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL0_REG, OTAPDLYENA, in intel_emmc_phy_power_on()
209 ret = regmap_update_bits(priv->syscfg, EMMC_PHYCTRL0_REG, in intel_emmc_phy_power_on()
[all …]
/openbmc/linux/drivers/watchdog/
H A Dst_lpc_wdt.c45 struct st_wdog_syscfg *syscfg; member
68 if (st_wdog->syscfg->reset_type_reg) in st_wdog_setup()
70 st_wdog->syscfg->reset_type_reg, in st_wdog_setup()
71 st_wdog->syscfg->reset_type_mask, in st_wdog_setup()
76 st_wdog->syscfg->enable_reg, in st_wdog_setup()
77 st_wdog->syscfg->enable_mask, in st_wdog_setup()
78 enable ? 0 : st_wdog->syscfg->enable_mask); in st_wdog_setup()
181 st_wdog->syscfg = (struct st_wdog_syscfg *)match->data; in st_wdog_probe()
187 regmap = syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in st_wdog_probe()
189 dev_err(dev, "No syscfg phandle specified\n"); in st_wdog_probe()
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Dst,stm32-i2c.yaml31 st,syscfg-fmp: false
90 st,syscfg-fmp:
91 description: Use to set Fast Mode Plus bit within SYSCFG when Fast Mode
96 - description: phandle to syscfg
97 - description: register offset within syscfg
160 st,syscfg-fmp = <&syscfg 0x4 0x2>;
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dst,stm32-booster.yaml25 st,syscfg:
34 - st,syscfg
43 st,syscfg = <&syscfg>;
/openbmc/linux/drivers/irqchip/
H A Dirq-st.c38 unsigned int syscfg; member
45 .compatible = "st,stih407-irq-syscfg",
134 return regmap_update_bits(ddata->regmap, ddata->syscfg, in st_irq_syscfg_enable()
147 ddata->syscfg = (unsigned int) device_get_match_data(&pdev->dev); in st_irq_syscfg_probe()
149 ddata->regmap = syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in st_irq_syscfg_probe()
151 dev_err(&pdev->dev, "syscfg phandle missing\n"); in st_irq_syscfg_probe()
164 return regmap_update_bits(ddata->regmap, ddata->syscfg, in st_irq_syscfg_resume()
/openbmc/linux/drivers/power/reset/
H A Dst-poweroff.c20 /* syscfg used for reset */
23 /* syscfg used for unmask the reset */
45 /* reset syscfg updated */ in st_restart()
86 syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in st_reset_probe()
88 dev_err(dev, "No syscfg phandle specified\n"); in st_reset_probe()
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dphy-miphy28lp.txt9 - st,syscfg : Should be a phandle of the system configuration register group
29 - st,syscfg : Offset of the parent configuration register.
50 st,syscfg = <&syscfg_core>;
63 st,syscfg = <0x114 0x818 0xe0 0xec>;
78 st,syscfg = <0x118 0x81c 0xe4 0xf0>;
92 st,syscfg = <0x11c 0x820>;
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dsyscon.yaml44 - fsl,imx93-aonmix-ns-syscfg
45 - fsl,imx93-wakeupmix-syscfg
53 - mediatek,mt8135-pctl-a-syscfg
54 - mediatek,mt8135-pctl-b-syscfg
55 - mediatek,mt8365-syscfg
/openbmc/linux/Documentation/devicetree/bindings/power/reset/
H A Dst-reset.txt5 - st,syscfg: should be a phandle of the syscfg node.
10 st,syscfg = <&syscfg_sbc_reg>;
/openbmc/u-boot/doc/device-tree-bindings/usb/
H A Ddwc3-st.txt9 - reg : glue logic base address and USB syscfg ctrl register offset
10 - reg-names : should be "reg-glue" and "syscfg-reg"
41 reg-names = "reg-glue", "syscfg-reg";
42 st,syscfg = <&syscfg_core>;
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dst,sti-asoc-card.txt18 - st,syscfg: phandle to boot-device system configuration registers
57 st,syscfg = <&syscfg_core>;
69 st,syscfg = <&syscfg_core>;
80 st,syscfg = <&syscfg_core>;
91 st,syscfg = <&syscfg_core>;
105 - st,syscfg: phandle to boot-device system configuration registers.
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Ddwc3-st.txt9 - reg : glue logic base address and USB syscfg ctrl register offset
10 - reg-names : should be "reg-glue" and "syscfg-reg"
47 reg-names = "reg-glue", "syscfg-reg";
48 st,syscfg = <&syscfg_core>;
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Dst,stm32-rtc.yaml34 st,syscfg:
71 - st,syscfg
87 - st,syscfg
127 st,syscfg = <&pwrcfg 0x00 0x100>;
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmediatek,mt65xx-pinctrl.yaml53 Should be phandles of the syscfg node.
139 syscfg_pctl_a: syscfg-pctl-a@10005000 {
140 compatible = "mediatek,mt8135-pctl-a-syscfg", "syscon";
144 syscfg_pctl_b: syscfg-pctl-b@1020c020 {
145 compatible = "mediatek,mt8135-pctl-b-syscfg", "syscon";
/openbmc/linux/drivers/iio/adc/
H A Dstm32-adc-core.c33 /* SYSCFG registers */
37 /* SYSCFG bit fields */
40 /* SYSCFG capability flags */
70 * @has_syscfg: SYSCFG capability flags
101 * @syscfg: reference to syscon, system control registers
119 struct regmap *syscfg; member
472 if (priv->syscfg && priv->vdd_uv > 2700000) { in stm32_adc_core_switches_supply_en()
479 ret = regmap_write(priv->syscfg, in stm32_adc_core_switches_supply_en()
518 if (priv->syscfg && priv->vdd_uv > 2700000) { in stm32_adc_core_switches_supply_dis()
519 regmap_write(priv->syscfg, STM32MP1_SYSCFG_PMCCLRR, in stm32_adc_core_switches_supply_dis()
[all …]

12345678