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=-8.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable 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 DA624C433E0 for ; Tue, 16 Jun 2020 10:58:55 +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 AF1BE20786 for ; Tue, 16 Jun 2020 10:58:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ObbVnlZq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF1BE20786 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz 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=P5oEkFEAnc7CJ0DqFixe5X8dGHaK9F3/dDmptMwuO4Q=; b=ObbVnlZqZ34Dnk htju2Z3wl0LHuRWu++EpPKn2jlLzdEG7c4Z+bMmjZ5nalPw5yyh6voclJE07AE7XyBrwiYeRD50Gc aI4mvzWYjpkJt0IZtUgmD1omXplrhAMDRNOLUUSFBtG79zZA4kNR6w4qi16xmlXA8MhpXmS6X1jGQ cG//ftjKRl4dFS3rDVd5TVx1IW5y7zD4+X38PGezYcH+Z5kZnvYcOhXFrCNCcwUkMrdvfD+epmTFI anNaWGxOSPJxjtvRnPb8ZSgw1fJexG3j7mBHgVCiDq9wMufYg2Bmg6SSnCqzfQ1lI2sYDnrc8/JHm WBYV8ENhs3fMoGgw2FDg==; 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 1jl9Im-0006hF-JH; Tue, 16 Jun 2020 10:58:48 +0000 Received: from jabberwock.ucw.cz ([46.255.230.98]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jl9Ii-0006fk-Qf; Tue, 16 Jun 2020 10:58:46 +0000 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id F365B1C0BD2; Tue, 16 Jun 2020 12:58:38 +0200 (CEST) Date: Tue, 16 Jun 2020 12:58:31 +0200 From: Pavel Machek To: Fengping Yu Subject: Re: [PATCH v1 1/3] dt-bindings:Add vibrator devicetree documentation Message-ID: <20200616105831.GJ1718@bug> References: <20200615114203.116656-1-fengping.yu@mediatek.com> <20200615114203.116656-2-fengping.yu@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200615114203.116656-2-fengping.yu@mediatek.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200616_035845_020293_16024B7B X-CRM114-Status: GOOD ( 14.91 ) 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: Catalin Marinas , Dmitry Torokhov , linux-mediatek@lists.infradead.org, Jacek Anaszewski , linux-input@vger.kernel.org, Matthias Brugger , Yingjoe Chen , 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 Mon 2020-06-15 19:42:02, Fengping Yu wrote: > From: "fengping.yu" > > Add Mediatek regulator vibrator dt-bindings doc as yaml schema > > Signed-off-by: fengping.yu > --- > .../bindings/input/regulator-vibrator.yaml | 65 +++++++++++++++++++ > 1 file changed, 65 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/regulator-vibrator.yaml > > diff --git a/Documentation/devicetree/bindings/input/regulator-vibrator.yaml b/Documentation/devicetree/bindings/input/regulator-vibrator.yaml > new file mode 100644 > index 000000000000..6511a8a80aff > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/regulator-vibrator.yaml > @@ -0,0 +1,65 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +version: 1 > + > +$id: http://devicetree.org/schemas/input/regulator-vibrator.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mediatek's regulator vibrator device tree bindings > + > +maintainer: > + - Fengping Yu > + > +description: | > + Registers a regulator device as vibrator, where the on/off capability is controlled by a regulator. Line length? > +properties: > + compatible: > + const: "regulator-vibrator" > + > + vibr-supply: > + description: Power supply to the vibrator. > + refs:Documentation/devicetree/bindings/regulator/regulator.txt for details. > + > + max-volt: > + description: The maximum voltage value supplied to the vibrator regulator. > + The unit of the voltage is micro. > + should be -microvolt? > + min-volt: > + description: The minimum voltage value supplied to the vibrator regulator. > + The unit of the voltage is micro. > + > + min-limit: > + description: The minimum duration time in ms for vibrator, default is 15ms. > + If user request smaller duration, the default value will be used > + instead. The default value comes from the smallest unit that can > + be sensored. English? Add -usec or something? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel