From patchwork Sun Dec 23 06:03:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 10741569 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 485751399 for ; Sun, 23 Dec 2018 06:05:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3538A28932 for ; Sun, 23 Dec 2018 06:05:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2898928A03; Sun, 23 Dec 2018 06:05:18 +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,FREEMAIL_FROM,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 8DEBE28932 for ; Sun, 23 Dec 2018 06:05:17 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=q09p8Totv4sh0ZSRd6NDPhXyziDadOUf591JN92v0dU=; b=DJeIc6cngT48frwf5Ug8QwqGbN 8OZlZsptLRM6rWFaxIkS3hVDW+B7poU5PLy02ivSt7jPOZ7CXM2qAcw5UuC2JBhDra8BMphGlXyr5 gF0WszJ1MrNmfaMNUUEhJS9cSMx+BhLlB4iG1mZQf4aLRgLYIxvEgSKaCBtRA7Z4RWEwgcH+Bmc1n zUF4/yf0uh5iEdYrZfeXoc7plPpb9mPvXNnlO9hH7rS2rVqwDZkzF/v2WDF7RSoBM42QUL2N76VdY CTdehJt8tTHsz1SBpfUq/2+eax5wG1c7BReDm8wJiPHbxOWpzeDFDt/lHVuIoY4VAOt0Z9gWGEAEJ Co1mnFXg==; 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 1gawsx-0000SC-Jv; Sun, 23 Dec 2018 06:05:11 +0000 Received: from smtp3.mail.ru ([94.100.179.58]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gawrq-0007al-WE for linux-arm-kernel@lists.infradead.org; Sun, 23 Dec 2018 06:04:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=0vgHvu71CwKv0MVQwNu6DHWjepqjFqRBqtBpqL7+D1U=; b=pjZa7TbcYV8CBcmNVShPRvsAnWy1rZDoLIQFfrqy5wg6KoOcn9ghMiP/wNeqllyezDbQBQVYrf40V2M78FYGN03wHkJRCQlj+rTMo9aayFB5+Txbg/8DszVhENw7oIGlN2NkXtX6Fldo3owf6BTvnjuLSuj1+V/J3arUtR9afU8=; Received: by smtp3.mail.ru with esmtpa (envelope-from ) id 1gawrb-0002TA-Pk; Sun, 23 Dec 2018 09:03:48 +0300 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] ARM: dts: i.MX51: digi-connectcore: Move RTC from SOM to JSK Date: Sun, 23 Dec 2018 09:03:40 +0300 Message-Id: <20181223060342.32054-2-shc_work@mail.ru> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20181223060342.32054-1-shc_work@mail.ru> References: <20181223060342.32054-1-shc_work@mail.ru> Authentication-Results: smtp3.mail.ru; auth=pass smtp.auth=shc_work@mail.ru smtp.mailfrom=shc_work@mail.ru X-77F55803: 0014004E1F3277295A78504BD2AC29419868B496DAF47A9FD1F5664BC9DA345E0920DE0E63D11C63F0124468BC41536C X-7FA49CB5: 0D63561A33F958A598527AAD12272E33E0772031D2666BCE061A56362A5F17648941B15DA834481FA18204E546F3947CD2DCF9CF1F528DBCF6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8B974A882099E279BDA471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249DA33821E755670D83AA81AA40904B5D9CF19DD082D7633A0E7DDDDC251EA7DABD81D268191BDAD3D78DA827A17800CE72CE3825EE585899DCD04E86FAF290E2D40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE7F595157BB51E07CBEA393B93815D931D75ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85D9B7C4F32B44FF57285124B2A10EEC6C00306258E7E6ABB4E4A6367B16DE6309 X-Mailru-Sender: 139A7956A63CACCF2A18077BC60D2445071D9EE416723301A78EAADB28B7DA57CBCCD57F2E67AF486B3B2BD4812BFD4DC77752E0C033A69E93554C27080790AB3B25A7FBAAF806F0AE208404248635DF X-Mras: OK X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181222_220403_434024_5985B2F2 X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Shiyan , Sascha Hauer , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , Shawn Guo MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP In fact, the RTC battery can only be connected outside the module, so this patch moves the PMIC RTC property and its power from SOM dts to JSK. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts | 12 ++++++++++++ arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi | 7 ------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts b/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts index 2967a74..a5010e9 100644 --- a/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts +++ b/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts @@ -27,6 +27,18 @@ status = "okay"; }; +&pmic { + fsl,mc13xxx-uses-rtc; + + regulators { + vcoincell_reg: vcoincell { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-always-on; + }; + }; +}; + &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi index 82d8df0..e9421b8 100644 --- a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi +++ b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi @@ -37,7 +37,6 @@ reg = <0>; interrupt-parent = <&gpio1>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; - fsl,mc13xxx-uses-rtc; regulators { sw1_reg: sw1 { @@ -142,12 +141,6 @@ pwgt2spi_reg: pwgt2spi { regulator-always-on; }; - - vcoincell_reg: vcoincell { - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - regulator-always-on; - }; }; }; };