From patchwork Thu Aug 31 18:20:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 719206 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D4CEC83F2F for ; Thu, 31 Aug 2023 18:20:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346941AbjHaSUv (ORCPT ); Thu, 31 Aug 2023 14:20:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236642AbjHaSUu (ORCPT ); Thu, 31 Aug 2023 14:20:50 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70BFE10C7 for ; Thu, 31 Aug 2023 11:20:37 -0700 (PDT) Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 9A469865A0; Thu, 31 Aug 2023 20:20:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1693506036; bh=LQjoJlbD7Jzr0Ccd41bjLscaGn/tN5jliWbkbVo1IFw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w7W6ZHXO9YRs937iC1x4KyMhTpTO/gvxnc14s/RFkoc9ilObJEAAiCLxfxpc+Pz7p 6FuRwHta3S8qk3NCCn3YiHJ1kKMK5tgtu+91o3FSXjJVi6LfG/+FywNFxEGoQLMx5U xghmYfdd3IwqH8c4VzUhj0E15bnKuGH91W/Onoz7gYpKhh81ivSak9oyHHWKbCg/uk ANjxVZrJU41Nd+K4hxpZiiOnTnum6hGW483d2DGTkcHhvJvuQ0T4FCbP0K7U/DsvSz b9rrmEeRArFfPBOQAgVRNEIkHK7wt5swho1/Oe8sAJG1sFWvT9tS5UpJijCWQNoMGW 5Tf5hjbe3cmFQ== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Conor Dooley , Fabio Estevam , Frieder Schrempf , Geert Uytterhoeven , Krzysztof Kozlowski , Magnus Damm , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org Subject: [PATCH 2/4] arm64: dts: imx8mp: Fix property indent on DH i.MX8M Plus DHCOM PDK3 Date: Thu, 31 Aug 2023 20:20:18 +0200 Message-Id: <20230831182020.154863-2-marex@denx.de> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230831182020.154863-1-marex@denx.de> References: <20230831182020.154863-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fix indent to use tab indent. No functional change. Signed-off-by: Marek Vasut --- Cc: Conor Dooley Cc: Fabio Estevam Cc: Frieder Schrempf Cc: Geert Uytterhoeven Cc: Krzysztof Kozlowski Cc: Magnus Damm Cc: Marek Vasut Cc: NXP Linux Team Cc: Peng Fan Cc: Pengutronix Kernel Team Cc: Rob Herring Cc: Sascha Hauer Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts index 31d85d5871c91..5d1eb3767bd34 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts @@ -225,10 +225,10 @@ ptn5150_out_ep: endpoint { }; power-sensor@40 { - compatible = "ti,ina238"; - reg = <0x40>; - shunt-resistor = <20000>; /* 0.02 R */ - ti,shunt-gain = <1>; /* Drop cca. 40mV */ + compatible = "ti,ina238"; + reg = <0x40>; + shunt-resistor = <20000>; /* 0.02 R */ + ti,shunt-gain = <1>; /* Drop cca. 40mV */ }; eeprom_board: eeprom@54 { From patchwork Thu Aug 31 18:20:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 719205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EEA2C83F3A for ; Thu, 31 Aug 2023 18:20:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346951AbjHaSUx (ORCPT ); Thu, 31 Aug 2023 14:20:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346957AbjHaSUw (ORCPT ); Thu, 31 Aug 2023 14:20:52 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9310710DA for ; Thu, 31 Aug 2023 11:20:38 -0700 (PDT) Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id D412C865A5; Thu, 31 Aug 2023 20:20:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1693506037; bh=Cfe9oOv/aXwc1jh9u8be+fZ6sdxtu/GHzcGUlajhs+o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xWtreuPOvr6wxiBzi0gjrgpPmiznxV2czPmoKG6x1IAU4Qq04tgjeLFYxe4Wd1l6a BMZPOK63gFFdFtXOwT7qF8JAwARBR0uNglnrWR1sM7rVyaSeMchlXIHsMSwya5JGWq 3hNhrnv0UTf6wXC7CfDmGQXPDVJAS7u+vVkKFhPfOhM445hPBLwKWHoD7V6KxSbDBk KOMORIgcHJsK2GGGeanOiZtP5YZIDIz8sIoqc3tn9j8fL2T5uR4qQ6rNKHru2Vf8jm bS5PXgkvnZfUzvdZ4No02Lepfb2IwAKeYIUj4TY9SWs9+STwiRiacg14GLahTwz+Dh 2QAAAPWPmB7dA== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Conor Dooley , Fabio Estevam , Frieder Schrempf , Geert Uytterhoeven , Krzysztof Kozlowski , Magnus Damm , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: imx8mp: Add UART1 and RTC wake up source on DH i.MX8M Plus DHCOM SoM Date: Thu, 31 Aug 2023 20:20:20 +0200 Message-Id: <20230831182020.154863-4-marex@denx.de> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230831182020.154863-1-marex@denx.de> References: <20230831182020.154863-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Turn Console UART1 and dedicated RTC into wake up sources, to make it possible to wake on UART and RTC alarm. Signed-off-by: Marek Vasut --- Cc: Conor Dooley Cc: Fabio Estevam Cc: Frieder Schrempf Cc: Geert Uytterhoeven Cc: Krzysztof Kozlowski Cc: Magnus Damm Cc: Marek Vasut Cc: NXP Linux Team Cc: Peng Fan Cc: Pengutronix Kernel Team Cc: Rob Herring Cc: Sascha Hauer Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi index df43741d04bb9..4582a0bbe3726 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi @@ -414,6 +414,7 @@ rv3032: rtc@51 { interrupts-extended = <&gpio5 5 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rtc>; + wakeup-source; }; eeprom1: eeprom@53 { /* EEPROM with FEC MAC address */ @@ -470,6 +471,7 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; status = "okay"; + wakeup-source; }; &uart2 {