Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6156247rwr; Mon, 1 May 2023 17:53:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ltN1iFvEaBLN3ZzZUn02az796wIkWo1gPRh09dBwLqM329ccfTseH1J5FXrljeNC0FRRA X-Received: by 2002:a05:6a20:a121:b0:f6:15f3:ca36 with SMTP id q33-20020a056a20a12100b000f615f3ca36mr21217542pzk.50.1682988782974; Mon, 01 May 2023 17:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682988782; cv=none; d=google.com; s=arc-20160816; b=wvmj9LdMcplGITYyl3czqOxtAgomdNXlhifxGvsXio7Uuxo1JlkINk6adakswoCku3 2UAHiocL4Sb+JU2GbJUG/l72sHB0RIx0KKfdmh0JuJEizIKvtwnnX3SLO6AppvOTYVnG /lM3TWtVmUusnr16evmmPd2Dz4NPZymSrhaLASXGx69vE6hB+irQu81pAVh3h2J42iDm JMIKF8j5PSyLtvpj37J1aU93fZKiWkZpPy4w89UUW5hlI4om1Y35gtBOzrLbj5z+2Cg4 1HxrPfQII7TFe6lM2wJ3SEEtnN2YIM1lWZBmsxv+6rUIsbi2e7ST/LFeiI2WjdAJgKbD CmbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7upDMlCiFyS9IqWKLFQuuQHQDW2CbteKNbLQt2kIjHg=; b=rJaOEMYas4gn0RJnql+jD4vg38BkBvOjpH6e0O1nNZKJR+pxhUtRfWLz+l34MCAvxd NfPx8wpSzjHQuAUc2lkHwv5fGo41PPbA2YcW3XoWC4UZ7qitYXBGXEHMMJ2WWkOUCrTv 99eA29g1m+LzPMficGKG1ksaViBw0uY2BehTVaNT1UzIDFfJQXapRwVvx8tgNBqClwWY rh/2FOK6HGU33dOwSUqp6Q+uXMCrvOpt6rWCbbaCEzm9FJQeZu2IZHpgf1ckI9WMcs6H mxDrhcSA2u9kXT5VcNy/C4HGQH6BjjK7N1FXNyfeC+QIlU3LleQt3QgSK4V+0zn9oJ/a tQBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=kXmO8ctK; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r18-20020a6560d2000000b0050c10cfd6f8si28921434pgv.198.2023.05.01.17.52.48; Mon, 01 May 2023 17:53:02 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=kXmO8ctK; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231799AbjEBArg (ORCPT + 99 others); Mon, 1 May 2023 20:47:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbjEBArf (ORCPT ); Mon, 1 May 2023 20:47:35 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6183E1FCC; Mon, 1 May 2023 17:47:34 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-63b70ca0a84so3716690b3a.2; Mon, 01 May 2023 17:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682988454; x=1685580454; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=7upDMlCiFyS9IqWKLFQuuQHQDW2CbteKNbLQt2kIjHg=; b=kXmO8ctKGoDAHkIsPM3FvfZ3vXjOcJmhIZZH4ENpiHZqdCpC/FQi3SHUGaSpe1vGqf 3RSZZkR7TFUIUJ/0k6hvfjGlBsri/B8lGlkmVIaUI6OY5BVgr7gfAhcGTJitmMvuRuVt ynhRnEF8/tR9sjzrNVvrl7I2Pbzp4o7UMFkxzBbXAZQS+M74I+6jpSHFkSc5FW4bJtWz cd98fD5hkVFG4p08TT0ZHuURAenGAr46Cxijxl0e493YaWVP67jIyx6+WOhhfNkmQTw4 h5PqShzKIoR8FlKzUV80x9WhftxmAUXYCzhD0fAgLskYv0xBgaNAjN7U5WFHOv0L8OLg q9Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682988454; x=1685580454; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7upDMlCiFyS9IqWKLFQuuQHQDW2CbteKNbLQt2kIjHg=; b=JUmL6OocVsKckyIRAV/sK0mKsy3RsDJHpHN0iPsE41NkwyW8Y+ZXUsZ+GoKTgXqisn UwkC8pzcXnd/y3fQcpM/U6SLDlbPnaaTXByAIawa76xuuJhvKcLYdDOfKeRMtyybml5I Klr6dXJvz3oute9xbTWShLCQ5aO3gxM0SlSJifIPs7I4o0wgKx0cgc0V7XrQmyh7K77A R9XBB0q2TbsQzc4A3QohlZ97ONgBqds9/woyC+uEsj0F9N8h3gI0zaVsSpoE87Ydykxi Txb0ElfRARle8qDtd3weqbfQr5QSW79zeTqBszJfRGxaQvHHPgLLsgaGcEy8Cj0Dxz+V Je6A== X-Gm-Message-State: AC+VfDzMWpdg+1ENLAxSNM0d3f3cJ4e6Ug6bYEBcYcoeB8xOWO7xstxf wLeuRYk8wS8xNMdZxVhxN0kIdHFq86o= X-Received: by 2002:a05:6a00:1591:b0:639:a518:3842 with SMTP id u17-20020a056a00159100b00639a5183842mr23411910pfk.7.1682988453686; Mon, 01 May 2023 17:47:33 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:b6ce:736b:e4f7:adb]) by smtp.gmail.com with ESMTPSA id t12-20020a63dd0c000000b00513973a7014sm17359099pgg.12.2023.05.01.17.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 17:47:32 -0700 (PDT) Date: Mon, 1 May 2023 17:47:29 -0700 From: Dmitry Torokhov To: Luca Weiss Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Sebastian Reichel , Andy Gross , Bjorn Andersson , Konrad Dybcio , Brian Masney , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 3/4] Input: pwm-vibra - add support for enable GPIO Message-ID: References: <20230427-hammerhead-vibra-v1-0-e87eeb94da51@z3ntu.xyz> <20230427-hammerhead-vibra-v1-3-e87eeb94da51@z3ntu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230427-hammerhead-vibra-v1-3-e87eeb94da51@z3ntu.xyz> X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FSL_HELO_FAKE, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 27, 2023 at 10:34:28PM +0200, Luca Weiss wrote: > Some pwm vibrators have a dedicated enable GPIO that needs to be set > high so that the vibrator works. Add support for that optionally. So this is not simply a power supply in your case controlled by a GPIO? We truly can have both GPIO and a separate regulator? Thanks. -- Dmitry