From patchwork Thu Jan 31 12:47:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10790463 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 04232746 for ; Thu, 31 Jan 2019 12:48:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9D9D30C60 for ; Thu, 31 Jan 2019 12:48:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAE6A30C84; Thu, 31 Jan 2019 12:48:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9221330C60 for ; Thu, 31 Jan 2019 12:48:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=78lEz7I0+6ucn86JupmNNDawNLMPj5wrVEzihMlijyY=; b=FeZEB1LPBIZNNo Bi0AkCuOs71n4rViNfEfBOHXchUFQmP+vYGGJ18F/wZ5RcTJLtgJyAoCuHdxDx44kwGQkM852kp0E ekeMfmzV3iezXDBjXYEkUWWpwRGDxxECrbUjlMGnA8IxmqJ2NyGWepgXqMuR0R0KIqD9DIFzG5Fj9 jUe1a27PWLsdOB2IWYOdE48LVJsZUHj3tkOJR8GJXmdF9qvKdozsraXFZT5+TNyxvecKQSiU8KQ0q wOZgwOg8NJn0m7lSmxgTYau9g7IB7uhCuzwzcZOLxC54Z5Wlaxdc4mnYBZ9o3rcS9w0TVkTsUFsyn 9tDZjXJlmbOypipC+K8g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpBlW-00066L-Vz; Thu, 31 Jan 2019 12:48:23 +0000 Received: from mail-qt1-f194.google.com ([209.85.160.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpBko-0005T2-4h; Thu, 31 Jan 2019 12:47:41 +0000 Received: by mail-qt1-f194.google.com with SMTP id t33so3265106qtt.4; Thu, 31 Jan 2019 04:47:37 -0800 (PST) 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:mime-version:organization:content-transfer-encoding; bh=xBSoSCuZb2B8/w9VdnWvUIjsj7+NlFgkfKIRaCleZIs=; b=VN8PkNFGuth6zve469LD8VFV1/wj3kzZQXofGwwZMhT9pcvudY2eGGVqg/L0Ec3Kz/ PR/3TA8iFMjWebl531xKdgdOa4tMfir8Ak0DYJje5z7fP1nIdPRW1z33f2BePrMeLiKe deqTAmjTKt/gHI0rZwGESH0JbduIVfxnjwjwNXfDl0yNEv2V6sSVbGGOUxc3FghFLsqv TIxOvDUtikNlJ0Uw770Ds17sX9K5u/HB15Ypd+WehjUxV5At3QY6Il5d4UBIcZ8gdUya pxx2SiYQJGy8ywpRBNfdSqFTBW5uKosoO1n1TpwWpS1Epm+o5xz2RWVbuk4vnNW9S0L+ UwEA== X-Gm-Message-State: AJcUukevNUS8Zf0o/x5EVrLzelq7c8ye7Xz3ftKKb9dcHNf3jlia4MZX aB9AOI3Ac9OFrGSBBbD+TxZm9nCu X-Google-Smtp-Source: ALg8bN7Vt/DN3dGcKPypW64rUyzI/Ix7TXSRmoZ2DvcnRg3hiD8bWHiztP/xiQXleq1pK3cqDCTEwQ== X-Received: by 2002:aed:242e:: with SMTP id r43mr34659813qtc.128.1548938856744; Thu, 31 Jan 2019 04:47:36 -0800 (PST) Received: from localhost.localdomain ([181.220.86.121]) by smtp.gmail.com with ESMTPSA id c17sm5675052qtb.14.2019.01.31.04.47.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 04:47:35 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Thu, 31 Jan 2019 10:47:29 -0200 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/3] ARM: dts: rockchip: rv1108-evb: Use the correct regulator properties Date: Thu, 31 Jan 2019 10:47:09 -0200 Message-Id: <20190131124710.30238-3-otavio@ossystems.com.br> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190131124710.30238-1-otavio@ossystems.com.br> References: <20190131124710.30238-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_044738_664633_F67A5A3A X-CRM114-Status: GOOD ( 13.89 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jason Zhu , devicetree@vger.kernel.org, Heiko Stuebner , Otavio Salvador , linux-kernel@vger.kernel.org, Rob Herring , linux-rockchip@lists.infradead.org, Tony Xie , Vicent Chi , Andy Yan , Mark Rutland , Philipp Tomsic Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The following properties: - regulator-state-enabled - regulator-state-disabled - regulator-state-uv are not valid ones as per Documentation/devicetree/bindings/regulator/regulator.txt Fix it by using the correct properties as per the dt bindings. Signed-off-by: Otavio Salvador --- Changes in v2: - rebase on top of linux-next arch/arm/boot/dts/rv1108-evb.dts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts index 203d83e3bbf5..30f3d0470ad9 100644 --- a/arch/arm/boot/dts/rv1108-evb.dts +++ b/arch/arm/boot/dts/rv1108-evb.dts @@ -97,8 +97,8 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-enabled; - regulator-state-uv = <900000>; + regulator-on-in-suspend; + regulator-suspend-microvolt = <900000>; }; }; @@ -107,7 +107,7 @@ regulator-min-microvolt = <700000>; regulator-max-microvolt = <2000000>; regulator-state-mem { - regulator-state-disabled; + regulator-off-in-suspend; }; }; @@ -116,7 +116,7 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-enabled; + regulator-on-in-suspend; }; }; @@ -127,8 +127,8 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-enabled; - regulator-state-uv = <3300000>; + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; }; }; @@ -139,7 +139,7 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-disabled; + regulator-off-in-suspend; }; }; @@ -150,7 +150,7 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-disabled; + regulator-off-in-suspend; }; }; @@ -161,8 +161,8 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-enabled; - regulator-state-uv = <1000000>; + regulator-on-in-suspend; + regulator-suspend-microvolt = <1000000>; }; }; };