From patchwork Tue Jan 29 19:54:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10787189 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 49ADC1390 for ; Tue, 29 Jan 2019 19:55:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 377DB2D07D for ; Tue, 29 Jan 2019 19:55:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 292BF2D09C; Tue, 29 Jan 2019 19:55:45 +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 C33EF2D07D for ; Tue, 29 Jan 2019 19:55:44 +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=2aS7s4NjDQgKRGyfTnuOL3MpCgUTu+hH/sQYWt3yxYE=; b=JfhJMNdztDbrAj WQXevZQDIqqqsCgg+/6gxFAlgTtinB1yNXyJmI0c2rXFojgAPamwEduVNCE/vsQG+L+2yHUooHx+T PJqkUs0iPYyLGt08s1/g+JCABmqHTYhZeNZeDk8eSiq3qB3QGg/unxVN/Tu3pN28xCtS9WIvtqv5s lRXgz5aJZHQySjR+/VcC9HeE5lR2gkX0NZisZejgNpeoBGpqMnwELH80g2a+Wd1dJhN8piFD69uFW Xr8v+TH/CURrrcR1r8Ek+eMWXKF0hfz3jzh+kgclTJsRqnDwt9mVg2lwzbjIybUBlNnQIxV1fFE/X hr3u7l/D0rz6Z7BshUqg==; 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 1goZTv-0001l6-34; Tue, 29 Jan 2019 19:55:39 +0000 Received: from mail-qk1-f195.google.com ([209.85.222.195]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1goZT9-0008IZ-AQ; Tue, 29 Jan 2019 19:54:54 +0000 Received: by mail-qk1-f195.google.com with SMTP id c21so12292463qkl.6; Tue, 29 Jan 2019 11:54:51 -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=YfdZ0pFeestCCoBpwNdQi//11yLabafdERytJZT1uSY=; b=BxLDnklRMV1z8jh0d9atoR36wKiHVkFzI8WrLNZ7Qp3rG8FysXWiBGQ7/5BHQsVF8/ qP6xwAuilNTqtU2I8taoECd34uwd0BJ3mam7jQPS9JJzp1KW0Gyff71JVuIABfnPVvBd CnPDtVBbpWnhENwLx1OM3q0cL4kZglpv4TCVRIlkSIoi2i6LL1q1TkXNAg4ox209qb0Y ZW9fomlhQC/p/YGZUkJBSx1TBBRloKdJyo9Q8H04LOUlHgu07525qTKEJcMtBANqecZm Bt4aadAwVUgIWTQewC+SyxHPlMKsJ7r0jFhc4MpjTFzxeTqhCH8xMndplEOjbKtCe9mq JnCA== X-Gm-Message-State: AJcUukddERJ7F0X6cSdHIzMCp2mwtMqLCdTpS9ZL6Sc+0EnQwYrzpr9W MRqLh+j+aaIO2LEqwcVbgWbX8SzT X-Google-Smtp-Source: ALg8bN7W/xAFZJ0vpoB16xhxXNxjK6+BHsDBb+n1vGdAHPIJKPO3auQjxqlbLKm7nEIw0l6bXKxNkA== X-Received: by 2002:a37:72c3:: with SMTP id n186mr24139391qkc.340.1548791689695; Tue, 29 Jan 2019 11:54:49 -0800 (PST) Received: from localhost.localdomain ([181.220.86.121]) by smtp.gmail.com with ESMTPSA id s9sm105268727qta.35.2019.01.29.11.54.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Jan 2019 11:54:49 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Tue, 29 Jan 2019 17:54:42 -0200 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] ARM: dts: rockchip: rv1108-elgin: Use the correct regulator properties Date: Tue, 29 Jan 2019 17:54:23 -0200 Message-Id: <20190129195424.10161-3-otavio@ossystems.com.br> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190129195424.10161-1-otavio@ossystems.com.br> References: <20190129195424.10161-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-20190129_115452_188992_71772D0B X-CRM114-Status: GOOD ( 12.63 ) 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 --- arch/arm/boot/dts/rv1108-elgin-r1.dts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/rv1108-elgin-r1.dts b/arch/arm/boot/dts/rv1108-elgin-r1.dts index dc2ae1731ae2..ef31fee8acec 100644 --- a/arch/arm/boot/dts/rv1108-elgin-r1.dts +++ b/arch/arm/boot/dts/rv1108-elgin-r1.dts @@ -85,8 +85,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>; }; }; @@ -97,7 +97,7 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-disabled; + regulator-off-in-suspend; }; }; @@ -106,7 +106,7 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-enabled; + regulator-on-in-suspend; }; }; @@ -117,8 +117,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>; }; }; @@ -129,7 +129,7 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-disabled; + regulator-off-in-suspend; }; }; @@ -140,7 +140,7 @@ regulator-always-on; regulator-boot-on; regulator-state-mem { - regulator-state-disabled; + regulator-off-in-suspend; }; }; @@ -151,8 +151,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>; }; }; };