From patchwork Sat May 5 08:29:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10382029 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 5773960353 for ; Sat, 5 May 2018 08:34:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 446E02954B for ; Sat, 5 May 2018 08:34:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 356B029581; Sat, 5 May 2018 08:34:17 +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 61A322954B for ; Sat, 5 May 2018 08:34:16 +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=1L3jdMZixgG81GM9wIUIA68T54m7oTNsQSlHy/sOCtA=; b=b9hcd/mMtzLzC5 63QCkbw0hUVzvRwdMK6KBdcMh5Os33CS7ncxpN0Si75gj4/8ue91fbvdkv06cSF6UJIvftSq0NeIB PgoRY7u8x98ttiI1bdyuxh6F93YfocVLTJpkaAlyCfbH6nMZIe0SUodJHJBZdnSySnoUSLY3Moloq laOtaVx5XBNJGpW+1eLp2FT73L4zgd1E2gdE0ahErMXXPw01Tj+uv8jVd1NHfG7m9jVoiIn0n0s6U aiBQxVJIRu9THxFCALY3E6UvBgWtO8+wx67X/KGtx1ZMshWt3foAjxUgwGPUaGP5aUE4KyuLVgMMW e3TIQdZ8a5M4ReCs65PQ==; 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 1fEsdr-0001jN-0n; Sat, 05 May 2018 08:34:07 +0000 Received: from mail-he1eur01on0044.outbound.protection.outlook.com ([104.47.0.44] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEsd3-0001OW-FU for linux-arm-kernel@lists.infradead.org; Sat, 05 May 2018 08:33:18 +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=FmonrCNIBP6GxC+uFeKroYj6nPZFIkZkvNt0uS6KgaI=; b=gq+dDvew+PT4ifNr7YIWtXwcehuTc3J1NElAbpBiOaEMydtFoGzLEpQLJcgrgcHTV0yHrnfWFAK+ZQ981OBrdzAdDj3M+hZ2PG39Rz19zdppAM2daalcJK7YTvB379mQAIB5uyAo17G2iTHogscfyob8qYzsFFn+07qjMxsgZQE= 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.735.16; Sat, 5 May 2018 08:32:56 +0000 From: Anson Huang To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, haibo.chen@freescale.com, fugang.duan@nxp.com, aisheng.dong@nxp.com, yibin.gong@nxp.com Subject: [PATCH V6 2/7] ARM: dts: imx6sx-sabreauto: add max7322 IO expander support Date: Sat, 5 May 2018 16:29:18 +0800 Message-Id: <1525508963-7986-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525508963-7986-1-git-send-email-Anson.Huang@nxp.com> References: <1525508963-7986-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: TY1PR01CA0199.jpnprd01.prod.outlook.com (2603:1096:403::29) 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:eQ63hAArZ0Imy04vqxd+CacIgAgjBG11NJvKogoXvgxn6megL98fzALgOdR2Wnmgbdk/ryDEFVK148zSWVy3WZCI1TjbxDKWRTkXoXweM4l4XS1k6UPOlYdDcL7412b6q6GccJklpgSaGJI6mNQNGdNIFPWppRoOOCtoQHhr6D3OSW8Vsj7K4o3tqoWerg8o0VDVpZgn4eLVKqcNPSQlN9H83k7FyyL0R5ndXk7pkzRCkB6rjI5+BHZ3pH8hHJhy; 25:4VoRdeSLzT6qazw3H/Wc8X/H5eXI5ncndjw5S2VR0fmXG+ZdFNbHfKqSTkfsuG0pr68OtRWPb8TYMLYNh0dFVajmKQq8oOAIo4hBWUjq9POr0VgJRBifB7Z1Ele0G+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+AnbTqT8cvqxxvEft2gKQbFdz/gwVdM54GsY1pf83VOIIZm4CDxkb+nhUjpRv4asX3u5P+ACyIv9lK4367Xvc2XRiQSEY6itcbJi5rvdi1anKDqb16H12lOPNn/QWCp2Vgazcx3twOaHiestH3Bw8sCA3g8IWhK8kgn4yPDU9q/7uqfUV5VNKatn87X+zSEklUzbxFHMtsSgpolrlQQXfPW7KyW4TQP0xKHaGtlU2tDNuMTqNY0CPCJCig6tn15QC47kVmkrqx2o+BpW5cWyJbo52uZktihF8xhI2cIxuX 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)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:AM3PR04MB1315; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB1315; X-Forefront-PRVS: 0663390E1B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(346002)(39860400002)(396003)(39380400002)(376002)(199004)(189003)(6666003)(53936002)(81156014)(68736007)(6636002)(7736002)(50226002)(4326008)(6116002)(16586007)(6512007)(3846002)(8936002)(575784001)(186003)(86362001)(97736004)(8676002)(25786009)(16526019)(66066001)(50466002)(52116002)(51416003)(478600001)(106356001)(105586002)(26005)(956004)(76176011)(305945005)(47776003)(386003)(2616005)(5660300001)(316002)(81166006)(48376002)(446003)(6486002)(6506007)(476003)(2906002)(11346002)(36756003)(486006)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB1315; 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; AM3PR04MB1315; 23:35KGcd8TJJvmu+Npgf6LJswwZBEsmiXfGU70eITtv?= =?us-ascii?Q?5fw6l2UzNCuca2jtpk0wWVIwIWf5ZrN5HIipmxfHBhX6KTA3nZslOevkzXWG?= =?us-ascii?Q?FlfCzbcBwuLlqLK/hyfb4WWIgPdGN5b5KlLeJ524kYMtmoFg2Pr24xsW+wYN?= =?us-ascii?Q?MUjM6PdmDxXjIFd6bm8YOMpnEv0pOuWWfaHIsOhm7Om7ETNKv3keoIjPYU9m?= =?us-ascii?Q?cXCPhC8ukYMw25KGe9Ty6z5WUUPIXj3lBVLO41T9xwkB82VSNUKENuLCtn2b?= =?us-ascii?Q?WlwgfY/dszsoZkzM5Y/mo1ckgRXi32kz4H2kJCy1R9Slk8F7KLoWPdEbry42?= =?us-ascii?Q?apC63jlrOgOn42dTXYzKys7TglFVVtfMe970Fu3JpqYl/Xm6SwwqYwVFeBi9?= =?us-ascii?Q?1fyZd7Ov/cr/5Cm3gfymU6fL4tKwMapiQq8dmHybJBK+yaZFI+pShJcnhRQR?= =?us-ascii?Q?iy09r804dXLzi2wBt+eY+bKJiH0mTYOKETaMMjGyrwGal/ncorHxdYGyZcld?= =?us-ascii?Q?FlXI9CmD6dSMJemInnyfSBt47oBY9a6F4N/k2bygvNXG/u9uM8Wz3qu9jT23?= =?us-ascii?Q?XNietvDexeV3Q2ekYcIzkC4WzxSYRrCNats5VT/CW0p7ITpSjSSOcg/ne/Df?= =?us-ascii?Q?zFw6v89PpSWnGb2cxiU5m00YsvHXtyAHmGONxDRzC5f9/sFgXKh011eRmUPB?= =?us-ascii?Q?nMHrv9UgVwlPKtpP8keO5PN8dl8yTSGIZXCNVs5V2aaVPPc33TWEtJYSRn1E?= =?us-ascii?Q?wfyPTH6FvSclQvR9vdoLZmBupcMdAc7fy9KkNAS/lYtM8bJkFim415NntwIe?= =?us-ascii?Q?8Jne5QVj6QgzffrtYlYPIPCMu97XWp9veaQP3f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4DotnCDWf8+6Rp/R7V1p+2OJx7X9ayPvnxNVlDVMfZw2tzL8ytEJ9mZ+gfUxUezl7FNU24aZC2Ifv/XsnQc5eWnVMnEygfgOPMnEk9KCczkoTBxYpsQhRD1yjd9uYs3SOCWsg==; 5:cASKwNdAwiTDJ/Ay3o3fMl6q87+vHC5kL+hS9+2ot6eOzQCe7IgLTmLgi7eVKtPCjS2J36JGjiUUa0TCd8tzGDEN7ABktDc8JTJdIPtIy5mpNQ7jZu25Sq1QlrPOcdVXRPLn7WNNjLzsMYiUcH8z/zlLNVNlwhbUqsrKSEvOWgM=; 24:CdZuKPUgNHdQPkIxjN32P3B6EAVy3RaDzXDUfZ+BqFd+QvgANpHVBNEzIfnNKPuQCFx87gV/+WgI4lm+jNg/IMPwuTsha8WcJzJJI0CmRks= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1315; 7:8iW2Dt08zfClnKdHK/mekWJHeEjMckNtyQNwGnYx7oatHVzRXiwsi36GhOCVUgUx1LFdnW/onrvWJnKbIaMuHKESB25Km6DxN3k2xl3TThUzsmceuDl8NmqneVl37FKodJCK0pdTTGr6vvSQUAigzdQJISqhwMDv5QMjigQXmzkyFrf0BvOfMbzp/goGEwpC23O08hrGbaFJ8Y1vrJs1yk6mP3kH5wgUo34bBKxn4976nYPlPjbTyx3NTcUPAFF1 X-MS-Office365-Filtering-Correlation-Id: cbf0a41a-875a-4e19-6ab0-08d5b262d008 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2018 08:32:56.1569 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cbf0a41a-875a-4e19-6ab0-08d5b262d008 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-20180505_013317_542653_063ADFE3 X-CRM114-Status: GOOD ( 10.14 ) 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: Fugang Duan Signed-off-by: Anson Huang --- 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>; + }; };