Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp75986ybk; Tue, 12 May 2020 15:54:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxCwG4EGMSAUG6rK/R1ONaD3iwoYB8kIBCWG0/tzFkW2QzXapU6Zkyxez3qr3k1U9Jy0uv X-Received: by 2002:a17:906:eda3:: with SMTP id sa3mr3620506ejb.253.1589324042154; Tue, 12 May 2020 15:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589324042; cv=none; d=google.com; s=arc-20160816; b=BKkMpN2QtXg8mtQKYqjBsWmkRU7cbLIpvVpPWuT1GPgRyaEZ5W9XzaFyqDCaF6uybv sFvxO6SCQ7O85Y5NKuyW7miqxdRV03i23zTlzOlb/+2cXAxfk/GTQn8Ny0bP79b1i3H3 xdTFC61ulPQ5H+bLjw/hZaygRxLdv2UYDbegK+H+tJmjKCs7lSGLI8TLJ0/qnpV/hx+F rmQI3hZhtGtR9Xzq8k2lvXWjMnZJpu2VYL6jOOlZ0Z8h+hOH8RY1xpXbBzxl64d3YuLc pM3FeMhXFAbHUb4mUH+NjxiabOTjkOa+DfIhYZAdouxpR1shLB403lR9zFSZXPR3EIUI yCYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=L8tksuSDTqs67QtjinsHE4FheuuliIT8AjKoc4ucm54=; b=HbNdQiKE7fBWjE8t3yFyc6sCkEKe85M11hlc/KfTFUf7uf+76nnokx69QZWu4Gj3Nf QYU0z5r3+cjDEogbpAQKb+PN/vPddLxxPwrknKJhVGwDcidUITLGLswi6NBujun9rcGG aiMkji3MXbJ1if+/puoyHEbmpppDMWFWPCXjQkZjSObxuKbcRY4aE0feOKcUg24sP6SR 1fJPujrzucPwqec9Tf5ex+sGDYLa4TFM6g5j4UX/L8mqNUIucA0lkjMEtwVK2QM8w27n JGwlx2QRyu3+5w+DLJn98/R5KDm2ZgtEQ3BOyYz9aKJJxcxwV/tUQN3b5isbKqCAae/J Aj8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A+aCawby; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id w7si7770939edr.309.2020.05.12.15.53.38; Tue, 12 May 2020 15:54:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A+aCawby; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729215AbgELWwQ (ORCPT + 99 others); Tue, 12 May 2020 18:52:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725938AbgELWwQ (ORCPT ); Tue, 12 May 2020 18:52:16 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF852C061A0C; Tue, 12 May 2020 15:52:15 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id q24so10116944pjd.1; 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=CPmvJJ/29L3lRda0Pa76z/h4gkAGYU46JhvBEHGFSzszKFYCZ4+nfuEO8NZ2MRB01g HKRbOEQ+e+h4xuKU1AzDIT9fa/fRSxJpO2WOIRs3x6w2jyl477NsXnFYtkb6GYVC5cRT f5pbdR6NE62NTkRcanOf/PY11MKY690tOJBNu/US7msVmie9gCrBx38IZjyOvLyxGAfn yQxr5oUMgY3WMdKQfFLsNSHwVxyEFr5OzjYIENFxA25M16ErYDQ8jMMehpYpeVlXn1nk hJ21zKawsl8PBl29zCDTrCv1bd9PsT6p8kzyjdANeTMV5lSFA+4JchOwif0lQ4MBx+3n EylA== X-Gm-Message-State: AOAM531Rh9gFRLX5U9rwPTV4VaZDJW13VqQeHWK/0i1bAsICSxTxqhpS 6ZLZgLEC97dDqKLxVZQDioI= 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 Cc: linux-sunxi@googlegroups.com, Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Luca Weiss , Tomas Novotny , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200512222205.1456300-2-megous@megous.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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