From patchwork Sun Mar 7 18:18:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying-Chun Liu X-Patchwork-Id: 395146 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1126766jai; Sun, 7 Mar 2021 10:19:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKC6Q5Cz7YZ3U8qGfj0C6VKXrlBDyxNaoTl2DTA9d75Cc9o4vw+DRrJZssl5pNgnZ4bCi3 X-Received: by 2002:a05:6402:8d7:: with SMTP id d23mr19054022edz.256.1615141179184; Sun, 07 Mar 2021 10:19:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615141179; cv=none; d=google.com; s=arc-20160816; b=Wt7lfob7dgTZ58aA6E/8DRtLKcKPAshj+ec4qOLr/rRl/ouX6swEGq0w69FRzMfbwL 2cg26pIXtnOv2+REnZRJJoVFubhUEQUXUCfkw3Slbz34oekQiyjtSO8FCeWWNQVeqbOz NVvw1TJ3J2wgGgzha7Cra6968+c3dHdn7pefDJ7Z7zN/Y+qZVzvig8bfmB7CZtlR/3jc ievIlsVg3JehUlh6E0ALaEfTm/A39ao2r7f1f54A6Fp7awCBdFBk4tN5upypGkzlziiO kg0N2HY1FwTtDHKeKePbQIjsmE+KViaNfB+5uxdnYKqCDvuL/gTMnW67DaScusqR6K29 iiQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=p9YpbB/rtjWyOvsP6IlQOw+JVboo2mx1rRMWB9q7ChE=; b=wXLM4ZBdv95ea3+QerwYN2vQVhzsp6ttb54te+h0KBHx8fqZrux38KAetY4/aq+DfO f7AXhk2cM3TveS1ZX2RjwivPLH9BvVRbRtkmgYlG0qN6Psr96SNAJYzWn+SrCpl5/iG6 V8rBs5UG9MnQNasBGIAMwx/8rBm5ayucNdqhuhIhLtLJdMOkfQICFEwWZG9pjlzw9kcA DotLC8/oniwjeAkB1AkENUf3Q9RLyAjQfw9W48jbEgO4k9IVFOv47FotWYKMq7hKw7BT cvEWobyBjFFefOUrqc/4J2CmWnoIAGCZ1eLegg0noOPRv2+S9Bk6aiXvepElJNhCruNL TO7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eEagbMcZ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id u2si5283547ejg.288.2021.03.07.10.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Mar 2021 10:19:39 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eEagbMcZ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 03C39827AB; Sun, 7 Mar 2021 19:19:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="eEagbMcZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 07A2882790; Sun, 7 Mar 2021 19:19:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EEDD5826B2 for ; Sun, 7 Mar 2021 19:19:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=grandpaul@gmail.com Received: by mail-pf1-x42a.google.com with SMTP id x7so2271457pfi.7 for ; Sun, 07 Mar 2021 10:19:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p9YpbB/rtjWyOvsP6IlQOw+JVboo2mx1rRMWB9q7ChE=; b=eEagbMcZf5vdnAUsWYo/D5IaFA9IAEVksbETdW4frw0f/FVBjjsLZTw8z/6oo3Bj4q 5fWeL2AihDRJ0nU1EfosuRRcH6LzYkP/LN58u5pLRxE39JEf4wJEFiqWSG6JIhPhJ/eN KU5dUycRXHl9MC0eSv81BxoPJl3Lq424Rs2k5vdT/aLNPVCW3HT96xeq23WpNV8MFLm1 rXJK2Fir9qj8NE3tkEAqrvwwg7MlAh3yTa25ADtqNngpa67I+4QROIjXZRmGzIvDUVYZ Sbmt4w4p2m4GSwk6EzQ6LXFfl3Cj4Cv6hiNaL88m1YYbQSazUK8SRO5jaluPO1HRm5SS gADQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p9YpbB/rtjWyOvsP6IlQOw+JVboo2mx1rRMWB9q7ChE=; b=CB8nyEqS0oXcscKEzXZYMyEfxpW9Kz3Ps4zWkSPPlG7k9piZE9qhcDQB1CGdeH7ulh Nhij9e0dRxBe9UtyopRbqCNwoqmAbFE9NYQVbJ27W7Sji8JEKt0aYY9jNPBHprgv/f1B wQWmPt9C4hkkODSJ4XZ/1DxVCBjCAosfoYbOearfjXH9tJSQEuJ3GjlOZH6a+sFmvC2S rp8xkxvPtVoBi1Dxi2j9hANlIpA5mYkykvLuqPR+Sos8cbNsX31bd20NhgHKVUEl4cI+ OQVVWv86/BioN+WILJBlLjIOGI6mECGzRR+nfZepM++kRP24McIrFjkOq1fTl17EYzdm RLwA== X-Gm-Message-State: AOAM5332gkYXijxJYOTF8wOym4Ve4F59hfYrIByVaGFrxBQpe7jCsrWs b2dmkAmVrpACsOkzqQCNfjZ3gI35iZ4= X-Received: by 2002:a63:1266:: with SMTP id 38mr3958603pgs.266.1615141154285; Sun, 07 Mar 2021 10:19:14 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id 35sm7304068pgr.14.2021.03.07.10.19.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Mar 2021 10:19:13 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH 2/2] doc: device-tree-bindings: regulator: anatop regulator Date: Mon, 8 Mar 2021 02:18:49 +0800 Message-Id: <20210307181849.83627-3-grandpaul@gmail.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210307181849.83627-1-grandpaul@gmail.com> References: <20210307181849.83627-1-grandpaul@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean From: "Ying-Chun Liu (PaulLiu)" Document the bindings for fsl,anatop-regulator Signed-off-by: Ying-Chun Liu (PaulLiu) --- .../regulator/fsl,anatop-regulator.txt | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 doc/device-tree-bindings/regulator/fsl,anatop-regulator.txt -- 2.30.1 diff --git a/doc/device-tree-bindings/regulator/fsl,anatop-regulator.txt b/doc/device-tree-bindings/regulator/fsl,anatop-regulator.txt new file mode 100644 index 0000000000..2a60e4941b --- /dev/null +++ b/doc/device-tree-bindings/regulator/fsl,anatop-regulator.txt @@ -0,0 +1,45 @@ +ANATOP REGULATOR + +Anatop is an integrated regulator inside i.MX6 SoC. + +Required properties: +- compatible: Must be "fsl,anatop-regulator". +- regulator-name: Name of the regulator +- anatop-reg-offset: u32 value representing the anatop MFD register offset. +- anatop-vol-bit-shift: u32 value representing the bit shift for the register. +- anatop-vol-bit-width: u32 value representing the number of bits used in the + register. +- anatop-min-bit-val: u32 value representing the minimum value of this + register. +- anatop-min-voltage: u32 value representing the minimum voltage of this + regulator. +- anatop-max-voltage: u32 value representing the maximum voltage of this + regulator. + +Optional properties: +- anatop-delay-reg-offset: u32 value representing the anatop MFD step time + register offset. +- anatop-delay-bit-shift: u32 value representing the bit shift for the step + time register. +- anatop-delay-bit-width: u32 value representing the number of bits used in + the step time register. +- anatop-enable-bit: u32 value representing regulator enable bit offset. +- vin-supply: input supply phandle. + +Example: + regulator-vddpu { + compatible = "fsl,anatop-regulator"; + regulator-name = "vddpu"; + regulator-min-microvolt = <725000>; + regulator-max-microvolt = <1300000>; + regulator-always-on; + anatop-reg-offset = <0x140>; + anatop-vol-bit-shift = <9>; + anatop-vol-bit-width = <5>; + anatop-delay-reg-offset = <0x170>; + anatop-delay-bit-shift = <24>; + anatop-delay-bit-width = <2>; + anatop-min-bit-val = <1>; + anatop-min-voltage = <725000>; + anatop-max-voltage = <1300000>; + };