From patchwork Fri Feb 25 13:54:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Oberfichtner X-Patchwork-Id: 1597689 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=OMciY+75; dkim-atps=neutral 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=) 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)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K4rrs3zsFz9sG2 for ; Sat, 26 Feb 2022 00:55:41 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3729D83C7A; Fri, 25 Feb 2022 14:55:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1645797338; bh=nxH40OPb2d9Iszg58uF7F8BJE03eT801EaN+No9ntmk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=OMciY+75trvk4Ml9NknWiMhH/1/DHJ5Cu+sDK4KjT9NcxR8/mB7RXGYUBfuKOotEo S9ffQKFuOGG37d0wenOK1oGR7THS/yOa8t/pVUlGcZotiZzPZ6RoHxSK59mibQqt0F c6hZGsK0og0sG+mueahKgVkO9SIOsNg9l2CBboxX7pEsSzQ2dpqOHlpaDvkR1EwlrO fyH6vDoSzO/QDDfGvJyj72jUpDISiFdjuk2qEkhVYLjnaoi1lS2D567vXoB0LUiZ82 CuLcC+O4DbuhsaKKSfe/E8LOdVkGmfQ2AFzdVph62MycAIiXX6ro94JkaKDWdhR9qE j+nWc9qU2aKRw== Received: by phobos.denx.de (Postfix, from userid 109) id C7E11837F6; Fri, 25 Feb 2022 14:55:36 +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=-0.3 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from xpert.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0FF8B83C81 for ; Fri, 25 Feb 2022 14:55:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=pro@denx.de Received: by xpert.denx.de (Postfix, from userid 535) id B67D53E02DD; Fri, 25 Feb 2022 14:55:33 +0100 (CET) From: Philip Oberfichtner To: u-boot@lists.denx.de Cc: Heiko Schocher , Philip Oberfichtner , Jaehoon Chung Subject: [PATCH 1/2] power: pfuze100: Add MEMx register definitions Date: Fri, 25 Feb 2022 14:54:03 +0100 Message-Id: <20220225135405.1724365-2-pro@denx.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220225135405.1724365-1-pro@denx.de> References: <20220225135405.1724365-1-pro@denx.de> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.5 at phobos.denx.de X-Virus-Status: Clean Add missing MEMA - MEMD register definitions for PFUZE100. Based on work from Heiko Schocher . Signed-off-by: Philip Oberfichtner --- include/power/pfuze100_pmic.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h index f4383ed778..278f2549bf 100644 --- a/include/power/pfuze100_pmic.h +++ b/include/power/pfuze100_pmic.h @@ -18,6 +18,11 @@ enum { PFUZE100_REVID = 0x03, PFUZE100_FABID = 0x04, + PFUZE100_MEMA = 0x1c, + PFUZE100_MEMB = 0x1d, + PFUZE100_MEMC = 0x1e, + PFUZE100_MEMD = 0x1f, + PFUZE100_SW1ABVOL = 0x20, PFUZE100_SW1ABSTBY = 0x21, PFUZE100_SW1ABOFF = 0x22,