From patchwork Fri Apr 12 15:06:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 10898523 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 4C305139A for ; Fri, 12 Apr 2019 15:07:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DC1528EBD for ; Fri, 12 Apr 2019 15:07:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 211FA28F55; Fri, 12 Apr 2019 15:07:02 +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 B3B0F28F42 for ; Fri, 12 Apr 2019 15:07:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726930AbfDLPGw (ORCPT ); Fri, 12 Apr 2019 11:06:52 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:54082 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726780AbfDLPGu (ORCPT ); Fri, 12 Apr 2019 11:06:50 -0400 Received: from localhost.localdomain (91-115-28-155.adsl.highway.telekom.at [91.115.28.155]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 592BBC1D51; Fri, 12 Apr 2019 15:06:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1555081608; bh=QR00LtWv8/eoQ1jFUpVKmnz8LHOduZ1ATvV/Pnuo9is=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=MLVm0dH1W7yFEMcBOnjPbAUr/KXVssm+MSVoMdq+G8/jWHkYOZuoIcTxL1MsbIGke XCVaoF3uIw7cfTVg5QOJamvi95eu3giocjMsf1ZHDTJa7AV6P2p3osu4v6p08iBBYw awtLaM55xKbSY/0HzSI9AdzeCgTfj3Ll2LR7kAo0= From: Luca Weiss Cc: Dmitry Torokhov , Rob Herring , Mark Rutland , Mauro Carvalho Chehab , Pascal PAILLET-LME , Coly Li , Lee Jones , Xiaotong Lu , Brian Masney , Rob Herring , Baolin Wang , David Brown , linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM SUPPORT), linux-input@vger.kernel.org (open list:INPUT (KEYBOARD, MOUSE, JOYSTICK , TOUCHSCREEN)...), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), Luca Weiss Subject: [PATCH v3 3/3] ARM: dts: msm8974-FP2: Add vibration motor Date: Fri, 12 Apr 2019 17:06:25 +0200 Message-Id: <20190412150625.28384-3-luca@z3ntu.xyz> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190412150625.28384-1-luca@z3ntu.xyz> References: <20190412150625.28384-1-luca@z3ntu.xyz> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts index 643c57f84818..bf402ae39226 100644 --- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts @@ -50,6 +50,12 @@ }; }; + vibrator { + compatible = "gpio-vibrator"; + enable-gpios = <&msmgpio 86 GPIO_ACTIVE_HIGH>; + vcc-supply = <&pm8941_l18>; + }; + smd { rpm { rpm_requests {