From patchwork Fri Mar 26 11:44:52 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: 409484 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1348938jai; Fri, 26 Mar 2021 04:45:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEvq8qA+yfw84kGASv2q7iYB8f1AT8gDzcA54PcLp76Q7dClzi9JfJRibcMEFhjJQvN0k5 X-Received: by 2002:a05:6402:1c98:: with SMTP id cy24mr14425005edb.296.1616759141194; Fri, 26 Mar 2021 04:45:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616759141; cv=none; d=google.com; s=arc-20160816; b=OD/M4uo4ThARfYB+MaDzBOyocBv6ralV3vTlc2Me4bXHzCwzqcUjsloaavdI1/NZm1 VZdnfjiwbBRG3bCb3IytRqeJPjNW6R3gU1jM2rwrJuz0tuwLPoL0LjuuOEAumTmGTcHJ MBaDnaysRqshCKBITJtmi8vZDagoKLCeLYlg/Qv0KHlOJDivB+E8Fu0ySS6APmgQPAav PxsqGjRSx0XdHLNFI7qY57Jd3I2XLAEhrmZc9LGhkEQotPMJjLv3jnU4751McZkZp9iZ 4iNvc3YRVpiykhi9+fT+fKH9gsdxkk9ewxqjM9vwXzk06sVz2edhltewK+eTeNjw56mS NDNA== 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=5dBDWLwf9dCVjVcZT2nhOBe8IS7F0NG6pQfg2JZo3f8=; b=brfzh2oPoI40eeiwynsyQ3Msh403KizgYER4TMqE19rpN3ih/+wKKEABl1rgyxqIXx mLm95LcsXXfEkBaa3wLdBQ2ZUZLGmZsuJDfIxQs1uohdgl8we2/GsTZlUm7Uishbn4HE SoDzjUF579l1UXZs+JFElay8/jC9ipMijr5RAVkGQQE1VvQB10EeCbmu7bU6xIc5L3hV Hb6WXyHRYp9Ychvyz8zt74GPFkVa8OkeLs1ElJFz4zFr9YTPyoH2pzT+EzsZsrVuOYIf TgbkUaNA/IPK8rW12URbErhPFQ8ba0lFKu5ikMZ4dJW8iGv3a9psfeYVqExpgGWYbik+ qnTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W4PQrO6r; 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 q9si6296347edd.324.2021.03.26.04.45.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 04:45:41 -0700 (PDT) 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=W4PQrO6r; 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 84A57825BF; Fri, 26 Mar 2021 12:45:31 +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="W4PQrO6r"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6B865825BF; Fri, 26 Mar 2021 12:45:14 +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-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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 77198801FC for ; Fri, 26 Mar 2021 12:45:06 +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-pj1-x102d.google.com with SMTP id kk2-20020a17090b4a02b02900c777aa746fso2335130pjb.3 for ; Fri, 26 Mar 2021 04:45:06 -0700 (PDT) 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=5dBDWLwf9dCVjVcZT2nhOBe8IS7F0NG6pQfg2JZo3f8=; b=W4PQrO6rVAACL8RYYvbTEX+HY6dLne1nUrrAGwDBUYkCqkGnQWmXxNxFrpf8Itctmn aoekyJlRF2DEfJ0b9ZYrnZFXcjjIcQlx086NTQOxTpJasT1V7zedZHPDOfSj/EaHlYCh MkC7huVjRnyewxgBrtxri0cL5nDoxZAZetaa6EYOBZvp0h6LVXbXeIm2olb4p1oZwfaD PRd6GXoWuNyUGTefCjmih7QVVPIyKn1hhWSdF2NRqyW4XWoURm67FK/dEVuxe9T4tcEq 7gddQafKp8H+iq13lDtq0poKEgM4xGDUqxKVpGVQhCQ+qw4hFuqPT2fnTPi/8AByKw3M NV7A== 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=5dBDWLwf9dCVjVcZT2nhOBe8IS7F0NG6pQfg2JZo3f8=; b=sUMCFpmWIPB1VElyJPOSIcjNiCk6Q6Kobdca+3c8Q0/HBVY1p7exFmTixlyMddZpPS V/u7uLNTNvyEgc8Q7LpcPzaO1yZKz7/86EKykC1oNEohK0n2g3FKN9ZhkmX1N9gzhK4B HiGGMKo71O+Bnrxsayaj/4wErdj70OaBP/oN5HWQQ4/U8q1WEX12V8bW3kRjIz8A4WQ9 2B6HM0lkdkXvBJWxwVe+kGj8Z0MnsK7FV5k94wPH5lfWJHTPWSTD2DPABEJ8koZb6UEs uM81FZEIdyjXUtczfUO590jFf+bujjiQncQq9zqmOo+ktjdYcUS1Ngv5T3DX2URUmRqY /DsA== X-Gm-Message-State: AOAM530MX4gbMcsCwbxXABK72ZYzU0Z/FWU4Y/nQ0HeNqDiIUumgY2EK ffVvB+4y/TUdlrVba/VIBHRRA30z2y+qJg== X-Received: by 2002:a17:90b:1198:: with SMTP id gk24mr13462731pjb.84.1616759104596; Fri, 26 Mar 2021 04:45:04 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id bg16sm8295978pjb.43.2021.03.26.04.45.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 04:45:04 -0700 (PDT) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" , Sean Anderson , Fabio Estevam , Jaehoon Chung , Peng Fan Subject: [PATCH v4 2/2] doc: device-tree-bindings: regulator: anatop regulator Date: Fri, 26 Mar 2021 19:44:52 +0800 Message-Id: <20210326114452.71281-3-grandpaul@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210326114452.71281-1-grandpaul@gmail.com> References: <20210326114452.71281-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) Reviewed-by: Sean Anderson Cc: Fabio Estevam Cc: Jaehoon Chung Cc: Peng Fan --- .../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.2 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>; + };