Message ID | 1525588093-29994-3-git-send-email-Anson.Huang@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 B26C460353 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 6 May 2018 06:33:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9FF0E28C5C for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 6 May 2018 06:33:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93C5F28C63; Sun, 6 May 2018 06:33:42 +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 D7C7028C5C for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 6 May 2018 06:33:41 +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=ug9941V+Aq/GqdD/BwnNWvwAUwfgnl/B8hB45m+onQg=; b=JDQtaaqgKFq/CX /YJd67BVz6mADXiDNBE4EO0YWpADjqYi94tOA7dhR4aYGDAI/nBA1l+XkAq1EV6L5V24T0GCaElOu XGVZE89BMYZ2hXCFiQ9iZR/PNIbvU58WDcXFksz3nvNBxT/CpLDCTrvLL1PrDPPYJdT+cBIuYEy7G 53226dWUwDEKScLvMab0jj6kWh2Njm0uKhLiiuEY/3sEipwXEDZgw+t3UcmWAwdtNPbBkYcDK0i03 JpeTEDMt5aqrmW+DXSj9bAQjhaCcTC0MlZpaRR9/rSfB6FlzlajFdofecr+QK3AZlu9fR5xfmGuJ2 DMLQoStHIpeD+4aq9P6w==; 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 1fFDEi-0007Rp-IR; Sun, 06 May 2018 06:33:32 +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 1fFDDG-0006je-6v for linux-arm-kernel@lists.infradead.org; Sun, 06 May 2018 06:32:03 +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=qYRNdQkubZNtxPmBXX9ZkS3fkHOfwZ0gmBSDcM5TRok=; b=bUjoNqkWnSXvALzfqfR/ObHoZFa8EapTiIwaGutoyQ2raxhZGqOpHGREV2toPLqb4cnuxVS3PV6SKy0CfEsFazDc23ikS4J1tEkUIY1/INhmvRw3EY3Lbp9J9/eLkjICAvWyp+9TB9D12jWd+8POdYbn9QiYJaVRt1KT4w2qgN4= 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:45 +0000 From: Anson Huang <Anson.Huang@nxp.com> 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 3/7] ARM: dts: imx6sx-sabreauto: add IO expander max7310 support Date: Sun, 6 May 2018 14:28:09 +0800 Message-Id: <1525588093-29994-3-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:OoWmyx11yKxiwrHQmnJ8AV6XlyyUjnCmRmZYYFWm+irbGbwFzd3MMYcA8cm8Y/RZSo4/gskopqd5hq8YUy9MNGEv1EcmFcjuJYkcUm7D9Hx5ueo41MOnoEN7pdbiihGUZ5VHb99WQV64m4aj2Yd3LmSOyzqW2jks7O1jyGzN0BltDskBZvfe0RoOMPf0Qmcn27pJKlrpTv95BJyEVbilk2CSTdXgIM0ePfm+BwUXQCnPCwNHknT2q0NX3+kgR9nN; 25:o8f4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/NjDga5/4AjIOo0XxZqzU1CEBNKatm8D2DfP0yND8EXNd0BqGCpxXAxjkZZwoH3bLMqSCP861fsiP8; 4:hQztoNmnX1c/zHH9kLOeZlhfSHcHnwspbGHM0idChwesrZBEA/2JlmPQkL3mxaXC0wlSEcyQebuHTZ/HOSnBnKLPDUPzpAAp77IFpNzdJ9Ytb2vnp08FedRJT8BlnIrPHv3H6JQlaYSI7S6odUwYQsYon5d8AL1Bn55kQBuo9cq8SWNb5CfeB8vCoq0am8N/rkYLyy1/xWbNOgCaXdijArZZFC2Vb8B8NCvdsIF+Ki0yPjV1uL7FQEUTWROOiBFBFjMGCaGqZ9kZwA5itIKE/0VLMJw7hFtvejixZsqgDQHQGynalHAXvWleSuvwkygw X-Microsoft-Antispam-PRVS: <HE1PR04MB1323C23DF0C7404F77514A5BF5840@HE1PR04MB1323.eurprd04.prod.outlook.com> 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)(473944003); 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:08tWc9xhWqKMtSibcrtyDlUXLt9ddCCHNDoNNTHnO?= =?us-ascii?Q?Iyo+M6O8nYe0nzUNGpjUlT7FB+Jdi6Oc0GIRcleV6JtRbR9krK/xoV7+6o2K?= =?us-ascii?Q?tzsseZv+2L9b/JjW9yYWWn9RSI4OO6PV4VQgaDzOqazGd1S7NSZ0+yeJZtOO?= =?us-ascii?Q?AmpjUgzoDS7XUl+n9wTsx//y1WSYH2urtaybgDKpXEh9M7DS85GhEDvJBucv?= =?us-ascii?Q?KN/Lv+YnSqpmrSnrl3bEK7cHeuJHNPkLOqGpMiB2bPWGMA6OPDLDIDkWxDfY?= =?us-ascii?Q?V7UlwGaoJMIozIodHudeSgJHHOUUM7UDmol6oGNhgp+2FIfEWnVOEJOu9ZUN?= =?us-ascii?Q?Om9MZz0jMwZC6k3vVU+67XWeYc9r3egbJ28G/EuiVTa49YsIQMLSOSuY1hGS?= =?us-ascii?Q?TjVFRoPsoG50NBO8JoCSwcpY4QfxnRJI5OFFadk2LloKjAp2yGfnZkgaJeQ0?= =?us-ascii?Q?rGIaeGIKzOlr2I/Mkx/WHOM2Vo08X3UGGYp7Sys+0jgwwhPkLoiaoOElpkHr?= =?us-ascii?Q?vcsm93P9uJjL/8gDyDlDQLTpJ5IKhhptlRP8j6/YRGrucwAcVkh6ZeIqEfYg?= =?us-ascii?Q?edSwLkwQx2/dI/Yq8s3qH0ZHm09LHaOjZ0YdYovsbYUt9v6vkibNpfr3XR9v?= =?us-ascii?Q?Ht9O+GD4Fb+5irGq23v09LxL6EaPNgiKDgaR2JiBUb/142RNbqd25NBu0hqq?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XI1RM2BFBtjsEieQk8uyO+Bl9zAiMYhXEYle4/nKsaIFEjw229x64/lTcIt1J4OTThlih2Q87KYT4eGuOIt4K6wP+ZlackWdsDT9fw5DVgKgnY1ZXCWt3/zCsqMmG0h1D7/YQHoshPXm/JDnMtsxXgkB2UJlorDC2i6l4yVojt6R2wEC7rVZ2SCttXADZLV1izkv1cnwvPLmIqYZOg6E37DzYhr3RDNG/yYGQvbE5rWB8Rm16g8Vq8fMDC/N/mRrl0i3OkMUeGQez7yiDWhf5RBUfpYmlQkN3BbnqhRKKBlWrNDUQvM9D8B4p1mFKNl1N7R4yicYngyNf6LLoBkDUbo3vsmxfYGQ==; 5:atB6O7Eesq2huNu0lZCZBaWg1HBjGvypBFlNcsQSlhFobeV9e8FzO4LcVxdD54HmZA6vLSyFL9nJBaaRu1nlpFK01ptPYreNX4JL34mAEpVhN+vKbpYaGYQtDivn9mUwEYv5lPX1l9nXenuNNI8BFusoKEy6dS8o+PbzK9CSOtk=; 24:rsG3yh6ngmqjZhZ38l5YR0iDktwtIZer4iHp+PuBXzFrygNE+POG5QjkTvwWEKjFogdEpJmcFlE1L4UwpM1SrFY4eVbZZfcDFUWtRX+G5i4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1323; 7:OWhFJ+EAkuSnxQ6oBj7DsR8iwQqP27A179Mf39O/SCFNVlc0BIH3LCDd2rb2/eSKznwjesiZc9pG8h4uZGyS8T8IlqqBEfnS7opmhO0HDOzj4ehXtkqc4GjHCf0UMEej833otvgYxW3yzfEE//kcTdGXdtThb2N7Nb3oYNLZHjchKDun0P/F1BBDnNhH/xSWMOuXNhsxCojfNhmlBccnDxR6cIBSL3ngbGA8B/a91qusEsEdPs5BCTvzI1zJy7ib X-MS-Office365-Filtering-Correlation-Id: f9ac31d4-4ba4-4258-e3cd-08d5b31b0d39 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2018 06:31:45.8302 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f9ac31d4-4ba4-4258-e3cd-08d5b31b0d39 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_233202_301926_08D00B0D X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, Linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Sun, May 6, 2018 at 3:28 AM, Anson Huang <Anson.Huang@nxp.com> wrote: > i.MX6SX Sabre Auto board has two max7310 IO expander on I2C3 bus, add > support for them. > > Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index ae253af..4d41b4d 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -73,6 +73,13 @@ >; }; + pinctrl_i2c3: i2c3grp { + fsl,pins = < + MX6SX_PAD_KEY_ROW4__I2C3_SDA 0x4001b8b1 + MX6SX_PAD_KEY_COL4__I2C3_SCL 0x4001b8b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6SX_PAD_GPIO1_IO04__UART1_TX 0x1b0b1 @@ -262,3 +269,24 @@ #gpio-cells = <2>; }; }; + +&i2c3 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3>; + status = "okay"; + + max7310_a: gpio@30 { + compatible = "maxim,max7310"; + reg = <0x30>; + gpio-controller; + #gpio-cells = <2>; + }; + + max7310_b: gpio@32 { + compatible = "maxim,max7310"; + reg = <0x32>; + gpio-controller; + #gpio-cells = <2>; + }; +};
i.MX6SX Sabre Auto board has two max7310 IO expander on I2C3 bus, add support for them. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> --- changes since V6: remove unnecessary sign-off. arch/arm/boot/dts/imx6sx-sabreauto.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+)