From patchwork Wed Nov 18 12:00:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Birsan X-Patchwork-Id: 11914963 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=-16.8 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,URIBL_BLOCKED, 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 BEC9BC5519F for ; Wed, 18 Nov 2020 12:02:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 42F2C2225B for ; Wed, 18 Nov 2020 12:02:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UtS0r36r"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="dH44Oncq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 42F2C2225B Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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=IGHYafoBdaQyOnQajVvnQcgcEleBNBySQPgeor0oa34=; b=UtS0r36r9k1QhycK1Vcqh0vUf kgScd41mHph3kxAo1jRtTfC9qDWtoPS6cl4WVFVLMTjTOQDdZdyWxx0pJc2zaho+1uVLE9PW6u9Xk OccJKH/HnWR4lHtHAX2LhlJ9u+rBumGZOSjWCUICfmR+5m5QIAJDCg7JR1ariqRuC8zqqk2Em8DIK Lxu2uZx6FDlaAnKsgiuBouXs+fEbpGZxypVBgPaFNgGNRGi2QtGuv5/yKf4yMA5oMj/Bpuz+qTjzO JhTgh7CeVLXuI+s0n6dJ6TJvsZ69o7nwL2Gu+3aujHS6IqrvkJACCemUwQdNaKaqLjeH4/13Eu0Hn 6AW6SkprA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfM8x-0006F1-Bm; Wed, 18 Nov 2020 12:00:59 +0000 Received: from esa1.microchip.iphmx.com ([68.232.147.91]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfM8r-0006D1-ME for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2020 12:00:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1605700854; x=1637236854; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=dx/ojTLTiy6xrFRnydB1VmwJRE9jbvjSezj3P48THWU=; b=dH44OncqPEhY/3ZO5rmfUiTa75dnalD77RBBzPABgkoIhFYKD3Z8qjJ4 s4AGDl09yYQOZG5ZcJ3+TjddQJyI6FzHTYTiha2Gs6fRVl/pAkIzLB8WZ PJdBJCAltR3UkkvcMuayJCc/lD2YHgZ+RKzyRDAmhGIAMLJRcAQR6Tb5M m8Aac2ZTGYV7R7uycUQp7eIASijTyze/iQDm3wDu9Nj20GdmLSJA9oDvL v5nI2/AdQs/n/UDrXMD/jE6fwJWsLSVmpFDgbUsgZY16wzxrEClnQNRiO M0sI4/npSmBsE9rM7cPro1hrt07BQb0jOei4p4zBm+uy4BBg6ueFUsTBK w==; IronPort-SDR: X/DnW3dABL+6p84M9qHEpOlVytQ7k2OP+tH9tk1qRDnMq8RthnqOYmMPmR1UFydhRXplWBQDzh 1Jv+3rKOd6ocYFWTZe2lIObcFgSr/Kl901uGpdrGUA+Rtmnf4ZwjMbSxAF+V5ylWED6Iq+s/Wb MmRBI4gX1KeaJwnkoMquA/lrzM7Id1sOv48lZ+tOFEui1Qh0RQRV7oo7m8lTbNZ44u8Q3l0Tvv UldZZTkjeluyDZgba/Tpqu/9L49VkyOv7nYU/s1Cn3y+ifGEjryMY/wOoUyt2CDQP0Rj0MpHYV okQ= X-IronPort-AV: E=Sophos;i="5.77,486,1596524400"; d="scan'208";a="104034941" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Nov 2020 05:00:51 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 18 Nov 2020 05:00:50 -0700 Received: from cristi-P53.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Wed, 18 Nov 2020 05:00:48 -0700 From: To: , , , Subject: [PATCH 1/3] ARM: dts: sam9x60: add pincontrol for USB Host Date: Wed, 18 Nov 2020 14:00:17 +0200 Message-ID: <20201118120019.1257580-2-cristian.birsan@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201118120019.1257580-1-cristian.birsan@microchip.com> References: <20201118120019.1257580-1-cristian.birsan@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201118_070053_927736_711DC4D4 X-CRM114-Status: GOOD ( 11.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Cristian Birsan , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Cristian Birsan The pincontrol node is needed for USB Host since Linux v5.7-rc1. Without it the driver probes but VBus is not powered because of wrong pincontrol configuration. Fixes: 1e5f532c2737 ("ARM: dts: at91: sam9x60: add device tree for soc and board") Signed-off-by: Cristian Birsan --- arch/arm/boot/dts/at91-sam9x60ek.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts index eae28b82c7fd..0e3b6147069f 100644 --- a/arch/arm/boot/dts/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts @@ -569,6 +569,13 @@ pinctrl_usba_vbus: usba_vbus { atmel,pins = ; }; }; + + usb1 { + pinctrl_usb_default: usb_default { + atmel,pins = ; + }; + }; }; /* pinctrl */ &pmc { @@ -684,6 +691,8 @@ &usb1 { atmel,vbus-gpio = <0 &pioD 15 GPIO_ACTIVE_HIGH &pioD 16 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_default>; status = "okay"; };