Home
last modified time | relevance | path

Searched refs:a10sr (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/mfd/
Daltera-a10sr.c125 struct altr_a10sr *a10sr; in altr_a10sr_spi_probe() local
127 a10sr = devm_kzalloc(&spi->dev, sizeof(*a10sr), in altr_a10sr_spi_probe()
129 if (!a10sr) in altr_a10sr_spi_probe()
136 a10sr->dev = &spi->dev; in altr_a10sr_spi_probe()
138 spi_set_drvdata(spi, a10sr); in altr_a10sr_spi_probe()
140 a10sr->regmap = devm_regmap_init_spi(spi, &altr_a10sr_regmap_config); in altr_a10sr_spi_probe()
141 if (IS_ERR(a10sr->regmap)) { in altr_a10sr_spi_probe()
142 ret = PTR_ERR(a10sr->regmap); in altr_a10sr_spi_probe()
148 ret = devm_mfd_add_devices(a10sr->dev, PLATFORM_DEVID_AUTO, in altr_a10sr_spi_probe()
153 dev_err(a10sr->dev, "Failed to register sub-devices: %d\n", in altr_a10sr_spi_probe()
DMakefile234 obj-$(CONFIG_MFD_ALTERA_A10SR) += altera-a10sr.o
/Linux-v4.19/Documentation/devicetree/bindings/mfd/
Daltera-a10sr.txt4 - compatible : "altr,a10sr"
24 - compatible : Should be "altr,a10sr-gpio"
32 - compatible : Should be "altr,a10sr-reset"
38 compatible = "altr,a10sr";
47 compatible = "altr,a10sr-gpio";
53 compatible = "altr,a10sr-reset";
/Linux-v4.19/arch/arm/boot/dts/
Dsocfpga_arria10_socdk.dtsi43 label = "a10sr-led0";
48 label = "a10sr-led1";
53 label = "a10sr-led2";
58 label = "a10sr-led3";
110 compatible = "altr,a10sr";
120 compatible = "altr,a10sr-gpio";
126 compatible = "altr,a10sr-reset";
/Linux-v4.19/drivers/gpio/
Dgpio-altera-a10sr.c90 struct altr_a10sr *a10sr = dev_get_drvdata(pdev->dev.parent); in altr_a10sr_gpio_probe() local
96 gpio->regmap = a10sr->regmap; in altr_a10sr_gpio_probe()
DMakefile29 obj-$(CONFIG_GPIO_ALTERA_A10SR) += gpio-altera-a10sr.o
/Linux-v4.19/drivers/reset/
Dreset-a10sr.c103 struct altr_a10sr *a10sr = dev_get_drvdata(pdev->dev.parent); in a10sr_reset_probe() local
115 a10r->regmap = a10sr->regmap; in a10sr_reset_probe()
DMakefile6 obj-$(CONFIG_RESET_A10SR) += reset-a10sr.o
/Linux-v4.19/
DMAINTAINERS697 F: drivers/gpio/gpio-altera-a10sr.c
698 F: drivers/mfd/altera-a10sr.c
699 F: drivers/reset/reset-a10sr.c
700 F: include/linux/mfd/altera-a10sr.h
701 F: include/dt-bindings/reset/altr,rst-mgr-a10sr.h