Message ID | 20221024090041.19574-1-johan+linaro@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp336269wru; Mon, 24 Oct 2022 02:06:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4tG9pJ07uwo0HWMTxvimPigm88qQnai1fcW/4tYuIagYmapqIPrCm27CmjqCtL+ivvC1ta X-Received: by 2002:a17:907:160c:b0:78d:b6f5:9f56 with SMTP id hb12-20020a170907160c00b0078db6f59f56mr25165437ejc.325.1666602384402; Mon, 24 Oct 2022 02:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666602384; cv=none; d=google.com; s=arc-20160816; b=tPgapnMAhmfPmeUgg11bJFcjdZRnOEXU7ypkRnZUChlvCJhXs2renzeT3Avrw2Si6R vGcEhHhApq+GpKxaMnSI6Q88h3eJoCqdVtNFhUqcSmNmHe8RC0DO8o+UOuDsVncyxoKc le/OGBHv0IlltfQYVBZwZXAgMZYmX5Lgf0St2LviWJs7RfXvor+MAQ1gpVL4v0zOoUoc X7QUlKMQu1355OMdAtZigcr301iEA3mmJTCijwsdscQFLksy+WBPXHdjm3paMTlSXPNe jckItqwAp4WzXX5qGvR7YkBK1cjMmqK0VkY4wsBohYYThFV2DttPKbSTlXENa2m/h5B1 HqCg== 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=Pt0JOsVZi800bA5+08dJGDRgFymGEInss/pXQne1uRM=; b=cPpau6KiN7oPpevNcI5EJwX7ze0HHeKXq7x6kLPnVITj2CXpwBB3Z/lzcaF44dhD41 yGiR7VhdojeKB1mJ1iGHsllQhn6Bs9d07hG7KtoD+g0i6BzxXPFqex22hGQRjEpoDKTW eQJ/Nzz8dl9FwIPmLYJqBLYra733fCfnfdVhBzaHEeUse/myKFfGxyCgaMxOnE/h4vLC yyR4vgFWiY7Sh84xj9d4R27lhQIPAiepz8P8F5CLEqtmfnFvIaX31Vl1QuqRlMUCXPIh JvAUlUreyDx4xVI82nCfbTRfTbtjUX0jfoiREHBQXAFKeJc+F4m59Dg+5KCX5y15w6ub r8og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FMawn2Mi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q24-20020a50c358000000b004610f91a242si9755966edb.300.2022.10.24.02.06.00; Mon, 24 Oct 2022 02:06:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FMawn2Mi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230335AbiJXJBt (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Mon, 24 Oct 2022 05:01:49 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <johan+linaro@kernel.org>) id 1omtKi-00056L-TD; Mon, 24 Oct 2022 11:01:20 +0200 From: Johan Hovold <johan+linaro@kernel.org> To: Vinod Koul <vkoul@kernel.org> Cc: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747559262193457221?= X-GMAIL-MSGID: =?utf-8?q?1747559262193457221?= |
Series |
phy: qcom-qmp-ufs: fix sc8280xp binding
|
|
Message
Johan Hovold
Oct. 24, 2022, 9 a.m. UTC
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
Comments
On 24/10/2022 12:00, Johan Hovold wrote: > 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. Great! I'm looking forward to seeing the combo patchset. Then I can probably rebase my regs layout patches on top of your tree. > > 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 >
On 24-10-22, 11:00, Johan Hovold wrote: > 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. Applied, thanks