From patchwork Tue Mar 23 13:48:36 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: 406889 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4470035jai; Tue, 23 Mar 2021 06:49:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9p92m40xZ9MvMtEHYZz+sFVr8xdWSofIqprZChvZiBVaOXXFvDNvu7vz8ZA8clSS1plNK X-Received: by 2002:a17:906:2b0a:: with SMTP id a10mr5007644ejg.513.1616507355909; Tue, 23 Mar 2021 06:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616507355; cv=none; d=google.com; s=arc-20160816; b=jbkVF42BxI55EnV06Q/QEqDHI/qsZjjCHUVIicKPfAHylmqoNF9Rfp7GYJxLMOVh8h YIw9pbgBGXxcv53cAHFEsy8zVFDp7TBRmFEOrwOy85xg6EQSObbGiUw6Nm6yfx+eBVJW EnkZC4dmiHjQJFsOvajnE0yWa9G1IXvWX2uLk4/csXSqELueFk6uJDm2a4JyWrIMHfTy +/RDN2vXBIwOz8dke8S261Gxaw0MFHgIUW1yW4FFdHqDTwVFjscjj1cDIvwOa3lJGjQg SMmEWxUP9PVb9KCPjQIRp0irXXR4iMdA4irMvkhuNALW0pmlw4l1VYfltgniHjsjuXc1 +/Ng== 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=LzBBh3Pg4TkCmnN8lEoAOMfGL66ob/NsdcH+pxc8HPI=; b=aOqlCca8hY99yMzUvujVBzxjUCfugd4JfI5FjMgiNbS8+c+3GViMg+q+n9fY+GbfWo OG3/fY+ppif2TySz7UrZ6vVZHjiH+5XUMZRIaliDYdRjIAo97X68OJI78luxw/5G1ptx BoB8cPQqDrgiYFctvBEujhwjDztatMuH79TwNzYXYtgL80OeIQm6AepJk3Kks4ek04Wn qGErfP+DniwA8nsghlb7586gVSxPIcFvZCJetu/SzRmJFgTkj2QrWnZJnEo57lZZaCMK nmF9nc81PZCfO3S42bLiENSUeiQa/g/tK/3ptGqnLy9DJxevTkLbZDmkRbY5xKaFiH3x /4Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rACYMcOk; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id b17si14023897eds.443.2021.03.23.06.49.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 06:49:15 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rACYMcOk; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 B94F682777; Tue, 23 Mar 2021 14:49:03 +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="rACYMcOk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D6C5282822; Tue, 23 Mar 2021 14:48:56 +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-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) (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 D2451827BC for ; Tue, 23 Mar 2021 14:48:52 +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-x530.google.com with SMTP id v3so11764628pgq.2 for ; Tue, 23 Mar 2021 06:48:52 -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=LzBBh3Pg4TkCmnN8lEoAOMfGL66ob/NsdcH+pxc8HPI=; b=rACYMcOkafTA6+TxTsJL00GlgGb/mC/CcfYbY16TQCA9XllWIoVZ6JazbpXjNXlLYS WrZ3446rf6F+4Fm48TJaQl6mxIn9y1sJ2PsedmGvsF2kn1cQV9vqW3+Z3ee+PXo3D7Km RlncAeSWM4J4rb/NFIeebBaOwQHWtHuZpfJYVjNKFf/IzDOfXkZwHROFpyldaMa87GpB bmmXu503oFdaqNi3DP1gC+bWVJNV25oWAN+WMmYUEkp0XkT/eTElUg6ChP3crrdhmDEL RlviDgxALTgYFbZ7Uk8QVgz29byyBxTO31lPPC6saSv/psu7DkTFy/e5j+T27GeEuHX8 3wtA== 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=LzBBh3Pg4TkCmnN8lEoAOMfGL66ob/NsdcH+pxc8HPI=; b=Q5hnhg8O7v1KiMxcjBgfuVFhSf36eQlKr3eLkvEC/0yk92speCWBr+SszbWEV7Zki/ t2nyI7qCPVzlvqB8XNnaHrqviwF5JOX2bomSOLm2Yqj5AbR3b5kJqhvQq7ikFWFx3w2Y rqWT+Ns6EF1ED7b1Jx/ODCfBXDjPDOm/hIes89froYNrLlYQCs28Bltn1Zf0MEBKJvX0 h/IextKd8hb2enTTJYCC9YbvbDIOeAWVyTpPeL39Nzo7jLhKH294BdudKQS7xyh5mI/u /QhNJn6VUqpmG7TEioti2ERMcr1cTHd4dIv8N436sICdsxFTY7PMQj9js9esr9awZyQ5 617g== X-Gm-Message-State: AOAM531G2HJWNuHCVyUZmV5ZzVE3o+4NgHExWu0xFLboUHnPKOeYIs0n Or+fTnc/hyOaHstqiSR/HUx5zj4y5Dg= X-Received: by 2002:aa7:8a4d:0:b029:211:92f2:658c with SMTP id n13-20020aa78a4d0000b029021192f2658cmr5060923pfa.29.1616507331043; Tue, 23 Mar 2021 06:48:51 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id 9sm14837220pgy.79.2021.03.23.06.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 06:48:50 -0700 (PDT) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: jh80.chung@samsung.com, "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v2 2/2] doc: device-tree-bindings: regulator: anatop regulator Date: Tue, 23 Mar 2021 21:48:36 +0800 Message-Id: <20210323134836.99512-3-grandpaul@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210323134836.99512-1-grandpaul@gmail.com> References: <20210323134836.99512-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.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>; + };