Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp775211imu; Fri, 25 Jan 2019 10:44:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Qvkr++/HxY8dxjytZvUAaxK1crvGwWx0wpF/U4dZmx0pNodsRHHl8WNVJgdWT6g5deVAc X-Received: by 2002:a17:902:bcc7:: with SMTP id o7mr12346173pls.281.1548441885595; Fri, 25 Jan 2019 10:44:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548441885; cv=none; d=google.com; s=arc-20160816; b=SSFli4vKtSZLqVdRphDlfxXWdohd+XBL6PpcdH9sYUaNPP5SjbR5Hdqw3lliyJaNpa 1r9sg4UoxAb6/44FLslD+JU3w9OcJTh+zBi94vjvkNkuN908FMb53hRHWTHada2SfxXA +ze9XcO6gX4ORnms5CqdFv08iAPg696aXQyCTmYkxF3iOpnqIuMxncS7LOwmCcplHuZQ 3CcgjfGe2EIsYOa6fA0Qz8rHJpjvH3iosER5yR/mKNPriXZ1JADFVCrcDoXHm7LsXwx6 9Ke74IfOCexdKUaUeE+c3HKC4r7yVrxG+TIBxnbJsTMFaG8J0z6ucqITtnTgeil3txE5 e4Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pPz/f03XiBmSQ9/ft6p1O4l+O9E5ZDQ8xc0Zl8VFB+M=; b=bXSpQ7LYKHuRx6oT3a2wKFo98Dw4CHyHH7c9pkOBaDr9h9xOvUkaA0x9/Nczh3jrHj Nnpg36Hu4oVnLRIoXKdPwmbkTFu6LSsEzc1mgoWdIg/wV7IvBvp7Rwqfq58n6jRbfDiZ vXMZAn0kckgqUPiwz288IF6wCaCROqwDlQ9rNVn+XlpIkqgYv+xWwE+tdZFUC4LfgwDS YoNKmQDgrndYZHBRheenUNqjszTu3ezSX0r+fDZCij9gjy2OBKn3oZVGkF34CWs2z1Yr 1XUsDcJbbPktNcYeMLwbk8YtF6hNPC9rHarqLtJuOGBBJuIdv0lY8I/7Qr4zuh3BRzZp skOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aOjK09Mw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o27si25672333pgl.53.2019.01.25.10.44.30; Fri, 25 Jan 2019 10:44:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aOjK09Mw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728903AbfAYSoS (ORCPT + 99 others); Fri, 25 Jan 2019 13:44:18 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:39781 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbfAYSoK (ORCPT ); Fri, 25 Jan 2019 13:44:10 -0500 Received: by mail-lj1-f193.google.com with SMTP id t9-v6so9196041ljh.6; Fri, 25 Jan 2019 10:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pPz/f03XiBmSQ9/ft6p1O4l+O9E5ZDQ8xc0Zl8VFB+M=; b=aOjK09MwHDbgBw8YwXuHbzS5cLeeaXVCqCpRcj90UGu0pwGTpOEVMC1jGVYRVDkWhE 77vPAXk3GxdVJduc0CWxji1beGVdALHLZtIq2mp1o8Z4OslgAuDNIxWjE7I3LE+Kl2Dh ZIKwkoiTUE13Gzsk0o/eEfb4bPOsw7mum/PVUO4cHN/mqVbh5OMkIMknWDDcMHYcunzw UfeRmGBaSzzulKigjKNbfo5IE7XPebPrCFmCK3VeVti5gqzBgVz6kx/pvwnPG8gZKj4K +zROaqO7hBlyDXKlUm8E38Q/ZTzPu+l68lBi5jQGnb6LtyXsObXXE2SYQ1mvEYax6T8F q+tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pPz/f03XiBmSQ9/ft6p1O4l+O9E5ZDQ8xc0Zl8VFB+M=; b=HpiVHKCOZwchrVimbFBJUND0JOszO71YNTwiS65e5iq+tKEw5utucsS8te7+wORd+M FIPEdtMnKBNJKokwuHUX7Zjsd23DQFjZAa9IqW4pYadROtHj4PLD17w7+H2ZzsdLY/Iq HGbcyVLJpxupM/8+5UDf0Dkx0qSFIu7FUMV9YMR0HDmYAXzGl2XlJfIwb0XX1jdTgYxK +YVCkgS9fL1Eh50ZHlbTYktc7XhPPN5aQL/5hk6bnOJW9uEfD4yxdSYUvbfNHVroho4e splTvcqs3zTNuJfj2ILF0M3cthkI4opcU2L1hK9ieoEllPjRfyZfLmATewZRY8yeV0zM CLNg== X-Gm-Message-State: AJcUukevqP7pQDDEnKF8AvPmg63dCi42uHiPvpzs7BE5Rjx6PZVZMu1L M9ypj5jsYiTGNBwXiOtM9b8= X-Received: by 2002:a2e:2c02:: with SMTP id s2-v6mr9450366ljs.118.1548441847572; Fri, 25 Jan 2019 10:44:07 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:6921:1f1d:2918:d853]) by smtp.googlemail.com with ESMTPSA id f18sm1715432lfk.18.2019.01.25.10.44.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 10:44:06 -0800 (PST) From: =?UTF-8?q?Pawe=C5=82=20Chmiel?= To: dmitry.torokhov@gmail.com Cc: robh+dt@kernel.org, mark.rutland@arm.com, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] input: dt-bindings: Add binding for bma150 sensor Date: Fri, 25 Jan 2019 19:44:00 +0100 Message-Id: <20190125184400.17669-4-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190125184400.17669-1-pawel.mikolaj.chmiel@gmail.com> References: <20190125184400.17669-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Bakker Add device tree bindings for Bosch BMA150 Accelerometer Sensor Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- .../bindings/input/bosch,bma150.txt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/bosch,bma150.txt diff --git a/Documentation/devicetree/bindings/input/bosch,bma150.txt b/Documentation/devicetree/bindings/input/bosch,bma150.txt new file mode 100644 index 000000000000..290c60e38c70 --- /dev/null +++ b/Documentation/devicetree/bindings/input/bosch,bma150.txt @@ -0,0 +1,20 @@ +* Bosch BMA150 Accelerometer Sensor + +Also works for the SMB380 and BMA023 accelerometers + +Required properties: +- compatible : Should be "bosch,bma150" +- reg : The I2C address of the sensor + +Optional properties: +- interrupt-parent : should be the phandle for the interrupt controller +- interrupts : Interrupt mapping for IRQ. If not present device will be polled + +Example: + +bma150@38 { + compatible = "bosch,bma150"; + reg = <0x38>; + interrupt-parent = <&gph0>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; +}; -- 2.17.1