From patchwork Thu Jun 7 17:00:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 10453203 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 3B3F960375 for ; Thu, 7 Jun 2018 17:01:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28C55294AA for ; Thu, 7 Jun 2018 17:01:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B6B3294C1; Thu, 7 Jun 2018 17:01:38 +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 E0DB7294B8 for ; Thu, 7 Jun 2018 17:01:36 +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: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:In-Reply-To:References: List-Owner; bh=lKHWilFCGT1OjVgVy1WqIM9Jd08SobBWZtWK6XS+zSk=; b=XV5x1plkfmzfsK v64VdKD5NxsuOG20LjID/nUObqkdhUvCUOqA0tBljJEtLsM78Ha2jKvXEcodBKRI9kJz4cFmdOMBr QTsZJ61XVlgOgf8od68nT/0WxdkisPJvbmVLGhynxVc28EzYH2bBZgt4RwUnQj5NTckdt6olrriIA kV4ZrEUHvcFErHMoM1fKAwzs1ig/xTl3hVxj2Y/A86I9AWRQUCQMPInT40fe9muFgmoX0M9xOvyz0 PEuvMnAymPruZJisLLahT6fk/xbRbsGzaMJl4aPyMrtezbo+xyoVV6R4E6/hp0wxpnKxvL8dMELBr mdh1QkSNTtgPOxJx1e3w==; 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 1fQyHw-0007VA-ED; Thu, 07 Jun 2018 17:01:28 +0000 Received: from mail-he1eur01on060c.outbound.protection.outlook.com ([2a01:111:f400:fe1e::60c] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQyHs-0007TU-7A for linux-arm-kernel@lists.infradead.org; Thu, 07 Jun 2018 17:01:25 +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:X-MS-Exchange-SenderADCheck; bh=ylIxPUCDrGj9o01gPAZWZDvl13lRo9NVConod3s+PNo=; b=hySluI8yNTgqqd/MY2kjsDWYobH9XJcQfqLDID19qoNohViTr2RWCI9BJIEbitvBtnfBJG/YoypyykmOykVYZLGwcApzOpAtgVd5HrZbkJTcQGgFjsjcl+wHFPUZHKIooXx/JES34JNWGU1F2IvgTAn+y2DW+YL7Dk2gztfcY1Q= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; Received: from localhost.localdomain (95.76.156.53) by AM0PR04MB4290.eurprd04.prod.outlook.com (2603:10a6:208:67::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.11; Thu, 7 Jun 2018 17:01:07 +0000 From: Leonard Crestez To: Shawn Guo , Fabio Estevam , Fugang Duan Subject: [PATCH 1/2] ARM: dts: imx6qdl-sabreauto: Add sensors Date: Thu, 7 Jun 2018 20:00:55 +0300 Message-Id: X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [95.76.156.53] X-ClientProxiedBy: AM6PR0202CA0017.eurprd02.prod.outlook.com (2603:10a6:209:15::30) To AM0PR04MB4290.eurprd04.prod.outlook.com (2603:10a6:208:67::17) 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:AM0PR04MB4290; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4290; 3:jc1OLWyudLbiYUuCOQY9WszEzXhgasjTStwC4jLd10NnTCRJE1ObzbB9P4UhN0Kr3+PviXuCTU4yYxP5xWFxerONiY/ZqjHIv9slFHodpWuZb3j/HuHgsmBamIN2Ln4Cz1juMf8hyeJ524b1geDwvG0QgA69EQxjlX5DkbAiaLT1Tf0/rztSPjqrnpxr+qCs6xwwcIYPqAf8BnSy4kcc1aPukgMnwd+jQ0tZWXOohdRJjL+RzKDAJ47qcJHHTAiE; 25:FSAA7uz6YZLp3oV6CNBmwxToAcUbx46iomz8BPepMs0gXw/WZkk3hDV3V5yfUyoCqyExTbLVauQuJzBqiA02RUMhqrmWsCoahEGR02KPOpX8xJycoWT9oJUMnqM1wqb+kRYJzd1vedMAOmatTKwjqkpMgkmQVrrdSpVp+F9ifnLP3HiFjrpuwPijUoaAVnbZpkCMn+jB7HTQYxlFttgjuNUiVIHvTzP5y8bBnXdYuXa4AkJIq0QvpjC77sHvRpk2CcaqeTQhiayDToZWrRhXJtXhJNJfyO/1mulVrD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YzSdHgIBMyusGDIpc/ZgV66QPsMzF2aKyRL0zj9DuhWP7N8FFV2s0CfiSioC9uHSyG1Kiqrv9G3KylaH4/3AR/+JbHY/qConl6DRZmKQDRd1yfYQTd+1+ucNAyVcIK5 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:AM0PR04MB4290; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4290; X-Forefront-PRVS: 06968FD8C4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(376002)(346002)(366004)(39380400002)(39860400002)(189003)(199004)(575784001)(48376002)(2906002)(105586002)(5660300001)(81156014)(6636002)(106356001)(305945005)(97736004)(6512007)(118296001)(956004)(36756003)(3846002)(8676002)(54906003)(86362001)(50226002)(6666003)(110136005)(39060400002)(16586007)(7736002)(66066001)(44832011)(68736007)(52116002)(25786009)(186003)(16526019)(51416003)(6486002)(53936002)(50466002)(47776003)(486006)(8936002)(6116002)(26005)(478600001)(6506007)(4326008)(476003)(316002)(2616005)(386003)(81166006)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4290; H:localhost.localdomain; 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; AM0PR04MB4290; 23:AgcNhchFOJjJpFJtcyXXyEnUrqInIVfe5mMnUZV6E?= =?us-ascii?Q?rMKw6bHbiCCFfo+1WxCCU5vt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LF9Z42b0gN8wViVKwGmzZezhxu6RoudHCK4pSPR7TBho6wZLiBOZR9hstvF/?= =?us-ascii?Q?91a9AQPxHNnZDUrI266vxULJNkBtgVdFSYK0vAPxV+6pj3MBio2xd4nIaBAm?= =?us-ascii?Q?bEhDEHtgVYs5AWDwgFn8ERyNONmsgr2WTNJGhVv3MU1eEjMxistr3M6av7Rq?= =?us-ascii?Q?KgKFnBmW8oJD3aHrqwSO7tWOGlaVVevEwNVMetqDDp+FWE3nXirVvde8zT67?= =?us-ascii?Q?IGNQfKt4CNO74OWC0h9FbfFTLoy2Og4Ja+p+sEQ4RW3Ge8N5gKxwbv97KCOW?= =?us-ascii?Q?wH165NvBGgmCMmA0Qd4bhkuOcayZYoIEQSVDr+2JpWWePmwTb6TdP35Ae2fS?= =?us-ascii?B?QT09?= X-Microsoft-Antispam-Message-Info: AwNHjkwjerQzipdxSum17lRWRIF8tPfO3Dug20nDvVuKIcE+2D4qtVfnpSb9K8tN8XekRcnlkq80NKuRozW++ADiIhBL6XRzHXdFnVHg2myI2qHqzHccvTdrrnE7zRwgWAhQiCmZCKQ/rl9va19/LLfqBaQQifo3hFdVlKjRBl0hNeHAhZRkUTFK38GAKqYz X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4290; 6:nStaIKiGfLA8n0xSoH10Kzql0QEpphGG0en15L1v1MY7svfaBIHVB88sszqHsYMWvivvXuorBod+8cFErz8yG7UF9ugQvq/wRazVdmm/+1msdYPW+WxekLjZ42OMbyp6GgHJlr2fJwqGtN9oaFZsjrqk/FhA5G3+PaBo6RniYO7zBbbsNfia5Zy3Alk017OFL3aMnBF+8M/LwQatIJ39+U3uGMcebIS1z98NQCu4pGAUfpssKlApksZkVMBDaGObtWNuem55R9qIUDziDz/QhC2V74Y7ZQZfqGscbhrgKyrtEmr4Wi/9lmLn5zmy+hc8E5MIwoGg87hyyfEZ+AlHcws3OmamkgmWy7/1QhlokltVR54zB1nxJJ1TjuviUVGzV/2iX8snvYaBbdU/F0gSFfafU81fat1BvoiCgG0CF/2vuWWUy2Z3rkF5ttB55vSff9Iua2bmp01v1QSDkacqhA==; 5:u0VhWI4ZMTJBQv9G0MBh4DQ/Z3EELRGG9l29WcF2RTaM7rM8PC2Rn62lFUokJvfrmhOmF1YVygONnUMtCS9hBJlQFnH4LuBCLiSIeaSvTc5ImaUUWcZrLndjw1evdr2/mO2kD7BJLAXHMKEGN1b8KEbaqe/jLwF50+Nl6vf0WtU=; 24:U4xeeN+MZNEJOOXbr7pTf+zPRKMEYp2MFEhSi6+wlPn6r5bNH5wccN2afxlhDqDnCpE/QCLAUYUeM1QbiBn+bBfqBf1/msih2T3H9ifKaYs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4290; 7:X6vWlW5fW5xuPSC2FWuxrwJ/iFU6eih66PjcmXBpB1yc89jKgzn/7jL6kKzWd4OOZHI/hMRFONDBcDIedwk8+msSpXLkjZDYCtRYNOo7uDVjn5ygu1ithXnqff21BcrUao/5euAFABVUPf4zfEYasCnvbPabuuQaOcbVWdyEHt/10VLrz7ZULmifxj6oDX/8nhK1plKAW9aymMTRhAp4LZMgAfe3wjYuzK52eBgIRUtrcMiQ7FBK56LHRU8SQ6W0 X-MS-Office365-Filtering-Correlation-Id: e3b074c7-af86-4f96-e829-08d5cc98439b X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2018 17:01:07.9145 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e3b074c7-af86-4f96-e829-08d5cc98439b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4290 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180607_100124_453271_6CC0E735 X-CRM114-Status: GOOD ( 10.46 ) 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: Dong Aisheng , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, Steve Longerbeam , linux-arm-kernel@lists.infradead.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 The following sensors are on I2C3 on the baseboard: * isil,isl29023 light sensor * fsl,mag3110 magnetometer * fsl,mma8451 accelerometer Added under i2cmux/i2c@1 because they're not otherwise accessible. These are all supported by iio with following configs: * CONFIG_SENSORS_ISL29018 * CONFIG_MAG3110 * CONFIG_MMA8452 Tested with raw reads from iio sysfs. Signed-off-by: Leonard Crestez --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 54b0139e978d..a6193240259d 100644 --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi @@ -160,10 +160,31 @@ compatible = "maxim,max7310"; reg = <0x34>; gpio-controller; #gpio-cells = <2>; }; + + isl29023@44 { + compatible = "isil,isl29023"; + reg = <0x44>; + interrupt-parent = <&gpio5>; + interrupts = <17 IRQ_TYPE_EDGE_FALLING>; + }; + + mag3110@0e { + compatible = "fsl,mag3110"; + reg = <0x0e>; + interrupt-parent = <&gpio2>; + interrupts = <29 IRQ_TYPE_EDGE_RISING>; + }; + + mma8451@1c { + compatible = "fsl,mma8451"; + reg = <0x1c>; + interrupt-parent = <&gpio6>; + interrupts = <31 IRQ_TYPE_LEVEL_LOW>; + }; }; }; }; &ipu1_csi0_from_ipu1_csi0_mux {