From patchwork Thu Jan 31 12:47:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10790455 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 3A025746 for ; Thu, 31 Jan 2019 12:47:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 283C530C5A for ; Thu, 31 Jan 2019 12:47:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17BE930C66; Thu, 31 Jan 2019 12:47:41 +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=ham 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 020A930C5A for ; Thu, 31 Jan 2019 12:47:39 +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: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:In-Reply-To:References: List-Owner; bh=YJ82znveN1TpyLNhideGDEuPCqLIAwuvkXJRV0kZMUs=; b=pyBxiWGCZJXW92 v/pmOLhjVjcfca2f8SYMAQiTaLhoYhPcihthiDSsXUtUrY9Yz+qIkpwP2CZpPd9JxBDWwu1YEvEy7 jTJYExJB9ZLjD2XTlDkqN9MUhtsbA4mpcjGzgH+irBk4gUg+uYM19Wr/dHSkTcQIywQzT1wnm9NvC kvtXISXkGXHAK04m5jTRNRXiYac25DMWrwGi7xjOBycKG2YJvbkuIi7vjuqKOG2CBuvDmC7QeCd7e 6LSMWrJJRU2cm706w7WNL7AkG7ix5OH8cvdYcH52SbYRgEYvUzENPqz9drwlb+qjdeoYsvGkFzOOa yr3y/kGabzp/IDF9kskg==; 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 1gpBkk-0005PR-Pf; Thu, 31 Jan 2019 12:47:34 +0000 Received: from mail-qk1-f194.google.com ([209.85.222.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpBkY-0005EF-67; Thu, 31 Jan 2019 12:47:23 +0000 Received: by mail-qk1-f194.google.com with SMTP id z18so1736743qkj.10; Thu, 31 Jan 2019 04:47:21 -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:mime-version :organization:content-transfer-encoding; bh=HQswkCzqG31A9o+Cr/uokIq8kA6vxCiTIvuOp30FHCM=; b=WHwLTq/Q+r5zVO5oi3UlsHpT6zvExfWOXYsjB4SNjcbLoJyRHwM5jqKcCyylzK2Kj+ fy/QNI4jNqwnJR8U+5kBLWRDfuZfWC4VFNrzT8pOQ3fRmi4QiXrN0LQMR8DAZVvKwKTR pyoMtSf3XRxdcSz1Sc7TKpuyeEdvW87h2JR2Afng5eDv6UfAa7EVmjV2jClAn+u899m0 o2EPaNt8qSvAl9PBEWpL3jHGRrd2niAl3kczdceBW7X5JHUEeb1T4LnqGNq66IAFcpUA j4XIHYG13ZoyNpxU9attIDkgQPhGWexBgJuepe/+MZICaZjjYppnrozqt9th2XU4YFAB 1taA== X-Gm-Message-State: AJcUukc+/wusSozXIBtTM10Ltj4YWn3VBJHHa2iV7dNdIDS6cGuR1VQA a5Xn3F5EcTYUzbjCM43OSzdMlv7k X-Google-Smtp-Source: ALg8bN5D4iYg9xlqNIE0ppsqyfPMKXpHpCs7SVzfT0yjmXvVJO0j2uhjcPZTSnci+TeXn4QOaJYFCw== X-Received: by 2002:a37:62d3:: with SMTP id w202mr30651678qkb.357.1548938840744; Thu, 31 Jan 2019 04:47:20 -0800 (PST) Received: from localhost.localdomain ([181.220.86.121]) by smtp.gmail.com with ESMTPSA id o21sm3706286qto.18.2019.01.31.04.47.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 04:47:20 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Thu, 31 Jan 2019 10:47:11 -0200 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/3] ARM: dts: rockchip: rv1108-elgin: Fix vcc5/6-supply representation Date: Thu, 31 Jan 2019 10:47:07 -0200 Message-Id: <20190131124710.30238-1-otavio@ossystems.com.br> X-Mailer: git-send-email 2.20.1 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_044722_225752_7C4A7F46 X-CRM114-Status: GOOD ( 12.71 ) 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 On rv1108-elgin-r1 board the RK805 VCC5 and VCC6 supplies come from the BUCK2 regulator at 2.2V, so fix the representation in the device tree. While at it, rename it from vdd_cam to vdd_buck2, which is a better name for the regulator label. Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/boot/dts/rv1108-elgin-r1.dts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/rv1108-elgin-r1.dts b/arch/arm/boot/dts/rv1108-elgin-r1.dts index 658057d871af..66688fdf4fd8 100644 --- a/arch/arm/boot/dts/rv1108-elgin-r1.dts +++ b/arch/arm/boot/dts/rv1108-elgin-r1.dts @@ -74,8 +74,8 @@ vcc2-supply = <&vcc_sys>; vcc3-supply = <&vcc_sys>; vcc4-supply = <&vcc_sys>; - vcc5-supply = <&vcc_sys>; - vcc6-supply = <&vcc_sys>; + vcc5-supply = <&vdd_buck2>; + vcc6-supply = <&vdd_buck2>; regulators { vdd_core: DCDC_REG1 { @@ -90,10 +90,12 @@ }; }; - vdd_cam: DCDC_REG2 { - regulator-name= "vdd_cam"; - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <2000000>; + vdd_buck2: DCDC_REG2 { + regulator-name= "vdd_buck2"; + regulator-min-microvolt = <2200000>; + regulator-max-microvolt = <2200000>; + regulator-always-on; + regulator-boot-on; regulator-state-mem { regulator-state-disabled; }; From patchwork Thu Jan 31 12:47:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10790459 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 4B214922 for ; Thu, 31 Jan 2019 12:48:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B61330C60 for ; Thu, 31 Jan 2019 12:48:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D96F30C84; Thu, 31 Jan 2019 12:48:08 +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 D108B30C60 for ; Thu, 31 Jan 2019 12:48:07 +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=ieP37mPZDKHpsK8PUofQG6K3n4E8YoVNzU8ijUUrIVE=; b=MeHytnDBC7Z2U6 NImVUe6D65d/wbn0WTugYyEzJqlscW5D3Zrw5m0gtQ0ODQ+WwB87Ua1KbjfGBglxokwkbJUBDH96w K6cgVjkWcoXZeMMMaiSFBAja6R6whRGD25v0rYjP4PK6s/iIjlwws6/tW1A7Ir32HQFJeFKNKIBHY MpXBR2i6dWlafjFeknBMb3NmN/KTGDqhMYpNyD/qB9t1eitS9ni5uBTFr0Vg1gJMQ3b1gJwGH4BB+ ZcIFxzCT68OhBy3jhB3YWrdClxk9sryE2YuSuy3U8+Yn+ZQAt8tfx/ZRbALCREPoClfjRbWuw4B4B Ysxd9LArG09MyVc+m3Ig==; 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 1gpBlE-0005pB-4O; Thu, 31 Jan 2019 12:48:04 +0000 Received: from mail-qt1-f193.google.com ([209.85.160.193]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpBkg-0005Je-Bg; Thu, 31 Jan 2019 12:47:36 +0000 Received: by mail-qt1-f193.google.com with SMTP id d19so3225925qtq.9; Thu, 31 Jan 2019 04:47:30 -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=DOY0na8Wg7iyK4mJ/SZnMyCR5yw4bav4pLPRTRGmFrg=; b=fTtiztswNeTjDJM3YMKRZcdOz75DAyGymbD+Axe2cqNhAf4mQ3LwarGyuchCJeUnhI ZlpS8O85CxyGvkJ3vaSAmzLSrrr+lJ9gZpr0kF7hXdOZDCHqGdfCNX78G5VVweibvuIE QPgz/v2ZvE5r8qTrW5M6sjL/pVlFdqu1qSz3oQnho9yfZxg3qGC9vdvEaQnm6C8NnCSJ BpE4lNA8FKr/IGNI8hiCUfIRi9dkINeqoBvF7E3rJfJpLwPu3mg274q5uyC8GzcfkYoG SfhReL7PlYVx0SwaWsQg82gJ9S+pNidZEPZHxe9uTBzst/dpA7knzA6OpPLCl13GUD4m +Svg== X-Gm-Message-State: AJcUukcAEeFnpc5HGFWmTemcAXUuHqvQJcrOaa3tZ57oqRFKvj5/Umjc jFB0cWt2crWF+k2qw0vCqpEDsBN+ X-Google-Smtp-Source: ALg8bN6ZFd7Wi+q3Xu4AZh7PdCMFxAFu+vydlguUiIFOCGI22nIgqT5+2P09Nq3yMWONZazJQ6WA7Q== X-Received: by 2002:a0c:d065:: with SMTP id d34mr31290726qvh.209.1548938848924; Thu, 31 Jan 2019 04:47:28 -0800 (PST) Received: from localhost.localdomain ([181.220.86.121]) by smtp.gmail.com with ESMTPSA id y68sm2886835qkd.49.2019.01.31.04.47.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 04:47:27 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Thu, 31 Jan 2019 10:47:21 -0200 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/3] ARM: dts: rockchip: rv1108-elgin: Use the correct regulator properties Date: Thu, 31 Jan 2019 10:47:08 -0200 Message-Id: <20190131124710.30238-2-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_044730_815555_60940664 X-CRM114-Status: GOOD ( 13.11 ) 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: None 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 66688fdf4fd8..1c4507b66fdd 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>; }; }; }; 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>; }; }; };