From patchwork Sat Mar 27 13:46: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: 410173 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2259417jai; Sat, 27 Mar 2021 06:47:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHAzHLIHsUEmm+MaHAK+jEOUjgqFVcAl7Qd1fnuqGrLQg8FWZKg4kq+Ha9qUQP+dEbkE8L X-Received: by 2002:a17:906:af97:: with SMTP id mj23mr21035550ejb.419.1616852858194; Sat, 27 Mar 2021 06:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616852858; cv=none; d=google.com; s=arc-20160816; b=aAzrW/3it3RoSRAXYAzapw7RPO3w0Ozib8xWYLJ9OoIqMrJK3NS48DkZ8g8n5fWX1m N+HWvnqRDmf2Uw0Stml5Kyu647F7DtgtegrG623unagViZKn3A8T6G6GzByQxw/BqVy9 L3VbFmp9OReIb18a4c/qjFGgiN98MdoBhL2H1yRpXsoGjcB8RcelbLQzFFvGc7lYRzds vQfaD6xiKY5dlb+trLi+KxGCtkW+OyAmKT2touXC5w1NRbpr8/yNulupMv9JPDmHWiEZ IReYgg8OCtzipH3SlioM9ywYim82go/7vfSz3VmbzBgiaZUgGmqBiUEkcGGjG/f7fxEr 5PQQ== 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=qWyUMFRwK0QepTr0SiWvpEflRmzJcVu5HWFYI8wgbFz7bSaUFb2Snmtqh1wMmoREHm cUSlOnw5O+MLXhfEwaD1ZtGo/fCK88tiULx7o13OWW9p0I3cWxAoYK21o+BWZL71xuv5 JAZO5otcOP5PfapczhvsvXXWEV4+Wsj3lqFdsJ2Ai7TnQTSXBggnkzeAIv8GfZWI8DbL QK4ss4tE5qWpGIaJ9+OalqA+JTQ9wINRvX74a0n1rFAPtF6dZQbEDRim2ltVhjzQ6V0+ Vvut09n9VwqUFAbOeJrxf8xCLo6MNsyuM6rcS8aPNvgJhcFsu7OQ3JbX733w2kheyswk 6Z1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hYLtHbnx; 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 gz5si9242827ejb.19.2021.03.27.06.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 06:47:38 -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=hYLtHbnx; 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 66CF7828FE; Sat, 27 Mar 2021 14:47:17 +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="hYLtHbnx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 78395828C3; Sat, 27 Mar 2021 14:47:13 +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-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (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 9DA34828CB for ; Sat, 27 Mar 2021 14:47:09 +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-pg1-x52f.google.com with SMTP id 33so602097pgy.4 for ; Sat, 27 Mar 2021 06:47:09 -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=hYLtHbnxPItJeWoy1d8Vi3mDd0AY0AWggBZkSM2S0htFyLkhxpKodLNsN6WrIUPTN/ CllJNem3dO3M7BhdTUDtAoJaQ/KbKCjZVexiAimJEe4O665k4Z3lBaQnPfeOzFM/icYc /362eqSWgqhaAg1szK+vVhJZ6EXnjcjRlfmmXibXnzPayXmzeqPYyrWOTY81aPG/vlvQ FMwFxpNlRNQQzyNRSj53TeToKtwPV74h9+Sm2bW6Pt06HRucWsmux9Q0zTTWtCA1I64/ aSL+MHZ353PhdSp4x5ikR6jTd4H67YNK2spaHfetx/uvAhIzaz3bsgQidf/9zXibAcX5 Uqew== 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=T7MVREwDW8QJX2Lxg6P5ZB1MIjUO6phjn3/tPXg4JQSDlSCFIYsZWp6zJK5hV6MfN+ Cf5ScoMKPdxs93Pie4E1GpCq6nwOlfvbMORRk+GokUOxAoFvJkLrymkipwKsdkVKSk80 a20T10wWA/ygaJc1tHjKoy/zr0tOK4Iv7sLuwuvk6kelOQqgMFBFWD9ltmd7XHU5vCsl jnnYZEAdu3PNZC3nsfpCSpgIyco8irrOblLCGf3Xt0FHMYh9HEcdS5JFhNS8BKy9amRN 2nvDv2cbJbzPSGE25qu87XidgNcbU0EpGq8WsvKIFB73DLfUm8njV/Dn4XCoLEyOpu4x LJXQ== X-Gm-Message-State: AOAM533sI995wQCb5xJIUxw1ab7Ac7tFnXc2Wshmx8v5epH8G836ocXu jngI6aftP7ydNadS1BbvlEjBs+73eVtzIg== X-Received: by 2002:a63:e1b:: with SMTP id d27mr16598269pgl.135.1616852827758; Sat, 27 Mar 2021 06:47:07 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id gt22sm11044509pjb.35.2021.03.27.06.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 06:47:07 -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 v5 2/2] doc: device-tree-bindings: regulator: anatop regulator Date: Sat, 27 Mar 2021 21:46:52 +0800 Message-Id: <20210327134652.155431-3-grandpaul@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210327134652.155431-1-grandpaul@gmail.com> References: <20210327134652.155431-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 Reviewed-by: Jaehoon Chung 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>; + };