From patchwork Thu Mar 25 18:44:07 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: 408852 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp782873jai; Thu, 25 Mar 2021 11:44:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdz9O8qt5xosavj8XzD0/9W4PmQZknfgbnIwlJXD17hfsvr1jIjoiIBdYzdEsvmcflVIus X-Received: by 2002:a17:907:1c1e:: with SMTP id nc30mr11244451ejc.34.1616697889020; Thu, 25 Mar 2021 11:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616697889; cv=none; d=google.com; s=arc-20160816; b=bp1Oepyl0ClyuMj7Ciu5ZpWWZfE+RcQHC6bUVTbFdOdEfDhanWYsiVVJPW6fhWGJv0 f4L9/mQDwkplVxk5QvL05Wwj6n33PwQqhvC0g7pqsA06p2Q6fDx1+L+CyM3YEovmkdWs E4jF/wY3Pw9XbHwd5/4/ux0FaNtq9jCEMVdgN4FD/vnLCRVTvCwELp3jrtGQ+UiijD7B 71Z6SX/fzFloxh22S539dZLamgm+YYfOBUbuRZ1RXrXpGtZfqAqCIwnYKMfhzpQM8CSw XhJCfvgZjjMAeOS54/8zIJBs9djY6lxDCfJuukAwoh97EGtHHwW4PnMIyAhU8pFYLZyf o2CQ== 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=pOhw3Gzoo9SlasTWn6+8d2CXVJzuUaV2rB3MkyuvkRM=; b=ps4PxmsNBILQgbWw+bHCysu1AEIrPo7cTqtladX81CU1nPHwQemvY00eWdUkJc9Pyr Ts5LbpavFGUa0Bs95iMPdNFbV4oBe9QGz9+iviOXJcJVNI39vL1Sexjs0s6PQlVrPC7V MG0MLHjQ6Qt4HrjM11kCX7P+jadI10hyFGscMvXvt0KRqwIGfzaNENdaKtAgQCoNZupR ffBx93bkjbvsD51/g11wsXuv/XSqlKpGxsJpm57l11u3RJ9KcYpFYGz/4U6RoP83pjEW /cQoKI2nan1GKnOrwDozYcW7mQkK8CfVGf3q0Dlzvhv7qORkNvg1cUQxcSLskoTbrUyB C8Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fDBQGWll; 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 s20si4905747edu.53.2021.03.25.11.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 11:44:49 -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=fDBQGWll; 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 D8F7D8285C; Thu, 25 Mar 2021 19:44:29 +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="fDBQGWll"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2487482838; Thu, 25 Mar 2021 19:44:24 +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-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) (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 878908006D for ; Thu, 25 Mar 2021 19:44:20 +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-x52d.google.com with SMTP id e33so2676139pgm.13 for ; Thu, 25 Mar 2021 11:44:20 -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=pOhw3Gzoo9SlasTWn6+8d2CXVJzuUaV2rB3MkyuvkRM=; b=fDBQGWllG1SkvZQlHy9Onm7aRCUWAaWszmyY1KImXYZH6UH/WQywy3p1/YdWwrVBCi oQ+LEP8tQiUQenyHenai9xc66yW+E2jtW6m+rde3AcxMSp4dSZEKzHsw62t9pd4RoAzl WikXHScF411n0g0A2H8MbM26EGyQawsJRZ+nNIOiWxQe5F7n1unKq2KT34Wo5CAqZj5f /aC4K2ft2j8/qcr0sieeGCRwupgfcKjIBhnkpM6Kozy/HM8IH7au5IdFROQ4/YJpQ/RY 4eBjI57BJ0E8V6d4gEXzXoooXVgYCIDBN9GIcJ3L1FV3Ziz/UkVmbbneDbq0XkFcIAiH DudA== 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=pOhw3Gzoo9SlasTWn6+8d2CXVJzuUaV2rB3MkyuvkRM=; b=RF4QlhAS9sOHxq4ZWD/1jFrH87lerEfDPe/iqjLXYw8Ad77sbZtzZXfs0z5wXBHguT Jw1aG8ASf+jGWP7MvSpvd0OCiAce9OAh8jSXkzknQ94AVxTueIZeaCgYbC1757t+2NL6 nBY9gt2EnGsskhTfkpkbUZJRW5FUl4CNYshEg2pRmExv2dVdnrlBT9uGNIZjpYgTRMM8 ZFtzI/yh9XlZLBk1F89ugNsaDhJ9HZb09OccyL4SgDopA8xSN0h3krB84F9xNpoLJYsu 2crGnJ0rhK2INnSZThHsUVeg6eX3c4klmE+wjxv7V9/SSO79aZF/0LfrAct2TPGgTn2O Br8Q== X-Gm-Message-State: AOAM532TypNRhlqtbvOKRx4fSkcTI/WcUFaX69+iAYfkIJNYFwnePC65 gMx+sdEe/VhBTeqp5MNrwB4qzj6XJ+/WsA== X-Received: by 2002:a62:190a:0:b029:221:cd7d:7927 with SMTP id 10-20020a62190a0000b0290221cd7d7927mr3216778pfz.27.1616697858882; Thu, 25 Mar 2021 11:44:18 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id t6sm6205828pjs.26.2021.03.25.11.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 11:44:18 -0700 (PDT) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" , Fabio Estevam , Jaehoon Chung , Peng Fan , Sean Anderson Subject: [PATCH v3 2/2] doc: device-tree-bindings: regulator: anatop regulator Date: Fri, 26 Mar 2021 02:44:07 +0800 Message-Id: <20210325184407.37915-3-grandpaul@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210325184407.37915-1-grandpaul@gmail.com> References: <20210325184407.37915-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) Cc: Fabio Estevam Cc: Jaehoon Chung Cc: Peng Fan Cc: Sean Anderson --- .../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: Sean Anderson 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>; + };