From patchwork Fri Aug 27 13:11:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 503397 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp1254081jab; Fri, 27 Aug 2021 06:12:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLflsU6b+lHcWsEHkhU70Ec59kywyor7nDnVk/TUREZzj0n1aS+bn0/KLfRluW3ictN0QX X-Received: by 2002:a05:6e02:e8b:: with SMTP id t11mr6463959ilj.175.1630069931349; Fri, 27 Aug 2021 06:12:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630069931; cv=none; d=google.com; s=arc-20160816; b=QCtQeMDVvnug2AM36PsNl/DKuBmT7ob48Mjo2bOdPNv4VQ8BrnNdT5zaI8IF3cBt6v ltgj2gI714aB3xVTC5qrHlh0cCqw2K9kfsoR9MgvRqptw4THpQJfya8VD279wDxNchb1 h7UtJt50MNswdn/eJ9hQxEDW8w+pKDEFIZchjihr39sdZk4uCtc4py7TUpsC01GGqLm0 8UTFugEA8jTNK7xXObVXVxzFy4nt6kPaE2wlrK1AbsvfvMgDp3ZRuTE2OMClfhWek2ro YzVnZMPxkSGueuNUDOeymcP7lGmkCGHlYVD5BuwiMAyZmc3OG6n/ZJgxoU/lN+HlM5zg 0O6Q== 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=eYOFwmYn6X1M2E8a7MDAaGt4zsmBWTktrmci5tNJESE=; b=chC6m7xsIqF1EJZj8d6iY4aax/AKGhNOoO0YpVnAPD7yyeEqD0DJsawEH4PMXkfLYZ oq78gVww+zjZWHYGDexGY/GYdXY6I/nR4/gPzO+TL3rdRGLLEnjqoXBPQU/tEcFFnwlG SuK3d4N4tIe0CJM9BOPySAU8UGjJ7A6uIanyAE9czYaesvxwMlJfjzJcBd+ScuCDAxNS KEuC/7XxtsdEo7K738KnPb/Dpn6wh6hy1LkkoxWlMUgxTNDFvR+Ajtv+vJvlKV/Es+hy RStpIcsNKuDAHHkooPQ22MdnJ82j/OkiH/qWVv3n5NdP4nYhHuwA6Rb8UKh9TEOm99Ew 8vxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U8xD8hFT; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si6482127iob.28.2021.08.27.06.12.11; Fri, 27 Aug 2021 06:12:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-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=@linaro.org header.s=google header.b=U8xD8hFT; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245160AbhH0NM7 (ORCPT + 4 others); Fri, 27 Aug 2021 09:12:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245091AbhH0NM6 (ORCPT ); Fri, 27 Aug 2021 09:12:58 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68CE2C061757 for ; Fri, 27 Aug 2021 06:12:09 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id c129-20020a1c35870000b02902e6b6135279so4368419wma.0 for ; Fri, 27 Aug 2021 06:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eYOFwmYn6X1M2E8a7MDAaGt4zsmBWTktrmci5tNJESE=; b=U8xD8hFT+228lDVAICpxn3cRIE3EYgA3OhTKjqjLJrdGig0YJcajxuLcDAMxmjhscH q/9eLXuDKakVYVWXQiyrbLPXWH1nAjIf4L5og2sa2GEwaAgjVeadZgMaIZrZRh+f+ztL olHwE+CsrtoySiJW5OgiFL/GUlVM8oI1gQQ8rZ4BG4IJ6D3kUEp3MjIrDZjtOO/24oWP SneP5qGz59dlAyBefYcbT1CaIKDhIAWgHv0uThWQvvq4Oytg6Qgc6q3bAgfQcaTrKDu/ 6e+uCnyvr8oF7OBlXfae39FrKB5fHnLUjU+7LsInUDN9dsWSJdDjoK+vx8eDQywzodab 935A== 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=eYOFwmYn6X1M2E8a7MDAaGt4zsmBWTktrmci5tNJESE=; b=rbJBKEYGJNgbIyxnZwzS04SR7Ju04l080NVGE6mnAGNQIM3M72eLvvumdQV/ZBI0ok UsV+o8NW987W/NjKAj7OVPhts6JeqK7wqsfBNpyugxwnlVQW4sy4BTL1YcRP7pX1vh2F VVzGo9PgWVv4di8+b71nuP3pJfU0zn/fSwP2KCyYDTYyBn0OwwlB+8l4GliaxAWZBaE5 exESS0EYply01do1hmlKGFGADHN7MVaa79oQbGxWdCsm5bZSOp2SFTmsqD243HQBoGKk u2EVBUzD/xnXo8M4DBEy/csJ7fHgc67bl8jceqY+ogR9U5TNePdvAgUL5fguGMhrTsgw L2+g== X-Gm-Message-State: AOAM531TCt4m/JTORTrMEHH0S/tURV8wTyMZ3fCAgL7qkhAmjF6tmvcF ak4n5fxo0Fem8lkKVuFK3gM9dQ== X-Received: by 2002:a1c:23c7:: with SMTP id j190mr19822713wmj.1.1630069928029; Fri, 27 Aug 2021 06:12:08 -0700 (PDT) Received: from arch-thunder.local (a109-49-46-234.cpe.netcabo.pt. [109.49.46.234]) by smtp.gmail.com with ESMTPSA id c7sm5279349wmq.13.2021.08.27.06.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Aug 2021 06:12:07 -0700 (PDT) From: Rui Miguel Silva To: Greg Kroah-Hartman , Dietmar Eggemann Cc: linux-usb@vger.kernel.org, Rui Miguel Silva Subject: [PATCH v2 0/5] usb: isp1760: arm tc2 board isp1761 fixes Date: Fri, 27 Aug 2021 14:11:49 +0100 Message-Id: <20210827131154.4151862-1-rui.silva@linaro.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi, Dietmar complained that the latest changes to this driver broke booting his Arm TC2 board [0]. I did not have one of that boards but Dietmar provided out of band help trying to debug the issue, many thanks for that. Meanwhile, yesterday I could get access (remotely) to one of TC2 board and manage to fix the issues that were breaking this to work on that system. This is rebased on top of the latest (this evening) usb-testing/(this morning) usb-next. If, and I am sure it is too late to include in to 5.14, it should go to the first 5.14.y stable with this tag: Fixes: 1da9e1c06873 ("usb: isp1760: move to regmap for register access") Thanks again Dietmar for reporting and your help. Cheers, Rui v1[1]->v2: Dietmar: - change email from gmx.de to arm.com - add tested-by tag [0]: https://lore.kernel.org/linux-usb/11ed5458-4b88-ad72-4497-89ff9346a40b@gmx.de/ [1]: https://lore.kernel.org/linux-usb/f9f1ceb6-6db5-8ef1-944d-381bdf65599a@arm.com/T/#t Rui Miguel Silva (5): usb: isp1760: fix memory pool initialization usb: isp1760: fix qtd fill length usb: isp1760: write to status and address register usb: isp1760: use the right irq status bit usb: isp1760: otg control register access drivers/usb/isp1760/isp1760-core.c | 50 ++++++++++++++++-------------- drivers/usb/isp1760/isp1760-hcd.c | 33 ++++++++++---------- drivers/usb/isp1760/isp1760-regs.h | 16 ++++++++++ drivers/usb/isp1760/isp1760-udc.c | 12 +++---- 4 files changed, 65 insertions(+), 46 deletions(-) -- 2.33.0