From patchwork Tue Aug 11 10:09:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6990931 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 87EBAC05AC for ; Tue, 11 Aug 2015 10:10:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B0E8F20643 for ; Tue, 11 Aug 2015 10:10:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D45C9205D6 for ; Tue, 11 Aug 2015 10:10:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965027AbbHKKK1 (ORCPT ); Tue, 11 Aug 2015 06:10:27 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:36350 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965026AbbHKKKY (ORCPT ); Tue, 11 Aug 2015 06:10:24 -0400 Received: by pdco4 with SMTP id o4so82214599pdc.3; Tue, 11 Aug 2015 03:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jkZFbR+c/i6KWy4lUlzeZyVZXp3uj3QSXu3O0dtIMio=; b=TmDFIdj/1D3Xbc+K8dHY+qzAnznwnFaIXWW2gYA1CZ4lDWD3FyreU1f3jym4s7CKT4 L5ljNRyFS0xKyd/vaXkD2YWuETV692TPnhjYurFhGKMsJlPLtQgC27n4YL8bEAm47h7s RscNAnDE0gDKHvFXZIO/y8r+zYEmnRSPiLYMjz8hDn9uL/C7oeayRWvu1gwDVNF4iSLy wPD/3valH1B9Tx0u5wtkbM7p2E4L96zg9h6ZjUvp1RZo+X1nO3b03nhTrIEmDfNAqsPo Sy9wnKrB2sJawsmFc6Dx5QakwGE1w5sjdUBr2eYo4o7Bp83OVkAuypcLuUXr3kbOjYMV MHUA== X-Received: by 10.70.109.232 with SMTP id hv8mr51826079pdb.108.1439287823621; Tue, 11 Aug 2015 03:10:23 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by smtp.gmail.com with ESMTPSA id rt6sm2001832pbb.62.2015.08.11.03.10.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Aug 2015 03:10:23 -0700 (PDT) From: Krzysztof Kozlowski To: Sangbeom Kim , Krzysztof Kozlowski , Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Anand Moon , Javier Martinez Canillas , Krzysztof Kozlowski Subject: [PATCH v2 3/3] ARM: dts: Fix power off method on exynos5422-odroidxu3 Date: Tue, 11 Aug 2015 19:09:06 +0900 Message-Id: <1439287746-14034-4-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439287746-14034-1-git-send-email-k.kozlowski.k@gmail.com> References: <1439287746-14034-1-git-send-email-k.kozlowski.k@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Odroid XU3 family boards have ACOKB pin of PMIC grounded, instead of pulled up as usual. This means that PMIC must manually set PWRHOLD field in its CTRL1 register to low before initiating power down. This fixes Odroid XU3 powering off: [ 25.966053] reboot: Power down [ 25.967679] Power down. [ 26.070174] Power down failed, please power off system manually. Signed-off-by: Krzysztof Kozlowski Reported-by: Anand Moon Reviewed-by: Javier Martinez Canillas --- Changes since v1: 1. Add Javier's reviewed-by. --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 1565667e6f69..48cecc8cf26e 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -159,6 +159,7 @@ s2mps11,buck2-ramp-enable = <1>; s2mps11,buck3-ramp-enable = <1>; s2mps11,buck4-ramp-enable = <1>; + samsung,s2mps11-acokb-ground; interrupt-parent = <&gpx0>; interrupts = <4 IRQ_TYPE_EDGE_FALLING>;