Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6613740ybl; Wed, 15 Jan 2020 07:28:14 -0800 (PST) X-Google-Smtp-Source: APXvYqwkkmfEeWYhFM4C6FkFSuIZmAEL/xWopEuYAHiI+Mm266iq46zt6APwKC249NTtKaEzg2M5 X-Received: by 2002:aca:814:: with SMTP id 20mr211925oii.159.1579102094032; Wed, 15 Jan 2020 07:28:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579102094; cv=none; d=google.com; s=arc-20160816; b=QXEm9xKlNZHGGmdHMsCaCpHGkuYcZKWZE+h4JvmADH6QMsaxzTqgSVSsPIqoYEVQM0 4fbdv06aGXDAfB2+VVRMufLTxySfvMPFsT/RThAEPJ28lSnl6s0Ix5Ydt/k6NMhcIHID XidgT43Ts5GkcaRTSsHPHkFr81D6eDerMuhvQ+3045/X0cfCAvT57VT5/sHg794AEj2l MKZI8Ock1kasbWfUXo0SuxpSlmvNeSm0mD/xAwexxirYsqPWpMvTlZDMw1Fr0XCYlgOF nErwCiDJDJy6NqDhM7s/okGm56lTvyoIvD5z341y5RF203dN+gLDSKcdole1jqoEkOb2 RGNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0ULpnmAUHvffsEugGgwMjETvdEv0t9gZHoFvdALaxho=; b=psNI0G/74g0cH7i8+v0QN8Hi0hZRPYnMN8VxHLCmG/Dnl/Wt1CNwqWDetk3VLiyRDV JxcZX7zk5Vr+6/14iCXaGqBkBUO0QmZX8fr3g1rCeokMErdVXpHQMO6SLrxyUvNlvnQ+ APDGLbvZomUlqAlOjgCT7guCnMsMfureMt436WGB/1PcH6haTo8k+BIOli3N49a6qm2u QCs+y3VOZ1tON2kaEytSrHpG85/qK6SXOmyySAU/ft2ezLsBxHFhaufTw4mZNpz/J1Is pgi+anK/G8LZLf9qJDHz+f5+lfLaFNABwcS1jUwqh7EZiJmuc0QudOHDgnJ6sVJDYQmW z9Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=jToC03rQ; 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=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si9769879oic.274.2020.01.15.07.28.02; Wed, 15 Jan 2020 07:28:14 -0800 (PST) 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 (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=jToC03rQ; 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=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729016AbgAOP1A (ORCPT + 99 others); Wed, 15 Jan 2020 10:27:00 -0500 Received: from uho.ysoft.cz ([81.19.3.130]:49264 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbgAOP1A (ORCPT ); Wed, 15 Jan 2020 10:27:00 -0500 X-Greylist: delayed 562 seconds by postgrey-1.27 at vger.kernel.org; Wed, 15 Jan 2020 10:26:59 EST Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id 6BEEBA04F7; Wed, 15 Jan 2020 16:17:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1579101455; bh=0ULpnmAUHvffsEugGgwMjETvdEv0t9gZHoFvdALaxho=; h=From:To:Cc:Subject:Date:From; b=jToC03rQSGKXgTBIs++wTaE//kVMn+aU223x64vW/iQkyWk5hCUcVTiyBsIUnuEDM ndUw30/zFMTthl6z+Hd0u0iWEVr/gu2CZ4QozCAC9mU2bymD8HaG2M1e/jbqVzhJxx +kMYuzYOadxgttPvpfhplPFJbWsgDX6RqbYBlocU= From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Rob Herring , Shawn Guo Cc: Mark Rutland , Sascha Hauer , Fabio Estevam , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= Subject: [PATCH] ARM: dts: imx6dl-yapp4: Specify USB overcurrent protection polarity Date: Wed, 15 Jan 2020 16:17:28 +0100 Message-Id: <1579101448-7247-1-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Patchwork-Bot: notify Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After reset the oc protection polarity is set to active high on imx6. If the polarity is not specified in device tree it is not changed. The imx6dl-yapp4 platform uses an active-low oc signal so explicitly configure that in the device tree. Signed-off-by: Michal Vokáč --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index b494042e2d8f..fb6ce6d662bc 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -563,6 +563,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh1>; vbus-supply = <®_usb_h1_vbus>; + over-current-active-low; status = "disabled"; }; @@ -570,6 +571,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbotg>; vbus-supply = <®_usb_otg_vbus>; + over-current-active-low; srp-disable; hnp-disable; adp-disable; -- 2.1.4