Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1184464pxv; Fri, 16 Jul 2021 03:41:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY02xjiKwX3uBPu9eFwnsWsq9NgwBt7DV38r/X3Ms+Z9y87aVuf2mDwMH6ey/4x/w9xKtN X-Received: by 2002:a17:906:d9d1:: with SMTP id qk17mr6592398ejb.154.1626432064333; Fri, 16 Jul 2021 03:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626432064; cv=none; d=google.com; s=arc-20160816; b=u4+pRqeN06FPmnV542XL3MeARjlmHI3buL5tC0DwaAPtwejkHY2XXlVhulmgVR4ahq 4Ldu46lA+OgVnsgwRImoiCs+CB2a9PLC3eWv5sLp63KWwMlPUuiXmQ9G3sWF50aFegRl gh1esCr6l9Vbprpnty2p7Uddincxacqcx+xyuYTTKRlPLD8rSzqEBo7Ndkr2Swrk74uZ c4+6esPT6Iz1aJ8qn3AP6wtQJ8VceWEG4tpsd9ysvl86Gbylz8D1PvWto0t5k+aDMsef SsGnIrvevpTCmVVv5pMaDi9+VBQ5zoaMC0pxKFCuYEKi/lX9/UPEkqODG3UdfJWcxEwE QttA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=8G+M3Pw6x7gYnZSkh4aaoUmFg7SaF7iRIrkpxTHDQbs=; b=ksVnyPIvRtRssQiaUS7Q8s3JYbiybqu6LG2S66HdPPtLdHPH0Dwe0Wx2Swt01ZoEy1 40kH+66yDdwGMo1hfeYO7hbotO69H78HZRPXDU0j4Jl8YtfDiJTqB0/KICntEl6HUg7K n6LipB8Hg2/GtLEQ7Si9P2q+WxkK74qpsZ92yyOXON+gFYBWdsWzpzdIvG8Hz7Z1QLvk 8D/O3hjemXVEeqXcuNpG+2+yx6EAcwkfshi36KBuLVt3C0MHAAdyBlMFLy2I71P9q06c N+0F/fkX3l1Z2zWdFoJxDpEOFuvCL8TikwMSxwDG9rxwer3rkzptSIwxqG49s+pZdzEb NNRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VNwmVnNA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id a14si10721332eds.11.2021.07.16.03.40.41; Fri, 16 Jul 2021 03:41:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VNwmVnNA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S238916AbhGPKkM (ORCPT + 99 others); Fri, 16 Jul 2021 06:40:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237344AbhGPKkM (ORCPT ); Fri, 16 Jul 2021 06:40:12 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC234C06175F; Fri, 16 Jul 2021 03:37:16 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id g24so6209204pji.4; Fri, 16 Jul 2021 03:37:16 -0700 (PDT) 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=8G+M3Pw6x7gYnZSkh4aaoUmFg7SaF7iRIrkpxTHDQbs=; b=VNwmVnNALzHJttybOSu9O4QJ6IvIeATmuH7H39D4n0I7+wLVes021heN6eS+xJHtUl YhfMIQN7Y7nrtpnD++hkvPBxt+ahBh8bbFJ8SnBKR4BAZQpBjsK+3yd50Ltw4KKp74kw D/+bzUVvpQ+nr6KE+zVBG6c3kNBSYRwTe9biArR0KcKuT5A/tLdEPgs7BKBa//r1uAfR 47ISCzQgVruYpRcNDvrB39+Jg/dw6njT4gk/hjjKDLROY6YECMASaDYzmv4SQZnIHWSP BNTE03w1Dnc6rdKYLeqjDOFCV6vNdm0RCqKp7Sk0YBf0K6EGyAJdmc7Y5Q4MaVoX+6Fb R8cw== 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=8G+M3Pw6x7gYnZSkh4aaoUmFg7SaF7iRIrkpxTHDQbs=; b=pShsV/woEbJCLduQGNPR6Rm7bNDaYT0mb+ZMmEcggMlR/g7/Dfm8wI9CBaQ//m1v02 PIoUv+vhxdp1QhtMcq98wV40YtwkUexQCl88bp9NuZyEDjuI7L6fyb3S/zTkYUTfflbM oX1e4JlXV/eKQLnod+P9WpgDJZAPo4HeIGSaDDliJ1+lLCFscfbTTzX+WHv0jC2OCfK0 v1IcG1CgjvBtZVwIwSGsi+fVQOW6vwlJOkmB9LMZ+D8an+1znq6ZjIru+HhlP88bg5aw r7R+h+vTqEvU6d9Uuli2cF4QY1SLheEMzzaIOHuSTthrMtQFHNL8b8wdr/rg+KMJnqGK 5OIA== X-Gm-Message-State: AOAM532YP4c9FIxunskNsG+yek+Mzj95hqiGWHNZaWUZ3oTr2YwI3qq8 NQGyFfJzBX6zGDdZNlMAwzs= X-Received: by 2002:a17:90a:f698:: with SMTP id cl24mr14779412pjb.79.1626431836205; Fri, 16 Jul 2021 03:37:16 -0700 (PDT) Received: from archl-c2lm.. ([103.51.72.31]) by smtp.gmail.com with ESMTPSA id d29sm10070111pfq.193.2021.07.16.03.37.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jul 2021 03:37:15 -0700 (PDT) From: Anand Moon To: linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Matt Corallo , Rob Herring , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Kishon Vijay Abraham I , Vinod Koul , Emiliano Ingrassia , Brian Kim , devicetree@vger.kernel.org Subject: [PATCHv2 0/4] Meson-8b and Meson-gxbb Fix some missing code Date: Fri, 16 Jul 2021 10:36:32 +0000 Message-Id: <20210716103651.1455-1-linux.amoon@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Odroid C1+ and Odroid C2 USB feature is broken It's being observed the after initiation of USB phy the USB port goes in to suspend state, If we pass usbcore.autosuspend=-1 via command line USB hotplug seen to be working. Another issue I observed is increase of USB interrupts event even if there is not much activity on USB ports. $ cat /proc/interrupts | grep usb 35: 26462800 0 0 0 GIC-0 63 Level c90c0000.usb, dwc2_hsotg:usb1 Changes added power node to usb phy and small code cleanup in usb phy. Previous version RFC. [0] https://patchwork.kernel.org/project/linux-amlogic/cover/20210617194154.2397-1-linux.amoon@gmail.com/ Dopped the reoder of code changes as of now. V1 > changes Fixed the GPIO input signal on Odroid C1+/C2 New patch added to fix Odroid C2. Thanks -Anand Anand Moon (4): ARM: dts: meson8b: odroidc1: Add usb phy power node arm64: dts: amlogic: odroidc2: Fix the chip enable signal for usb power phy: amlogic: meson8b-usb2: Power off the PHY by putting it into reset mode phy: amlogic: meson8b-usb2: don't log an error on -EPROBE_DEFER arch/arm/boot/dts/meson8b-odroidc1.dts | 19 +++++++++++++++++++ .../boot/dts/amlogic/meson-gxbb-odroidc2.dts | 7 +++---- drivers/phy/amlogic/phy-meson8b-usb2.c | 8 ++++++-- 3 files changed, 28 insertions(+), 6 deletions(-) -- 2.32.0