Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4490366imu; Tue, 29 Jan 2019 02:27:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Gk/Hs4YuHpQpc9axeuMmvM/uHrFe+l9C+4tLzIbHOtQ/CaQajc+OcDjOHNu61qHGMHg+Z X-Received: by 2002:a62:3888:: with SMTP id f130mr25078860pfa.132.1548757626245; Tue, 29 Jan 2019 02:27:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548757626; cv=none; d=google.com; s=arc-20160816; b=ofj/mscPU3RpPlkBWhL6Cr7IujQOpK9X8aMTktgeMWRiUSiuNoKMPqLuH9+aAVSpmU Jef2TN7zuCHWA72/HX3/aewE/sj3T7fvIkrIc64NckGG6OjumDEyHhhM99EpNKXt/Kem nTRAbGXx7boUJvMep/J2CS2CA7f1t6hNOZnaVZx2snDPPm5jezwPklIGdgAgLLVC6pNF 7ymGBbisRyU7JMwApYGjuFhHxve6mhj5C1v4oKrDG2GOkr8y7rVwyPakI6j+AI3s8pxK /KcIsqKFpC9X0UfUaWPlyQsnAK1JPccWI3PtJmUKkhXvpsnLJeiGHWRJopufwGFoyTo/ 38pg== 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=yCoqyS5sQXkP21/OTQAB1RFTdGLdq0rZC3i7yVDJ9jo=; b=dVDt0ldcOs1JKAOUQEsn3BaVMBUhNGxaNsQm8x4Ks1iB91SwqQahnUcL35bMTRt3lN GcSF7simFvrl1Oy7ATOuBK9AvRogDnrJinCYZq65C0UioR66PC3/WnOpAl0k7m7P6c9U EbVTj13l6GqRv1AVCypWkO+HZffowQYkdDYKbuNOpy+U2OqeMHiaHGn8nkZHYOB6KtxN k532bbXqrgH4YJivvbq2XMbKoJvEZi6gIZdhdB7+k+0kw1UWkBGnD9kaxrpcr8uDlahw Ia9RB0dLyEWYCJwv2MQlijCjEVFCdwWkB7n6sEUt1BiU6q3YDTqaD57UI5fY58FA8umQ hW2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EiAfQAAc; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e66si21815095plb.107.2019.01.29.02.26.51; Tue, 29 Jan 2019 02:27:06 -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 header.i=@gmail.com header.s=20161025 header.b=EiAfQAAc; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728265AbfA2KZa (ORCPT + 99 others); Tue, 29 Jan 2019 05:25:30 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:35138 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726060AbfA2KZ3 (ORCPT ); Tue, 29 Jan 2019 05:25:29 -0500 Received: by mail-pg1-f193.google.com with SMTP id s198so8567469pgs.2; Tue, 29 Jan 2019 02:25:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yCoqyS5sQXkP21/OTQAB1RFTdGLdq0rZC3i7yVDJ9jo=; b=EiAfQAAc2YRyybe4jf6fWxnef7ujdYUZyUuWjDL9/ScYNiLocvXK/DF5Uf6g9fXy9K FKaJ41fPoTxnTgMFbNdAdJ4fwEtwf1Vig6gfBh450RVgDQFyIITV2NP0tgLp00Hgz0rS e1MzkYIwFvWeZ3+AOjS829oufwJ2qsn8aBBn8i2Exk3/5ay3zSUyg4qcfkZwCq6Vrl4a 1u8IPCkjuahV4vXvvMZezNU3faqXeZxaibz47G0bvbvc2bsOxTHtvGkKMvLyplj4Cc+C kqlHjkUWJGbBHZWdAw/Teq7SzCF8AqeuLp+USjAfPXQHkIF+kfMmPaUMd6sfdJtGTBO2 LdCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yCoqyS5sQXkP21/OTQAB1RFTdGLdq0rZC3i7yVDJ9jo=; b=OMrsKmjL7qSY5EpPnZd2OxfrJlWSp3diDaf5WKpth9ePjSbY1MsY+aQaRO9ghFmMiS AMSmbG+tq9FR65a0q8n59cFAvrzNkcN5RJg1MPgGhkRecltUI3IGJIlZz/YkmQh1L7Mx 7oJ0thGU8OVkOpGq9fqRG9dXn52pND56Byb3cL3lDj8IBKwHbkIfSp+CzreZ2UwVn0lQ WmnskaloCm0QQehVwjfLg1jmjnQdD4BV4TJC7QDfyJUHTXkaloNwT6VcEETe2nnewety A9COULCr/HZv7fGophvt0fsqdN+xfm4CCwuGVmwLsYR8ABfiTzfaDAV7tvpZe55yNCrO bGsA== X-Gm-Message-State: AJcUukdpxr+wNLJNbWtVKlvlWRPX7kQfU/fMiZpg/LU8I+ebtjyhDaG/ tnOgc+UykTaUyEZYl34eLP3VqNqU X-Received: by 2002:a62:dbc2:: with SMTP id f185mr25389034pfg.235.1548757528738; Tue, 29 Jan 2019 02:25:28 -0800 (PST) Received: from localhost.localdomain ([103.51.74.149]) by smtp.gmail.com with ESMTPSA id d21sm47744462pfo.162.2019.01.29.02.25.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 02:25:27 -0800 (PST) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Kevin Hilman , Martin Blumenstingl , Neil Armstrong , Jerome Brunet Subject: [PATCHv3 0/2] Odroid c2 usb fixs Date: Tue, 29 Jan 2019 10:25:19 +0000 Message-Id: <20190129102521.4141-1-linux.amoon@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is follow up on my previous patches. Changes rebase on mainline: 5.0-rc4 [0] https://lore.kernel.org/patchwork/patch/1031243/ [1] https://lore.kernel.org/patchwork/patch/1031243/ changes depend on phy patch [2] https://patchwork.kernel.org/patch/10777359/ As per Martin's suggestion and input I have tried to fix below issue. Fixed the phy power issue on the usb port. # cat /sys/kernel/debug/regulator/regulator_summary regulator use open bypass opmode voltage current min max --------------------------------------------------------------------------------------- regulator-dummy 5 4 0 unknown 0mV 0mA 0mV 0mV c9100000.usb 1 0mA 0mV 0mV c9100000.usb 1 0mA 0mV 0mV c9000000.usb 1 0mA 0mV 0mV c9000000.usb 1 0mA 0mV 0mV P5V0 1 1 0 unknown 5000mV 0mA 5000mV 5000mV USB_OTG_PWR 4 2 0 unknown 5000mV 0mA 5000mV 5000mV phy-c0000020.phy.1 2 0mA 0mV 0mV phy-c0000000.phy.0 2 0mA 0mV 0mV # lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 1: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M |__ Port 3: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 3: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M |__ Port 3: Dev 3, If 2, Class=Audio, Driver=, 480M |__ Port 3: Dev 3, If 3, Class=Audio, Driver=, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M Now hotpluing of usb device is working on odroid c2 boards. TODO: need to initialize the otg usb port to accept usb device. Any input are welcome Best Regards -Anand Anand Moon (2): ARM64: dts: meson-gxbb-odroidc2: Fix usb phy reset warning ARM64: dts: meson-gxbb-odroidc2: Fix usb phy regulator power failed warning arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.20.1