Message ID | 20210327134652.155431-1-grandpaul@gmail.com |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2259244jai; Sat, 27 Mar 2021 06:47:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxvutwfQi3eIJI/evlwg4QeFTabKJtI5BBtdd/5GM8vyEn8uC/cnmYdU1qPwwplQFtqvGJ X-Received: by 2002:a17:907:2075:: with SMTP id qp21mr20895916ejb.451.1616852840176; Sat, 27 Mar 2021 06:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616852840; cv=none; d=google.com; s=arc-20160816; b=mMRQZBLg/9tKp5kZz3pONp/IX6iQR5wPLQTUR/6Q3tnttA0tI9ztf2QuET86j6Erbq rEQBOQG8DwV/No/q8yzPYRHModhh4gqZtE3zkMNaDA+q6Z2cv0BEyJGoYdAhUtOPHRZ+ Y/Rc3RhSfRkFlE2dKZA7deCVYOUKpKf5YPR05CX7f/O3jvX+dIpbe3E2aU0NCDSrvMZi ZeAZL5YlczRl9MSqFW0HLSC3qDTSR6GrKc7827BVSM+qI/Uyq7661I2O8r79/PvnD4/1 6YmK4iTwK/bPTvf6juvYk6sCcmo6F5dYX1OK2f2/x6qlDljcSyvE0FceaE7oeRs1mmNu xxPg== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=/M//81YgWZQD0WmJNhEdI+XuYyVZ748IM1AJJafNAeU=; b=WBuZm1ajXzWMMcjAsyb+wRrDYG99R47SxLMsdgHSu3ieLRpaiNBNzzGjDiI0Dvv1yw +Dbic0VcxxzHSvasRbnQykObCv21vk/5Cdpz2B+pmzRk3GPOMXujJ5zmXe6HQom7pl8A 8arq4jHBYCrPqO3qFrTKVCe4nqVmGPWiaRHqxi6+dli80NqpaV0TchXhofKX5w0Z3tXr u5fLoppU8PgdBMBeWW2Q7D9gdGbewp1AN0nLUO/KCYqZRVsO7dH9UlxHUWYxTRUS3pMA McSwz4tjUn20WfK/ak86RA8jQ4qNln/2CVovRRM2id4P/gabudRfwwHoQjyl/6+ScTSP fNlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P6Mv5Qyh; 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: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id gf19si10235421ejb.500.2021.03.27.06.47.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 06:47:20 -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=P6Mv5Qyh; 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 EFFED828B9; Sat, 27 Mar 2021 14:47:08 +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="P6Mv5Qyh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7E09B828C3; Sat, 27 Mar 2021 14:47:07 +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-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (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 B11C682898 for <u-boot@lists.denx.de>; Sat, 27 Mar 2021 14:47:04 +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-x535.google.com with SMTP id 32so6492651pgm.1 for <u-boot@lists.denx.de>; Sat, 27 Mar 2021 06:47:04 -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:mime-version :content-transfer-encoding; bh=/M//81YgWZQD0WmJNhEdI+XuYyVZ748IM1AJJafNAeU=; b=P6Mv5Qyh1qx1JGmNss7k51IC28c3TJfNkoJbyrBBSkNTariDkFTq7Sm9glwMP8gb9h btID6uU8X3kXN+P5tlzlvQ9tFNe2ouGh1OvVoYjeytsYWNT/QqdqO5pIF9L8BphlU2Tn Z4wEDDBZKjC8+zdpTBTFkcxXpmvLOJlxJpHe0GFhEcLpy0+DeN5hOfNZ+D0SI/iUWuRT K6qODJGjlZbjRizvyvHAk2HlXUlvkWhqUZcD0mvqSPXDrmqv1UE04gCfZn6CS3GT99mP zh0OwcgBc32S4oqf6PQN+6FxwIPjoIQrYpd2g8twCUzlaOAywGJ6HE1Q9j0WCPSarq71 X88A== 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:mime-version :content-transfer-encoding; bh=/M//81YgWZQD0WmJNhEdI+XuYyVZ748IM1AJJafNAeU=; b=gpJSS/CEHHuPNPWq41ZTHgymzRvjDDIN0uW9vkRyFlFpPbxOZZ/0JKzNnxZGn4K17i RYcTygoAr0HOFptAassXxoFwbzKgaOniIWHPC/93kA66j2noxv/QMmzjXqCrJGjiokHJ 978+DtveU3/hLBEsdg8L0IopcLNorl8LHTLXUU2gLiKu8hi5x8aS9lRfQyqHC7nGV99v BNDaQfhhd02jVOx8KpVcq1OV+pK5fnhzwTdTR7F6/hgbcQZaeZDxdg7rKoCffJracnSl Jspb+Vm7E/b7cxQAACzwKv3Z3g9ecnS45VepLla8bNBSMcdLF0F9DJ/n2SLme4AEetUJ wTtg== X-Gm-Message-State: AOAM530n69g85GZCtyiC3UaZyhSWQdcxooAZ+xKkWDayPjjL1nRrI+Fj +oF10u9VdgNqSW0tWPA82UXCFYQg4eo= X-Received: by 2002:a62:33c6:0:b029:225:5266:28df with SMTP id z189-20020a6233c60000b0290225526628dfmr4193574pfz.7.1616852822569; Sat, 27 Mar 2021 06:47:02 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id y26sm8064221pfq.187.2021.03.27.06.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 06:47:02 -0700 (PDT) From: Ying-Chun Liu <grandpaul@gmail.com> To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org> Subject: [PATCH v5 0/2] power: regulator: add driver for ANATOP regulator Date: Sat, 27 Mar 2021 21:46:50 +0800 Message-Id: <20210327134652.155431-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
power: regulator: add driver for ANATOP regulator
|
expand
|
From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org> Anatop is an integrated regulator inside i.MX6 SoC. There are 3 digital regulators which controls PU, CORE (ARM), and SOC. And 3 analog regulators which controls 1P1, 2P5, 3P0 (USB). This patch adds the Anatop regulator driver. Ying-Chun Liu (PaulLiu) (2): power: regulator: add driver for ANATOP regulator doc: device-tree-bindings: regulator: anatop regulator v2: add functions for set selector and delay. Define ANATOP_REGULATOR_STEP v3: add vin-supply. move regmap retrival to probe v4: check control_reg and return -ENOSYS if error. check vin-supply error v5: fix typo "wrie" -> "write" .../regulator/fsl,anatop-regulator.txt | 45 +++ drivers/power/regulator/Kconfig | 10 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/anatop_regulator.c | 278 ++++++++++++++++++ 4 files changed, 334 insertions(+) create mode 100644 doc/device-tree-bindings/regulator/fsl,anatop-regulator.txt create mode 100644 drivers/power/regulator/anatop_regulator.c -- 2.30.2