From patchwork Wed Jul 26 08:28:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 108737 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp530068qge; Wed, 26 Jul 2017 01:28:38 -0700 (PDT) X-Received: by 10.99.130.72 with SMTP id w69mr177744pgd.70.1501057718120; Wed, 26 Jul 2017 01:28:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501057718; cv=none; d=google.com; s=arc-20160816; b=TL0KuX+zaTLdgZl244rYI9QQi2Wno6Ywj5fNPtrFPzXrwyIev6TDRKEPv2JJoSsH5V V1oowtjGQyffCDRAmaK5e2XLqDVC30U+J2H5y2Aqv8+KEPlQI+XyP0vz4gsasUkNAH2T kcuHqHqXGfqfmH0jk7wNzd0k3hNO7RsSdfyujgC+WSSfGJzi2xReuOlVTCNYtl+/c6N7 RVNIhfL7hAvIKcm+ZSVj/0kr3qXab4BeFLtoeusFIJzj6IsE+wgktheHYcvwBtzTOsWW bZaKcH5x5/fXKQwnk6G1aQZDWSfzuDG6oSLs5rPPvwx7rZ6osmaOeCHFd6DNzQwSby/F Xudg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=vKvLNzUxdK4zTWpIoOaGmAQTfXAu8zNHibBWK7rDWqo=; b=kpcclN7e7ybVFSvIA2mGaVWnKHYIyKS2VHAyIow538e4ODOZ0BFCKqa+Ga74F8R9yg +EHzWhc5xDsBPOuZbRluOrqM1GA41MGvhSBMd1MT99Pjc1pQgMB+9UsOjjUqeeBl4REP 35yTAlvBIB5RDmJSEJdpXdERH6mUr3uJu/eeR0/Kz/GgA9O6g78Ax8NS3sM/ZqJ6JZ0a PPN+EpDhzl+ohluFhddXJPjDnjCniOpLg8VaZ3x+31bH/fe9Yei4amo+L3rSLjJt1xSn k2bXMki0aC/BB30+R2CGWohJ+9aGAxaXjbi/U4Z7rZalDlYWpsqATGJGYl8ZbOd1VuFw FK6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si1775972pll.24.2017.07.26.01.28.37; Wed, 26 Jul 2017 01:28:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751013AbdGZI2g (ORCPT + 7 others); Wed, 26 Jul 2017 04:28:36 -0400 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:33276 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751459AbdGZI2g (ORCPT ); Wed, 26 Jul 2017 04:28:36 -0400 Received: by wens.csie.org (Postfix, from userid 1000) id 5CA615FDEF; Wed, 26 Jul 2017 16:28:33 +0800 (CST) From: Chen-Yu Tsai To: Lee Jones , Maxime Ripard Cc: Quentin Schulz , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Chen-Yu Tsai Subject: [PATCH v2 4/9] mfd: axp20x: use correct platform device id for many PEK Date: Wed, 26 Jul 2017 16:28:27 +0800 Message-Id: <20170726082832.16789-5-wens@csie.org> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170726082832.16789-1-wens@csie.org> References: <20170726082832.16789-1-wens@csie.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Quentin Schulz According to their datasheets, the AXP221, AXP223, AXP288, AXP803, AXP809 and AXP813 PEK have different values for startup time bits from the AXP20X, let's use the platform device id with the correct values. Signed-off-by: Quentin Schulz Acked-for-MFD-by: Lee Jones Signed-off-by: Chen-Yu Tsai --- drivers/mfd/axp20x.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.13.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index ec4271ca065c..336de66ca408 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -677,7 +677,7 @@ static struct mfd_cell axp20x_cells[] = { static struct mfd_cell axp221_cells[] = { { - .name = "axp20x-pek", + .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp22x_pek_resources), .resources = axp22x_pek_resources, }, { @@ -702,7 +702,7 @@ static struct mfd_cell axp221_cells[] = { static struct mfd_cell axp223_cells[] = { { - .name = "axp20x-pek", + .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp22x_pek_resources), .resources = axp22x_pek_resources, }, { @@ -835,7 +835,7 @@ static struct mfd_cell axp288_cells[] = { .resources = axp288_fuel_gauge_resources, }, { - .name = "axp20x-pek", + .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp288_power_button_resources), .resources = axp288_power_button_resources, }, @@ -846,7 +846,7 @@ static struct mfd_cell axp288_cells[] = { static struct mfd_cell axp803_cells[] = { { - .name = "axp20x-pek", + .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp803_pek_resources), .resources = axp803_pek_resources, }, @@ -862,7 +862,7 @@ static struct mfd_cell axp806_cells[] = { static struct mfd_cell axp809_cells[] = { { - .name = "axp20x-pek", + .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp809_pek_resources), .resources = axp809_pek_resources, }, { @@ -873,7 +873,7 @@ static struct mfd_cell axp809_cells[] = { static struct mfd_cell axp813_cells[] = { { - .name = "axp20x-pek", + .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp803_pek_resources), .resources = axp803_pek_resources, }