| /linux/arch/arm/boot/dts/gemini/ |
| H A D | gemini.dtsi | 21 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 D | arm,dev-platforms-syscon.yaml | 4 $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 …]
|
| /linux/drivers/mfd/ |
| H A D | syscon.c | 21 #include <linux/mfd/syscon.h> 27 struct syscon { struct 40 static struct syscon *of_syscon_register(struct device_node *np, bool check_res) in of_syscon_register() argument 54 struct syscon *syscon __free(kfree) = kzalloc_obj(*syscon, GFP_KERNEL); in of_syscon_register() 55 if (!syscon) in of_syscon_register() 149 syscon->regmap = regmap; in of_syscon_register() 150 syscon->np = np; in of_syscon_register() 152 list_add_tail(&syscon->list, &syscon_list); in of_syscon_register() 154 return_ptr(syscon); in of_syscon_register() 172 struct syscon *entry, *syscon = NULL; in device_node_get_regmap() local [all …]
|
| /linux/arch/arm/boot/dts/cirrus/ |
| H A D | ep93xx-edb9302.dts | 66 gpio-ranges = <&syscon 0 153 1>, 67 <&syscon 1 152 1>, 68 <&syscon 2 151 1>, 69 <&syscon 3 148 1>, 70 <&syscon 4 147 1>, 71 <&syscon 5 146 1>, 72 <&syscon 6 145 1>, 73 <&syscon 7 144 1>; 77 gpio-ranges = <&syscon 0 143 1>, 78 <&syscon 1 142 1>, [all …]
|
| H A D | ep93xx.dtsi | 8 #include <dt-bindings/clock/cirrus,ep9301-syscon.h> 16 syscon: syscon@80930000 { label 17 compatible = "cirrus,ep9301-syscon", "syscon"; 102 clocks = <&syscon EP93XX_CLK_ADC>; 135 clocks = <&syscon EP93XX_CLK_M2P0>, 136 <&syscon EP93XX_CLK_M2P1>, 137 <&syscon EP93XX_CLK_M2P2>, 138 <&syscon EP93XX_CLK_M2P3>, 139 <&syscon EP93XX_CLK_M2P4>, 140 <&syscon EP93XX_CLK_M2P5>, [all …]
|
| /linux/Documentation/devicetree/bindings/soc/starfive/ |
| H A D | starfive,jh7110-syscon.yaml | 4 $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/Documentation/devicetree/bindings/clock/ |
| H A D | sophgo,sg2044-clk.yaml | 85 clocks = <&syscon CLK_FPLL0>, <&syscon CLK_FPLL1>, 86 <&syscon CLK_FPLL2>, <&syscon CLK_DPLL0>, 87 <&syscon CLK_DPLL1>, <&syscon CLK_DPLL2>, 88 <&syscon CLK_DPLL3>, <&syscon CLK_DPLL4>, 89 <&syscon CLK_DPLL5>, <&syscon CLK_DPLL6>, 90 <&syscon CLK_DPLL7>, <&syscon CLK_MPLL0>, 91 <&syscon CLK_MPLL1>, <&syscon CLK_MPLL2>, 92 <&syscon CLK_MPLL3>, <&syscon CLK_MPLL4>, 93 <&syscon CLK_MPLL5>;
|
| H A D | mediatek,mt8192-sys-clock.yaml | 24 - const: syscon 43 topckgen: syscon@10000000 { 44 compatible = "mediatek,mt8192-topckgen", "syscon"; 50 infracfg: syscon@10001000 { 51 compatible = "mediatek,mt8192-infracfg", "syscon"; 57 pericfg: syscon@10003000 { 58 compatible = "mediatek,mt8192-pericfg", "syscon"; 64 apmixedsys: syscon@1000c000 { 65 compatible = "mediatek,mt8192-apmixedsys", "syscon";
|
| /linux/Documentation/devicetree/bindings/soc/cirrus/ |
| H A D | cirrus,ep9301-syscon.yaml | 4 $id: http://devicetree.org/schemas/soc/cirrus/cirrus,ep9301-syscon.yaml# 15 which can be used to prevent accidental accesses. Syscon generates 19 The System Controller (Syscon) provides: 24 Syscon registers are common for all EP93xx SoC's, through some actual peripheral 32 - cirrus,ep9302-syscon 33 - cirrus,ep9307-syscon 34 - cirrus,ep9312-syscon 35 - cirrus,ep9315-syscon 36 - const: cirrus,ep9301-syscon 37 - const: syscon [all …]
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpsw-common.c | 7 #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 D | ti-syscon-reset.txt | 1 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 D | axxia-reset.c | 11 #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 D | ocelot-reset.c | 12 #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 D | hisilicon,hi3670-usb3.yaml | 22 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/arm/bcm/ |
| H A D | brcm,brcmstb.txt | 16 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/arch/arm64/boot/dts/sprd/ |
| H A D | ums512.dtsi | 177 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 D | sharkl3.dtsi | 19 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/Documentation/devicetree/bindings/power/reset/ |
| H A D | axxia-reset.txt | 3 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 D | keystone-reset.txt | 16 - ti,syscon-pll: phandle/offset pair. The phandle to syscon used to 20 - ti,syscon-dev: phandle/offset pair. The phandle to syscon used to 41 compatible = "ti,keystone-pllctrl", "syscon"; 46 compatible = "ti,keystone-devctrl", "syscon"; 52 ti,syscon-pll = <&pllctrl 0xe4>; 53 ti,syscon-dev = <&devctrl 0x328>; 63 ti,syscon-pll = <&pllctrl 0xe4>; 64 ti,syscon-dev = <&devctrl 0x328>;
|
| /linux/drivers/gpio/ |
| H A D | gpio-syscon.c | 3 * 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 return 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() 140 ret = regmap_write(priv->syscon, in rockchip_gpio_set() 172 priv->syscon, in keystone_gpio_set() [all …]
|
| /linux/Documentation/devicetree/bindings/watchdog/ |
| H A D | ts4800-wdt.txt | 5 - 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/Documentation/devicetree/bindings/soc/loongson/ |
| H A D | loongson,ls2k-pmc.yaml | 17 - 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/drivers/thermal/ |
| H A D | armada_thermal.c | 18 #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, ®); 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, ®); 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, ®); in armada370_init() [all …]
|
| /linux/drivers/clk/nxp/ |
| H A D | clk-lpc18xx-creg.c | 11 #include <linux/mfd/syscon.h> 139 struct regmap *syscon) in clk_register_creg_clk() argument 149 creg_clk->reg = syscon; in clk_register_creg_clk() 167 struct regmap *syscon; in lpc18xx_creg_clk_init() local 169 syscon = syscon_node_to_regmap(np->parent); in lpc18xx_creg_clk_init() 170 if (IS_ERR(syscon)) { in lpc18xx_creg_clk_init() 171 pr_err("%s: syscon lookup failed\n", __func__); in lpc18xx_creg_clk_init() 179 &clk_32khz_parent, syscon); in lpc18xx_creg_clk_init() 196 struct regmap *syscon; in lpc18xx_creg_clk_probe() local 198 syscon = syscon_node_to_regmap(np->parent); in lpc18xx_creg_clk_probe() [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | hisilicon-hns-dsaf.txt | 15 only used when subctrl-syscon does not exist). It is recommended using 16 subctrl-syscon rather than this address. 18 serdes-syscon in port node does not exist). It is recommended using 19 serdes-syscon rather than this address. 29 - subctrl-syscon: is syscon handle for external interface control register. 40 - serdes-syscon: is syscon handle for SerDes register. 41 - cpld-syscon: is syscon handle + register offset pair for cpld register. It is 65 subctrl-syscon = <&subctrl>; 81 serdes-syscon = <&serdes>; 87 serdes-syscon = <&serdes>;
|