From patchwork Fri Nov 11 08:56:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 18568 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp626184wru; Fri, 11 Nov 2022 01:00:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf7RVVM8S5ZtGdxesQhfamPvhjPLPPRkD6UGopgCFHpzeItVFOB/wLN7wkZ8pUuA72LGaGhm X-Received: by 2002:aa7:d759:0:b0:463:fec2:dfb1 with SMTP id a25-20020aa7d759000000b00463fec2dfb1mr620763eds.303.1668157213838; Fri, 11 Nov 2022 01:00:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668157213; cv=none; d=google.com; s=arc-20160816; b=vCzpnad3Lq2vaFcGcTGBHMG7crsh5G3m7sdx6FuZ+zN3zl4Q0cU4jvQ4WRfzkhOpDk 8aWnBLtlpL8YaJdOHbXqqGQKoxzCpM9XgrJsPvOuUDHo/UYXbB6USU9epTIXRBmBQBJz TZQYiR1j64jfrvd5nqm/dx8JVhejweon9JMSD1gEG8DqrFfQyjf56TbWO7J7weBFqtYS xmDF+MFl+h7u0v8zlIKsUf6+kmesIH6kn3XAao6QC0tdY9eRh/9eVpD8slOfDgfBsJzs eXjfX+LLAT0j4fpcbjiRzcrS811aKJwi/83EDScGnRTwtemDO7NiMWpfRaGrBzMLT9Tg PQ3w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iUElBEpLv4RbmbG6k9cQJkNt9k7nmxEsuHbF8AmVx1M=; b=fl59zG9tC41JSeOmg+1zCndNYNRqGOzjaifVv0QsOUN982sThtDsI0v2el9jMheCCo LwAcIcZnkf7UBZmNbW3AJX1Yv6Y/d1pl4E9XRRc/5MKDXOItMVdEIZ4vfIeTmebxZJBO SSOjbpxNBvK9DOhfwV21YumD63nlVZdNEGUJk54MM7LFyPmIQtfEnZ9t+IPnJvjvezji A5KDPs1jogIHYAdZoO9uVz/sCr3natWb86hRO5RBfqwQIqaa6J+UctfnTbjKwQHD4ht/ F9mGnIrRBEzaThMpjbwSCA/XS0/UwhPbD9PvnIBdHJMkapUHwtOZ/63rtti6QmA+L2LJ 2XNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F1zJPWUp; 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 hr40-20020a1709073fa800b00791a3dd01b1si1659139ejc.865.2022.11.11.00.59.49; Fri, 11 Nov 2022 01:00:13 -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=F1zJPWUp; 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 S233207AbiKKI6O (ORCPT + 99 others); Fri, 11 Nov 2022 03:58:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233444AbiKKI51 (ORCPT ); Fri, 11 Nov 2022 03:57:27 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8834B77202; Fri, 11 Nov 2022 00:57:25 -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 44CABB82473; Fri, 11 Nov 2022 08:57:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFABBC43144; Fri, 11 Nov 2022 08:57:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668157042; bh=PuggCD58nq+PhXPokd4Y/KT/cjFel9nb2sJGZeDZkwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F1zJPWUpLTLdcFrTX3JaiReORdH5riWRG6qnj8hrE3arCZi3lL29O3I7QRZVKk0Ce MZKs6zSxLYAXvHeji8pa9bYRfZCnvrkNXjteR3FIXZpR6USEUhgkIovIYRggMP5u9q JvbsmnCc2o3OnnHz76UwgnxDQCG5ZYRlfYRB+iLEQSH8NBY3em6bi0er/tBttnKUxQ kJfdcXyCQHELV2EOmZNQW88MCEML09ZiVrQmRaJ9JNY1rB0lqJ/hCjQ8OcOegMRvJC zLLl+jzfnL/dFLiOfNvJY2vjtLsozwVgnVy43dOUg3WGqiWt4AwllsntpBeJfWEQbT 556p3bvv7rf3Q== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1otPqI-0002Tp-U6; Fri, 11 Nov 2022 09:56:54 +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 01/22] phy: qcom-qmp-combo: sort device-id table Date: Fri, 11 Nov 2022 09:56:22 +0100 Message-Id: <20221111085643.9478-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221111085643.9478-1-johan+linaro@kernel.org> References: <20221111085643.9478-1-johan+linaro@kernel.org> 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?1749189618756510292?= X-GMAIL-MSGID: =?utf-8?q?1749189618756510292?= Sort the device-id table by compatible string to make it easier to find and add new entries. Signed-off-by: Johan Hovold Reviewed-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c index c7a926d548d8..d6a031bcfc30 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c @@ -2651,14 +2651,6 @@ static const struct of_device_id qmp_combo_of_match_table[] = { .compatible = "qcom,sc7180-qmp-usb3-dp-phy", .data = &sc7180_usb3dpphy_cfg, }, - { - .compatible = "qcom,sdm845-qmp-usb3-dp-phy", - .data = &sdm845_usb3dpphy_cfg, - }, - { - .compatible = "qcom,sm8250-qmp-usb3-dp-phy", - .data = &sm8250_usb3dpphy_cfg, - }, { .compatible = "qcom,sc8180x-qmp-usb3-dp-phy", .data = &sc8180x_usb3dpphy_cfg, @@ -2667,6 +2659,14 @@ static const struct of_device_id qmp_combo_of_match_table[] = { .compatible = "qcom,sc8280xp-qmp-usb43dp-phy", .data = &sc8280xp_usb43dpphy_combo_cfg, }, + { + .compatible = "qcom,sdm845-qmp-usb3-dp-phy", + .data = &sdm845_usb3dpphy_cfg, + }, + { + .compatible = "qcom,sm8250-qmp-usb3-dp-phy", + .data = &sm8250_usb3dpphy_cfg, + }, { } }; MODULE_DEVICE_TABLE(of, qmp_combo_of_match_table);