From patchwork Mon Apr 23 03:46:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10356127 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 EDA1260209 for ; Mon, 23 Apr 2018 03:52:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFECE2899B for ; Mon, 23 Apr 2018 03:52:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D38DB2899E; Mon, 23 Apr 2018 03:52:25 +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 367332899B for ; Mon, 23 Apr 2018 03:52:25 +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=EN9oPVNP9hmiIwFbbbD+xBm1U+EbaDYE+j+H3vLQ7Ac=; b=r3zf+PkU/nXH54 cTM/hFrt+Ma9y+kBx68SfT9k9afYerG9ME8mRKvXxhHB/4PZ0jQwVi5BgWxL/SzoLlDKAzUsKWqsk AyY6mJqKgQ/24Ah9CBgsNYK/5u7Ml7YEmbdb2SAiuEj5tuR4rrSTNd83r01fAgv1hv7YSndRIyZGh q3zYdUF7WSMF9QRS880ySA5ZRk9vIanEsy5eDyfxB+XugN5nAXcjymBQLV16zqgDl/rNCHAiTOzKM EB7vjGhj9LsxpRcEn5e4LEOmIoejMX9opP7CyuS3EILS1zSx8ayGpDg7w6ioz+b2bHBQSf+M3t9Y6 tYgYibKVkDpyjgUecp9Q==; 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 1fASWW-0000C2-9b; Mon, 23 Apr 2018 03:52:16 +0000 Received: from mail-eopbgr40067.outbound.protection.outlook.com ([40.107.4.67] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fASVq-0007Ul-4W for linux-arm-kernel@lists.infradead.org; Mon, 23 Apr 2018 03:51:35 +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=+j4LpSWtm4MoKLgpLBqU8yveVr4K/YMLejWoQXp8XeA=; b=Bir3DWv2WoykQyDxX4NxrfhsCuglULPJtS6pG5K9A//QMxZwBhbZeV5duLOvexN8XUxq/mBxz159mSQAqGMmj3oLSmbAGJ4kYHijAG751wAmpVs5n/4LyalP0dfEK8meNmV2khjlpurX71fBf4H1FxE6e5/Fdut4h5ZLAl2S5vU= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by HE1PR04MB1324.eurprd04.prod.outlook.com (2a01:111:e400:588a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.15; Mon, 23 Apr 2018 03:51:14 +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 2/5] ARM: dts: imx6sx-sabreauto: add max7322 IO expander support Date: Mon, 23 Apr 2018 11:46:56 +0800 Message-Id: <1524455219-6736-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524455219-6736-1-git-send-email-Anson.Huang@nxp.com> References: <1524455219-6736-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2PR04CA0088.apcprd04.prod.outlook.com (2603:1096:202:15::32) To HE1PR04MB1324.eurprd04.prod.outlook.com (2a01:111:e400:588a::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB1324; X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1324; 3:7P6FE3itk0BO/045z4m4WVsRhAtQYJVWwsq64QbU/6uL3qS+Eoq8VViGM+itjN+8+OHmxsfQrC5w/GEBTMERI6xa7/8GojlCfLPxtsFxu40GqrkQSKiE9Zloyr+LsTndJjsixR0ZQ0IGiPXCUVg2DZuhlMmf31K5TUG1r+7CYabOpwRYH8FhnJAOR7m+niziT73tgaFLxWEmlLri+xjZH1bblfvbEjZHmJo8AqdDMjE4dxZH9mmjItpynZXDZpHD; 25:MjY9tJ/YZbwYJPRPdL1TcEE4CdY+Gi4JMTHsusoPOD5rrWJxQwaDnfoiVb+2DMA8nY3FnXIuqjGMXTum/W/PaLNVM6Kdc1H914D9BgG6czn51zLzOgmYLvk9sBKEnYPZlcr2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3fmPXlndZU19B+8TgesHeaFsC1SBQmjTzZaQBD2fCS6+PR5Hw4WPKhrdCFMi15HyJbMiW+9wB/hlYD79XoebWAEPq2FT4/vr+RQKmRRLtrsCoNEENBOoIYSl2qmPZdKGy/scJTu3HSuXbt8gFS4OjNf4coL+aPFftJfHzPR1BzL/nWX1SJeg8Dl+j0YbyPeojvvz3Fzi661DqevMC5NA9VYOFXtN57RoDl1dkyrQclS6cY37/GLRC7iU04++voZEb+zHQFZR/Zy2fO00rmR 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)(3002001)(10201501046)(3231232)(944501410)(52105095)(93006095)(93001095)(6055026)(6041310)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:HE1PR04MB1324; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1324; X-Forefront-PRVS: 06515DA04B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(376002)(346002)(396003)(366004)(8936002)(6666003)(26005)(186003)(16526019)(386003)(7736002)(6506007)(6486002)(2906002)(316002)(16586007)(478600001)(76176011)(52116002)(25786009)(4326008)(86362001)(36756003)(50466002)(6512007)(53936002)(446003)(11346002)(956004)(2616005)(3846002)(6116002)(47776003)(476003)(50226002)(305945005)(5660300001)(81166006)(8676002)(66066001)(48376002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1324; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; MLV:sfv; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR04MB1324; 23:r3VF+nIVRQbzQD8kkpdWrYwuf5Q06CnDfpXH34BaZ?= =?us-ascii?Q?0U93j0T/qQ8osch0rlMF5SxhnGdQCCtgI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/G6PraPDzCAzhYfW/T8VignTY5WcwpcE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1324; 7:SBZVmVSdtnDYxseSF2gjwQj/rDimuqoFGvE2sjNA3Sd+KW1caohhczYS90HXmyKq7xZ9gXGEj4g4XOfsa3X2X4S8n7X6LqinQLzYYchfdYDrCn7QvgbAoGF24wDa2smmcR+vlapr0WSo3gNpR0m2gm3mMVPFZ4L3XQJNEh3N7ARbsflkYmq81T5RR9Ra+DOX5mg2MPwqhIB3UqDx2Ny1tOlvp9m0wTYzxXalWnX9zW5oY++qDnFOyZ6SU8tLvlib X-MS-Office365-Filtering-Correlation-Id: 899567ae-3f3a-4bf5-37f1-08d5a8cd77fd X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2018 03:51:14.7950 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 899567ae-3f3a-4bf5-37f1-08d5a8cd77fd X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1324 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180422_205134_189812_97AD34C3 X-CRM114-Status: UNSURE ( 8.86 ) 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 --- 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>;