/linux/drivers/mfd/ |
H A D | altera-sysmgr.c | 13 #include <linux/mfd/altera-sysmgr.h> 89 * Find the sysmgr previous configured in probe() and return regmap property. 93 * @property: Device Tree property name which references the sysmgr 99 struct altr_sysmgr *sysmgr; in altr_sysmgr_regmap_lookup_by_phandle() local 118 sysmgr = dev_get_drvdata(dev); in altr_sysmgr_regmap_lookup_by_phandle() 120 return sysmgr->regmap; in altr_sysmgr_regmap_lookup_by_phandle() 126 struct altr_sysmgr *sysmgr; in sysmgr_probe() local 134 sysmgr = devm_kzalloc(dev, sizeof(*sysmgr), GFP_KERNEL); in sysmgr_probe() 135 if (!sysmgr) in sysmgr_probe() 166 sysmgr->regmap = regmap; in sysmgr_probe() [all …]
|
H A D | Makefile | 261 obj-$(CONFIG_MFD_ALTERA_SYSMGR) += altera-sysmgr.o
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | synopsys-dw-mshc.yaml | 41 altr,sysmgr-syscon: 45 - description: phandle to the sysmgr node 51 the pointer to the sysmgr, the 2nd value is the register offset for the 65 altr,sysmgr-syscon: true 69 altr,sysmgr-syscon: false
|
/linux/drivers/fpga/ |
H A D | altera-fpga2sdram.c | 94 struct regmap *sysmgr; in alt_fpga_bridge_probe() local 109 sysmgr = syscon_regmap_lookup_by_compatible("altr,sys-mgr"); in alt_fpga_bridge_probe() 110 if (IS_ERR(sysmgr)) { in alt_fpga_bridge_probe() 112 return PTR_ERR(sysmgr); in alt_fpga_bridge_probe() 116 regmap_read(sysmgr, SYSMGR_ISWGRP_HANDOFF3, &priv->mask); in alt_fpga_bridge_probe()
|
/linux/arch/arm64/boot/dts/intel/ |
H A D | socfpga_agilex.dtsi | 178 altr,sysmgr-syscon = <&sysmgr 0x44 0>; 196 altr,sysmgr-syscon = <&sysmgr 0x48 0>; 214 altr,sysmgr-syscon = <&sysmgr 0x4c 0>; 328 altr,sysmgr-syscon = <&sysmgr 0x28 4>; 474 sysmgr: sysmgr@ffd12000 { label 604 altr,sysmgr-syscon = <&sysmgr>;
|
H A D | socfpga_agilex5.dtsi | 337 sysmgr: sysmgr@10d12000 { label
|
/linux/arch/arm64/boot/dts/altera/ |
H A D | socfpga_stratix10.dtsi | 185 altr,sysmgr-syscon = <&sysmgr 0x44 0>; 203 altr,sysmgr-syscon = <&sysmgr 0x48 8>; 221 altr,sysmgr-syscon = <&sysmgr 0x4c 16>; 333 altr,sysmgr-syscon = <&sysmgr 0x28 4>; 453 sysmgr: sysmgr@ffd12000 { label 584 altr,sysmgr-syscon = <&sysmgr>;
|
H A D | socfpga_stratix10_swvp.dts | 111 &sysmgr {
|
/linux/drivers/mmc/host/ |
H A D | dw_mmc-pltfm.c | 20 #include <linux/mfd/altera-sysmgr.h> 81 sys_mgr_base_addr = altr_sysmgr_regmap_lookup_by_phandle(np, "altr,sysmgr-syscon"); in dw_mci_socfpga_priv_init() 87 of_property_read_u32_index(np, "altr,sysmgr-syscon", 1, ®_offset); in dw_mci_socfpga_priv_init() 88 of_property_read_u32_index(np, "altr,sysmgr-syscon", 2, ®_shift); in dw_mci_socfpga_priv_init()
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | socfpga-dwmac.txt | 14 - altr,sysmgr-syscon : Should be the phandle to the system manager node that 48 altr,sysmgr-syscon = <&sysmgr 0x60 0>;
|
/linux/arch/arm/boot/dts/intel/socfpga/ |
H A D | socfpga_arria10.dtsi | 430 altr,sysmgr-syscon = <&sysmgr 0x44 0>; 450 altr,sysmgr-syscon = <&sysmgr 0x48 8>; 470 altr,sysmgr-syscon = <&sysmgr 0x4C 16>; 668 altr,sysmgr-syscon = <&sysmgr 0x28 4>; 693 altr,sysmgr-syscon = <&sysmgr>; 794 sysmgr: sysmgr@ffd06000 { label
|
H A D | socfpga.dtsi | 571 altr,sysmgr-syscon = <&sysmgr 0x60 0>; 590 altr,sysmgr-syscon = <&sysmgr 0x60 2>; 767 altr,sysmgr-syscon = <&sysmgr 0x108 3>; 855 sysmgr: sysmgr@ffd08000 { label
|
H A D | socfpga_arria5.dtsi | 29 sysmgr@ffd08000 {
|
H A D | socfpga_cyclone5.dtsi | 29 sysmgr@ffd08000 {
|
H A D | socfpga_vt.dts | 68 sysmgr@ffd08000 {
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-socfpga.c | 7 #include <linux/mfd/altera-sysmgr.h> 116 altr_sysmgr_regmap_lookup_by_phandle(np, "altr,sysmgr-syscon"); in socfpga_dwmac_parse_data() 118 dev_info(dev, "No sysmgr-syscon node found\n"); in socfpga_dwmac_parse_data() 122 ret = of_property_read_u32_index(np, "altr,sysmgr-syscon", 1, ®_offset); in socfpga_dwmac_parse_data() 124 dev_info(dev, "Could not read reg_offset from sysmgr-syscon!\n"); in socfpga_dwmac_parse_data() 128 ret = of_property_read_u32_index(np, "altr,sysmgr-syscon", 2, ®_shift); in socfpga_dwmac_parse_data() 130 dev_info(dev, "Could not read reg_shift from sysmgr-syscon!\n"); in socfpga_dwmac_parse_data()
|
/linux/Documentation/devicetree/bindings/arm/altera/ |
H A D | socfpga-system.txt | 9 sysmgr@ffd08000 { 22 sysmgr@ffd12000 {
|
/linux/Documentation/devicetree/bindings/edac/ |
H A D | socfpga-eccmgr.txt | 138 altr,sysmgr-syscon = <&sysmgr>; 308 altr,sysmgr-syscon = <&sysmgr>;
|
/linux/drivers/edac/ |
H A D | altera_edac.c | 17 #include <linux/mfd/altera-sysmgr.h> 965 "altr,sysmgr-syscon"); in altr_init_a10_ecc_block() 970 "Unable to get syscon altr,sysmgr-syscon\n"); in altr_init_a10_ecc_block() 2122 "altr,sysmgr-syscon"); in altr_edac_a10_probe() 2126 "Unable to get syscon altr,sysmgr-syscon\n"); in altr_edac_a10_probe()
|
/linux/arch/powerpc/platforms/ps3/ |
H A D | device-init.c | 428 port_number = 2; /* sysmgr default */ in ps3_register_vuart_devices()
|
H A D | repository.c | 935 make_field("sysmgr", 0), in ps3_repository_read_vuart_sysmgr_port()
|