Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1071561rwl; Wed, 12 Apr 2023 07:57:56 -0700 (PDT) X-Google-Smtp-Source: AKy350brVU3ubZkzaXl22AehtQ1XZMTxdcPufqyBYp/hWARsvguznwl43jfVoxuxTKt8mm9mZbrj X-Received: by 2002:a17:906:17c9:b0:92f:7c42:8637 with SMTP id u9-20020a17090617c900b0092f7c428637mr16630215eje.30.1681311476453; Wed, 12 Apr 2023 07:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681311476; cv=none; d=google.com; s=arc-20160816; b=E8IVJ1XDTy2hWXe8e5jDXv9eLNDQA3fSwmMXnIEuFg5IjwmpcnMgCihm6igliqKIQy YwC+ykdsuyjCTKJl91gg2TYgeoiRy5aFArtOp2uiQYvCUyj6PXA/monx/7U110KuJ1QS F9n5RoRoCWSIrNwEcmgbdlLiDGkAi/HYPlt6ER2yC80lCIndO1QHPpMUmO6mOTtxIpIi hUQlws3NyrJrG2GypxEuRYW/qjHFGizvcRJpJglxyWcyaAy+UmNZnTibd9z9KamzA5EU 8lGvN+6HJWc69q+i3tNBtdQ6YSfN7k+35nFD5IguWyih/nPUgzq+xIymP9eXopfYcuPf /rKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=7UAk5E190wNgEBpxEtcgbtHjnL3P3IqX8QW8cfsP/YM=; b=q438fgtv9TEuWS5dNtCui9pCpPAuJovcohYiXovHpsmh8aOW9x1VhDaI4zz9oBkxXV YMCmdjKfj2vy5dwmCmfhLgBfgS4Cilc0KcdpfG3ZEU1DqngJkElb+G4ubfB+mEHJ5yCz erPL1IqtQ2xlzjr574CRqMpipvxkbA8+xTA9rp3Aqr3UTaNZZS5JXCnL8YgsuQ/dKkww JrzU59i0djUdpQU0vPXW2/kPVPaIpvqEGrVh2sYO1b8sevXMHhQ1fGbITXk6rTAB9qyH n3KyM9888OoDHIECj1GECMfYScCS0t1a60F6N6tD3K0UvqZ2AP8CsbUO+u1GDMuTwdSl 8dhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K0ZinGz0; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga11-20020a1709070c0b00b0094e4832c586si2595701ejc.306.2023.04.12.07.57.32; Wed, 12 Apr 2023 07:57:56 -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=@linaro.org header.s=google header.b=K0ZinGz0; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230214AbjDLOxZ (ORCPT + 99 others); Wed, 12 Apr 2023 10:53:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbjDLOxR (ORCPT ); Wed, 12 Apr 2023 10:53:17 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C75335599 for ; Wed, 12 Apr 2023 07:53:15 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id t20so15038581lfd.5 for ; Wed, 12 Apr 2023 07:53:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681311194; x=1683903194; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7UAk5E190wNgEBpxEtcgbtHjnL3P3IqX8QW8cfsP/YM=; b=K0ZinGz0TVWTKppVbCaFL0TrOFM6eJ9G0ii4oxQ2NwLz5SHqZCik0NxSgXadZnpMi2 3K3lq9EOgaWnxUdrl93GLhGVdlneb7KHQKl7l8sw9XTOZVrzSjYbZ0TkQR19H21bZn/k QmzKz7Omy9dIYkl69iAMg9Urw4/5fnAcKCLn7kxdUDDHChRh6F3hRb718tzFicULZXfj j4oQZ5NwJI5ROLHIyx2vZtTTC9+iKetvIvIwnN9TJz1/wdPsBWfNDhLT+uDTxxLrPswu vRugK0D1ZHBUt68LKT7swEnaplNSD/KvdG0sg8mGTkO8ujdYtcZyTJ3WfJZCdAiXI7wh te1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681311194; x=1683903194; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7UAk5E190wNgEBpxEtcgbtHjnL3P3IqX8QW8cfsP/YM=; b=YVxcSMuu/x65+V1Tyo92ggez3Wl5faXJ4FoY1IYu50dY7SuB+OwrmeAoV6YsDpgdMy Js+Zpq43ixZG2/+qpmaII9YSadQpq5OkB9T7sWbLgcIu0heWq0o6quUN1CV00CFxdRwK bEuYoUD0gJ8csb2FZZB/OLnR3jmveQwyMx4QcxID8IGsk8Yd33Jap1kW90jtjRmL7lG9 CVJEjjE490OXlAxlKX9Cd2bvfhBABxxhiJi4sc8fxz7pqaXtjZxjUrQpG2blkVTKFJcn 1J5ZlEctt6o9zclrqmDfeysV3290kAcznIduIWcvELeU4mh8DTeDSwcsqsSn7KnOQH/o SIpA== X-Gm-Message-State: AAQBX9fsPDE6CSAnaKRXkwilJSW1H4R46gf0kaxjlsgzBK1ZoVlj8MU5 UR5UZtnCm3iEFZsxOFF/MS7Zrg== X-Received: by 2002:ac2:5fc8:0:b0:4e8:3d24:de6f with SMTP id q8-20020ac25fc8000000b004e83d24de6fmr4925749lfg.14.1681311194072; Wed, 12 Apr 2023 07:53:14 -0700 (PDT) Received: from [192.168.1.101] (abxj23.neoplus.adsl.tpnet.pl. [83.9.3.23]) by smtp.gmail.com with ESMTPSA id w5-20020ac24425000000b004e95f1c9e7dsm3015367lfl.78.2023.04.12.07.53.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 07:53:13 -0700 (PDT) From: Konrad Dybcio Date: Wed, 12 Apr 2023 16:53:05 +0200 Subject: [PATCH 1/3] clk: qcom: dispcc-qcm2290: Fix BI_TCXO_AO handling MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230412-topic-qcm_dispcc-v1-1-bf2989a75ae4@linaro.org> References: <20230412-topic-qcm_dispcc-v1-0-bf2989a75ae4@linaro.org> In-Reply-To: <20230412-topic-qcm_dispcc-v1-0-bf2989a75ae4@linaro.org> To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Loic Poulain Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681311191; l=1283; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ZPPztK/ocj1ol1xQUHYQtAl+y1B8bJFYFayKaHP8l6g=; b=OyLOma9Xj210KuSJleD8Uh6LGCGzZ/Fnkz5r0uMAFN6a/Jv1rf4k524QCcHwwx2PbE76RmR+5qLv VVa4Ax1MA7QazGJWXAfLfpI70g3Ri6Umo0x1m/0NYa7LVQaFhl2b X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 BI_TCXO_AO was previously shoved in under the name of its non-AO sibling in parent_map_2. Resolve it. Fixes: cc517ea3333f ("clk: qcom: Add display clock controller driver for QCM2290") Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/dispcc-qcm2290.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/dispcc-qcm2290.c b/drivers/clk/qcom/dispcc-qcm2290.c index cbb5f1ec6a54..0f516c72e624 100644 --- a/drivers/clk/qcom/dispcc-qcm2290.c +++ b/drivers/clk/qcom/dispcc-qcm2290.c @@ -24,6 +24,7 @@ enum { P_BI_TCXO, + P_BI_TCXO_AO, P_DISP_CC_PLL0_OUT_MAIN, P_DSI0_PHY_PLL_OUT_BYTECLK, P_DSI0_PHY_PLL_OUT_DSICLK, @@ -83,7 +84,7 @@ static const struct clk_parent_data disp_cc_parent_data_1[] = { }; static const struct parent_map disp_cc_parent_map_2[] = { - { P_BI_TCXO, 0 }, + { P_BI_TCXO_AO, 0 }, { P_GPLL0_OUT_MAIN, 4 }, }; @@ -154,7 +155,7 @@ static struct clk_regmap_div disp_cc_mdss_byte0_div_clk_src = { }; static const struct freq_tbl ftbl_disp_cc_mdss_ahb_clk_src[] = { - F(19200000, P_BI_TCXO, 1, 0, 0), + F(19200000, P_BI_TCXO_AO, 1, 0, 0), F(37500000, P_GPLL0_OUT_MAIN, 8, 0, 0), F(75000000, P_GPLL0_OUT_MAIN, 4, 0, 0), { } -- 2.40.0