Message ID | 20221121085058.31213-1-johan+linaro@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1463247wrr; Mon, 21 Nov 2022 00:55:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf7/AsnFZb5eSNMbxxRlLmSykwCkYVcbrQkSqtv7xUXBsNk2oouKy+zcWLG+WplCajF5tqEf X-Received: by 2002:aa7:d1cc:0:b0:468:f964:372e with SMTP id g12-20020aa7d1cc000000b00468f964372emr13371187edp.326.1669020957750; Mon, 21 Nov 2022 00:55:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669020957; cv=none; d=google.com; s=arc-20160816; b=kAFXNIldDIXugmE00XMVclaE1QPXkQgBRtOFsd4ybbJ3le//S3Mfpzf8WmRnzPSegC jQUTlp/EIWkLdN68NSlV2gxf31nbWp2gyVzUx0jCE6EaHRAz/cgxs+UInLpc7lU0rgyW NXAbjHaX9NvQhT14yhjvfE/CPOMIhCl5YHTOB7b2oOYBpX4veFjGc+U1aLAieeDFEfSf 3B3xQpg9RsmzlgA9zedsQMWvQ5LYcQx9OilcNaLHT18jXdOD/ujLef8m5cD5USjpuN4v q2vUrCV4Ih8vZPp7rBuO88i610AQpmg7wuxi/3gRGtv0wc99y+yfUqtqrMvPGQaffkZb Qsdg== 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=E4oeHqm02gJfABW2OUzhToJdG2QA+uNrQnmuuuLKbl8=; b=KmwYzT2DbqJ3TvSdRY54Jt0Xi6+WJYeOISTKYSW2JNpHkLHjNuMVVKtl1dlmc51Idt RFovr/000oe5GbCoTpQMp5J6pd5wSjkhLZj+c7sldZyUnjL/zLkMk9epZRx+f5AEm5ZE 9nlWvitx4RUBky0jjxbDCu8w5GGpMAUuyUt2925d+2l7RnTZVGVuu4pwwEIqqSQpDk+I zWb74S3hGampOMpe3aGKQ0vnJ5L0x/6u4i55gewdtu53bOOIuBsUUnHjz7f7d5cVjKKc G+RNCU9kIYjl9+EMQ2DtVOrcR+KiOSDqBor+S1V4XGzKMlCMzeI0ZElFxKtX9SjoNEbN g10w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l2b+nQa9; 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 pw27-20020a17090720bb00b007ae0211844dsi8537221ejb.937.2022.11.21.00.55.30; Mon, 21 Nov 2022 00:55:57 -0800 (PST) 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=l2b+nQa9; 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 S230265AbiKUIwj (ORCPT <rfc822;peter110.wang@gmail.com> + 99 others); Mon, 21 Nov 2022 03:52:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230202AbiKUIwD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 21 Nov 2022 03:52:03 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5175C7FF23; Mon, 21 Nov 2022 00:51:57 -0800 (PST) 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 EBB58B80D5C; Mon, 21 Nov 2022 08:51:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BAD7C43145; Mon, 21 Nov 2022 08:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669020714; bh=0/FEbAx1GFTzClwrya9NO6G7aq+zFSmoJtaI7TVM8P4=; h=From:To:Cc:Subject:Date:From; b=l2b+nQa9h0fZOMYnjcesQxnSVrSglrMo5ieYBrmWlCEj6v+hgw4yaXo8IUrYeErMU lWaFMOY2DDRV+XC+9X/DxbLcvcqQR+H0uKNLuQQGi8Xbp+c3kvoTQVpo7ww7gHT3Uk 5xLY1WyJpzcotx/RfJi5B6FFrwORJzz7JwzxdmShx/9uXHcUxPKSY6eu8POPaPEkP3 PYlO8l05UZ+U/qhV24tJncq+/fSedRWqrRD+m0MUkab2xL5i1nt0KWdF0ashaAFnr/ vB/oHFPI0L9T3bC0bmQFD25qjYxk+uHwh/Es2/8x04DhV0nKDiJHszhscOq96P8iVf gHW0bqxffLnAg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from <johan+linaro@kernel.org>) id 1ox2WS-00088D-CY; Mon, 21 Nov 2022 09:51:24 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: Vinod Koul <vkoul@kernel.org> Cc: Kishon Vijay Abraham I <kishon@kernel.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.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 v3 00/15] phy: qcom-qmp-combo: fix sc8280xp binding (set 3/3) Date: Mon, 21 Nov 2022 09:50:43 +0100 Message-Id: <20221121085058.31213-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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?1750095319748610068?= X-GMAIL-MSGID: =?utf-8?q?1750095319748610068?= |
Series |
phy: qcom-qmp-combo: fix sc8280xp binding (set 3/3)
|
|
Message
Johan Hovold
Nov. 21, 2022, 8:50 a.m. UTC
This series fixes the USB-DP PHY devicetree binding for SC8280XP and adds support for the new updated binding to the driver. As the full series including the preparatory parts is over forty patches and I've been posting this in three parts of which this is the last one. In an effort to get all of these into 6.2, I've also submitted all three series before waiting for the previous ones to be applied. Parts one and two can be found here: https://lore.kernel.org/lkml/20221114081346.5116-1-johan+linaro@kernel.org/ https://lore.kernel.org/lkml/20221114110621.4639-1-johan+linaro@kernel.org/ This last series adds a new binding for SC8280XP that drops the legacy child node and the (incomplete) description of register subregions. As the current bindings are both incomplete and incorrect it may be a good idea to update also the other platforms currently supported by this driver to the new binding scheme. The driver can support both schemes during a transition period before removing the corresponding code (dt parsing and clock-provider registration). Johan Changes in v3 - make new QMP header dual licensed (Rob) Changes in v2: - drop quotes from old DT schema $id and $schema (Krzysztof) - drop clock-output-names from new binding (Krzysztof) - add QMP clock and PHY index constants in a new header - drop patch moving clock registration before runtime PM enable (Dmitry) - include also the corresponding dts changes Johan Hovold (15): dt-bindings: phy: qcom,qmp-usb3-dp: rename current bindings dt-bindings: phy: qcom,qmp-usb3-dp: fix sc8280xp binding phy: qcom-qmp-combo: drop v4 reference-clock source phy: qcom-qmp-combo: restructure PHY creation phy: qcom-qmp-combo: generate pipe clock name phy: qcom-qmp-combo: drop redundant clock structure phy: qcom-qmp-combo: drop redundant clock allocation phy: qcom-qmp-combo: add clock registration helper phy: qcom-qmp-combo: separate clock and provider registration phy: qcom-qmp-combo: clean up DP clock callbacks phy: qcom-qmp-combo: rename common-register pointers phy: qcom-qmp-combo: rename DP_PHY register pointer phy: qcom-qmp-combo: add support for updated sc8280xp binding arm64: dts: qcom: sc8280xp: fix primary USB-DP PHY reset arm64: dts: qcom: sc8280xp: fix USB-DP PHY nodes ....yaml => qcom,sc7180-qmp-usb3-dp-phy.yaml} | 25 +- .../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 99 ++++ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 79 +-- drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 530 +++++++++++------- include/dt-bindings/phy/phy-qcom-qmp.h | 20 + 5 files changed, 473 insertions(+), 280 deletions(-) rename Documentation/devicetree/bindings/phy/{qcom,qmp-usb3-dp-phy.yaml => qcom,sc7180-qmp-usb3-dp-phy.yaml} (91%) create mode 100644 Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml create mode 100644 include/dt-bindings/phy/phy-qcom-qmp.h
Comments
On 21-11-22, 09:50, Johan Hovold wrote: > This series fixes the USB-DP PHY devicetree binding for SC8280XP and > adds support for the new updated binding to the driver. > > As the full series including the preparatory parts is over forty patches > and I've been posting this in three parts of which this is the last one. > In an effort to get all of these into 6.2, I've also submitted all three > series before waiting for the previous ones to be applied. Parts one and > two can be found here: > > https://lore.kernel.org/lkml/20221114081346.5116-1-johan+linaro@kernel.org/ > https://lore.kernel.org/lkml/20221114110621.4639-1-johan+linaro@kernel.org/ > > This last series adds a new binding for SC8280XP that drops the legacy > child node and the (incomplete) description of register subregions. > > As the current bindings are both incomplete and incorrect it may be > a good idea to update also the other platforms currently supported by > this driver to the new binding scheme. The driver can support both > schemes during a transition period before removing the corresponding > code (dt parsing and clock-provider registration). Applied 1-13, thanks
On Mon, 21 Nov 2022 09:50:43 +0100, Johan Hovold wrote: > This series fixes the USB-DP PHY devicetree binding for SC8280XP and > adds support for the new updated binding to the driver. > > As the full series including the preparatory parts is over forty patches > and I've been posting this in three parts of which this is the last one. > In an effort to get all of these into 6.2, I've also submitted all three > series before waiting for the previous ones to be applied. Parts one and > two can be found here: > > [...] Applied, thanks! [14/15] arm64: dts: qcom: sc8280xp: fix primary USB-DP PHY reset commit: ee4e530bdde29a69c58656a919545251a782674e [15/15] arm64: dts: qcom: sc8280xp: fix USB-DP PHY nodes commit: 721c0d68c0f882b6358102b52961ff6eb601839c Best regards,