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: 614378 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB9F0C4321E for ; Tue, 11 Oct 2022 08:29:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbiJKI3w (ORCPT ); Tue, 11 Oct 2022 04:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbiJKI3o (ORCPT ); Tue, 11 Oct 2022 04:29:44 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10F2CE3D for ; Tue, 11 Oct 2022 01:29:39 -0700 (PDT) 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: devicetree@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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(-) Reviewed-by: Xu Yang