From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Tue, 31 May 2016 14:35:58 -0700 Subject: [PATCH] HC-SR04 ultrasonic ranger IIO driver In-Reply-To: <1464728757-5197-1-git-send-email-johannes@johannesthoma.com> References: <20160324152420.GA18978@kroah.com> <1464728757-5197-1-git-send-email-johannes@johannesthoma.com> Message-ID: <20160531213558.GC25589@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, May 31, 2016 at 11:05:57PM +0200, johannes at johannesthoma.com wrote: > From: Johannes Thoma > > The HC-SR04 is an ultrasonic distance sensor attached to two GPIO > pins. The driver based on Industrial I/O (iio) subsystem and is > controlled via configfs and sysfs. It supports an (in theory) unlimited > number of HC-SR04 devices. > > Datasheet to the device can be found at: > > http://www.micropik.com/PDF/HCSR04.pdf > Signed-off-by: Johannes Thoma > --- > MAINTAINERS | 7 + > drivers/iio/Kconfig | 1 + > drivers/iio/Makefile | 1 + > drivers/iio/ultrasonic-distance/Kconfig | 16 ++ > drivers/iio/ultrasonic-distance/Makefile | 6 + > drivers/iio/ultrasonic-distance/hc-sr04.c | 460 ++++++++++++++++++++++++++++++ > 6 files changed, 491 insertions(+) > create mode 100644 drivers/iio/ultrasonic-distance/Kconfig > create mode 100644 drivers/iio/ultrasonic-distance/Makefile > create mode 100644 drivers/iio/ultrasonic-distance/hc-sr04.c Hint, use scripts/get_maintainer.pl to find the correct mailing list and developers to send this patch to, in order to ensure the correct people who can apply it, receive it. thanks, greg k-h