Message ID | 20230105123240.1089375-4-nikita@trvn.ru |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp284935wrt; Thu, 5 Jan 2023 04:54:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXuJvAnvTVunuFXfzgVUB0Pd1ycSiO4IWYQ0P5Oq1yzw23tE14N0mTBoe047xu+rCPjTSo6w X-Received: by 2002:a05:6402:f02:b0:46f:a2c2:405b with SMTP id i2-20020a0564020f0200b0046fa2c2405bmr54349494eda.37.1672923252128; Thu, 05 Jan 2023 04:54:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672923252; cv=none; d=google.com; s=arc-20160816; b=Ux66NZHBD89CcpN3RKL1PUbsWsqP7kRS2bQJHqE+0NaT5fO+geqj1zRj1sALGfJL2k f5saY7YkT4A/9Dnv3eWIPNfvmh/vyeZN0UekbFotfpqnCXZmubhSmOSGu1jlSYMyD/+p NZcitqzrZG+4iCQnxGHmgkBXDNrmREDrPrhxYGsRnTT32aw6g+2WnDbv4nBLGGmtRG8O UNqbV9r/SKolcHtEDwCUIVzsPsykDWuyEVNocpwuHTJnbCebb6AugXOrzG+XjtO0Qmxm 4FTCUMEb2eZXNdL+YQvRISx6MEJGOFWu3pa1F3bu9kdRnlqEmL1vpAGOzFmPvxVCo+e5 q6PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZZh035rx7oMN02/eaB1kEyqycXmmDffqbcy5TzITxd0=; b=jKbwckZo3y/4XXpvxZ0DlVc+BB2Vw9TJGTK3HW1xDECgMETH2P1ROE65phA9c5nq4I h3Gj/ByueM/bPhnEj1Tj7astx71V9KM8qyV/8304e1kuAk0uQ1SmCWQPfrHR7rBXvd/t TRXoo5QTiBrZt7jsdUR3tRvdYXRFwtA7TLcfCme6DSi06FXwKCzfQz1NKAplcdQj/2AY FprvTKSGA8z5XIcXjWAWC7C1Ey3mMBxYr0MIhJ2QDN2VN6ZQhGZJirkyOe05BmZnfcTv ABdLNx1N7zVyKC+EUGZDLAcfFbfpVFK0W9lwt+0FvgwLijHbImS1+ee+6X1NMH69ch// wsGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b="c/MzpmVw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020aa7d385000000b004844fcb5435si25836168edq.313.2023.01.05.04.53.48; Thu, 05 Jan 2023 04:54:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b="c/MzpmVw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233416AbjAEMvm (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Thu, 5 Jan 2023 07:51:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233231AbjAEMvZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Jan 2023 07:51:25 -0500 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 921914C72E; Thu, 5 Jan 2023 04:51:22 -0800 (PST) Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id BF980420CF; Thu, 5 Jan 2023 17:33:56 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1672922037; bh=hh4JNQz29tUUJcJOb3jkHgRe0Gpymsou/pdkJ3B9+30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c/MzpmVwjlNi9C36AuedP+/78tiPnHi2V2JxPt5m+9OQSftZAOKWO9x3qPztaHFEY P/s9txObvGo7uNmE6YgcxCzCUuE7cglCpZ2KbaytAHYbHTBJxxrFaiLnDLNBRBkQZr yRBL86Yn/pfjGuDTi8pelVlVg73DdUFJc1yN95atyn8VQmyhkBcJ9TzpBk3MUfsNAW YdbjqqUwr/oHUBkVuvUKjlcCHGgz/mXgNtXXOv+pCUuNPVYVm9YZWg4enPr75gBy6d KnMepgqxGR5Z7uZYGBKcQtAhyoNn9ClTQVZDztknKDDVsDlOyv6+41IFNIlVuTDl7Y zzQQYLMWw4NIQ== From: Nikita Travkin <nikita@trvn.ru> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org> Cc: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Siddharth Manthan <siddharth.manthan@gmail.com>, Jasper Korten <jja2000@gmail.com>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin <nikita@trvn.ru> Subject: [PATCH 3/8] arm64: dts: qcom: msm8916-samsung-gt58: Add Vibrator Date: Thu, 5 Jan 2023 17:32:35 +0500 Message-Id: <20230105123240.1089375-4-nikita@trvn.ru> In-Reply-To: <20230105123240.1089375-1-nikita@trvn.ru> References: <20230105123240.1089375-1-nikita@trvn.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754187171744626678?= X-GMAIL-MSGID: =?utf-8?q?1754187171744626678?= |
Series |
Add support for Samsung Galaxy tab A (2015) tablets
|
|
Commit Message
Nikita Travkin
Jan. 5, 2023, 12:32 p.m. UTC
From: Siddharth Manthan <siddharth.manthan@gmail.com> Motor is powered by VPH_PWR (aka Vbat) and controlled by GPIO. Signed-off-by: Siddharth Manthan <siddharth.manthan@gmail.com> Signed-off-by: Nikita Travkin <nikita@trvn.ru> --- .../boot/dts/qcom/msm8916-samsung-gt58.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
Comments
On 05/01/2023 13:32, Nikita Travkin wrote: > From: Siddharth Manthan <siddharth.manthan@gmail.com> > > Motor is powered by VPH_PWR (aka Vbat) and controlled by GPIO. > > Signed-off-by: Siddharth Manthan <siddharth.manthan@gmail.com> > Signed-off-by: Nikita Travkin <nikita@trvn.ru> > --- > .../boot/dts/qcom/msm8916-samsung-gt58.dts | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > You just added this file in previous patch, so this should be squashed. Patches should be organized logically and logical change is "new board XYZ". Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts index 688e9be590ba..37140d041a22 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts @@ -8,4 +8,22 @@ / { model = "Samsung Galaxy Tab A 8.0 (2015)"; compatible = "samsung,gt58", "qcom,msm8916"; chassis-type = "tablet"; + + vibrator { + compatible = "gpio-vibrator"; + enable-gpios = <&msmgpio 76 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&vibrator_en_default>; + pinctrl-names = "default"; + }; +}; + +&msmgpio { + vibrator_en_default: vibrator-en-default-state { + pins = "gpio76"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; };