From patchwork Mon Mar 29 11:28:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Riedm=C3=BCller?= X-Patchwork-Id: 12171033 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90D71C433C1 for ; Mon, 29 Mar 2021 22:12:55 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 094E761989 for ; Mon, 29 Mar 2021 22:12:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 094E761989 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc: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=QcIBtamS0PHWfCQM5LeIU7WHwGmBzOr59DTf3VPxYiU=; b=jff+guCXlHitUpagac9nl1Cjb0 8fXZg5ZIRpq5ekgd9mrIXjkx2UdElR3VzX3ntff0T8lbQr2BEVfLXfHKClGNRL+YgUYBZU+ql6ZzL 7sCaxWhJPGZM5LwKz0tPNug+7vL/azaUhXctAQ51H9Ak8PCixd5u2v5DqUe61KMVoxMtsDGyMBwJg n3J4ejpS2qqRL7/y0xVpBe9C3Bn2c0+cL7It8HM5eOAVrNeyl6jHdOLyRJbZGivMAiweZ2+3IEGKq d76Wa9x+bSmit2dB3t/5mFAemkh+T/GnzRNqeuAWn5WMztuYyOR7mwMPefkIL6axwCSBax8NC++n6 Ejkb40xQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lR02q-001c3f-Es; Mon, 29 Mar 2021 22:07:36 +0000 Received: from mickerik.phytec.de ([195.145.39.210]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQq4L-000cKA-AH for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 11:28:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1617017307; x=1619609307; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=84GErCcn3zk/3XbjrFZiXM4ByN4FwJAVu0bVQMG9bQY=; b=NnQyzmWx2i+eFokHEduz1ENAoYaC2m1tHzr912EjJQ3tMRjFvBy+Hkg8IqgnaO/V lMjHLfTiEK8ES9V91EnmtpwsogsJJY3fy2OXqWR7Yjp7BuxQSnDKpW8FqKp4Rnc1 5HgfKUOit1770FwUQrqI1bHD5xzqISGz2IujBYtdSKE=; X-AuditID: c39127d2-868b870000001c91-68-6061b9dbda95 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 3A.8A.07313.BD9B1606; Mon, 29 Mar 2021 13:28:27 +0200 (CEST) Received: from lws-riedmueller.phytec.de ([172.16.23.108]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021032913282721-253196 ; Mon, 29 Mar 2021 13:28:27 +0200 From: Stefan Riedmueller To: Rob Herring , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Riedmueller Subject: [PATCH 1/3] ARM: dts: imx6: pfla02: Fix USB vbus enable pinmuxing Date: Mon, 29 Mar 2021 13:28:17 +0200 Message-Id: <20210329112819.64043-1-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 29.03.2021 13:28:27, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 29.03.2021 13:28:27 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrELMWRmVeSWpSXmKPExsWyRoCBS/f2zsQEg++zlCzmHznHavHwqr/F qqk7WSw2Pb7GatH1ayWzxeVdc9gsWvceYbf4u30Ti8WLLeIOnB47Z91l99i0qpPNY/OSeo+N 73YwefT/NfD4vEkugC2KyyYlNSezLLVI3y6BK2P79W+MBfe4K3Zd5WtgvMnZxcjJISFgIjFx /nGWLkYuDiGBbYwSm3vvsEE41xglTjZ9ZASpYhMwklgwrZEJxBYRyJE4tXEzC4jNLNDJJPH7 ZDCILSzgJTHrxWywehYBVYkvU3eA2bwCNhJvfn9hgdgmLzHz0nd2iLigxMmZT8A2SwhcYZRo Wb+NFaJISOL04rPMEAu0JZYtfM08gZFvFpKeWUhSCxiZVjEK5WYmZ6cWZWbrFWRUlqQm66Wk bmIEhuvhieqXdjD2zfE4xMjEwXiIUYKDWUmEl/V0bIIQb0piZVVqUX58UWlOavEhRmkOFiVx 3g28JWFCAumJJanZqakFqUUwWSYOTqkGxuWCdk/5hM7d27f++sXdZs7R6yxO9QrPs1gXrfbB MjH3Kc+8CSp6rfrnvb3StfLerRDZdmndUkGLfWqBn5N5AvULleQdjT0jfhezmCeVLJSyV7Bl YT5x2vnz4hMhZ6uf12a1rem8qP/2zJOCTSlbDOqWHV794qWSvd7s5TvrlIq3MVpv5GitVmIp zkg01GIuKk4EAECI/PVFAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_122829_563220_B18B0F2B X-CRM114-Status: GOOD ( 12.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The pinmuxing for the enable pin of the usbh1 node is wrong. It needs to be muxed as GPIO. While at it, move the pinctrl to the vbus regulator since it is actually the regulator enable pin. Signed-off-by: Stefan Riedmueller --- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index 7a1e53195785..995e99952aca 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -31,6 +31,8 @@ reg_usb_otg_vbus: regulator@0 { reg_usb_h1_vbus: regulator@1 { compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh1_vbus>; reg = <1>; regulator-name = "usb_h1_vbus"; regulator-min-microvolt = <5000000>; @@ -328,9 +330,9 @@ MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 >; }; - pinctrl_usbh1: usbh1grp { + pinctrl_usbh1_vbus: usbh1vbusgrp { fsl,pins = < - MX6QDL_PAD_GPIO_0__USB_H1_PWR 0x80000000 + MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x80000000 >; }; @@ -415,8 +417,6 @@ &uart4 { &usbh1 { vbus-supply = <®_usb_h1_vbus>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usbh1>; status = "disabled"; }; From patchwork Mon Mar 29 11:28:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Riedm=C3=BCller?= X-Patchwork-Id: 12170837 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 716DCC433E0 for ; Mon, 29 Mar 2021 19:09:09 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6972061878 for ; Mon, 29 Mar 2021 19:09:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6972061878 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LrnfFFDZHKnhbVml0Y6qSLRJxcLBkRxS3cf0bQsCbe0=; b=KzMrh2I7P0UI3rCCMLDfBMfVO uJZEzSzCXj5xv1ObAw9TiGxfgQWOBx0TdZt7t2EJXRUBQAb/nm6cVxqsR03Iu45n0CMCSdvFqi0Gs 9j086pb0ohlFA0vsthgTV7V+lYTdQCcIQlR/SWugkob0t+g07adPYVJgweGZpxI/7BEzlSZDHXhUg jX0pDC1lRnpwTeHVOMI6UE8fBvG0nZT6Z00qnsT24kVpaoEITMddWWxmTzIm3c+Ay5HRZfCDPaxEZ SN9zH0F9CL0VSpQ4V7pFSY6Z0TaQoPZsIRNkIDjmLjPumDbP0fW02xgeTQp68RIXYuaQPzNRtJ6ME LF3LYu24Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQxDI-001AtV-H3; Mon, 29 Mar 2021 19:06:12 +0000 Received: from mickerik.phytec.de ([195.145.39.210]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQq4R-000cKA-0H for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 11:28:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1617017314; x=1619609314; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=aZMvFMWsWKvhUAOx0SGgYMa/c6xYvOAnpIPnOvBRG/M=; b=E++NQzaLHPdGiH1mtmMaVn7WShaJlon+dw8BprodCLAqDEfslvKXod5TuHT8c5Cq 4hEuzSwlbFBgosgZGc1gbHmnELZ/8zxZEod2CbQIYVsVkxFmQMfTayEAGnMBRWo6 fBev+xRbPmThroRflSfpNcVDIQVQh7y9RkYoCEDfBEU=; X-AuditID: c39127d2-868b870000001c91-71-6061b9e29b37 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 7B.8A.07313.2E9B1606; Mon, 29 Mar 2021 13:28:34 +0200 (CEST) Received: from lws-riedmueller.phytec.de ([172.16.23.108]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021032913283457-253199 ; Mon, 29 Mar 2021 13:28:34 +0200 From: Stefan Riedmueller To: Rob Herring , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Riedmueller Subject: [PATCH 2/3] ARM: dts: imx6: pbab01: Set USB OTG port to peripheral Date: Mon, 29 Mar 2021 13:28:18 +0200 Message-Id: <20210329112819.64043-2-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210329112819.64043-1-s.riedmueller@phytec.de> References: <20210329112819.64043-1-s.riedmueller@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 29.03.2021 13:28:34, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 29.03.2021 13:28:34 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBLMWRmVeSWpSXmKPExsWyRoCBS/fRzsQEgzUnjC3mHznHavHwqr/F qqk7WSw2Pb7GatH1ayWzxeVdc9gsWvceYbf4u30Ti8WLLeIOnB47Z91l99i0qpPNY/OSeo+N 73YwefT/NfD4vEkugC2KyyYlNSezLLVI3y6BK+PQvaOsBb9ZK95vcGlg/MfSxcjJISFgIvFt 4yTmLkYuDiGBbYwSB9ZsY4RwrjFK/Fy3hwmkik3ASGLBtEYwW0QgR+LUxs1g3cwCnUwSv08G g9jCAt4SE3bNBarh4GARUJXYPb8AJMwrYCNx8+psVohl8hIzL31nB7E5BWwl/i9azgxiCwHV HG6EiPMKCEqcnPkE6rgrjBJvtuVC2EISpxefZYZYqy2xbOFr5gmMArOQtMxCklrAyLSKUSg3 Mzk7tSgzW68go7IkNVkvJXUTIzC0D09Uv7SDsW+OxyFGJg7GQ4wSHMxKIrysp2MThHhTEiur Uovy44tKc1KLDzFKc7AoifNu4C0JExJITyxJzU5NLUgtgskycXBKNTB2Pe4XkTjcfVvhmDyz hbFSTopcWA/XNN7sEx5aLKGL/8S//lId/HeyQ8CzTkdlhhQnpTjXojsJ9jnv7k408vXc8NTg qdurWf9sdzzb1B+cfydl6cw9i2+IVxz4tYEjsN3r4H7P7AUlPfnHn3yXep3O9e7vg9UhXnvE tz6/8vsVV2mcwAyu6SuUWIozEg21mIuKEwEi6LzIWwIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_122835_120597_B686707D X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Due to a hardware bug preventing the correct detection if the ID pin the USB OTG port cannot be used in otg mode. It can either be set to host or peripheral. Set it to peripheral so vbus is disabled by default. Signed-off-by: Stefan Riedmueller Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi index d434868e870a..b2f78b4362cb 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi @@ -164,6 +164,7 @@ &usbh1 { &usbotg { status = "okay"; + dr_mode = "peripheral"; }; &usdhc2 { From patchwork Mon Mar 29 11:28:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Riedm=C3=BCller?= X-Patchwork-Id: 12170839 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15713C433C1 for ; Mon, 29 Mar 2021 19:11:06 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2385461969 for ; Mon, 29 Mar 2021 19:11:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2385461969 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KTRQZHKrKuOK+k2Bmoj71pIfwMZpXylmNt7mvZ9sssI=; b=SJ3Wj2SpORIISutasZtiyR/Yt R6M+svuvJIM/FcDVZSTLi9Y/SP2+HgsWyupSZy/w2OWH2Drki1h9yQxzBMAJjulMS1Xl96Y4/Qudb e++tr9ORLmT9zg80H/Clxre2sddVtLW3qiqzEt/9ausjLvuuvFT62xglpiaWpvBxuCr3MHTRd4ASU nmfmXb8ECC+8t8ZarYY9NBDqTkClBecQbksAgXzxboYhM9PZLh8fuFZ3EuYhkLz7CZEkjcKofNE1D HD9d1+lsJaE9LOx3mxiU72dw4R0SLpu2fx7b6YkPXI0jkFdCB9J/wvBYMslv6RhOFwgx6by27wPjj oBQFmTLxg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQxDs-001B5K-2h; Mon, 29 Mar 2021 19:06:50 +0000 Received: from mickerik.phytec.de ([195.145.39.210]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQq4T-000cKA-0M for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 11:28:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1617017316; x=1619609316; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dag0VALSFXxJrNDdDso7no10SDPXXkuRDt61Ctbt0Rc=; b=K1oH4h2CocmPw4sGcR3hBIdtlV9kD9LY6bGzB0yMnqWz63P6B1OfjI02ywYg9865 zAheioPcGBIM0tL6SWXQ6OTDLxqofP4llcfD5xBmpTj9/9Jwu0hm6QcTXqVLOG2T p7tuCece7UegKPnQxGmC2y5LTeDQ3f1pciKfS5L39eI=; X-AuditID: c39127d2-85cb770000001c91-73-6061b9e48219 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 3C.8A.07313.4E9B1606; Mon, 29 Mar 2021 13:28:36 +0200 (CEST) Received: from lws-riedmueller.phytec.de ([172.16.23.108]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021032913283634-253200 ; Mon, 29 Mar 2021 13:28:36 +0200 From: Stefan Riedmueller To: Rob Herring , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Riedmueller Subject: [PATCH 3/3] ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces Date: Mon, 29 Mar 2021 13:28:19 +0200 Message-Id: <20210329112819.64043-3-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210329112819.64043-1-s.riedmueller@phytec.de> References: <20210329112819.64043-1-s.riedmueller@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 29.03.2021 13:28:36, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 29.03.2021 13:28:36 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsWyRoCBS/fJzsQEg45Dahbzj5xjtXh41d9i 1dSdLBabHl9jtej6tZLZ4vKuOWwWrXuPsFv83b6JxeLFFnEHTo+ds+6ye2xa1cnmsXlJvcfG dzuYPPr/Gnh83iQXwBbFZZOSmpNZllqkb5fAlfFrvUDBE46Kc6cesTcwbmLvYuTkkBAwkfj7 aDpjFyMXh5DANkaJBR/b2SCca4wSt793sYJUsQkYSSyY1sgEYosI5Eic2riZBcRmFuhkkvh9 MriLkYNDWCBYYsF9PZAwi4CqxJqGncwgNq+AjcT6hpOsEMvkJWZe+g62mFPAVuL/ouVgNUJA NYcbIeK8AoISJ2c+YQG5QULgCqPEpT97mCGahSROLz7LDLFXW2LZwtfMExgFZiHpmYUktYCR aRWjUG5mcnZqUWa2XkFGZUlqsl5K6iZGYHAfnqh+aQdj3xyPQ4xMHIyHGCU4mJVEeFlPxyYI 8aYkVlalFuXHF5XmpBYfYpTmYFES593AWxImJJCeWJKanZpakFoEk2Xi4JRqYJw3acV04Urz X3pdOvlqrwPOHGwoNzbRZveYJBhwY/ItJaf9pz4xtVu9z1ZgWefOwbfr/syEW5mVPaz2Z7+E B93n1mALO9IleMJN5jNDT9SRSfxGpw9r/7jxyKqg61PA0b8Het7Wdl+OC9ETyX9pr+Z35cS3 ZctZXyQ8WZXW5bShTsJJz+KdnRJLcUaioRZzUXEiAAd04UZcAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_122837_193204_E3076466 X-CRM114-Status: GOOD ( 11.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Setting the vmmc supplies is crucial since otherwise the supplying regulators get disabled and the SD interfaces are no longer powered which leads to system failures if the system is booted from that SD interface. Signed-off-by: Stefan Riedmueller Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index 995e99952aca..3ab12aa2a615 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -433,6 +433,7 @@ &usdhc2 { pinctrl-0 = <&pinctrl_usdhc2>; cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; wp-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + vmmc-supply = <&vdd_sd1_reg>; status = "disabled"; }; @@ -442,5 +443,6 @@ &usdhc3 { &pinctrl_usdhc3_cdwp>; cd-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; wp-gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>; + vmmc-supply = <&vdd_sd0_reg>; status = "disabled"; };