From patchwork Sun May 6 06:28:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10382593 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 AEDE760353 for ; Sun, 6 May 2018 06:32:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CDAE28421 for ; Sun, 6 May 2018 06:32:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 917AB285A0; Sun, 6 May 2018 06:32:59 +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 1ACAD28421 for ; Sun, 6 May 2018 06:32:58 +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=I+4B3uGKLFiXd0N1hxIicJD58vKOC/l3/mDwTZ8r4LI=; b=qOtRA1naE9UzVF mC13yoiDv/RtD7kaTQ08tm/bHUl39vXQLaI+XP28qGVxpjboU2XUkH/Nnnunub6TGhOW5P5/06kc2 sHUtv9Yca9Pu1eTAthakCEJE8AgM0+e4gDlO0m7VWuYeonXAPETD9vgxr2fg7R7dnXbEVO6ELI67H IIFkbb1QRgOH45zejB6qic1lSbRM3fGYyTpE+IKGniO30Y9qXMdPV98LbsuTgNeQUrxpJB27qm+NK UgWOLQZBMhUdVxMKH3kVwX46yZY9g2fVxfEY6SWQsPVTKQWSn/gPeegC9k34DISCl/SwUZQasbojX oZYwLKv1tGmGzjvOSZXw==; 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 1fFDDw-00076D-Ci; Sun, 06 May 2018 06:32:44 +0000 Received: from mail-ve1eur01on0078.outbound.protection.outlook.com ([104.47.1.78] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fFDDE-0006je-Cn for linux-arm-kernel@lists.infradead.org; Sun, 06 May 2018 06:32:01 +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=rmiRIZR9rgM49uNpNoRuoUz6vRUKA2CSztW1NQC464w=; b=AaZkp/1mI2i/Wle61GjSBAkhx3F3V4GhbeGeHPi+Ifzq0WnrtuOZg9a3kMJ3dDO+cc3x8c015AFRrvlb0d2OV2C0w7cIIoHYdiFX9IWybX+Wk+KrnZKAwhLXjRP/Sr5VEGqtpa077DltXdLwZOHZ2uoS0QaNrXmX3TLIlCABD2o= 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 HE1PR04MB1323.eurprd04.prod.outlook.com (2a01:111:e400:5889::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.18; Sun, 6 May 2018 06:31:39 +0000 From: Anson Huang To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, fugang.duan@nxp.com, haibo.chen@nxp.com, yibin.gong@nxp.com, aisheng.dong@nxp.com Subject: [PATCH V7 2/7] ARM: dts: imx6sx-sabreauto: add max7322 IO expander support Date: Sun, 6 May 2018 14:28:08 +0800 Message-Id: <1525588093-29994-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525588093-29994-1-git-send-email-Anson.Huang@nxp.com> References: <1525588093-29994-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: KAXPR01CA0043.jpnprd01.prod.outlook.com (2603:1096:402:1a::29) To HE1PR04MB1323.eurprd04.prod.outlook.com (2a01:111:e400:5889::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB1323; X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1323; 3:ijF3U7VGBoBo2zYjiV0h0wE3RJaC2AIKwhAWBlUA1BHs+w0Zijqi2Wns6cvaH02tvfDmB/XUYIZb2c0t8Ju9C8iR9Ia8fuLf99cBkcLZ5pR8miY6NjCewNx1gjCg94zE2aM3e8/iyHapxL+7c1UyKBKsbTYNqhLQatEnmjiYLfGq+udwQgT/yp77TvWato1D3uG2CkHFgogLyg9kUlkoyzyxWFevbluDeln0p1aV+ZygFTPrsNeS8+JSn3+dVanQ; 25:FPAUmA0ce1nbTsNne1OEczfbETH67qN7cyrILol9GHIrpiMXmuchR2uBKkOfoNkAQboRyEfZaNJ3z8HgH6CPRAPq0yf1psKf0ElRDMQlZ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IUUZNIK6WNi9FIqdgwnpCe8r311zxamt0WpddGnCO/0GW5twM+jjEyry9PtDSQNovJgoOhSgVtXrdIiUQ1Y2Ba6a+hQYsVd6S3GoEmCrATrxaDvTZd2jFIWmUj+Uq7A9c79cY84Wt0WjfGpqJvNwDL/MvYJCiUClQ144bT/ZFHpWh371+wkeAYu35JAjmUSiclTsvwiaDHARtpG+AbWJAWZG3Wg48LGu7yiVzB8X5bYBG4FvfduS+t4mVLtxXWaVePD1DsYdjrNANyGmIShiUXI0gI0eVY7XQvFG64T4hgJUBWtXQCl+dzH 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)(93006095)(93001095)(3231254)(944501410)(52105095)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:HE1PR04MB1323; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1323; X-Forefront-PRVS: 06640999CA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(376002)(39380400002)(346002)(396003)(189003)(199004)(6486002)(16586007)(6636002)(6666003)(81156014)(8676002)(50466002)(25786009)(81166006)(47776003)(66066001)(575784001)(5660300001)(486006)(86362001)(316002)(68736007)(6512007)(36756003)(4326008)(2906002)(956004)(186003)(16526019)(2616005)(26005)(476003)(106356001)(53936002)(11346002)(105586002)(446003)(48376002)(6506007)(386003)(8936002)(50226002)(6116002)(3846002)(51416003)(305945005)(97736004)(76176011)(478600001)(52116002)(7736002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1323; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR04MB1323; 23:OR5Hw8BgVNfFvYIEjIncp520eUnWqK7JCIV/n/CUz?= =?us-ascii?Q?GIk0VfiW2hWzb6iYDbSmO66s6chgpA5Bpa/rhwAINq8onn7+4Tg3/O2J/tYk?= =?us-ascii?Q?fSLi1VP3eidBwhaqQrqTPoIJRrCTV7kuvPrOlIJcND0ZE8d5g2aTCUKMx/Dq?= =?us-ascii?Q?VZxe1rOVTEBkzwH6WRi+k5pp6UVDvKam7vdgcBPutbqulW5/laOyC5UNxVat?= =?us-ascii?Q?o//PkwOCoYR03h+GOmrGPnh57Uev00qMVnzr5Tqm8wJR+VS/p6tCzfUtQhEp?= =?us-ascii?Q?wufQRVF6m7RpyH5t4y18SY2WPkmDAF83QqQY3MzKf5WkH0kkLkCJqOz8Si4d?= =?us-ascii?Q?PpIpxQTLcVXSCv5Xas5HhGCNDZ4FyU1KWJarY/7mpbawsRnytvLMiPoxO7P0?= =?us-ascii?Q?2vefyie81P81GJSMYCz+GqBO6LmhJTAGqdHa+7T73g0Gw16IQHHrV9JKzxvZ?= =?us-ascii?Q?RJJGDAu0pX9xKGKg98bDyaYRFXx9Tr/N9XUboBIM2LabsH92pvyYm0kDTlCD?= =?us-ascii?Q?WN+Ip7srFgjBDmXm4dOhCKOD1u5cvus4bR8UC3qKGTt+anF/2wiGDO2aw+dK?= =?us-ascii?Q?fpFmY0J8gNXS77pJqq6bmSjnQFKjoqhawKvF8HoqKfnPE0lA4s2iiaZvlYfX?= =?us-ascii?Q?OfFswaGosVl2pFlVP5gMobVKMnaacTQhRCS8ETPfY+hnv9Dt3VGOMouMZWBp?= =?us-ascii?Q?Ttld8LnUtQiZJK/66M6bJ+vNGd3zpry1X+eOE8K5IfzTzhlPUnvOxbq/V2Wc?= =?us-ascii?Q?0byWPMnnDSe1NI7ByXxOGFA2pY2jg+rJserH+Eq7j6WzRcLYJgpgeiSB9fv0?= =?us-ascii?Q?L8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VY/zaYA5GCiFaR5NdzjwR2tyrcmnemYkqbYUlUyouIUHfT2gBYXAivmRbFR0d5+FgUm3CkGXMJ2oLLlN6r22bYJ4GGIUxdd3JDHXqv20mStdNKDTP0QIJF158+4LxoAciz/RrjOPs80EPJw2PwcxO/FcLZLMT0fEqWYC/mWIncg==; 5:guxk2Q91qryExRJ8wJ0bUgJfWkUDU4PrO4/8IHRKidx3aZoho/7xaGK1IgmlSqrJG3Raznixz0zDWOIqO1daiiykju/JylCwnMq0EDM70zhViBd9LtU5DxlKFlxc2OGGP4MjVqzokPOA0IDVKydIPwaeW8AgYmc+p/IGnHjvqnc=; 24:cjJL4X2tOOgxqfycInEMcD8twK1tPM0PuqjnHi/e9HMvSGTyvkaF+o5XJ3mh57+cOQ4A7LiPryKMlGAGI9qiFenls4DNObhdbQ5VHHAmZCM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1323; 7:Nxder/sEpHnoSpn0UNVMsJuOVmARwVt58QCghnbRkB2K8POqozDSaE63U8XD6rZs7baHcVpUXHNnx5CRebWme3OarEgDsermEn2CfU4DgbZ0gFy4wMhctHST+3RrqpJVu7o4jLAc/NDZNTBjhLush6ACnP04OpMPbmu/cLACUhKHIYVyjrF0kN22MzT7d8Gg7gDrDgnDWiRdWLDkBsW813KKdORnGbpEvbHd6k2MzVvENErB9/as/Xb2J5Vkh4es X-MS-Office365-Filtering-Correlation-Id: 3a74d76e-0ef3-4e80-8f0d-08d5b31b09a1 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2018 06:31:39.7988 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3a74d76e-0ef3-4e80-8f0d-08d5b31b09a1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1323 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180505_233200_489372_845E2811 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. 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 Add MAX7322 IO expander support. Signed-off-by: Anson Huang Reviewed-by: Fabio Estevam --- changes since V6: remove unnecessary sign-off. arch/arm/boot/dts/imx6sx-sabreauto.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index 1d8cf0f..ae253af 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -254,4 +254,11 @@ }; }; }; + + max7322: gpio@68 { + compatible = "maxim,max7322"; + reg = <0x68>; + gpio-controller; + #gpio-cells = <2>; + }; };