From patchwork Wed Apr 25 03:30:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10361431 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 061566038F for ; Wed, 25 Apr 2018 03:37:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA87328210 for ; Wed, 25 Apr 2018 03:37:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE69428469; Wed, 25 Apr 2018 03:37:57 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI 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 42E7728210 for ; Wed, 25 Apr 2018 03:37:57 +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=qYSjGMDUzg+yJUSb5QQOXQgY/4svkU5dkGXUIvNY6GY=; b=GxQnBR0JyBFAac zHq9eoS8S6V/Igemh/hxzwY4tf6PqA1CO0CzqRl//91HVP2OjoiPUD9awO2GDsLrruZ1oaqTvGfNs YYzmsbiBtk0zFtGejOej861wMGmE3zGD/oaT2j4l33ITy0/1kp6TFbWDzAA1VQvZfv+VEVYUjuDr4 tpDfpXut4rB5NBhgc19YyVIEDUxxaqDbkN893qYgl2LHnnSXvhQe6lzeKneyOK+56WbVdeDDHg0Bz pGcZumn2ak3oAFNiFsmEXTryfMv/Is1Ubec2yoqueV19rFp+RvTsuOxzktNWoR67obkDe7DhaGW2D Gj4usBjk8PqG/WW+uWKA==; 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 1fBBFc-0003tn-9T; Wed, 25 Apr 2018 03:37:48 +0000 Received: from mail-eopbgr20048.outbound.protection.outlook.com ([40.107.2.48] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBBDK-0001xy-Dp for linux-arm-kernel@lists.infradead.org; Wed, 25 Apr 2018 03:35:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6gWoma8vk1KMC9xMSfTRyn49vWFL1lxN4MbBma34KKI=; b=eDMDQPGuuLaYO1J+Cr7BIUDynyy57HSYGubqLYIe+tePw7ioBo+1EOYAavxlPbbvEmaCaxw10kzk8kUAbH0SXaO/FSHBu/QKKn3GbUB7wRncv6ihvSfkbjB+QEY5jJ8CDjpTsByJUJFkNnhlVfWktcaJBL2HPYrb0J/GHQN/yVo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by DB5PR04MB1317.eurprd04.prod.outlook.com (2a01:111:e400:51cb::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Wed, 25 Apr 2018 03:35:13 +0000 From: Anson Huang To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH V3 4/4] ARM: dts: imx6sx-sabreauto: add wdog external reset support Date: Wed, 25 Apr 2018 11:30:33 +0800 Message-Id: <1524627033-535-4-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524627033-535-1-git-send-email-Anson.Huang@nxp.com> References: <1524627033-535-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: TYAPR01CA0073.jpnprd01.prod.outlook.com (2603:1096:404:2c::13) To DB5PR04MB1317.eurprd04.prod.outlook.com (2a01:111:e400:51cb::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB5PR04MB1317; X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1317; 3:seSW9Zz4yHGVLhl48t7ctSlnJ7OFt568xof4Dp20ejX082KaBvHvTg/gasUtdscm5psBDqeQ95xENd9rE4bY/+w7Cx04p8an0q6SGctht8JImLHfgSGf7SGeGB+00alnhYJZLv9ZuxemhwWJ7ySMW00osCv8dbCsoQ0ImJN38zaGIhLOzos31cruQpVF0aOQ6WE/C5kxfn2nznPo+zUYK4h+pwjRinpBVeShDxQaeTZ/szaTe6Brb99Kp129OTMW; 25:GhxZ+6xaDF0op3Se5F1pWu2+iyKfD4NsmhuQ3jXgwnWTlO3YupnR7TD5GakT9n9VpjnZRGeCCAVcQuWP0eTYGBOsBKYoxsAaVUHo6fPzZeJ+orByO6Bi1W4Ha7OrSZaxnIFK7uKzK+xmmLq6AlLKhuSmUJVcbnf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CMDC1Zru3mgJpWhiBTeEspSD8+pfcoC8rTeBg+H2MF8RVluv7eBpJam9jBoz2CAWN+NHKzxIagNBoSbJwM5IjiUD1Gc3cRItEke5BS94xAZvatYMoe044eln/v2Hy7/voWUQw+3tCQNE8PfTdwODfhFeZs8rlXfaJLNYG/NiC1dGKglR8o+brFHS/jQjSou1WCm1EGrM3rxw7CfCdj/ZngTYZz8AasjeO54jRPovvpd2IBkvk6lZZFFK/BRNFh6GFJPy X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231232)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB5PR04MB1317; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB1317; X-Forefront-PRVS: 06530126A4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39860400002)(346002)(39380400002)(396003)(199004)(189003)(36756003)(478600001)(97736004)(6506007)(386003)(4326008)(25786009)(6666003)(53936002)(6486002)(6512007)(86362001)(8936002)(105586002)(66066001)(106356001)(47776003)(68736007)(48376002)(81156014)(81166006)(6116002)(50466002)(5660300001)(2906002)(8676002)(11346002)(2616005)(446003)(50226002)(3846002)(305945005)(7736002)(476003)(956004)(16526019)(51416003)(76176011)(52116002)(316002)(486006)(16586007)(26005)(186003)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1317; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB5PR04MB1317; 23:6y560mkhw+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PtxKX0FpKbkzD5SrqV1Co8uO01JBPIF6MVA==; 5:/mHh85gsyWa750ehy25jjwrW+VPnHl/E+XDBBQApDQAgrok02xi+e69oyjydtkK8h/uHOp3675LPVFdj/00c7R/MioT4O3zLinU7q7cJDUab0WQ8P0zIQ2/2i537NHPPb3u0KQDhxQiZEBu+iPHlo81EewZbexPD69B25hPZ+Z4=; 24:GR5ELtQ+nJLThhBga3pGnHW1gj5PMJ9R5CgxhXMv+T4OGXqx/i6YwvGceH1gfOC5eox4FOQNO/Q4tGY5xXMsE8IOytnIEjIFzGFWzQiev6o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1317; 7:ClHmF52E4Q1Nzdl5JSwJ7Tw81eAEor/aNp6/9KVT1HzZK8WtqlvG7rbUpSowN4baCMOW21q6PS38gBORi+/mK6A/4zSh8MCKEV2Xo2VvAdMkn3+F3MsDmIblHctMioBYyDns3yR56wlcYmWxH3qgoapVQft1eWYBulj1W9eEnFwhB/FA143DWYijE/tSr54PwYlvKl/cgwC4IXiY4r0e5Pge8EdCKtKetrMmyDeQO8rd+mt3cGnjSdNWwe9raeag X-MS-Office365-Filtering-Correlation-Id: fd101337-22a2-4e54-5e91-08d5aa5d9093 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2018 03:35:13.1267 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd101337-22a2-4e54-5e91-08d5aa5d9093 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1317 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180424_203526_550229_8F40A7B7 X-CRM114-Status: GOOD ( 10.98 ) 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: devicetree@vger.kernel.org, Linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 i.MX6SX Sabre Auto board has GPIO1_IO13 pin can be MUXed as WDOG output to reset PMIC, add this function support. Signed-off-by: Anson Huang --- no changes since V2. arch/arm/boot/dts/imx6sx-sabreauto.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index 812f40b..abe9054 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -161,6 +161,12 @@ MX6SX_PAD_KEY_COL1__GPIO2_IO_11 0x17059 >; }; + + pinctrl_wdog: wdoggrp { + fsl,pins = < + MX6SX_PAD_GPIO1_IO13__WDOG1_WDOG_ANY 0x30b0 + >; + }; }; }; @@ -300,3 +306,9 @@ #gpio-cells = <2>; }; }; + +&wdog1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog>; + fsl,ext-reset-output; +};