From patchwork Tue Oct 11 08:29:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sascha Hauer X-Patchwork-Id: 13003771 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DDE93C4332F for ; Tue, 11 Oct 2022 08:31:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=mJ7/Ea2L1SC5SFM4/N762lSArPZWL/gQgTyBnVsITCw=; b=P/pMx40d17bWdC 1XJOAynw5stlctoU6D0E+qGv+9rxwviZ2KXOaOo2INWHP9UpukNMgizmzd89fWNcDjMblZgHvo1KA n8Fjdos8SJSRvRFKSLh8qdfTAWuPXWsvDWQI1boYL4l3PHC5Oo0WV2Arz0K9HibxMNl0Bz4hi+OAG 8+UG8zQQuDKwjZx7aVqctEs7RLYai25Zka5aNVCcChIjbvXChy34LbqquNDzx/7xVRPmNs9BDZAk3 33ULdH5i7AkjrqfeCY6nEmysiDBZxBDshOUuHeS2wK3/jUe5zVd0t1GeBcI4tqLRwJAJ5ckOehgvc AhX0WXy6Z3OPRTJKg/iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiAe3-003hjK-7A; Tue, 11 Oct 2022 08:29:47 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiAds-003hgU-01 for linux-arm-kernel@lists.infradead.org; Tue, 11 Oct 2022 08:29:37 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oiAdl-0005Sq-73; Tue, 11 Oct 2022 10:29:29 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oiAdj-000r71-77; Tue, 11 Oct 2022 10:29:27 +0200 Received: from sha by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oiAdi-003iNb-AF; Tue, 11 Oct 2022 10:29:26 +0200 From: Sascha Hauer To: linux-usb@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Peter Chen , Peng Fan , Pengutronix Kernel Team , devicetree@vger.kernel.org, Sascha Hauer Subject: [PATCH 0/6] usb: chipidea: Export more phy tuning parameters to device tree Date: Tue, 11 Oct 2022 10:29:18 +0200 Message-Id: <20221011082924.884123-1-s.hauer@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221011_012936_138225_4BBF09E1 X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series exports more phy tuning settings to device tree. There are some values already exported and I follow that example in this series. Patches 1 and 2 contain two small bugfixes for issues I stumbled upon along the way. Patches 3 and 4 are cleanups. These patches could be applied without the remaining two patches. The binding patch is based on https://lore.kernel.org/linux-arm-kernel/20221010101816.298334-3-peng.fan@oss.nxp.com/t/, so this will need a rebase once this series settles. Sascha Sascha Hauer (6): usb: chipidea: usbmisc_imx: Fix i.MX53 clock sel masks usb: chipidea: usbmisc_imx: Fix setting i.MX6SX wakeup source usb: chipidea: usbmisc_imx: Use GENMASK/FIELD_PREP for bitfields usb: chipidea: usbmisc_imx: Add prefix to register defines usb: chipidea: usbmisc_imx: Add device tree properties for i.MX7 phy tuning dt-bindings: usb: ci-hdrc-usb2: Add more phy tuning properties .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 79 ++++++++ drivers/usb/chipidea/ci_hdrc_imx.c | 14 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 7 + drivers/usb/chipidea/usbmisc_imx.c | 186 ++++++++++++------ 4 files changed, 230 insertions(+), 56 deletions(-)