From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0793C2D0FB for ; Tue, 12 May 2020 22:52:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B3688206B7 for ; Tue, 12 May 2020 22:52:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gpHTSILU"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A+aCawby" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B3688206B7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yyyTdKUaCrs1UZmfpuySHoURNbM04b16mthyohiEmXY=; b=gpHTSILUA89oql neHscEQOBGJIWT2TzSuK21+wlmIp4wrDQLVqjux8dOH40Z0FNrBqLWZ00afAzirMTiOTPgOu8XDAL aBfDV+wkG4tyLANCxiTMqS26EatBN7WCLC6Uj5inn9ipTpPIBPviNN9cIWv6vJKJ4ZzfYeE+8QJm0 LQkbP3ZeMAdFBfx1lR0NWePKHIzeQUSY7taSH3QpNVmRNzLTOdHg8aZkl0K4+ZvSkO3cPv9PbwaDk 09LbCyw+99EsCRBrnPJyvZZ9e6+DC9jJt6xurhS1WajHK+k3RFUMaBdDBWsUoCNQ+6UhwCJjHLJtH jnOnxl9ye37ieV9vQqIw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYdl6-00072C-98; Tue, 12 May 2020 22:52:20 +0000 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYdl3-00071K-LE for linux-arm-kernel@lists.infradead.org; Tue, 12 May 2020 22:52:19 +0000 Received: by mail-pj1-x1042.google.com with SMTP id t9so10272979pjw.0 for ; Tue, 12 May 2020 15:52:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=L8tksuSDTqs67QtjinsHE4FheuuliIT8AjKoc4ucm54=; b=A+aCawbyEMDcOaXESvLqmbZABWw9O6EP2s1AngbXLV2jFIlhagWHaNG/zKjJM2RhFx zR4GIbUSqtZJSgejE1vf8+vegxIzPbGyVYxtbx7Sl6ZFU7jT0DgnrOAM/PpuOSJsUNex ociJ4yn2NMIxKt+ipD9wQM7WQ8Z8Ygwn/nKw56/uOd2ygIegOMO5lGFdn6ZFbNuhwQeq fqbZNZMncqohFrxIOZq7UENBmTJw+EzF/ChjImjT+PVEz6Zm2ogd4nnvSD5b3goCf5lm bu6L9fnzBNIH9phxEleqG+Q4AJiTnHttCCBooCe3hgtQy5Dm9JgzUAi44UmBHKWlzh3N qcwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=L8tksuSDTqs67QtjinsHE4FheuuliIT8AjKoc4ucm54=; b=Kwbts9ju1T1r4aQ+0xI74QhaJbDf5u69Qugxy0jpKUGx4O9qg8H7//cSY3RLu9E31u 7/UONpP7CJpiX0qfDnuwxmHuQQZGotzvQ87WzNejL1bvS38Ym0Yj9nbqX0v7ai1TQ8/3 HWD9ZyK0cu2EHWFYAVpAaL7yeef+OuJru1Y5H5xdwAFiGb13OKfN5LHOjbuPqSiIIe18 g6qrNl3s8V/I5WCB4ZD5kMmOVxhAPz5sDnxw5YLH5i4zUpo86896xT4H02RwHSuBHVLR P1CylAXpCodxpJsYquKhtLTKJJsB7sKsC5XzeDnTsxgliZBHHFhcsOJNDddMqybcsztu JmZQ== X-Gm-Message-State: AOAM531S7wX/K/I0YRjhCAYS5BU5mB/t7boiYoZJTQlnRt7Qd+WMcytK FCYvZWWia+ovqt+9iE8/A8wsw9ea X-Google-Smtp-Source: ABdhPJwDUrxJZKSLp+Xr6kWbTqL3Ofq02Ayex445wtfRyI6/RGyZxIFRJC7Rb3atq+Syq8sFipfKUw== X-Received: by 2002:a17:90a:344c:: with SMTP id o70mr5619516pjb.23.1589323935225; Tue, 12 May 2020 15:52:15 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:3c2a:73a9:c2cf:7f45]) by smtp.gmail.com with ESMTPSA id z1sm13623932pjn.43.2020.05.12.15.52.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 15:52:14 -0700 (PDT) Date: Tue, 12 May 2020 15:52:12 -0700 From: Dmitry Torokhov To: Ondrej Jirman Subject: Re: [PATCH v2 1/4] dt-bindings: input: gpio-vibrator: Don't require enable-gpios Message-ID: <20200512225212.GE89269@dtor-ws> References: <20200512222205.1456300-1-megous@megous.com> <20200512222205.1456300-2-megous@megous.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200512222205.1456300-2-megous@megous.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200512_155217_720219_9D4EEC83 X-CRM114-Status: GOOD ( 15.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , Chen-Yu Tsai , Maxime Ripard , linux-kernel@vger.kernel.org, Luca Weiss , linux-sunxi@googlegroups.com, Rob Herring , Tomas Novotny , linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, May 13, 2020 at 12:22:02AM +0200, Ondrej Jirman wrote: > It is possible to turn the motor on/off just by enabling/disabling > the vcc-supply. > > Signed-off-by: Ondrej Jirman > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/input/gpio-vibrator.yaml | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/input/gpio-vibrator.yaml b/Documentation/devicetree/bindings/input/gpio-vibrator.yaml > index 2384465eaa19..c700b640bd53 100644 > --- a/Documentation/devicetree/bindings/input/gpio-vibrator.yaml > +++ b/Documentation/devicetree/bindings/input/gpio-vibrator.yaml > @@ -24,7 +24,6 @@ properties: > > required: > - compatible > - - enable-gpios Hmm we need at least one of the 2 (gpio and supply). Should we encode it in the binding? Also, in the dirver code, I guess we need to switch to have regulator optional (so we are not given the dummy one) and bail if neither regulator nor GPIO is found. Thanks. -- Dmitry _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel