Received: by 10.192.165.148 with SMTP id m20csp3027073imm; Mon, 7 May 2018 05:32:24 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr5XS0+ocrTgMGsVeHUbJqop5UX6wnFdAxx9LuzOTYvffOAEpuSwdRdA220NWHA8/LB/GkZ X-Received: by 2002:a63:7b53:: with SMTP id k19-v6mr30214810pgn.146.1525696344709; Mon, 07 May 2018 05:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525696344; cv=none; d=google.com; s=arc-20160816; b=BMyieB0I8nimIiD8KE1D8tMtyvItejB7GogNO5xm4deYjSnHpxJ6QMEi1O5EKIgTFk NwXhTtzxctpy/JHy3gtKTp+f4w+X9TEfkNNPgkU+l+l3d9VPBMp3TyRemFHlzCYZH4nT ct7J+UDLHSx2/fYrLJpyUYCbqmQPN9bEwqKF3OPjuzo4gOraYVNmm0ZMjafCOyTQ3AEb cY31WlE5ap6BiNpEFr2qXuGkhhkJzDRNwvcrgH1FO4yFr/Z+30oLnMWmMy+/r67VQjNC BXUq9oMt62TeOwhUeBUNQPaDXloqN54ULCBqMlcVTkha/w3g6VfHLEkQIBntCgpWhnS3 eKAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=cnAMdRm375mHoOrmdjEc/DCB1EiqaQz21V8OXqjzUlY=; b=XII3yChlY8tN+KzJOgCzYTis4AjYsRI+DMFq90u/Brfn0izta6dCHMRL4tiiRNivMR rhFf0E5SqlpbEG/Kyyj0n2/Zj5Mdq4eXfYuq3TGgSq7MQz/2zLUaSJLyDEpkVD4Tq3zG oEbpwWZ0g3oDvo1i4jagQQxln4CrLgVQVRMgokkxpvCwFAHgEurgjSAMkz4M2TMUcBxd WwdsCgVKXuCBPX8+1+vOMalfxUWw0tQ4E03g3TDeGlLC4jg4ntfz5LT3fwnMe9hnHDm8 1bpwifw9qA8AZASUaPRXT1W3aMJQrrGzr2fOJDXsuZQpP5XBoZBKCje9ax1l7Sgqyogc /nJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si21947889plz.364.2018.05.07.05.32.10; Mon, 07 May 2018 05:32:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752395AbeEGMbZ (ORCPT + 99 others); Mon, 7 May 2018 08:31:25 -0400 Received: from hermes.aosc.io ([199.195.250.187]:43657 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752367AbeEGMbW (ORCPT ); Mon, 7 May 2018 08:31:22 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id EFCE04DA52; Mon, 7 May 2018 12:31:09 +0000 (UTC) From: Icenowy Zheng To: Mark Brown , Liam Girdwood , Maxime Ripard , Chen-Yu Tsai Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Ondrej Jirman , Icenowy Zheng Subject: [PATCH v4 1/3] dt-bindings: add binding for the SY8106A voltage regulator Date: Mon, 7 May 2018 20:29:40 +0800 Message-Id: <20180507122942.25758-2-icenowy@aosc.io> In-Reply-To: <20180507122942.25758-1-icenowy@aosc.io> References: <20180507122942.25758-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ondrej Jirman SY8106A is an I2C-controlled adjustable voltage regulator made by Silergy Corp. Add its device tree binding. Signed-off-by: Ondrej Jirman [Icenowy: Change commit message and slight fixes] Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai Acked-by: Rob Herring --- No changes in v4. Changes in v3: - Added silergy,fixed-microvolt property. Changes in v2: - Added Chen-Yu's Reviewed tag and Rob's ACK tag. - Specify regulator.txt's directory. .../bindings/regulator/sy8106a-regulator.txt | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/sy8106a-regulator.txt diff --git a/Documentation/devicetree/bindings/regulator/sy8106a-regulator.txt b/Documentation/devicetree/bindings/regulator/sy8106a-regulator.txt new file mode 100644 index 000000000000..39a8ca73f572 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/sy8106a-regulator.txt @@ -0,0 +1,23 @@ +SY8106A Voltage regulator + +Required properties: +- compatible: Must be "silergy,sy8106a" +- reg: I2C slave address - must be <0x65> +- silergy,fixed-microvolt - the voltage when I2C regulating is disabled (set + by external resistor like a fixed voltage) + +Any property defined as part of the core regulator binding, defined in +./regulator.txt, can also be used. + +Example: + + sy8106a { + compatible = "silergy,sy8106a"; + reg = <0x65>; + regulator-name = "sy8106a-vdd"; + silergy,fixed-microvolt = <1200000>; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-boot-on; + regulator-always-on; + }; -- 2.17.0