From patchwork Mon Nov 14 11:05:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 1603 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2084169wru; Mon, 14 Nov 2022 03:09:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf7D/UIwQI7FCucDhnWxowWnNEFVbkW/uEreJG0AIjz6svvrMbtzVACkF9RgL6uuBETX32Pd X-Received: by 2002:a63:4c01:0:b0:475:a06:50ae with SMTP id z1-20020a634c01000000b004750a0650aemr10319371pga.67.1668424176255; Mon, 14 Nov 2022 03:09:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668424176; cv=none; d=google.com; s=arc-20160816; b=lkOysnnVdKh9LPG4Goj4wu/kHXUeAQiehFhrGY/1y7Xd2KKU1cJuPP1ZiAqZy03Qqd XtaFEiOULqfitkfir8+QIxANmHhtQySzsR75FUcNouccZS+wu+0md7s5mh9GDyXBliZQ wTOvoRuvl65SlT+a8jkuZ0waV0CRLALrNVpXODpyrXRM7k6o93WxTjzNQ6EI1+eIejZ5 8aBJUk47tNNTlF+i8tu09l86E54Bz0iqHTee0BPqC/+W/8DUsUnAyJTir4dH6LSfwt3W l1MJvl2BScvhRrluCkU/aFJv7+Ch6aFOnA9XGeF8fLJDccZ8xmT37IV/QedrIbCiBjBd pZVA== 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=CUOYt7+dKQ5cqPt9b1hxXu/jRlbQYWQkjj3AGwTovAA=; b=wbN2bEcJQ+dOvMZJyLuAgvYOZSBYSLsTEV5DHA81554q+OU0G4yGgeutZSPkXLrrzo 1NQ5b4NbgG9PkFFpT/mXeUAqH1r9P0RS3wGma1GgDNz7haLRK0GOOjZATm8x50XgVN7c TiAUIwpZW9GmdOT2jVSXb3s9GwdTG3l51SFqkdRt7novZ7nwLuP4osSp9L1UKYBcxmLb DCXvfiqXHERM3yAudFq1X2GfdzlaweCHBevmZCYQWK7zxuijx+Su0Kr3rLE/+iSUUDaR zs4A6FmG7Om56gHWD4u9bL9Ww+WNzP229ZOkdQQ2fBzbnZbSnsnfT3b8dyVYo28HvcMx kDsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eD9lTovw; 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 l27-20020a63ba5b000000b00439398fcb63si10183328pgu.24.2022.11.14.03.09.23; Mon, 14 Nov 2022 03:09:36 -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=eD9lTovw; 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 S236728AbiKNLHw (ORCPT + 99 others); Mon, 14 Nov 2022 06:07:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236627AbiKNLH0 (ORCPT ); Mon, 14 Nov 2022 06:07:26 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECF2A20BF0; Mon, 14 Nov 2022 03:07:16 -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 19582B80DEB; Mon, 14 Nov 2022 11:07:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0E46C433C1; Mon, 14 Nov 2022 11:07:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668424033; bh=49UtItfLQZcbV45mXRG9vFVDAY6GdI89kbkn+0l94+A=; h=From:To:Cc:Subject:Date:From; b=eD9lTovwvWHP2VNP+oiRZjWXyNqlj3Ukcw8+RvDMevESCNjqWq+TVTp+yIt5n9hBm zMqXlJt1FHwLx8a6W7qhnegDoNjY2LwxCoK+EognPsxoE83qddkVhE4t5w7Ry2EnbD HK/rH70VyeSyjANLqLrvlqUEC8NE3MqnxeU8fPrRsH6WjjTyXWuFnSRbtRqr+Emqwz 37nIhiRLydSBT8uwUViiRTF01ZsuEkA4j42OgQaCWhxSTyMwVtkxzJ8wGEbom9aQxK otlH6HL8ZOsyHkaJX2mgmQO6UvGWOtgtPxEfVPso8Yddz2hEwe5T9dTnd+3h7G++WY /55tO5mzkX8WA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1ouXIX-0001EP-1g; Mon, 14 Nov 2022 12:06:41 +0100 From: Johan Hovold To: Vinod Koul Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v2 00/22] phy: qcom-qmp-combo: preparatory cleanups (set 2/3) Date: Mon, 14 Nov 2022 12:05:59 +0100 Message-Id: <20221114110621.4639-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749469549105593655?= X-GMAIL-MSGID: =?utf-8?q?1749469549105593655?= Here's a set of preparatory cleanups needed to fix the devicetree binding and add (proper) support for SC8280XP to the combo driver but that are otherwise self-contained. The full series is over forty patches and I'll be posting these in three parts of which this is the second. In an effort to get all of these into 6.2, I'll also be submitting all three series before waiting for the previous ones to be applied. This series specifically separates the USB and DP PHY ops implementations, and merges the USB and DP driver data and configurations. Johan Changes in v2 - remove pcs_misc also from comment in DP legacy DT helper as this has never been part of the binding (even if some SoC dtsi got that wrong) - drop the lanes configuration parameter (new patch) - drop USB PHY init sequence cleanup (not needed after removing the lanes parameter) Johan Hovold (22): phy: qcom-qmp-combo: sort device-id table phy: qcom-qmp-combo: move device-id table phy: qcom-qmp-combo: move pm ops phy: qcom-qmp-combo: rename PHY ops structures phy: qcom-qmp-combo: drop unused DP PHY mode op phy: qcom-qmp-combo: rename USB PHY ops phy: qcom-qmp-combo: drop unnecessary debug message phy: qcom-qmp-combo: separate USB and DP init ops phy: qcom-qmp-combo: rename DP PHY ops phy: qcom-qmp-combo: separate USB and DP power-on ops phy: qcom-qmp-combo: clean up serdes initialisation phy: qcom-qmp-combo: separate USB and DP devicetree parsing phy: qcom-qmp-combo: add dedicated DP iomem pointers phy: qcom-qmp-combo: clean up DP configurations phy: qcom-qmp-combo: rename sc8280xp config phy: qcom-qmp-combo: add DP configuration tables phy: qcom-qmp-combo: drop lanes config parameter phy: qcom-qmp-combo: merge USB and DP configurations phy: qcom-qmp-combo: merge driver data phy: qcom-qmp-combo: clean up device-tree parsing phy: qcom-qmp-combo: clean up probe initialisation phy: qcom-qmp-combo: clean up DP callback names drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 1344 ++++++++++----------- 1 file changed, 608 insertions(+), 736 deletions(-)