Loading drivers/elphel/Kconfig 0 → 100644 +11 −0 Original line number Diff line number Diff line # # Elphel devices # menu "Elphel devices" config LTC3589 tristate "Support LTC3589 voltage regulator" depends on I2C && SYSFS help Say Y here if you have a Elphel board 10393. endmenu drivers/elphel/Makefile 0 → 100644 +5 −0 Original line number Diff line number Diff line # # Makefile for Elphel specific devices. # obj-$(CONFIG_ELPHEL393) += elphel393-pwr.o drivers/elphel/elphel393-pwr.c 0 → 100644 +32 −0 Original line number Diff line number Diff line /*!*************************************************************************** *! FILE NAME : elphel393-pwr.c *! DESCRIPTION: power supplies control on Elphel 10393 board *! Copyright (C) 2013 Elphel, Inc. *! -----------------------------------------------------------------------------** *! *! This program is free software: you can redistribute it and/or modify *! it under the terms of the GNU General Public License as published by *! the Free Software Foundation, either version 3 of the License, or *! (at your option) any later version. *! *! This program is distributed in the hope that it will be useful, *! but WITHOUT ANY WARRANTY; without even the implied warranty of *! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *! GNU General Public License for more details. *! *! You should have received a copy of the GNU General Public License *! along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <linux/i2c.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/mutex.h> #include <linux/string.h> #include <linux/of.h> MODULE_AUTHOR("Andrey Filippov <andrey@elphel.com>"); MODULE_DESCRIPTION("Elphel 10393 power supply control"); MODULE_LICENSE("GPL"); Loading
drivers/elphel/Kconfig 0 → 100644 +11 −0 Original line number Diff line number Diff line # # Elphel devices # menu "Elphel devices" config LTC3589 tristate "Support LTC3589 voltage regulator" depends on I2C && SYSFS help Say Y here if you have a Elphel board 10393. endmenu
drivers/elphel/Makefile 0 → 100644 +5 −0 Original line number Diff line number Diff line # # Makefile for Elphel specific devices. # obj-$(CONFIG_ELPHEL393) += elphel393-pwr.o
drivers/elphel/elphel393-pwr.c 0 → 100644 +32 −0 Original line number Diff line number Diff line /*!*************************************************************************** *! FILE NAME : elphel393-pwr.c *! DESCRIPTION: power supplies control on Elphel 10393 board *! Copyright (C) 2013 Elphel, Inc. *! -----------------------------------------------------------------------------** *! *! This program is free software: you can redistribute it and/or modify *! it under the terms of the GNU General Public License as published by *! the Free Software Foundation, either version 3 of the License, or *! (at your option) any later version. *! *! This program is distributed in the hope that it will be useful, *! but WITHOUT ANY WARRANTY; without even the implied warranty of *! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *! GNU General Public License for more details. *! *! You should have received a copy of the GNU General Public License *! along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <linux/i2c.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/mutex.h> #include <linux/string.h> #include <linux/of.h> MODULE_AUTHOR("Andrey Filippov <andrey@elphel.com>"); MODULE_DESCRIPTION("Elphel 10393 power supply control"); MODULE_LICENSE("GPL");