From patchwork Mon Oct 24 09:00:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 618250 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 B50D3FA3742 for ; Mon, 24 Oct 2022 09:01:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230139AbiJXJBn (ORCPT ); Mon, 24 Oct 2022 05:01:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229905AbiJXJBj (ORCPT ); Mon, 24 Oct 2022 05:01:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D89A54D4FD; Mon, 24 Oct 2022 02:01:38 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 6E35E6108C; Mon, 24 Oct 2022 09:01:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCF56C43470; Mon, 24 Oct 2022 09:01:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666602097; bh=SLoNuE0wOlAn/sJQ6E07BFsAXMng8qt1Wiq6RyuB1MM=; h=From:To:Cc:Subject:Date:From; b=FMawn2Mi0AT5p/8QuvcGgd/YzYtdDQZPjTLr6yGd8153qHmn343LfNOTLwJPZxe5L qF3+Eo0CITPjdi3k9xfW2T6I3k26x2EBA7BKjZqvdwo6GCHVNlsXgJl95yKzOgMaoc TVWpo9BjLq4k8alB8Kp+Ydrz5kQtLO/lUamJpIaD8aMR6mPOAD1IiWVwpIlwOBrwiw iTRrLzPyO6OoulmERZX54MH8cvFbD7MqR6NwU+HNkptR+gBH3Qc2NALal5pWHh3qfZ vU/xWGz7ayQ/CHlQ6ANoftG/qHsaYmCvuJhAK7eZ7X+zIfVDrV+5Rr2qpC5llyae5g jr/43JdXKel7A== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1omtKi-00056L-TD; Mon, 24 Oct 2022 11:01:20 +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/10] phy: qcom-qmp-ufs: fix sc8280xp binding Date: Mon, 24 Oct 2022 11:00:31 +0200 Message-Id: <20221024090041.19574-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 UFS 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 driver is being fixed here: https://lore.kernel.org/lkml/20221021110947.28103-1-johan+linaro@kernel.org/ and follow-on series will do corresponding changes to the USB and combo QMP bindings and drivers. 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 (10): phy: qcom-qmp-ufs: move device-id table phy: qcom-qmp-ufs: merge driver data phy: qcom-qmp-ufs: clean up device-tree parsing phy: qcom-qmp-ufs: clean up probe initialisation phy: qcom-qmp-ufs: rename PHY ops structure phy: qcom-qmp-ufs: clean up PHY init dt-bindings: phy: qcom,qmp-ufs: rename current bindings dt-bindings: phy: qcom,qmp-ufs: fix sc8280xp binding phy: qcom-qmp-ufs: restructure PHY creation phy: qcom-qmp-ufs: add support for updated sc8280xp binding ...phy.yaml => qcom,msm8996-qmp-ufs-phy.yaml} | 17 +- .../phy/qcom,sc8280xp-qmp-ufs-phy.yaml | 83 ++++ drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 381 +++++++++--------- 3 files changed, 287 insertions(+), 194 deletions(-) rename Documentation/devicetree/bindings/phy/{qcom,qmp-ufs-phy.yaml => qcom,msm8996-qmp-ufs-phy.yaml} (93%) create mode 100644 Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml