From patchwork Mon Oct 24 10:06:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 618239 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 7DEADFA374B for ; Mon, 24 Oct 2022 10:07:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230424AbiJXKHP (ORCPT ); Mon, 24 Oct 2022 06:07:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230307AbiJXKHJ (ORCPT ); Mon, 24 Oct 2022 06:07:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41CAB419B7; Mon, 24 Oct 2022 03:07:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id ABFC4B810B2; Mon, 24 Oct 2022 10:07:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47F56C433D7; Mon, 24 Oct 2022 10:07:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666606023; bh=tayFJ0zIpPNVGZUS4cmjEbiTrP4owsq5Yv1fDhHyyaw=; h=From:To:Cc:Subject:Date:From; b=P27ZWaZc7pD/HNh+mXLuYd+iczelBbxiLYrr5IUhsIficy7b9a872+jD9L/bpvs/9 piRKbdlTvxXII2s5JRjJIdWMrZV6rQ/x5ijtAkgZjK2lXplPGnkqhhCyFWW6t8lsqQ vSpnx79dTcJTebFCzWkdavI2oCK4HrPDKrqGRK+I2isw6GP9Yq/0UPeV9IShCB0b7y r826F5thtFSdAGG/k3j6fcS1KnKUoQQaouGmB+oi1lTUUYGvujbO3UaT33KQaHc/dM MeliJ9GXdfbN2UYM7icHdxs5XN9rl9Chlx/5Et1nEyitqPFEdyD1FGMKke50KHJRLX KsyIrGtc4N/0g== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1omuM2-0005M4-KK; Mon, 24 Oct 2022 12:06:46 +0200 From: Johan Hovold To: Vinod Koul Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 00/13] phy: qcom-qmp-usb: fix sc8280xp binding Date: Mon, 24 Oct 2022 12:06:19 +0200 Message-Id: <20221024100632.20549-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series fixes the USB PHY devicetree binding for SC8280XP and adds support for the new updated binding to the driver. The first half of the series clean up the driver in preparation for supporting SC8280XP and its new binding that drops the legacy child node and the (incomplete) description of register subregions. The other QMP bindings suffer from similar problems and the PCIe and UFS drivers are being fixed here: https://lore.kernel.org/lkml/20221021110947.28103-1-johan+linaro@kernel.org/ https://lore.kernel.org/lkml/20221024090041.19574-1-johan+linaro@kernel.org/ and a follow-on series will do corresponding changes to the combo QMP bindings and driver. Note that these patches depend on the linux-phy next branch of today and the following two series: 1. [PATCH v2 00/14] phy: qcom-qmp: further prep cleanups https://lore.kernel.org/lkml/20221012081241.18273-1-johan+linaro@kernel.org 2. [PATCH 00/20] phy: qcom-qmp: further prep fixes and cleanups (set 3) https://lore.kernel.org/lkml/20221012084846.24003-1-johan+linaro@kernel.org Johan Johan Hovold (13): phy: qcom-qmp-usb: fix sc8280xp PCS_USB offset phy: qcom-qmp-usb: sort device-id table phy: qcom-qmp-usb: move device-id table phy: qcom-qmp-usb: move pm ops phy: qcom-qmp-usb: merge driver data phy: qcom-qmp-usb: clean up device-tree parsing phy: qcom-qmp-usb: clean up probe initialisation phy: qcom-qmp-usb: rename PHY ops structure phy: qcom-qmp-usb: clean up PHY init dt-bindings: phy: qcom,qmp-usb: rename current bindings dt-bindings: phy: qcom,qmp-usb: fix sc8280xp binding phy: qcom-qmp-usb: restructure PHY creation phy: qcom-qmp-usb: add support for updated sc8280xp binding ...phy.yaml => qcom,msm8996-qmp-usb-phy.yaml} | 20 +- .../phy/qcom,sc8280xp-qmp-usb-phy.yaml | 105 ++++ drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 532 +++++++++--------- 3 files changed, 368 insertions(+), 289 deletions(-) rename Documentation/devicetree/bindings/phy/{qcom,qmp-usb-phy.yaml => qcom,msm8996-qmp-usb-phy.yaml} (95%) create mode 100644 Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb-phy.yaml