From patchwork Mon Mar 29 13:01:01 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: 12170911 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 8AC43C433C1 for ; Mon, 29 Mar 2021 19:50:59 +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 C74166192F for ; Mon, 29 Mar 2021 19:50:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C74166192F 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=cVQW4UONdHBH1u49qbUjO9WV6M9kJnxomoweqUS1bYw=; b=WB1LLsZc/OxgT4896d3eCz3n9S u1OmOl0m3d0uILUakTHhMkMqiFTGSqQuwcVagsCTgajgSb0PThJP+M1kAE1zfl4K0lEkMWFyNF8ig F0UMi2L8qwu3vSyQan+DFQfxOGdRk3VJtlt8x3zllVIUI178Kd0Gm4rfjY4Pn9pbe3xQS2h+W5UB7 bvFYKgW9rWyHxuJ7Kdb4QsY41y0EEUYas48ETSdKbdFlzXzw89ELoHYubnu5fqdl4mb7XkDGCwcZB 3Ngv1s9mL7ULKTIBMB68LevZn+u6Wn0Hw0AcmJQA5BSXNvrp1PQse/DMLORVrXrb1cJClxFE4HYYJ QF+gy2iQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQxrq-001J4U-ER; Mon, 29 Mar 2021 19:48:07 +0000 Received: from mickerik.phytec.de ([195.145.39.210]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQrVz-000fHO-CJ for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 13:01:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1617022864; x=1619614864; 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=KkyaLvXgnh8FHwhgimfkJzNBhe8FYXfqUyA0puTFtrg=; b=NICHpzJr7Tv+1CxFlfsYlHFDQlNu/cEgLx12UmKOodcGMnv0YrHwyK8OALvIKfJp olUvWhJq5sISZcgTbNeC4HppmIGcA5n7Nx3vxZueiCxAUrLcOXYFx+DkvoNBqcZb r5qap9lPJXYXDsrKGnh/lIzO5YhFeANsEPUf3BZQuLw=; X-AuditID: c39127d2-85cb770000001c91-35-6061cf90f966 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 8E.4B.07313.09FC1606; Mon, 29 Mar 2021 15:01:04 +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 2021032915010496-253808 ; Mon, 29 Mar 2021 15:01:04 +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 v2 1/3] ARM: dts: imx6: pfla02: Fix USB vbus enable pinmuxing Date: Mon, 29 Mar 2021 15:01:01 +0200 Message-Id: <20210329130103.65857-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 15:01:04, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 29.03.2021 15:01:05 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsWyRoCBS3fC+cQEg53zLCzmHznHavHwqr/F qqk7WSw2Pb7GatH1ayWzxeVdc9gsWvceYbf4u30Ti8WLLeIOnB47Z91l99i0qpPNY/OSeo+N 73YwefT/NfD4vEkugC2KyyYlNSezLLVI3y6BK2PTcq2ChTwVk3v3sTYwdnN1MXJySAiYSDRu nMXWxcjFISSwjVHi1pbdzBDONUaJJy//MoFUsQkYSSyY1ghmiwjkSJzauJkFxGYW6GSS+H0y GMQWFvCVmDD/EmsXIwcHi4CqxNf9qSBhXgEbibN3F7JBLJOXmHnpOztEXFDi5MwnLBDxK4wS e26qQ9hCEqcXn2WGGK8tsWzha+YJjHyzkLTMQpJawMi0ilEoNzM5O7UoM1uvIKOyJDVZLyV1 EyMwVA9PVL+0g7FvjschRiYOxkOMEhzMSiK8wgcSE4R4UxIrq1KL8uOLSnNSiw8xSnOwKInz buAtCRMSSE8sSc1OTS1ILYLJMnFwSjUwRnvN3qn6d4rkSqbHMR8X3fue9vt83kerwim++7fZ zOCIqH0RMUf/0aNqzqVn7CLfJ6RmsQl7ny14cd5dql/X1Jt31uepq1/ES79X8mL7+72jZim7 0+vD32KsZpUY9HOYv+u+u95b45H8MX4tQ9PP2htOfF87r3pGzTsvpYa+fy9FwlmkN/hdVmIp zkg01GIuKk4EALO2rFFDAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_140107_640233_3B107BD0 X-CRM114-Status: GOOD ( 12.27 ) 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 Reviewed-by: Fabio Estevam --- Changes in v2: - Use default pad ctl value instead of 0x80000000 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..9f39c926cc08 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 0x1b0b0 >; }; @@ -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 13:01:02 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: 12170913 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 75C6EC433DB for ; Mon, 29 Mar 2021 19:51:22 +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 B985E617C9 for ; Mon, 29 Mar 2021 19:51:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B985E617C9 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=IzoLIaMXgTslt8kOCZQ/GaxCsgVxyz6aZfbwJ3rM1H8=; b=C8T7urh9o7jeaHM8554th8JHv qPLXwighX68Yv0CH4F5U3PiaRhvPoqvUpABzWrAvphuNQO6F6jtrK3zxy61bxLPu6kxqXVSVg8dJe Sg0RrdgngSyLV5xcdrVChWwMjQe4AcLm4l7WF1Z4z7z/h4CBSZqI8X1JUErBiTnZjmXBVhu1EOblG F8feZ3BC0CYIOFTEoln1t+us3UjWdmpVaft4sNRsLM/FZN4A/AQU8uJowZuhhU31yy+fnbzp4IhvC cBZvOGaG2UyZsYoGJW58xNQoOXCpCWKcABf3h0D7mK///6sMRCV6w+DdJTv1CML2l26aQiMbJo0V3 MGg56G0Fw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQxsC-001JBQ-Mu; Mon, 29 Mar 2021 19:48:29 +0000 Received: from mickerik.phytec.de ([195.145.39.210]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQrW1-000fHO-N6 for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 13:01:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1617022865; x=1619614865; 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=mcGLyeBHbHupbAzJ265cZuqLpTgtNeH2jrUrGG5QqJw=; b=Gfg980jPc9TeG767ZGBxH5NNlsTcb8cC04EmLZiCVnZvQ++yjIOh+iuewGUG//cB 3wfAM2xTuP6APDNv+YWqqnpGMBiRvm+l99yp5lwIm6P2mGPxaAABc1wNKvEGypOB /F9238lZi434M8rJXznABRttYhNd3NGTykW6ycUaFk8=; X-AuditID: c39127d2-85cb770000001c91-38-6061cf917edf Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 4F.4B.07313.19FC1606; Mon, 29 Mar 2021 15:01:05 +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 2021032915010554-253809 ; Mon, 29 Mar 2021 15:01:05 +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 v2 2/3] ARM: dts: imx6: pbab01: Set USB OTG port to peripheral Date: Mon, 29 Mar 2021 15:01:02 +0200 Message-Id: <20210329130103.65857-2-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210329130103.65857-1-s.riedmueller@phytec.de> References: <20210329130103.65857-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 15:01:05, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 29.03.2021 15:01:05 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsWyRoCBS3fi+cQEg+bdehbzj5xjtXh41d9i 1dSdLBabHl9jtej6tZLZ4vKuOWwWrXuPsFv83b6JxeLFFnEHTo+ds+6ye2xa1cnmsXlJvcfG dzuYPPr/Gnh83iQXwBbFZZOSmpNZllqkb5fAlXF+5mK2gitsFTv+NDA1MB5n7WLk5JAQMJFo WHseyObiEBLYxiix7MwdZgjnGqPEkd53zCBVbAJGEgumNTKB2CICORKnNm5mAbGZBTqZJH6f DO5i5OAQFvCT+L2EDyTMIqAqMfn+GbAFvAI2Ejd2rGWCWCYvMfPSd3YQm1PAVuLSkXdsILYQ UM3TKy8YIeoFJU7OfMICcoOEwBVGiafHljJCNAtJnF58lhlir7bEsoWvmScwCsxC0jMLSWoB I9MqRqHczOTs1KLMbL2CjMqS1GS9lNRNjMDwPjxR/dIOxr45HocYmTgYDzFKcDArifAKH0hM EOJNSaysSi3Kjy8qzUktPsQozcGiJM67gbckTEggPbEkNTs1tSC1CCbLxMEp1cBYfDK66C9z b/M6v0M7Llz9pLJ+zcYtX8o+VXH3356ts+e715rtNtO1lL9YtYmduvBqdUeCZlG2VG7p3xaj QFM13qjI/WyF+2ey7+68NeWtVh13tveuD7feTLdkePfK8ldFW9CMeTE7OpfmL1NMFfyj/r/v SEv4/WqbDqYtvFlCIpOyDyY9PWytxFKckWioxVxUnAgAeh5BB10CAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_140109_884238_CC9B4323 X-CRM114-Status: GOOD ( 12.10 ) 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 --- Changes in v2: - Added reviewed-by 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 13:01:03 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: 12170915 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 F2979C433C1 for ; Mon, 29 Mar 2021 19:51:38 +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 880D261985 for ; Mon, 29 Mar 2021 19:51:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 880D261985 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=kBBe0e0EhP5FU/Dq7xYevX/B1f5xScVPXfPM6TRA1M8=; b=MLK+8yBsFJYsOvYkPB/R9I4/g oPLmaUB/TEJZdgPOGGdkKsZITmfxyLU37Ii/Nl9Ra3uvFLHzZv0ixZf9aoH8jT+fIA/qdI3I6H3LG aEIo95xRHnGb59Nap26g69bHQEImIH6mRmmqT9nfwWFBL+2/Xf0d74CE7DQ+ZVPRYzNHCkgyLb6wm dom2jkwnYg7sMR79L01LpZ/9ywnZuVn4UqADMEYNiXALpB36HkuNWdoGMOvnaIukdC0GECgzPyFR6 fMQmfjbhl2I5r6xP71eGmOMLeOg0t5BbvOhVtnOKOYXAjei1SmmWNVIkGWrtXK3kUCn4UT4Tx//UA uU7G36r4w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQxsl-001JL1-BV; Mon, 29 Mar 2021 19:49:03 +0000 Received: from mickerik.phytec.de ([195.145.39.210]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQrW3-000fHO-KA for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 13:01:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1617022866; x=1619614866; 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=yATpTTIIi8G4Xo470utqmEaWBAb3mQqM7AoTAPX/JF4=; b=GUjKgWAb6VDNTgTiBJIH6K75unQV6uh3J/1EybxGPCFIZiieAIwc9Jt+onnX4rAF 2rPnbPKAC9s63TJdDZY3kNrNBVTFrTFEm60bPfhCwOK24909NpAMUjeH0agzD8+C YMEwcEYCmrxx3v9o+Q8b6G50LN1aN5ysFOdPCFiZZYc=; X-AuditID: c39127d2-868b870000001c91-3a-6061cf921b7d Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 00.5B.07313.29FC1606; Mon, 29 Mar 2021 15:01:06 +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 2021032915010635-253810 ; Mon, 29 Mar 2021 15:01:06 +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 v2 3/3] ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces Date: Mon, 29 Mar 2021 15:01:03 +0200 Message-Id: <20210329130103.65857-3-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210329130103.65857-1-s.riedmueller@phytec.de> References: <20210329130103.65857-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 15:01:06, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 29.03.2021 15:01:06 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsWyRoCBS3fS+cQEg65Zihbzj5xjtXh41d9i 1dSdLBabHl9jtej6tZLZ4vKuOWwWrXuPsFv83b6JxeLFFnEHTo+ds+6ye2xa1cnmsXlJvcfG dzuYPPr/Gnh83iQXwBbFZZOSmpNZllqkb5fAldF28hBjwVGuil2TVrM0ML7g6GLk5JAQMJH4 emIyI4gtJLCNUWL9ucAuRi4g+xqjxNKbN1hBEmwCRhILpjUygdgiAjkSpzZuZgGxmQU6mSR+ nwwGsYUFwiQ2ToeoZxFQlejZsxRsKK+AjcTNln1MEMvkJWZe+s4OYnMK2EpcOvKODWKxjcTT Ky+g6gUlTs58wgJyhITAFUaJDY3LWSCahSROLz7LDLFYW2LZwtfMExgFZiHpmYUktYCRaRWj UG5mcnZqUWa2XkFGZUlqsl5K6iZGYHgfnqh+aQdj3xyPQ4xMHIyHGCU4mJVEeIUPJCYI8aYk VlalFuXHF5XmpBYfYpTmYFES593AWxImJJCeWJKanZpakFoEk2Xi4JRqYExJzVvPzcf4R+Pb N4uv0+6cFTpu3u/Da2G35vbDNfNEb5z+eOSJ6cJJz/7LxNubu1q/rvI95/pKx3h58oYpP4tC NH+JCC8W3blLbaLIAtlZa/QVjkjMnsnHZxkkquOtsKn8zg1Pu+OHT31ynfI9NuT0v3fLknVs Xt3z2h8xQeJrZvN5pX71ngglluKMREMt5qLiRABWzGgcXQIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_140111_736862_E6D702C0 X-CRM114-Status: GOOD ( 11.89 ) 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. Fixes: 1e44d3f880d5 ("ARM i.MX6Q: dts: Enable I2C1 with EEPROM and PMIC on Phytec phyFLEX-i.MX6 Ouad module") Signed-off-by: Stefan Riedmueller Reviewed-by: Fabio Estevam --- Changes in v2: - Added fixes tag - Added reviewed-by 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 9f39c926cc08..cafbd3d1064d 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"; };