From patchwork Wed Apr 25 03:30:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10361427 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 31D516038F for ; Wed, 25 Apr 2018 03:36:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21D1727F60 for ; Wed, 25 Apr 2018 03:36:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 13BFA28C3D; Wed, 25 Apr 2018 03:36:24 +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 8607D27F60 for ; Wed, 25 Apr 2018 03:36:23 +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=lTuOICuvnKiUGZCmKNjLSyHsCHoomMqGnfD3X2IQOTs=; b=n1EhIkkjfmw6gI 5USoDm+6iLv6ooxCFneoMprVNt5dwPy0HbmiX1t3hrd4pgDg6odNvCPw0vNyvYW7P023j8rHPQWkS VlDwXERWuJgnxOAkHE0YftaOBz2a19U81boKYqrivKySx20zInzCwq7PhjLm9AS1TWRGwyBn7Bs2b worH3Kjg7iHYPUcXlEYTsDhagGTRItUiQFlDP21OzQOKz0T1N/7XUN3vCpmUD5SCKPsi1mQPBvCaC XvMSzPNqtWpBXXYp1AHKyM5JmYcVDjeGqietjgUb3kP3zzCnXl87wi5rfgVr1W+AkTPuUexCbFPPd I9wRn+imBgsbQ/RT7zmw==; 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 1fBBE7-0003Bj-D9; Wed, 25 Apr 2018 03:36:15 +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 1fBBDF-0001xy-Rb for linux-arm-kernel@lists.infradead.org; Wed, 25 Apr 2018 03:35:23 +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=t0VbLHJaH6/l2Cp1BkooTSXV1eQ2ENPnAHKtPH5Dz9s=; b=HglSoIsIE9+KpwdwHbbyroOg0nyPMRh13aMNCH4fbUTinzhu/YYDYYpRrWG+7EfDzhfYkn+WSnYSIrAQ5puG4vYjl1FKQqJ0WRODLDqavrigQ0XCC0OzRPCMP2Fs0GgnaOiW1hE4v7mTDVoa8n4wAGvGOevsQJkiUvOqROlqcE0= 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:04 +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 2/4] ARM: dts: imx6sx-sabreauto: add max7322 IO expander support Date: Wed, 25 Apr 2018 11:30:31 +0800 Message-Id: <1524627033-535-2-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:ba9inBECX63rw4J7UZsOqGIJppbTHeCw6B8Hyq7QHBmm9KxhT9rPJj9W/xDa0QmEA0fe1mnkHkAFC0LACS3ZElD9S5grwm9rr/vKJUFMsM3JYYyhtb1QKJf7V1xFUvMaUYsEJtXkvBYq2rj3gbSxvjzlubRxanfTEliMUqai2p1HuyGVkQttCXLwyMm9bxLfZwSlIufztlLq8AXAf98BOVfxxR9GyVyYgLX4Mqe0jIrjFCYEgvs3U8IRyRMqoHXR; 25:rHEDvZXadyXpYaQILMm3rQgtf372mujZUFPRM+P+fzwg0WLjqPjdY5cDfag9RhM8IMkrHwFdXHAzgJbxw1iBDCUzcjf10hIDJIP1W7oGNSguf6qX4lFm+FuiIOZ5NyUq5Ueg9RnnU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0h/QyX6cBbXCluFZ2bO0oLRu05v2BbaiKvCNEwsVDT1ak0EKMQ7h1oTbYrlxYo/GfsKZ/fljNUM8rWhDmNW9ZYHvbr2AWxEXrWNcvESGqnQLJIShiGy06IOyFF9rmiCbsDTYz3VXEdfj9K0u5z3OjlMr80F7YrgSRkzpZu3JstXWb1IFSmxqKpE35TZTrdVGgrksUit52cgm6fliydyNdQHnRUKgTzFIsOh/DSo8Hc9efLJKFnIaaOG8tYSxkvgNg8KYDpoTzVms2 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)(979002)(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)(969003)(989001)(999001)(1009001)(1019001); 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:XNWclvK+URSuN2K3lEvHSTa2KoLKGJL5mPuM1WhUP?= =?us-ascii?Q?wv/rrRQICv44XmTL2xguZ2vXr+64aT9EkPOo9Bf5NWWgz2zWqKI2j3AwC48h?= =?us-ascii?Q?AAD+fD3QnTPr5wlVqIbmNzrgfVleV9xDcyquyecD/5PliB75UH0/Nvmqx/7F?= =?us-ascii?Q?zNRzLIN+UcgJ0Qf6hfpQqZ9ykCMbIMEnCIdTctDSz7VbYqNKbZ1ZR8owbIci?= =?us-ascii?Q?g75RHHlYoiZgwJ5VSbCGdEQ4ugWXEUvdIJDbke6htxWjwiGnPpqGawQ8rryI?= =?us-ascii?Q?JJsN5yAUwstfvtW8MCeWTSYctpsokeQesaB1tv3vw8sGTO/tJxciawsQgrH1?= =?us-ascii?Q?FNBtxrUL5HNEB4f7mfBDvBifLxHSBdGMZTKHp8fbH/6zMkvuX+1cGlzMuU7/?= =?us-ascii?Q?wFaod8CrpicFG92fqwdWkV7ZFan+y8EhJDGa2M6jDNe4mjWU3ayKyjcM0j7i?= =?us-ascii?Q?U5n5vhstxKNyhD2GjxIQpalUS9f3++tEiFqQNQxEpvXRLSdFJ09tRw+expsL?= =?us-ascii?Q?V5odHtU90AB4GPo1VlW4i/DFCfM5y7SVodmPlUyU9xToegEpbK5LTa3ciICm?= =?us-ascii?Q?sn0Hq1G7UACaXDzoBuR/XnR4FMrnFZkoPbcmjgFItAXA1FjAEINelENquj8P?= =?us-ascii?Q?LA9lamfEy7/R6JQn9E1cvtgTB2lMnWUaVD8xSgBiiApFV9fqTFQb2QX2RcKV?= =?us-ascii?Q?W91alaHGRxAzXsvIMpVJX67PUyWmb7cvvU91JmbekAfkR42v73S7/2gx0OEU?= =?us-ascii?Q?GsQxrZGKPudA7P+xn+cLzU5XlMNtQWf7rkIj/f1DbxKuHr62SsvLGGoxJuM1?= =?us-ascii?Q?MeWj2WWkkKH64I3G5lUf9AF5pzLBaV144z18kxvaRi8rQug6rcFBQABDhL+1?= =?us-ascii?Q?hZICJl4MU+qyFqH+bEpETC3IOBmEkjUscrh1p4/NRrhHzoDiACRO/5wNeV+w?= =?us-ascii?Q?hNkyw/tEWNodRPovBTdaEUxr0T0id7gC/+3PiXiL7Cl/0NQsd06XBs7sP/Jl?= =?us-ascii?Q?txM52JPO948HH7pu2HfqEbTRULBAsyMzOt2NXPhnZNkVn5cvtDWXI4kl1jZS?= =?us-ascii?Q?zNa52h9KNeNUbbTnhtZMFJiyifopjSCFyJq6OkCegFiKTp786OE8lmppOY4P?= =?us-ascii?Q?6LNcaoPJV1gq0nzcFIyb9A+ggWlVHUNXxlloF686ep6VnqBizh0HSbxdKkm9?= =?us-ascii?Q?J4JA619B5kqbq/mXFtXzeLftt38UEn3ByNoE8EHa6AP0DpJGSgBDbxKkqSMW?= =?us-ascii?Q?uACaSTnMohDi+aR0YppP9wb2CQ9+BWigidNPP3B?= X-Microsoft-Antispam-Message-Info: a8H5Fz02E+iMze9GaJ8ZU1MpLuuYB0hXtx2+cenqijtv6eZdL/GnKjdkSfksleiVBPTc5YGfHDDbh35cAhp+nsGD+5DLbQO12V7Svnxw1SulYwN5QIzLEFxJYECJqiE1V40usmHGvYkZDUBcVfQ6t85mA7tYShMhJfd8KR78HCj2CZTu0Ddd3ttvMw4oJk9D X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1317; 6:mjUaWJv1sjQyC45RK89+UsOk/lPh+LXTbFbY5KPdeH18mt+xl1aEs9mKdGfFwvPlNiXcA7wZDmpQmy0oFCOyY+Mzl217p49SGERlGb3bvR7+5fbWXzYQZmNbHMZNnUjwiprdTll12z4srFrxy952OQilMYtpoc+ZHiMjT0kn2kn8zPmxtJWpEI6KSrlDCvoHhgf2UTZZhc9QMXXSCW+CABJpfEZhQPJb/B/nEGBi5ofKtwnSlC8YiRCuGztRXjw0U32aZVtJHummjNDfKbjAKqzCk4X5sPw91RCdLHZ4YjiFH46DnSTZVVsl1KBJeTAF3nc7gIwNHMvzoAGtdQRGemIXTsLBPzmG3kQTV5llHeCKGGjSoSTV4ifBhrDaUJwrvE/IDx8HWUBNBx97INfbyihJueDe8hsUpfA66dlEWPIGYzlxGPMv4ITxqfEWDj1EZiaewZ9rpEAqZ5roNLOhWw==; 5:3ZNUKuDK/rPvCizA/pMDrp1QBYTjzOyC1oylNN9U/LsjZ0AJ1RtYqk1T6/eyBssVBdtz/skcZisGxMeBKUeNaJpYmEomDmTvWmxN104peQkmwYRFVlSbD4kpmRVCG91sKp2WymATSzYmmmvhgLdMfs/SWFpPAQsh+QCwJPaERr0=; 24:mIL4o5JZP5EPAJnRZF4KsvL5AH/62lHz8z44mEUtLTFSACX0sz+fujSwioICpkoIAQcJe1jbwnafuD4H1uEzmK+3DUEQfx2aWYLD2zmvSuA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1317; 7:agCD0x9yTkVspCGEpWDPxzSnqBJidU8Qr/wEqOpFOFXhLT8QnV4Z9UP0oqjzYPgRCs+KCsj8+K/kezmZeDae3mvylV0cDflD5o4W+W6t3pDzSlxyK+V8wGj3hc5h8/QOgL0VRoJuvNDQh7AcoCyHv0PJcF97a0soca6nm8Hj+hZsI3mjjlxab3z+epJlUlTP5oT/uOhg6sfE1JRQOqGEmC+5tqwveQjWkdMN/0HKITnq6atNoMLadZ6LZQE6IJH8 X-MS-Office365-Filtering-Correlation-Id: 3a7e3b8a-4232-4fba-56fd-08d5aa5d8ac8 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2018 03:35:04.0325 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3a7e3b8a-4232-4fba-56fd-08d5aa5d8ac8 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_203521_903434_BB231E6C X-CRM114-Status: GOOD ( 10.09 ) 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 --- no changes since V2. 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 2caca934..d59084f 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -163,6 +163,13 @@ pinctrl-0 = <&pinctrl_i2c2_1>; status = "okay"; + max7322: gpio@68 { + compatible = "maxim,max7322"; + reg = <0x68>; + gpio-controller; + #gpio-cells = <2>; + }; + pmic: pfuze100@08 { compatible = "fsl,pfuze100"; reg = <0x08>;