From patchwork Mon Mar 18 20:39:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 10858549 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BBE27139A for ; Mon, 18 Mar 2019 20:40:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4C6C28614 for ; Mon, 18 Mar 2019 20:40:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A32AB28751; Mon, 18 Mar 2019 20:40:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4346628769 for ; Mon, 18 Mar 2019 20:40:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727766AbfCRUjo (ORCPT ); Mon, 18 Mar 2019 16:39:44 -0400 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.83]:31288 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727717AbfCRUjo (ORCPT ); Mon, 18 Mar 2019 16:39:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1552941582; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=FpLcXXgjhB0Nq7Ef4DEJHTwPb2IbK1p9ddEH3G+5TaQ=; b=dOIYfjg/yEcLQIFe/ngIvXgSR/hJdvHy9JoXjV4sP3hwkxtSeTF+9Ey36eL0hBqd3l x9V0cF8ibUrdn0DlrbE1uAUuysjyvLmA+S4Jq/yHnEMOG47DFuX+y/btbSAyqsldP9TV G8pTEeLHBVoF5WOISyhwkBEUxaPpBgmmYJRRX0hHhDgKJSl/YpqS/Fcm3UdfsUetZlVo ST+8dY75ZaOPARjQu+YF/j3CfxaBxeXvBNnqeZRmKOqqBj17LxVmAYFfjWY0vT1d7c0E CmVgkSxIOL4ls7YJBpgu930lXN7KM+YW8656wCWLaIviJQg9RKg3IAWYsjLerUh8wo5Z VLiw== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1OAA2UNf2M7O2CKNdGj" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 44.16 DYNA|AUTH) with ESMTPSA id h04075v2IKdZFyl (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Mon, 18 Mar 2019 21:39:35 +0100 (CET) From: "H. Nikolaus Schaller" To: Jonathan Cameron Cc: letux-kernel@openphoenux.org, kernel@pyra-handheld.com, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, "H. Nikolaus Schaller" Subject: [RFC 3/4] iio: input-bridge: add IIO_INPUT_BRIDGE kernel config option Date: Mon, 18 Mar 2019 21:39:33 +0100 Message-Id: <290e3d7ff2a55281cd29bc48ac75cce0bd4e9af0.1552941573.git.hns@goldelico.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the iio-input-bridge to the Kconfig. Signed-off-by: H. Nikolaus Schaller --- drivers/iio/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index d08aeb41cd07..d85afe002613 100644 --- a/drivers/iio/Kconfig +++ b/drivers/iio/Kconfig @@ -68,6 +68,13 @@ config IIO_TRIGGERED_EVENT help Provides helper functions for setting up triggered events. +config IIO_INPUT_BRIDGE + bool "Enable accelerometer bridge to input driver" + help + Provides a /dev/input/event* device for accelerometers + to use as a 3D input device, e.g. for gaming or auto-rotation + of screen contents. + source "drivers/iio/accel/Kconfig" source "drivers/iio/adc/Kconfig" source "drivers/iio/afe/Kconfig"