From patchwork Sun Mar 7 18:18:47 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: 1448717 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=JEhwj64B; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DtqW72dpvz9sWP for ; Mon, 8 Mar 2021 05:19:25 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D0E4682699; Sun, 7 Mar 2021 19:19:15 +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="JEhwj64B"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E414982652; Sun, 7 Mar 2021 19:19: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-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (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 3D36E82652 for ; Sun, 7 Mar 2021 19:19:11 +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-x1032.google.com with SMTP id kr3-20020a17090b4903b02900c096fc01deso1826475pjb.4 for ; Sun, 07 Mar 2021 10:19:11 -0800 (PST) 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=ZXapOSzX0cNkQEY3oIvC7aHZ38+G1CIkEWjuQ7N38qY=; b=JEhwj64BIjMxUTqOsL4A3S3VbdzgLLLM6VirhwUXRtJLuN6SxkR6kToa4Z0fAP/CpG +22dm4YL4t2e2HvMghO66u2GK7mSfOU1eA5ck1JyYw2jsRVKhTEMCm5ZY8rNWkMc36QA +iJyGTeLdwqV3+RAhoZ9hUc4+doUOQ7ZgJG0S8hax1rPkVOrOXs/YVu+pMdD7W8v5YmX +5Mct91CDmaBlrqN+ptalzvuRCsnJKqT6Di3xSQKNVeRjuL3IgOtC1Pd7/iy3PiCzG7j lSLFDBI5M6WHGPWRIa+UoXJh6EedcRnF0Rs0TrkDnmJI+89b8I/kMzZnlUPBXfDGan5W 6YSw== 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=ZXapOSzX0cNkQEY3oIvC7aHZ38+G1CIkEWjuQ7N38qY=; b=lAuSy9EjUOqkfgYx4wxTqhmJAI1E/lRLnUUeAjmm5Xl2DpCtXN0y+dmlYBYLxL6SWk 4CLILmHTrWd59CXMomRNlI+iTjncF4iO+54SIJhUtnnW5g/WlF921swgNdFV2G5gC820 9QGvP3VFlxF/xwth+D2lQ7e2Rj7M/D2GSg4EuoNF/ARg4Il4/CpIVKp3t0XQFt8zjjwP Ed1t6fP+7Egy6rhm21UMNJ1wbYPEf+Cyeg/WgNfAcVPyTSjrhoJ7L4f98+Wh+jsP+ofm dStOG8XfrbtNJOadoy+v/Q8QNpAEzBvwXNXFBBIUFobXm0C1Od4e1hX+WHGTL66FoHPD LDbg== X-Gm-Message-State: AOAM532IKntVrFzSOpRCEJvcdGuabtEpHFEt7wW/CnRnpNtzLPFXRikA K251rqc9hwSpf8PXqWIFx7USXZFBx1c= X-Google-Smtp-Source: ABdhPJy5GwD2Q8k/p75SE04Y+/84Y46DdY4Oh228bov4+KMZQOVEo/fS1H/1BVYBhotVI0l660l7cw== X-Received: by 2002:a17:90b:508:: with SMTP id r8mr21233357pjz.83.1615141149336; Sun, 07 Mar 2021 10:19:09 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id mr5sm7283238pjb.53.2021.03.07.10.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Mar 2021 10:19:08 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH 0/2] ANATOP regulator driver Date: Mon, 8 Mar 2021 02:18:47 +0800 Message-Id: <20210307181849.83627-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.30.1 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)" 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 .../regulator/fsl,anatop-regulator.txt | 45 +++ drivers/power/regulator/Kconfig | 10 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/anatop_regulator.c | 289 ++++++++++++++++++ 4 files changed, 345 insertions(+) create mode 100644 doc/device-tree-bindings/regulator/fsl,anatop-regulator.txt create mode 100644 drivers/power/regulator/anatop_regulator.c