Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3847556ybl; Mon, 12 Aug 2019 07:22:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzh5d5upHN1VTYBH0MVLCyV+o4md1fRTtfpp1SWcrCMyU4g6s35br8eZApmmMdoiCq3fqQH X-Received: by 2002:a65:504c:: with SMTP id k12mr30792311pgo.252.1565619775059; Mon, 12 Aug 2019 07:22:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565619775; cv=pass; d=google.com; s=arc-20160816; b=p0XFci3hUTE0/LH4A7JloYcdsA/3BtO40/u92JO7xzOeDQxFI03wQ4J9pT9B+RGUrx JSfDpyngri/1u5b/J9fjJgkghA2nCFTZorG/o0B8qw4utDKoInadan3f5WBCjBKRl7Z4 nQm2rVT23uQDZQorZr3ahHFKPqp3sM6CLiAlsVfkyRkXUtn/0+PGLS1A3zQ7eKPfxzhd idAEDVeA8KBN3t/adZKTrdkMNQIH6OZbgGJJ8/XiWY5arbksBqOBp4sgrDjzBHBbOWS1 JRBbxYe680GzFweCmYMHEgef1yy/7Npbztd/BhQRFTrvoejVCAYR4JizEgmjHMwse2MJ Nyhg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=mCbbi+H9v/D6Xg57240XQERKEeoouzg6Ab/6Nyl33R4=; b=rVZbGWIIp/xltPuSWPrsK1yrkUeQQbuR71gavVFQKhr9w5pJ8mUrVo//Y/zFbMm8jX wEUprLO24cxhC0oYdPEH+Gn8Z9aLfkymSVACaB/qRrt8mvSr2BeWKhEqvlXH7ntYn74w MfOdqv4fC4nFTkn9th9WrCTStoHEMbkEZGOMJYSMWtiSV5lv9jTDf5r3Yadm4N27GYOS TG6JO851T2Ki6tg0BRf9exVtO0/1WRhaoN7nvOIDLqxsQ3MA85l/+8C3AJETXUAAFOXE ZFCx5+AzBj1Af6xnFH50E4iCHTcG4hIdQPugc+pdqXxn0sgYsbIauiU+nrKJUPb8TLzZ 5nEw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b="H/EQPOwF"; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b5si757984pjw.3.2019.08.12.07.22.39; Mon, 12 Aug 2019 07:22:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b="H/EQPOwF"; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728421AbfHLOVl (ORCPT + 99 others); Mon, 12 Aug 2019 10:21:41 -0400 Received: from mail-eopbgr30090.outbound.protection.outlook.com ([40.107.3.90]:46656 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728233AbfHLOVi (ORCPT ); Mon, 12 Aug 2019 10:21:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UaLzBebK2FvSwWvy1zNLO475hQ2IA8n2E6w3WiZ0h8q6ABlkEulbjXQTKWULUVE6sUBATkm/QlWs1JwgaTkd7quIHWGXzsXumccw0D8myW1Y4zbB/5vvbF8hzmg7f8q++OkSWObLmO8feeuYKbObjg25VGIns+f1BfaTx7syUxsoSZmp7XVqZO5IOICGknHNEq3g+5nKYkIvGvREUXFSZSHkGSV7+xbLlxuaz97pcyNfD4vQ+Yvd4WRzpgqoM+y+MAbw2h0MzlQjMiI8Om+Lo7heokIii4ZEsTP3TfIbYJRvQmunTpiiI7MJx4eGUUDFgXiyuq32ib6P7qzBq6rr3Q== 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=mCbbi+H9v/D6Xg57240XQERKEeoouzg6Ab/6Nyl33R4=; b=JTQs5XIuZLWfZXUYpo7cqRZi23CIg3HlqZBHP0+FuWPalhGktjZyO3OQadpPFMjmaQhUl1XbLDtZNyFis+6vi0AYwD0A9HrEdfGeAtTQmJrYjzCHMSC5E7zbHwHD9r5wg3KH/7Ygs6PojVY175/8nm7ySDhvn/CWnCWNtxA0mwx4C6XkqWMjASioFrk5AFHXEGWnuX7rgSyN5///NSG7ESurlapkOsKuPzEVe7LLaNg9WBrp5zpMM3v+847KwKDi/HEBkciqGD9wKzoMlDdfXXR8Q2kbuUyswMJFdNwVixiv6eq9384mwsysMghdoNhKD5+DuN8RuejIehyy5u4AKQ== 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=mCbbi+H9v/D6Xg57240XQERKEeoouzg6Ab/6Nyl33R4=; b=H/EQPOwFUKwfDugAEWcJbjrWXD4fyfPjsC+MQVIM54ipY5NoVNQ/XdxwRiFNtniR3NqfbBunRCBcidWRBtTPN/+Mf2WFKIQtRRm5zuR1pHXo4G3VWbbZOXofmzpmm81ZIeMquMpQHtOKejInKTqJ2nFwkdPNyK2aI2IbrvSjA54= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3808.eurprd05.prod.outlook.com (52.134.9.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.18; Mon, 12 Aug 2019 14:21:31 +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.2157.022; Mon, 12 Aug 2019 14:21:31 +0000 From: Philippe Schenker To: Marcel Ziswiler , Max Krummenacher , "stefan@agner.ch" , "devicetree@vger.kernel.org" , Rob Herring , Shawn Guo , Mark Rutland , =?iso-8859-2?Q?Michal_Vok=E1=E8?= , Fabio Estevam CC: Philippe Schenker , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Pengutronix Kernel Team , NXP Linux Team , Sascha Hauer Subject: [PATCH v4 11/21] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces Thread-Topic: [PATCH v4 11/21] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces Thread-Index: AQHVURk8tkL06lEcYEKQgOqHfUf7lA== Date: Mon, 12 Aug 2019 14:21:31 +0000 Message-ID: <20190812142105.1995-12-philippe.schenker@toradex.com> References: <20190812142105.1995-1-philippe.schenker@toradex.com> In-Reply-To: <20190812142105.1995-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: VI1P194CA0055.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::44) 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: 2036573c-842f-4143-be73-08d71f305f3d x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:VI1PR0502MB3808; x-ms-traffictypediagnostic: VI1PR0502MB3808: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:758; x-forefront-prvs: 012792EC17 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(979002)(4636009)(39850400004)(136003)(396003)(376002)(346002)(366004)(199004)(189003)(71190400001)(2906002)(71200400001)(66946007)(478600001)(256004)(66556008)(66476007)(7416002)(6116002)(3846002)(1076003)(14454004)(81156014)(81166006)(8676002)(4326008)(8936002)(50226002)(14444005)(36756003)(99286004)(26005)(386003)(6506007)(66066001)(76176011)(305945005)(25786009)(110136005)(316002)(54906003)(102836004)(44832011)(52116002)(64756008)(6486002)(66446008)(5660300002)(53936002)(6512007)(7736002)(2501003)(446003)(2201001)(186003)(86362001)(476003)(486006)(11346002)(2616005)(6436002)(32563001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0502MB3808;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: dsoPriTHhB6FAMePh00J6svE49UJPfJkhlY+XF+3VafHh4Y2vSF3/d4/GwJHcli96dR9G/wvjg6I4RxvZZSDoonQhFucB7KnPY4b7duvo7RZitw5CNYyje67uxfwOgydLrNFxaGrOJ0qAs04Yklzd0eQuWgZPt6zwnMPLmBDjwDmkhiv4oTfluaMR7B7bqVqMSOksRJsrcWW5g6uPdrhdNIHNrq4CRA2cOvRJHlSXZS3dP3KqcEADNHuNcClZw/KZPzatacJAyO6YX8zIjWlwcKyP7I4/lYnVZFA7mcZa1kImNw75n5sIiG5XvOLDw80Hp6s3gwg/7ry/WW/XmR6eJs2LLx0HYjts2PWzWKm8xa67lcLXQNIW+6+eMSzcbpHLw8NzrFUfsuxS0a0yb5UTmZN0wY4RFLKhWwFKDdndSc= Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2036573c-842f-4143-be73-08d71f305f3d X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2019 14:21:31.5006 (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: aRvgSROUXk6MM7Bo8J9vGertwnB9QlPwU+/PFvHB32Za+EPfHQIdAe3JBkdJxFlybO5SjEdrdiNdh+dCkpe8y1GqDgPCop7mhwaFZlb1MDg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3808 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Marcel Ziswiler --- Changes in v4: - Add Marcel Ziswiler's Ack Changes in v3: None Changes in v2: - Changed commit title to '...imx6qdl-apalis:...' arch/arm/boot/dts/imx6qdl-apalis.dtsi | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6= qdl-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 @@ }; =20 &can1 { - pinctrl-names =3D "default"; - pinctrl-0 =3D <&pinctrl_flexcan1>; + pinctrl-names =3D "default", "sleep"; + pinctrl-0 =3D <&pinctrl_flexcan1_default>; + pinctrl-1 =3D <&pinctrl_flexcan1_sleep>; status =3D "disabled"; }; =20 &can2 { - pinctrl-names =3D "default"; - pinctrl-0 =3D <&pinctrl_flexcan2>; + pinctrl-names =3D "default", "sleep"; + pinctrl-0 =3D <&pinctrl_flexcan2_default>; + pinctrl-1 =3D <&pinctrl_flexcan2_sleep>; status =3D "disabled"; }; =20 @@ -599,19 +601,32 @@ >; }; =20 - pinctrl_flexcan1: flexcan1grp { + pinctrl_flexcan1_default: flexcan1defgrp { fsl,pins =3D < MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x1b0b0 MX6QDL_PAD_GPIO_8__FLEXCAN1_RX 0x1b0b0 >; }; =20 - pinctrl_flexcan2: flexcan2grp { + pinctrl_flexcan1_sleep: flexcan1slpgrp { + fsl,pins =3D < + MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x0 + MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0 + >; + }; + + pinctrl_flexcan2_default: flexcan2defgrp { fsl,pins =3D < MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x1b0b0 MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b0b0 >; }; + pinctrl_flexcan2_sleep: flexcan2slpgrp { + fsl,pins =3D < + MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x0 + MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x0 + >; + }; =20 pinctrl_gpio_bl_on: gpioblon { fsl,pins =3D < --=20 2.22.0