Home
last modified time | relevance | path

Searched full:moxtet (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/bus/
H A Dmoxtet.c8 #include <dt-bindings/bus/moxtet.h>
13 #include <linux/moxtet.h>
106 .name = "moxtet",
125 if (mdev->moxtet == new_dev->moxtet && mdev->id == new_dev->id && in moxtet_dev_check()
135 put_device(mdev->moxtet->dev); in moxtet_dev_release()
140 moxtet_alloc_device(struct moxtet *moxtet) in moxtet_alloc_device() argument
144 if (!get_device(moxtet->dev)) in moxtet_alloc_device()
149 put_device(moxtet->dev); in moxtet_alloc_device()
153 dev->moxtet = moxtet; in moxtet_alloc_device()
154 dev->dev.parent = moxtet->dev; in moxtet_alloc_device()
[all …]
H A DMakefile11 obj-$(CONFIG_MOXTET) += moxtet.o
H A DKconfig71 config MOXTET config
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-moxtet-devices1 What: /sys/bus/moxtet/devices/moxtet-<name>.<addr>/module_description
5 Description: (Read) Moxtet module description. Format: string
7 What: /sys/bus/moxtet/devices/moxtet-<name>.<addr>/module_id
11 Description: (Read) Moxtet module ID. Format: %x
13 What: /sys/bus/moxtet/devices/moxtet-<name>.<addr>/module_name
17 Description: (Read) Moxtet module name. Format: string
H A Ddebugfs-moxtet1 What: /sys/kernel/debug/moxtet/input
6 Returns N+1 bytes, where N is the number of Moxtet connected
19 What: /sys/kernel/debug/moxtet/output
/linux/drivers/gpio/
H A Dgpio-moxtet.c3 * Turris Mox Moxtet GPIO expander
10 #include <linux/moxtet.h>
123 dev_err(dev, "%pOF Moxtet device id 0x%x is not supported by gpio-moxtet driver\n", in moxtet_gpio_probe()
155 { .compatible = "cznic,moxtet-gpio", },
167 .name = "moxtet-gpio",
176 MODULE_DESCRIPTION("Turris Mox Moxtet GPIO expander");
H A DKconfig1931 tristate "Turris Mox Moxtet bus GPIO expander"
1932 depends on MOXTET
1935 This is the driver needed for configuring the GPIOs via the Moxtet
/linux/include/linux/
H A Dmoxtet.h38 struct moxtet { struct
85 struct moxtet *moxtet; member
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-3720-turris-mox.dts9 #include <dt-bindings/bus/moxtet.h>
255 moxtet: moxtet@1 { label
258 compatible = "cznic,moxtet";
271 compatible = "cznic,moxtet-gpio";
316 interrupt-parent = <&moxtet>;
442 interrupt-parent = <&moxtet>;
510 interrupt-parent = <&moxtet>;
636 interrupt-parent = <&moxtet>;
704 interrupt-parent = <&moxtet>;
821 interrupt-parent = <&moxtet>;