From patchwork Tue Apr 24 02:05:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10358483 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 1A522601D3 for ; Tue, 24 Apr 2018 02:13:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09C8528D50 for ; Tue, 24 Apr 2018 02:13:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F234428D51; Tue, 24 Apr 2018 02:13: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=-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 614B228D4F for ; Tue, 24 Apr 2018 02:13:08 +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=MgizPYXlHltBDusS1SNnxulNCsq6vAadv8qkQ8GBhko=; b=MWAKl81bSbDa9M EZbOObGnr5MEBeOAMOYaBas4rBXgY64vjPXewr9iMZY669nfMk9/3VIu/hJGN58DaDb3FfRUDoKg/ NC7oYgDFQCA9yZicNE+RjL2HY5SXBVN6+fhyxKW498OnJhyVcta7yUX1FCz2416lJq2bljOGhCF6p EhVF/5kODPh8nHADIR0KkTt/jsIi3zZkHRKI34fi2gvw/+BODUA3BQQ+tWiVl+W37pbWOiXzJlbmf MlHXGpeitHgvnfFvPSQozYd+SG4LfgJTMWY4sBxSwB/NSaMqj71iAA8NpzZqtV0nRJJL5F+2q75zW CG2qqBPQKS1hWs4tnnWQ==; 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 1fAnS0-00053n-Oz; Tue, 24 Apr 2018 02:13:00 +0000 Received: from mail-eopbgr40066.outbound.protection.outlook.com ([40.107.4.66] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAnOh-0002QO-JM for linux-arm-kernel@lists.infradead.org; Tue, 24 Apr 2018 02:09:37 +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=oUI2Ge8UtLXrlWI2RjQZM0IHNepGmMqjYTTKnBrgw7U=; b=qqFTZMZc3ysO6YkyW6eUuR63Hj4z+A4YJ0hyVFU773d5MBf1HQfWNwOYG2LkzXs+H8ts1wrkOW/ORcenexNDQNU0Z22jup5nvrPnodFBfojBnd4el2JnLLqDxNPrRk7HOciKqtEowRS0fTP5/NB3b2xVfZ4Z0cD3c0covtAZPGA= 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 AM3PR04MB1315.eurprd04.prod.outlook.com (2a01:111:e400:586e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.13; Tue, 24 Apr 2018 02:09:26 +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 V2 5/5] ARM: dts: imx6sx-sabreauto: add wdog external reset support Date: Tue, 24 Apr 2018 10:05:01 +0800 Message-Id: <1524535501-8567-5-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524535501-8567-1-git-send-email-Anson.Huang@nxp.com> References: <1524535501-8567-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2P15301CA0023.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::33) To AM3PR04MB1315.eurprd04.prod.outlook.com (2a01:111:e400:586e::13) 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:AM3PR04MB1315; X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1315; 3:dvmSu5jAgvY0InBVxLDsr8DeHmW0X7dhjQtAR5Lkw4FTzTv3O+2LWavC5n/2D/kKbbx09c56xi4gUiMrbZQSmQS4gXZIW6EYLbCcWRfKan8yGP6zUCBE6LO3Cl/ctY/Z/hj4LcEuyEGQCItKvw2soMYNrhtpGrNbnffga26wIQGiqjg1GlXUW51ZVm4tE9Wx6A1Sbx+Xcutbs1Ml24z6fpOaCTSENvDkWsR1HhsEwaOYSawExoTDRs5kfNWuV7F2; 25:JRuuCmUYP7/ib5yeuqGkDi7fh5UEJjT99/jRcKZIgjch7JWOrG99V/KGlgbDg9322o4Q6YUHispEE+/zZsTwKMTsJ8kDYYP7jNXydDN9BUJr6GrPiahcQk0HwwzjuAMT0bpRKl9KPVAg5yVX6EUP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L2ZnnqTSIak3b6wgX8TsgYukr4Q95uKNOMKE8BUuZdSD2tW+hSugWhAXzEti2JnEnni47Tw1TW85U019HwBvZc7Ndtz7eiWMg7iMej40Duy76MpKVwQlFsA/wBKVNHarsHYsfbiKVyRTUlr8M9O6e+Erpv/qIRP5Y4bi+J9kdXXvtWf+2g/YPdlQNXCKquGw5f+Henz8eWOoPWq5HCWAk7ikpez3Ihvl03qnixRiMLjSf53ijkZpriR8VvwGeO3cFy8BSuTNEIhpNkPkPvcB 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)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231232)(944501410)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:AM3PR04MB1315; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB1315; X-Forefront-PRVS: 0652EA5565 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(346002)(396003)(366004)(39380400002)(39860400002)(376002)(6486002)(956004)(305945005)(7736002)(4326008)(50226002)(86362001)(6666003)(8936002)(25786009)(47776003)(66066001)(8676002)(81166006)(50466002)(478600001)(5660300001)(2906002)(36756003)(3846002)(316002)(53936002)(6512007)(16586007)(48376002)(6116002)(386003)(6506007)(51416003)(52116002)(26005)(76176011)(446003)(11346002)(2616005)(476003)(186003)(16526019)(32563001)(473944003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB1315; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; MLV:ovrnspm; PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM3PR04MB1315; 23:pi20j66pbZuMBOUwhBchSrMp7tUObj6BfnXIyskx9?= =?us-ascii?Q?av4Qkz7HVmAmTj3Lr+W9kftFacy1ftOcNK/Aop++kbJRISQ4mrrq+aog/WAl?= =?us-ascii?Q?gveFOtZuK4L0mgyZYS+A0aepW72hyBWOMffZEc75RLJjqHV7x/DxALBVS2tG?= =?us-ascii?Q?KYGg0DkWhwXTlrj8rRCpT/iHfNus4o2rFMySIxnLZ4vIua9088fBlmSWnYQn?= =?us-ascii?Q?TGNDiYSx2v7vMl5tIDaLPObcqUZSjXejyrP5SSH/LbCTBy8TDLWHOKfxRoXv?= =?us-ascii?Q?QKY6pSai/JvJ+S2RRo7yvQ2i0VL+TqgKZoS52ZWSV8QstN6bhrEQgT8zhyEr?= =?us-ascii?Q?8lnONcB3rBc3x8j/dLWXBDYYLWFdHkBy1HU4nd+hleDjsILoJCnfaULUu8Bh?= =?us-ascii?Q?QpFfm2FQOXbiKPSDk2bXg2I497R6/gIkdljuk2lht6RLCWqZ0DMWxCqUR5KG?= =?us-ascii?Q?hji+8JcB2A9F41HkWXZk8fI2aG7muLgZxTN78HJJ0xO58VOiBVnYpeBBlwJn?= =?us-ascii?Q?z+UrHXwoHuDCz8tgYr4FrfmD5T2jj5KLbxX9L6n8DQx3PmHKEewh4dxUiquH?= =?us-ascii?Q?ru3NqQtZsJnr+/wYBQKserGfbSedTns/XL0q53Yj54FYaAfl1FyVHpiSdllA?= =?us-ascii?Q?m+EWhSbk1P7nOrtjrFhVWG8QinWbvV2zXklE+BxILavGBfcNV9RgpLZMHhMy?= =?us-ascii?Q?ljzg6mW8S5Jn8oFYQlrznKscmLL4miiNoZGkCWanehZ0KrguMh1XQ5ih5fau?= =?us-ascii?Q?HzR1WiANcKtuoldHH+e0BRrJvav+he6z1Dktx76Yh9UL+6IRsi21u43/COFd?= =?us-ascii?Q?6ercKrgK2HZ+ZGGsjuirLZH67KAt7TeFTlZg6YJuLilAdOb1zWtvqxPQE0ir?= =?us-ascii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6uilcxJPKsJzF8OllEQCrUfs0MT4gy9d1P5RJXPfA7yj0wNDOmbtpTUSGrlcJBoeVxQldoHBEPjqIVWDdUVIl5XDjp2qpmwTjVD/QEnNWTuhUnSR+NOu3fJ7B5ZaSP/9wuj+91ITgNJJO1o2WYhp6bcyl0uD0=; 24:iLCDY0TzpY5UHJZvp+1BMnrvbRyAPCxflXIK1GKbzY6/fRduIe41t7KKwzRrR68nRRnCUBpLfnhwcZCFjhVkm0tLBhhO24GA7G6oxnTgsHo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1315; 7:GZSRzVFsfbbvP1BiUdR/6vyMAWmVcN/wfBSotqj/ygh6TpjY7Mbd21T5Gva8nRV0/L5ibSaXKLMkYigIL2Z7G5s4U+kmEmzObhofBgPBw2xGK5FcxA9F3l7DeQchus8i2dexIa4B3JUTl2MAljSJUkKaKTcfukLbmE7axXGX/B4jOX/bofDuhn7hjloFtipthqDbLxn8Q4G8d0MrAWdc2DUylR/nrXeggNX+piXQm0xfzsfZ0CrIsKsOeDHkH2+E X-MS-Office365-Filtering-Correlation-Id: 7c9d51d0-80ca-4b23-7945-08d5a9886981 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2018 02:09:26.0915 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7c9d51d0-80ca-4b23-7945-08d5a9886981 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1315 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180423_190935_706223_FC419C1B X-CRM114-Status: GOOD ( 11.18 ) 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 V1. 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 fdc642f..ccf1cbb 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -230,6 +230,12 @@ MX6SX_PAD_KEY_COL1__GPIO2_IO_11 0x17059 >; }; + + pinctrl_wdog: wdoggrp { + fsl,pins = < + MX6SX_PAD_GPIO1_IO13__WDOG1_WDOG_ANY 0x30b0 + >; + }; }; }; @@ -369,3 +375,9 @@ #gpio-cells = <2>; }; }; + +&wdog1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog>; + fsl,ext-reset-output; +};