From patchwork Thu Nov 28 12:06:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudius Heine X-Patchwork-Id: 1202011 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 47NxGt5yghz9sPT for ; Thu, 28 Nov 2019 23:07:50 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 81DABC220EA; Thu, 28 Nov 2019 12:07:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A8D92C22099; Thu, 28 Nov 2019 12:07:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 665D9C2209C; Thu, 28 Nov 2019 12:07:39 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by lists.denx.de (Postfix) with ESMTPS id 12329C220DA for ; Thu, 28 Nov 2019 12:07:36 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47NxGb6NWyz1rljf; Thu, 28 Nov 2019 13:07:35 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47NxGb69vrz1r7H3; Thu, 28 Nov 2019 13:07:35 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id UY408M8Lek-u; Thu, 28 Nov 2019 13:07:35 +0100 (CET) X-Auth-Info: MmIWKSbPd4oXkYNoz4fItqkssFCIRnddR+jjF5RXBxM= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 28 Nov 2019 13:07:35 +0100 (CET) Received: from deneb.denx.de (deneb [10.0.20.1]) by mail-internal.denx.de (Postfix) with ESMTP id 6DE2F18071E; Thu, 28 Nov 2019 13:07:24 +0100 (CET) Received: by deneb.denx.de (Postfix, from userid 569) id 66B3324E902; Thu, 28 Nov 2019 13:07:24 +0100 (CET) From: Claudius Heine To: Date: Thu, 28 Nov 2019 13:06:33 +0100 Message-Id: <20191128120638.2457-2-ch@denx.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191128120638.2457-1-ch@denx.de> References: <20191128120638.2457-1-ch@denx.de> MIME-Version: 1.0 Cc: Marek Vasut , Andreas Geisreiter , open list , "NXP i.MX U-Boot Team" , Ludwig Zenz Subject: [U-Boot] [PATCH 1/4] ARM: dts: dh-imx6: add wdt-reboot node for sysreset driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Claudius Heine --- arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi b/arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi index af4719aaeb..572bcbf8f0 100644 --- a/arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi +++ b/arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi @@ -30,6 +30,11 @@ mux-int-port = <1>; mux-ext-port = <3>; }; + + wdt-reboot { + compatible = "wdt-reboot"; + wdt = <&wdog1>; + }; }; &audmux { From patchwork Thu Nov 28 12:06:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudius Heine X-Patchwork-Id: 1202012 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 47NxHP6sYHz9sPZ for ; Thu, 28 Nov 2019 23:08:17 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id A09EBC22070; Thu, 28 Nov 2019 12:08:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 3844EC220D8; Thu, 28 Nov 2019 12:08:09 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3D1D0C220D7; Thu, 28 Nov 2019 12:07:56 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lists.denx.de (Postfix) with ESMTPS id 651F5C220CC for ; Thu, 28 Nov 2019 12:07:51 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47NxGv1ksyz1qrGg; Thu, 28 Nov 2019 13:07:51 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47NxGv1cp2z1r7H4; Thu, 28 Nov 2019 13:07:51 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Fj0QlI6mr4Yl; Thu, 28 Nov 2019 13:07:49 +0100 (CET) X-Auth-Info: arEevlZAmyzHeSo9Ns6xitoWz+WkIJRhtwL8oITwVf4= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 28 Nov 2019 13:07:49 +0100 (CET) Received: from deneb.denx.de (deneb [10.0.20.1]) by mail-internal.denx.de (Postfix) with ESMTP id 3ECB8185862; Thu, 28 Nov 2019 13:07:26 +0100 (CET) Received: by deneb.denx.de (Postfix, from userid 569) id 37B2A24E902; Thu, 28 Nov 2019 13:07:26 +0100 (CET) From: Claudius Heine To: Date: Thu, 28 Nov 2019 13:06:34 +0100 Message-Id: <20191128120638.2457-3-ch@denx.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191128120638.2457-1-ch@denx.de> References: <20191128120638.2457-1-ch@denx.de> MIME-Version: 1.0 Cc: Marek Vasut , Andreas Geisreiter , open list , "NXP i.MX U-Boot Team" , Ludwig Zenz Subject: [U-Boot] [PATCH 2/4] ARM: imx6: DHCOM i.MX6 PDK: Enable sysreset driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Claudius Heine --- configs/dh_imx6_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig index 4055812007..68dc3b0d1f 100644 --- a/configs/dh_imx6_defconfig +++ b/configs/dh_imx6_defconfig @@ -77,6 +77,8 @@ CONFIG_DM_SCSI=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_MXC_SPI=y +CONFIG_SYSRESET=y +CONFIG_SYSRESET_WATCHDOG=y CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_GADGET=y From patchwork Thu Nov 28 12:06:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudius Heine X-Patchwork-Id: 1202014 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 47NxJH6NKpz9sPZ for ; Thu, 28 Nov 2019 23:09:02 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 4B644C22080; Thu, 28 Nov 2019 12:08:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id ADEE1C22091; Thu, 28 Nov 2019 12:08:17 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D6575C22091; Thu, 28 Nov 2019 12:08:05 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lists.denx.de (Postfix) with ESMTPS id CFF97C220E5 for ; Thu, 28 Nov 2019 12:08:05 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47NxH94sG2z1qqkQ; Thu, 28 Nov 2019 13:08:05 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47NxH94cScz1r7H2; Thu, 28 Nov 2019 13:08:05 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id U_A5K_8uRGxk; Thu, 28 Nov 2019 13:08:04 +0100 (CET) X-Auth-Info: v9SFCIyptbP4aw18QoRHyuKYu+r8Ug9Gqn2tPFSxajk= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 28 Nov 2019 13:08:04 +0100 (CET) Received: from deneb.denx.de (deneb [10.0.20.1]) by mail-internal.denx.de (Postfix) with ESMTP id C6E7918530E; Thu, 28 Nov 2019 13:07:27 +0100 (CET) Received: by deneb.denx.de (Postfix, from userid 569) id B9B8824E902; Thu, 28 Nov 2019 13:07:27 +0100 (CET) From: Claudius Heine To: Date: Thu, 28 Nov 2019 13:06:35 +0100 Message-Id: <20191128120638.2457-4-ch@denx.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191128120638.2457-1-ch@denx.de> References: <20191128120638.2457-1-ch@denx.de> MIME-Version: 1.0 Cc: Marek Vasut , Andreas Geisreiter , open list , "NXP i.MX U-Boot Team" , Ludwig Zenz Subject: [U-Boot] [PATCH 3/4] ARM: imx6: DHCOM i.MX6 PDK: Enable wdt command X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Claudius Heine --- configs/dh_imx6_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig index 68dc3b0d1f..e5c44381b2 100644 --- a/configs/dh_imx6_defconfig +++ b/configs/dh_imx6_defconfig @@ -37,6 +37,7 @@ CONFIG_CMD_MMC=y CONFIG_CMD_SATA=y CONFIG_CMD_USB=y CONFIG_CMD_USB_MASS_STORAGE=y +CONFIG_CMD_WDT=y CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y CONFIG_CMD_EXT4_WRITE=y From patchwork Thu Nov 28 12:06:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudius Heine X-Patchwork-Id: 1202013 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 47NxJb3W8mz9sPc for ; Thu, 28 Nov 2019 23:09:18 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 80DFFC220F0; Thu, 28 Nov 2019 12:08:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 443A4C220B7; Thu, 28 Nov 2019 12:08:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CBA46C220EC; Thu, 28 Nov 2019 12:08:22 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lists.denx.de (Postfix) with ESMTPS id 04D12C22061 for ; Thu, 28 Nov 2019 12:08:20 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47NxHR63zdz1qqkQ; Thu, 28 Nov 2019 13:08:19 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47NxHR5q1wz1r7H2; Thu, 28 Nov 2019 13:08:19 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id IJuRwQqV6vud; Thu, 28 Nov 2019 13:08:19 +0100 (CET) X-Auth-Info: yLgkHaeMKZYwVTvcNGv2Kx+B8cmDamrj+0GoqRwq/Is= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 28 Nov 2019 13:08:19 +0100 (CET) Received: from deneb.denx.de (deneb [10.0.20.1]) by mail-internal.denx.de (Postfix) with ESMTP id 58E2F18586A; Thu, 28 Nov 2019 13:07:29 +0100 (CET) Received: by deneb.denx.de (Postfix, from userid 569) id 4BA3124E902; Thu, 28 Nov 2019 13:07:29 +0100 (CET) From: Claudius Heine To: Date: Thu, 28 Nov 2019 13:06:36 +0100 Message-Id: <20191128120638.2457-5-ch@denx.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191128120638.2457-1-ch@denx.de> References: <20191128120638.2457-1-ch@denx.de> MIME-Version: 1.0 Cc: Marek Vasut , Andreas Geisreiter , open list , "NXP i.MX U-Boot Team" , Ludwig Zenz Subject: [U-Boot] [PATCH 4/4] ARM: imx6: DHCOM i.MX6 PDK: Use HW_WATCHDOG in SPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The SPL does not have DM enabled and therefor needs to use the hardware watchdog interface provided by the imx-watchdog driver. Signed-off-by: Claudius Heine --- include/configs/dh_imx6.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index d4bd88f511..77074aaa06 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -87,6 +87,11 @@ #endif /* Watchdog */ +#if defined(CONFIG_SPL_BUILD) +#undef CONFIG_WDT +#undef CONFIG_WATCHDOG +#define CONFIG_HW_WATCHDOG +#endif /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE