From patchwork Mon Nov 21 08:50:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 23606 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1463489wrr; Mon, 21 Nov 2022 00:56:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf6sCkavzC87eO9QWtfgTmQx81/7+SEor893PdoY1ND55CIQ2lHnp91VFxy4T8crHsU5XPZo X-Received: by 2002:aa7:dd4d:0:b0:45c:98a9:7bbf with SMTP id o13-20020aa7dd4d000000b0045c98a97bbfmr15353283edw.372.1669021014699; Mon, 21 Nov 2022 00:56:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669021014; cv=none; d=google.com; s=arc-20160816; b=Qntj/IVyD8Ln15dG3qKzEJapL3q7Bj+gIlTutVF8VMAU+YsRX81pRZGruD8rzEoSGy QpyCPjhq7mkegtdpD5cAlVjOnMEk59r8o6ttt9LQ4bMMtbzJWt0XRprqKAoYtfa/ncLm nUvEGF5TtoCPfUEH7HWqVAhnZPHjhFdnMv0ZnLB4Up0vflPu77hjF+jZKW+lF4cl9D1M jbzkXmVJoW4X3hOulHBFbpSa3O8SvtSwYWLfNWlxUlsQx/n8CWzO3OaKCxtAmFNpfS+1 h/BlUhOJn9Nz4rZ14X6+sSUftREp+JNG5U/+2kqA2gjTqltSTN57xAGz6Xj85i8bvl0F k86w== 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=/Ia/Qalwqb9j31zWh73/YK7LAmtl++Lohxma6ZGySzk=; b=Ggo+oDZpTDR1xIVzVLLzLba4HS8UNUPN0ocC0ixlKGMwNScHniLMuiyQSP7blrYcaK FhsoTu2oR8aAsb8cWdSmQITuPOOoow48vHWhr1lh1sXMuIEMRopcff0R6DHWA7B1moR8 g4j68kOIF3c7XW0dM/Q4QUPUbSiYJk7r6N5jWTHAXpBK5rlA6FCUJuzBoSdPstZHdy1M djTq6lOucWjfDHRNcRISB3A7TA00LCulfvqCOv8GV4CzMn6ysa0xZ1O3BjuJrm4YrwU5 a+LuQ05LHSqy+7S+8+f0RWZAiQ2vT4G6UJH45w6IhzR095pZnqOmK67aZy9C9nFo/xzW cX1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ddWAUbe/"; 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 j3-20020aa7ca43000000b004691358e52dsi5876311edt.502.2022.11.21.00.56.29; Mon, 21 Nov 2022 00:56:54 -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="ddWAUbe/"; 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 S230309AbiKUIwq (ORCPT + 99 others); Mon, 21 Nov 2022 03:52:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbiKUIwB (ORCPT ); Mon, 21 Nov 2022 03:52:01 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8934F7FC1B; Mon, 21 Nov 2022 00:51:55 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 267D960F42; Mon, 21 Nov 2022 08:51:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7671EC433D7; 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=ElTyCaaFuJwFQkSxTO8dVBHZVU+p8b+U2ZsbEePHpm0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ddWAUbe/7hdh6zeAu3+fHc+DxFvRvcXP13A7zUp7PH7BQsNPLzK+ut9NJslx9A1h4 pk2Yc9F6fGghq9k26NgDHKeTqHgmgiNBWSC6EIdh6Fu00pLSsBL4RmoWNMhCxU78Yl 2oQIXr1sO6cu4wYWKONiIACtWeRLNo7AHpvx0yfrGXjJsHpL6p8Wdu/dpqXgzhHwE5 +0BdQ97jVwort2DgzFtExrrJQDT3uYKR3vvLwKJpCptVYZTggIMgOzXn0H4tTUNwV2 aD5lt4EbbsHRUvl8eyMUMC2CnG8GD7L9+FAKbkIB3t5g75q2b0oARACjhbHfUJUoEO Z3lFP+6wqUKDw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1ox2WS-00088J-LP; Mon, 21 Nov 2022 09:51:24 +0100 From: Johan Hovold To: Vinod Koul Cc: Kishon Vijay Abraham I , 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 v3 03/15] phy: qcom-qmp-combo: drop v4 reference-clock source Date: Mon, 21 Nov 2022 09:50:46 +0100 Message-Id: <20221121085058.31213-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221121085058.31213-1-johan+linaro@kernel.org> References: <20221121085058.31213-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?1750095379386179329?= X-GMAIL-MSGID: =?utf-8?q?1750095379386179329?= The source clock for the reference clock should not be described by the devicetree and instead this relationship should be modelled in the clock driver. Drop the management of the source clock from the driver for SC8180X and SC8280XP. Note that support for the former is not yet in mainline. Also note that the binding has never been updated to describe the v4 clocks for SC8180X. Reviewed-by: Dmitry Baryshkov Signed-off-by: Johan Hovold --- drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c index c5d8f8bfaaaa..5da42a4e5bf6 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c @@ -945,7 +945,7 @@ static const char * const qmp_v3_phy_clk_l[] = { }; static const char * const qmp_v4_phy_clk_l[] = { - "aux", "ref_clk_src", "ref", "com_aux", + "aux", "ref", "com_aux", }; /* the primary usb3 phy on sm8250 doesn't have a ref clock */