Message ID | 20190731123750.25670-12-philippe.schenker@toradex.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-2.web.codeaurora.org (Postfix) with ESMTP id 6B0A213B1 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 Jul 2019 12:41:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 559442624C for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 Jul 2019 12:41:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49BAC27F98; Wed, 31 Jul 2019 12:41:02 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 DEE9D283A8 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 31 Jul 2019 12:41:01 +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:In-Reply-To:References: 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=DPxBt/NZxgzBgK4XK1Byl0SeAmdFeZeMoxHmSla9ZSg=; b=F09L0oFXLX7EsO U8yFQoQ8yxUndBVqbmJj3Vt9FmC3JsmE41k4AfRXI7jkNmFpCG0Y/ApOOAMTX9OO65cZDAD+SbzmM rMfQ4Wl+Cbm1Y0KE7d4vENKGa+RY8E9MB5UsPQdhncb/FHt4h1Ki8ZvDOtjzkkh1Dscb0vIIKksxK Qlz0NRXtzk2cfXjDsn153sGgctTBzg/4vSIsVLxnmDj64OU1IimNKvpYoBQRdh/8vdSoHJv6dhFRk EQSSZZX/segdPE8jQnfPzGalFQaH1xDD8rH7XdekCKBbzm2obvI6gCHnp8zrbzBaI6OUfPsBtJBQ+ Vp5NzwZadoAvtk/O3NTA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hsnuf-0001ls-29; Wed, 31 Jul 2019 12:41:01 +0000 Received: from mail-eopbgr00108.outbound.protection.outlook.com ([40.107.0.108] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hsns7-00066r-5F for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2019 12:38:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MGk2njyUuYKVOz6sw2PuaN+TmGfIV9owQQ0YDBcX5xwPrPvAuiKug7pilfwuPiLgBG4b5lSCf5iCTWhysBE0al/DVzCJUKehzk9OVPFXeIHv1Y/4uOJKhCq6WpVObybFHzwnIQ4SHPS2h6wWsHbLc5foLJ3QH1/qBaF+JYWE3XSJYe1DrCkMlKUwW/BhXklDMjEx2WvRPXs3GaLFMFF73bak0Bdjj5h8r76NBBFq4rpL45zxK1wMDKetJbhnPN5koMC1ApUfJhWJpThkPy8MxWS8mqaHGikk27/dQn40oA1lpWsfqzYX2dgc3RUF9Rg2qXeuN2uE2iIx5xz6h5XW3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SDEeuRYvVXNVLTS06fbORFF5P9I0aNmxQURvScbNM4g=; b=F+oNqhhP1BA1TnkLtb6VGEnB1EXREt/JuZJHJb80hDpkVd6Wblk9ItC369FONMWQOltjpPAkl/N16jOFdpVVspDILaTfVsiJVBkaEHs/AQ7PsjoTKsisLbaFHMN3NLnSS3SjsXHUjp3VecGhljZtl2SKgzq2QIJ5JJEt+gJkbhHJg5riOvwziLieayqe7cw4kjpgK3/4gwYIHJzGsdiHFXOVvsVnUZGVfWuV/Ivph6N+RxtArjvzZ5onoKJ+5mVPafP3OHGGrw/7CPRsJnifQF1LOo5wAQUSolxcINsjeExvHYfZ0BAh1pIJy1wraVaJSXc7FycHm51mhL3HwaT4/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=toradex.com;dmarc=pass action=none header.from=toradex.com;dkim=pass header.d=toradex.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SDEeuRYvVXNVLTS06fbORFF5P9I0aNmxQURvScbNM4g=; b=BFh46z1cv0LMGZWj/rTgdjGOJSpYscctOKv/ng/MA1Ds5N1lfPrBYwHzdBcogk1YHuZjqtgRKjzBjnKK2BvP9lpuhmGpaFO+PtPaUpp062ocgLrCW9enNqWsmcbd0dDAFNCVjZpP+joTG4hN7KtdvLXVySnx/gExqTffocJsCpI= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3615.eurprd05.prod.outlook.com (52.134.7.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.15; Wed, 31 Jul 2019 12:38:20 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2115.005; Wed, 31 Jul 2019 12:38:20 +0000 From: Philippe Schenker <philippe.schenker@toradex.com> To: Marcel Ziswiler <marcel.ziswiler@toradex.com>, Max Krummenacher <max.krummenacher@toradex.com>, "stefan@agner.ch" <stefan@agner.ch>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, Rob Herring <robh+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Mark Rutland <mark.rutland@arm.com>, =?iso-8859-2?q?Michal_Vok=E1=E8?= <michal.vokac@ysoft.com>, Fabio Estevam <festevam@gmail.com> Subject: [PATCH v2 11/20] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces Thread-Topic: [PATCH v2 11/20] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces Thread-Index: AQHVR5zVGQZsOPv+o068E1JvmF98HA== Date: Wed, 31 Jul 2019 12:38:20 +0000 Message-ID: <20190731123750.25670-12-philippe.schenker@toradex.com> References: <20190731123750.25670-1-philippe.schenker@toradex.com> In-Reply-To: <20190731123750.25670-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM0PR02CA0012.eurprd02.prod.outlook.com (2603:10a6:208:3e::25) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0bc001bf-3565-4e3a-7846-08d715b3f7de x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:VI1PR0502MB3615; x-ms-traffictypediagnostic: VI1PR0502MB3615: x-microsoft-antispam-prvs: <VI1PR0502MB3615FA3EE87C9109579501E3F4DF0@VI1PR0502MB3615.eurprd05.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:758; x-forefront-prvs: 011579F31F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(39850400004)(376002)(136003)(396003)(366004)(346002)(199004)(189003)(66946007)(52116002)(66446008)(64756008)(66556008)(66476007)(76176011)(99286004)(53936002)(6512007)(6436002)(5660300002)(4326008)(7416002)(66066001)(6486002)(25786009)(478600001)(14454004)(7736002)(305945005)(71190400001)(71200400001)(3846002)(6116002)(36756003)(2501003)(68736007)(2906002)(2201001)(44832011)(486006)(476003)(86362001)(446003)(2616005)(14444005)(11346002)(256004)(186003)(81166006)(81156014)(26005)(102836004)(50226002)(8936002)(8676002)(6506007)(386003)(316002)(54906003)(110136005)(1076003)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0502MB3615; H:VI1PR0502MB3965.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: jM4H0qoPPSRSra6N17MTRqRWuiEVHS2m0KvhAGbcYxt03c+O1FJQ+bp76VONgbEeBgIX9MFgrGyQVDsCYaVb2Y7kWY6dnSEXh75o6OsohZ3dn7IEJI+LNj/izjguknvdpaaRgSq6dWJAEcdpsGbg88W2Vxx/5ykQy9R6+Q3QWMkIF46BzcMraCHkJFWuTw1ec6h8GHxB4jXJUKJV+WEDrwgILt/Re8Bs/lUz4TQlJ+nr7N/12WATUJNaOv8Yodwi72spI40om7n4CRTkTeR/Bp2PrX1cAAyhv4gxUiUL2pA8A7MF+nY9EPrv9efeuUYcUFLhJyh0wJDePXQEFiTVWRwCU16iaUus/7wzDoPtRVocpen6bBAJvsx8+6veNKt5a9GEnTw0KM74wL3LkClWBDEog8vKoyPiLsYSaym329U= MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0bc001bf-3565-4e3a-7846-08d715b3f7de X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jul 2019 12:38:20.0484 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: philippe.schenker@toradex.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3615 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190731_053823_227007_E28163DB X-CRM114-Status: GOOD ( 11.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 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: Sascha Hauer <s.hauer@pengutronix.de>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Philippe Schenker <philippe.schenker@toradex.com>, NXP Linux Team <linux-imx@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.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 |
Series |
Common patches from downstream development
|
expand
|
diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index 7c4ad541c3f5..59ed2e4a1fd1 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -148,14 +148,16 @@ }; &can1 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_flexcan1>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_flexcan1_default>; + pinctrl-1 = <&pinctrl_flexcan1_sleep>; status = "disabled"; }; &can2 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_flexcan2>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_flexcan2_default>; + pinctrl-1 = <&pinctrl_flexcan2_sleep>; status = "disabled"; }; @@ -599,19 +601,32 @@ >; }; - pinctrl_flexcan1: flexcan1grp { + pinctrl_flexcan1_default: flexcan1defgrp { fsl,pins = < MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x1b0b0 MX6QDL_PAD_GPIO_8__FLEXCAN1_RX 0x1b0b0 >; }; - pinctrl_flexcan2: flexcan2grp { + pinctrl_flexcan1_sleep: flexcan1slpgrp { + fsl,pins = < + MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x0 + MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0 + >; + }; + + pinctrl_flexcan2_default: flexcan2defgrp { fsl,pins = < MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x1b0b0 MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b0b0 >; }; + pinctrl_flexcan2_sleep: flexcan2slpgrp { + fsl,pins = < + MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x0 + MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x0 + >; + }; pinctrl_gpio_bl_on: gpioblon { fsl,pins = <
This patch prepares the devicetree for the new Ixora V1.2 where we are able to turn off the supply of the can transceiver. This implies to use a sleep state on transmission pins in order to prevent backfeeding. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> --- Changes in v2: - Changed commit title to '...imx6qdl-apalis:...' arch/arm/boot/dts/imx6qdl-apalis.dtsi | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-)