From patchwork Thu Aug 16 01:49:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 144299 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1495108ljj; Wed, 15 Aug 2018 18:49:37 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxff97H9PMfhGiQdUleJ4/SxgLSdUgb+GpVxBYXrg0xzk40JgnUZr9bVo/1K1JTyEL2l/8s X-Received: by 2002:a62:1089:: with SMTP id 9-v6mr29442975pfq.30.1534384176911; Wed, 15 Aug 2018 18:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534384176; cv=none; d=google.com; s=arc-20160816; b=ghjhktuUWwgEFUxyafgoI4lZsUQpRROmm7CWhF9HViX+PUExHq6Z0M1ghOBg8wZl2c ruze3lejNNSihEqcwzoa7u65ReelXbLo3hzkh0U4dZE3QN+7Vq3ITS49RANjgOE7Ec7c lA2rrobtI64KDff6DoBMlyB/Py4zsJWzfLe56fPYpjQIiNPPmlJC8pp3t7yR4wwnEqmU GeW3i4winoTgAeHiIuMGnCwPd+zF0wr9gSqRnDR0XNEdD2NELQKAanEc/8d9TQqpGuYq AiojwqqY5HeTa5bv6fJBLtQ58hor7tDgZt4jucXRncaHuywWMgWFVLnSiJmj3a5qzQfW NI3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=0Fk69iwMqXXa/MFhRDadQ8MEvPK4PqRi+gItG3vwVDM=; b=tc1RCfZAaHQKsPeeJDmV7nltbB0zxj3zfhDJYuF+eK/Ljj5OC1dk6j3S/t0t0SrIeV eUmPNvhr40D6ljW+/R/cIGIoewPQwYL0gOrwnA669JDp19AP01IYyR30zJT8iOXD0Z7k ePqkJLyvy4SPEOSzx0xrJinn2fMQAiPbNSUCtsJ/q0qntIH//fLHKKvAOtLOd6iU7B5p +EWpPEQeKIhes730r/uYtCLS0cPYxrtRN3jpo0YZNuHvD7bpVhg+OZVoQ8eOUIoY/D2g zPAZZqXuIowpw5Pnv6etYKDyln8W6R0T/xL31U81xTNfeZQyZRen2PRY71YzkpTR/SKe vDRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bHZ7ayBE; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id z18-v6si24123520pgg.332.2018.08.15.18.49.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Aug 2018 18:49:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bHZ7ayBE; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 84B55210F2D0D; Wed, 15 Aug 2018 18:49:36 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::444; helo=mail-pf1-x444.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 77FA521962301 for ; Wed, 15 Aug 2018 18:49:35 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id y10-v6so1260536pfn.8 for ; Wed, 15 Aug 2018 18:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uPHPCgp67DQlhtcAI70IgA5R0w58/Kde4mcGknxhhMU=; b=bHZ7ayBEXbDS23y53Utp30odue/Z6MubZwtH9+lflWxaGBnf8oZMM+a3QmnS88Wgtz r9HJNZg5bcdJ01Bh85JDYe+/TvKSwJvbiGSC1roBpGujn0lDixUzwJf00eKzuGlsfin/ ayxKSjX1+bSVQVAr80dcYR2JNft1/AxhP9jyI= 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; bh=uPHPCgp67DQlhtcAI70IgA5R0w58/Kde4mcGknxhhMU=; b=soVX/hWdvur0FmiNZ0jgH/BWVwyBWuqN9btLwXFYpnz3SYrMNGI+0DksnUJUObKVp9 Y8nYVMolj5ntExZVv4wY9nBh5DF28C6u4lsz1BceTzDyXc2kWec3mnMLaHuJIfx21wLb 9mYL2jARTLdHznzb+L/6G+VAcbQfUgszHH/U+Isc9gPpZ0g4ry6+KbhsvHbFTiD1NW2E 2aoi2DYUpkYv6QRd9IpVVXspQzsvZ6KHh//j+pn+wZsuPxwlGIxkuf0CdTidcel4CPiX 6Re2NvvSp7Ve09Fpb/nX8c72Y0xxTvl6uPaG3DbL7EjZCXnToZ68wjkA9B9dt2e3cyK0 BWXg== X-Gm-Message-State: AOUpUlFkPL4QetzLliRZy5JCNHeJayDlvTO8przBbxn+1EwmbwUGk6we dYNi5eIqQ9dcN7GY5DV44rjlbbTW/RZdGg== X-Received: by 2002:a62:e0d5:: with SMTP id d82-v6mr30057984pfm.59.1534384174905; Wed, 15 Aug 2018 18:49:34 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.56]) by smtp.gmail.com with ESMTPSA id c1-v6sm45536108pfg.25.2018.08.15.18.49.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Aug 2018 18:49:33 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Thu, 16 Aug 2018 09:49:24 +0800 Message-Id: <1534384166-15673-2-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534384166-15673-1-git-send-email-haojian.zhuang@linaro.org> References: <1534384166-15673-1-git-send-email-haojian.zhuang@linaro.org> Subject: [edk2] [PATCH v2 edk-platforms 1/3] Silicon/Hi3660: fix LDO9_VSET register definition X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Fix the LDO9_VSET register definition in PMIC. LDO9 is used by Designware SD controller. Without this fix, SD controller fails to operate SD card since lack of right voltage setting. Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Silicon/Hisilicon/Hi3660/Include/Hi3660.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/Silicon/Hisilicon/Hi3660/Include/Hi3660.h b/Silicon/Hisilicon/Hi3660/Include/Hi3660.h index 5fbf32267657..6e0587f7783a 100644 --- a/Silicon/Hisilicon/Hi3660/Include/Hi3660.h +++ b/Silicon/Hisilicon/Hi3660/Include/Hi3660.h @@ -58,7 +58,7 @@ #define USB3OTG_PHY_CR_CAP_ADDR (1 << 0) #define PMU_REG_BASE 0xFFF34000 -#define PMIC_LDO9_VSET_REG (PMU_REG_BASE + (0x068 << 2)) +#define PMIC_LDO9_VSET_REG (PMU_REG_BASE + (0x06b << 2)) #define LDO9_VSET_MASK (7 << 0) #define PMIC_LDO16_ONOFF_ECO_REG (PMU_REG_BASE + (0x078 << 2))