Home
last modified time | relevance | path

Searched full:syscon (Results 1 – 25 of 1460) sorted by relevance

12345678910>>...59

/linux/arch/arm/boot/dts/gemini/
H A Dgemini.dtsi21 syscon = <&syscon>;
28 syscon: syscon@40000000 { label
29 compatible = "cortina,gemini-syscon",
30 "syscon", "simple-mfd";
35 syscon-reboot {
36 compatible = "syscon-reboot";
37 regmap = <&syscon>;
46 regmap = <&syscon>;
161 resets = <&syscon GEMINI_RESET_WDOG>;
162 clocks = <&syscon GEMINI_CLK_APB>;
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Darm,dev-platforms-syscon.yaml4 $id: http://devicetree.org/schemas/mfd/arm,dev-platforms-syscon.yaml#
22 - arm,integrator-ap-syscon
23 - arm,integrator-cp-syscon
24 - arm,integrator-sp-syscon
25 - arm,im-pd1-syscon
26 - const: syscon
30 - arm,integrator-ap-syscon
31 - arm,integrator-cp-syscon
32 - arm,integrator-sp-syscon
33 - arm,realview-eb-syscon
[all …]
H A Datmel-matrix.txt8 "atmel,at91sam9260-matrix", "syscon"
9 "atmel,at91sam9261-matrix", "syscon"
10 "atmel,at91sam9263-matrix", "syscon"
11 "atmel,at91sam9rl-matrix", "syscon"
12 "atmel,at91sam9g45-matrix", "syscon"
13 "atmel,at91sam9n12-matrix", "syscon"
14 "atmel,at91sam9x5-matrix", "syscon"
15 "atmel,sama5d3-matrix", "syscon"
16 "microchip,sam9x60-matrix", "syscon"
17 "microchip,sam9x7-matrix", "atmel,at91sam9x5-matrix", "syscon"
[all …]
H A Dsyscon.yaml4 $id: http://devicetree.org/schemas/mfd/syscon.yaml#
14 a reference to the syscon node (e.g. by phandle, node path, or
24 # syscon fallback.
37 - amd,pensando-elba-syscon
55 - axis,artpec6-syscon
75 - loongson,ls1b-syscon
76 - loongson,ls1c-syscon
77 - lsi,axxia-syscon
90 - microchip,lan966x-cpu-syscon
93 - mscc,ocelot-cpu-syscon
[all …]
/linux/drivers/mfd/
H A Dsyscon.c21 #include <linux/platform_data/syscon.h>
25 #include <linux/mfd/syscon.h>
33 struct syscon { struct
46 static struct syscon *of_syscon_register(struct device_node *np, bool check_res) in of_syscon_register() argument
57 struct syscon *syscon __free(kfree) = kzalloc(sizeof(*syscon), GFP_KERNEL); in of_syscon_register()
58 if (!syscon) in of_syscon_register()
144 syscon->regmap = regmap; in of_syscon_register()
145 syscon->np = np; in of_syscon_register()
148 list_add_tail(&syscon->list, &syscon_list); in of_syscon_register()
151 return_ptr(syscon); in of_syscon_register()
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-g6.dtsi71 clocks = <&syscon ASPEED_CLK_HPLL>;
77 compatible = "aspeed,ast2600-sdram-edac", "syscon";
102 compatible = "aspeed,ast2600-ahbc", "syscon";
111 clocks = <&syscon ASPEED_CLK_AHB>;
142 clocks = <&syscon ASPEED_CLK_AHB>;
165 clocks = <&syscon ASPEED_CLK_AHB>;
198 resets = <&syscon ASPEED_RESET_MII>;
209 resets = <&syscon ASPEED_RESET_MII>;
220 resets = <&syscon ASPEED_RESET_MII>;
231 resets = <&syscon ASPEED_RESET_MII>;
[all …]
H A Daspeed-g5.dtsi62 clocks = <&syscon ASPEED_CLK_AHB>;
93 clocks = <&syscon ASPEED_CLK_AHB>;
116 clocks = <&syscon ASPEED_CLK_AHB>;
153 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>;
161 clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>;
169 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
179 clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>;
190 clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
202 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
223 syscon: syscon@1e6e2000 { label
[all …]
H A Daspeed-g4.dtsi61 clocks = <&syscon ASPEED_CLK_AHB>;
106 clocks = <&syscon ASPEED_CLK_AHB>;
135 clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>;
143 clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>;
151 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
162 clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
174 clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
188 syscon: syscon@1e6e2000 { label
189 compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
224 clocks = <&syscon ASPEED_CLK_APB>;
[all …]
/linux/Documentation/devicetree/bindings/soc/starfive/
H A Dstarfive,jh7110-syscon.yaml4 $id: http://devicetree.org/schemas/soc/starfive/starfive,jh7110-syscon.yaml#
20 - const: starfive,jh7110-sys-syscon
21 - const: syscon
25 - starfive,jh7110-aon-syscon
26 - starfive,jh7110-stg-syscon
27 - const: syscon
48 const: starfive,jh7110-sys-syscon
59 const: starfive,jh7110-aon-syscon
71 syscon@10240000 {
72 compatible = "starfive,jh7110-stg-syscon", "syscon";
[all …]
/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c7 #include <linux/mfd/syscon.h>
19 struct regmap *syscon; in davinci_emac_3517_get_macid() local
21 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in davinci_emac_3517_get_macid()
22 if (IS_ERR(syscon)) { in davinci_emac_3517_get_macid()
23 if (PTR_ERR(syscon) == -ENODEV) in davinci_emac_3517_get_macid()
25 return PTR_ERR(syscon); in davinci_emac_3517_get_macid()
28 regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lsb); in davinci_emac_3517_get_macid()
29 regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_msb); in davinci_emac_3517_get_macid()
46 struct regmap *syscon; in cpsw_am33xx_cm_get_macid() local
48 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in cpsw_am33xx_cm_get_macid()
[all …]
/linux/Documentation/devicetree/bindings/reset/
H A Dti-syscon-reset.txt1 TI SysCon Reset Controller
8 functionalities. This register range is best represented as a syscon node to
12 A SysCon Reset Controller node defines a device that uses a syscon node
16 SysCon Reset Controller Node
18 Each of the reset provider/controller nodes should be a child of a syscon
27 "ti,syscon-reset"
34 register from the syscon register base
38 register from the syscon register base
42 from the syscon register base
47 file <dt-bindings/reset/ti-syscon.h>
[all …]
/linux/drivers/power/reset/
H A Daxxia-reset.c11 #include <linux/mfd/syscon.h>
31 struct regmap *syscon = data->cb_data; in axxia_restart_handler() local
34 regmap_write(syscon, SC_CRIT_WRITE_KEY, 0xab); in axxia_restart_handler()
36 regmap_write(syscon, SC_LATCH_ON_RESET, 0x00000040); in axxia_restart_handler()
38 regmap_write(syscon, SC_EFUSE_INT_STATUS, EFUSE_READ_DONE); in axxia_restart_handler()
40 regmap_update_bits(syscon, SC_RESET_CONTROL, in axxia_restart_handler()
49 struct regmap *syscon; in axxia_reset_probe() local
52 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in axxia_reset_probe()
53 if (IS_ERR(syscon)) { in axxia_reset_probe()
54 pr_err("%pOFn: syscon lookup failed\n", dev->of_node); in axxia_reset_probe()
[all …]
H A Docelot-reset.c12 #include <linux/mfd/syscon.h>
19 const char *syscon; member
85 ctx->cpu_ctrl = syscon_regmap_lookup_by_compatible(ctx->props->syscon); in ocelot_reset_probe()
87 dev_err(dev, "No syscon map: %s\n", ctx->props->syscon); in ocelot_reset_probe()
101 .syscon = "mscc,ocelot-cpu-syscon",
108 .syscon = "mscc,ocelot-cpu-syscon",
115 .syscon = "mscc,ocelot-cpu-syscon",
122 .syscon = "microchip,sparx5-cpu-syscon",
/linux/Documentation/devicetree/bindings/phy/
H A Dhisilicon,hi3670-usb3.yaml22 hisilicon,pericrg-syscon:
24 description: phandle of syscon used to control iso refclk.
26 hisilicon,pctrl-syscon:
28 description: phandle of syscon used to control usb tcxo.
30 hisilicon,sctrl-syscon:
32 description: phandle of syscon used to control phy deep sleep.
45 - hisilicon,pericrg-syscon
46 - hisilicon,pctrl-syscon
47 - hisilicon,sctrl-syscon
59 hisilicon,pericrg-syscon = <&crg_ctrl>;
[all …]
/linux/Documentation/devicetree/bindings/power/reset/
H A Daxxia-reset.txt3 This driver can do reset of the Axxia SoC. It uses the registers in the syscon
8 -syscon: phandle to the syscon node.
12 syscon: syscon@2010030000 {
13 compatible = "lsi,axxia-syscon", "syscon";
19 syscon = <&syscon>;
H A Dsyscon-poweroff.yaml4 $id: http://devicetree.org/schemas/power/reset/syscon-poweroff.yaml#
7 title: Generic SYSCON mapped register poweroff driver
13 This is a generic poweroff driver using syscon to map the poweroff register.
15 defined by the register map pointed by syscon reference plus the offset
18 The SYSCON register map is normally retrieved from the parental dt-node. So
19 the SYSCON poweroff node should be represented as a sub-node of a "syscon",
24 const: syscon-poweroff
39 the syscon-poweroff node being a child of a system controller node.
63 compatible = "syscon-poweroff";
H A Dsyscon-reboot.yaml4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot.yaml#
7 title: Generic SYSCON mapped register reset driver
13 This is a generic reset driver using syscon to map the reset register.
15 defined by the SYSCON register map base plus the offset with the value and
17 access only. The SYSCON registers map is normally retrieved from the
18 parental dt-node. So the SYSCON reboot node should be represented as a
19 sub-node of a "syscon", "simple-mfd" node. Though the regmap property
24 const: syscon-reboot
39 the syscon-reboot node been a child of a system controller node.
67 compatible = "syscon-reboot";
/linux/Documentation/devicetree/bindings/arm/bcm/
H A Dbrcm,brcmstb.txt16 Further, syscon nodes that map platform-specific registers used for general
19 - compatible: "brcm,bcm<chip_id>-sun-top-ctrl", "syscon"
22 "syscon"
23 - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon"
36 - compatible: must be "brcm,bcm7445-cpu-biu-ctrl", "brcm,brcmstb-cpu-biu-ctrl", "syscon"
51 sun_top_ctrl: syscon@404000 {
52 compatible = "brcm,bcm7445-sun-top-ctrl", "syscon";
56 hif_cpubiuctrl: syscon@3e2400 {
57 compatible = "brcm,bcm7445-cpu-biu-ctrl", "brcm,brcmstb-cpu-biu-ctrl", "syscon";
62 hif_continuation: syscon@452000 {
[all …]
/linux/Documentation/devicetree/bindings/watchdog/
H A Dts4800-wdt.txt5 - syscon: phandle / integer array that points to the syscon node which
6 describes the FPGA's syscon registers.
7 - phandle to FPGA's syscon
15 syscon: syscon@b0010000 {
16 compatible = "syscon", "simple-mfd";
22 syscon = <&syscon 0xe>;
/linux/drivers/gpio/
H A Dgpio-syscon.c3 * SYSCON GPIO driver
14 #include <linux/mfd/syscon.h>
20 /* SYSCON driver is designed to use 32-bit wide registers */
49 struct regmap *syscon; member
63 ret = regmap_read(priv->syscon, in syscon_gpio_get()
78 regmap_update_bits(priv->syscon, in syscon_gpio_set()
94 regmap_update_bits(priv->syscon, in syscon_gpio_dir_in()
112 regmap_update_bits(priv->syscon, in syscon_gpio_dir_out()
142 ret = regmap_write(priv->syscon, in rockchip_gpio_set()
171 priv->syscon, in keystone_gpio_set()
[all …]
/linux/drivers/spi/
H A Dspi-dw-mmio.c15 #include <linux/mfd/syscon.h>
52 struct regmap *syscon; member
112 dwsmscc->syscon = syscon_regmap_lookup_by_compatible(cpu_syscon); in dw_spi_mscc_init()
113 if (IS_ERR(dwsmscc->syscon)) in dw_spi_mscc_init()
114 return PTR_ERR(dwsmscc->syscon); in dw_spi_mscc_init()
120 regmap_update_bits(dwsmscc->syscon, MSCC_CPU_SYSTEM_CTRL_GENERAL_CTRL, in dw_spi_mscc_init()
133 return dw_spi_mscc_init(pdev, dwsmmio, "mscc,ocelot-cpu-syscon", in dw_spi_mscc_ocelot_init()
140 return dw_spi_mscc_init(pdev, dwsmmio, "mscc,jaguar2-cpu-syscon", in dw_spi_mscc_jaguar2_init()
159 regmap_write(dwsmscc->syscon, SPARX5_FORCE_ENA, 1); in dw_spi_sparx5_set_cs()
161 regmap_write(dwsmscc->syscon, SPARX5_FORCE_VAL, ~BIT(cs)); in dw_spi_sparx5_set_cs()
[all …]
/linux/Documentation/devicetree/bindings/soc/loongson/
H A Dloongson,ls2k-pmc.yaml17 - const: syscon
23 - const: syscon
40 syscon-poweroff:
41 $ref: /schemas/power/reset/syscon-poweroff.yaml#
46 syscon-reboot:
47 $ref: /schemas/power/reset/syscon-reboot.yaml#
64 compatible = "loongson,ls2k1000-pmc", "loongson,ls2k0500-pmc", "syscon";
70 syscon-reboot {
71 compatible = "syscon-reboot";
76 syscon-poweroff {
[all …]
/linux/arch/arm64/boot/dts/sprd/
H A Dums512.dtsi177 ap_ahb_regs: syscon@20100000 {
178 compatible = "sprd,ums512-glbregs", "syscon",
194 pub_apb_regs: syscon@31050000 {
195 compatible = "sprd,ums512-glbregs", "syscon",
200 top_dvfs_apb_regs: syscon@322a0000 {
201 compatible = "sprd,ums512-glbregs", "syscon",
206 ap_intc0_regs: syscon@32310000 {
207 compatible = "sprd,ums512-glbregs", "syscon",
212 ap_intc1_regs: syscon@32320000 {
213 compatible = "sprd,ums512-glbregs", "syscon",
[all …]
H A Dsharkl3.dtsi19 ap_ahb_regs: syscon@20e00000 {
20 compatible = "sprd,sc9863a-glbregs", "syscon",
34 pmu_regs: syscon@402b0000 {
35 compatible = "sprd,sc9863a-glbregs", "syscon",
51 aon_apb_regs: syscon@402e0000 {
52 compatible = "sprd,sc9863a-glbregs", "syscon",
66 anlg_phy_g2_regs: syscon@40353000 {
67 compatible = "sprd,sc9863a-glbregs", "syscon",
83 anlg_phy_g4_regs: syscon@40359000 {
84 compatible = "sprd,sc9863a-glbregs", "syscon",
[all …]
/linux/drivers/thermal/
H A Darmada_thermal.c18 #include <linux/mfd/syscon.h>
68 struct regmap *syscon; member
100 /* Syscon access */
117 SYSCON enumerator
142 regmap_read(priv->syscon, data->syscon_control1_off, &reg); in armadaxp_init()
152 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armadaxp_init()
155 regmap_write(priv->syscon, data->syscon_control1_off, reg); in armadaxp_init()
158 regmap_read(priv->syscon, data->syscon_status_off, &reg); in armadaxp_init()
160 regmap_write(priv->syscon, data->syscon_status_off, reg); in armadaxp_init()
169 regmap_read(priv->syscon, data->syscon_control1_off, &reg); in armada370_init()
[all …]

12345678910>>...59