Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp259120lqj; Wed, 10 Apr 2024 09:33:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUk6J/Tl4t2Ro5YjXs/rTsf2oHfvoWc3PWZZWhsO01uNUH4y/gnf/ds1GS2vCC+kgB32pDG1ESNayQWSEiM27qSNIziB5cjYVkISIbilA== X-Google-Smtp-Source: AGHT+IHFfDbkFVIJ6DYWJNBlcquocO8NlLpkwHbDpsJs//kBObp56MyGIeOmOVD1y04uNEApBIKA X-Received: by 2002:a05:620a:678:b0:78d:55e6:fa18 with SMTP id a24-20020a05620a067800b0078d55e6fa18mr3056051qkh.18.1712766809700; Wed, 10 Apr 2024 09:33:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712766809; cv=pass; d=google.com; s=arc-20160816; b=rCUv44Hcesy1Vw8aVm375qDHgCvXbR8TbqTvqBoqtYvCATXm/+b4FuNUbAHRREV4l+ i1gBFCIrfTy6y+v2X+s+gsF2HDoJtsRCc5NAWVfjAgejH/OTPfOF82c10NaAUpEk3CM3 KsOYu930GyJsCdLXmyYsc97fPnHbBMqSlLlaEUUvrpNnrXVSFAmKABpHUpvAFHB7q+Xs M6LNiSklOWi7PZwZ59t6pLL+7AC5dcuj6qybnaCGMa6XDYlmuU/oZxdzMYNtg7L9Zbtj rmVm1gbABCq36msoVanHV+c0ixFcafUBrLIGFbQUFqakt7P/HdwtERcphCWgEemTOXJ2 ClkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=GNzmsUepIyc6bK2dhvypU77BHCVEUVueQh3p0lKGP3M=; fh=Dn6YtclTtrjWD5g3+PxXtCV72bFwpdrFWnvQ3yyYLbo=; b=a7LImUsEXebEGHnTciTe15RyzTxWpZ3lyuHM4WRRTLTCgI2JJF/dX8uxPlO90/7O+h UIFSBAwE02ryPNs4KSv0+mFSGAOUNI6z6HJwNSY1XINPnOaLcYyWz79P8KFztv/N4mNc FTPty2bB0dMFp34+FJq3EfooKZ/W6x8p+1kCohQGZd5zFGeQO7Zl8Z29hgoF2Sc/Xnmn f6gZLNOa2uT8V39PondciA+vRLyr4Huu3hCVwGkDryAl/w299dkIEi9IRWRPFRpWw32u FYYRATBuefJhAgxGZGSG4dEsQ4y5Ei+E5ZQUKrZ6DcOYFtlaIXtoWm4XyOk5Dzv6bxFI rCgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Uqa5Hu7y; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-138979-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138979-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vw8-20020a05620a564800b0078eba18c1e5si1034550qkn.705.2024.04.10.09.33.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 09:33:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138979-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Uqa5Hu7y; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-138979-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138979-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B5CC31C23005 for ; Wed, 10 Apr 2024 16:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73AB917A939; Wed, 10 Apr 2024 16:32:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Uqa5Hu7y" Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D23901779A9 for ; Wed, 10 Apr 2024 16:32:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712766778; cv=none; b=CB6R9oGzYTSGIJ0JtRXjflB2uIUvm+5ODru7au0Xv6cQkgJLFHLwSfZpLoaL4z+47lkMsgbjm73wD7HGbJlh+2kgDQR+LAImCy9Yl76s3WV4g9Dif3u2V+/Fu9zDUr4WjSE/7TbE6XBw/+xqeJXl31R2cVmzgXOAaczZZmKJsI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712766778; c=relaxed/simple; bh=kvn102cEV10A9xLHN5t7onB6rby+Efm0PAjcv8ZjKLs=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=rH+VXOzII9AUSJtIsslkzhGdaUF/j9OQo+FYriNVXOagsqT/PRzoZOjYnIHt0FfuM1YT84a+swJZmM8Dv8V00OpKl4OfpZYJbqDN1tLQZEdY6Kchxuj83c6bLdWH+9VxPrDqtSPqaMqgMw3kr9oeh+mVZg18LkEIgK+DJWNEuSg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Uqa5Hu7y; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-34682953048so480336f8f.3 for ; Wed, 10 Apr 2024 09:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712766775; x=1713371575; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=GNzmsUepIyc6bK2dhvypU77BHCVEUVueQh3p0lKGP3M=; b=Uqa5Hu7yflozsNXAFlzkrgy7D19oidRVVot21RDSj1SEv81TNvZQU1f1QQKTsd1mRk y8DbcGJk9y/mGd9VXnb1FvuQIHekidfRG91TR+5wq/4Ux6CBobPfAfEHKuNRFuzB0MKv Rr+XqXipgIS3AvHNoyW18DlJmv6UiHLsMjVLenIBlGBA9smGYOu1y/5a1uSZJ7tKXW3F WA6rcQz8PYWWMqnWp9AkneqaFJ68pRSk/DAilVcMw9sZYjI13drIVNTsDzf/NZjhjUUU tV4YWmFRpMdLH5PycaMQrp8XqmJ7WIjxhs8orQJcfby1k+/UedKH91RW+4fcBYgjwieW qzTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712766775; x=1713371575; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=GNzmsUepIyc6bK2dhvypU77BHCVEUVueQh3p0lKGP3M=; b=hScATAQg6eMnwXi+FJYGaOvWsG+ZCaGyuzN40NP4R6dBBwGfs2cILYVuhE7w+Z+Y3k jwCQz99rIJDkeMSGWaWusQBnZ5/I/eOa27+uzRXjwwQ4WQYoxX9rkzpdEJsdpeI2uDgZ TkjTpsHdZvB2a3TOgt/U4qePcH7fOvSVLX8qjEv2a5ksci2+F4uyKZrfJnCXzwWI1nDp ku4Kode8CWkLe3iAejWgdj+m5jfEku0B+ayzWSNRglM9P1xNUItnyP31GMX192HoNzhb MEc9Kz6aPUHZXzf+uBIaYIkS0VD1ZVhfLdKZntbZsJtCaEm2SjrSlUExRUVxS4IhbUKQ vSfA== X-Forwarded-Encrypted: i=1; AJvYcCXheBBtZ98EmguBmRMIw4RFOh+SQw6ReJ1x9xLFUo9bHbpRJFSlYTW7Bl768t9zIXnO0Yuh0EELi35YV1wAgaxlTHXYUehEnREJRdnw X-Gm-Message-State: AOJu0YywcyrV+ZvVcT3jjJi9lpiVAbzvfngiFH+e3m4cov0JR8vTySh9 D8FrEDZUlci1ckJdbwbHBobtZwHXjUJQfKi3s0KzP6h4Tr2zT/kyEyM/RJcJY5E= X-Received: by 2002:adf:e80c:0:b0:345:605e:fa38 with SMTP id o12-20020adfe80c000000b00345605efa38mr2827310wrm.60.1712766774935; Wed, 10 Apr 2024 09:32:54 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:760d:c2fa:a66b:fed3? ([2a01:e0a:982:cbb0:760d:c2fa:a66b:fed3]) by smtp.gmail.com with ESMTPSA id a17-20020a5d5091000000b00341ba91c1f5sm14114237wrt.102.2024.04.10.09.32.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Apr 2024 09:32:54 -0700 (PDT) Message-ID: Date: Wed, 10 Apr 2024 18:32:53 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 2/4] clk: qcom: dispcc-sm6350: fix DisplayPort clocks To: Dmitry Baryshkov , Bjorn Andersson , Michael Turquette , Stephen Boyd , Konrad Dybcio , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240408-dispcc-dp-clocks-v1-0-f9e44902c28d@linaro.org> <20240408-dispcc-dp-clocks-v1-2-f9e44902c28d@linaro.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/i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zLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20240408-dispcc-dp-clocks-v1-2-f9e44902c28d@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08/04/2024 13:47, Dmitry Baryshkov wrote: > On SM6350 DisplayPort link clocks use frequency tables inherited from > the vendor kernel, it is not applicable in the upstream kernel. Drop > frequency tables and use clk_byte2_ops for those clocks. > > Fixes: 837519775f1d ("clk: qcom: Add display clock controller driver for SM6350") > Signed-off-by: Dmitry Baryshkov > --- > drivers/clk/qcom/dispcc-sm6350.c | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) > > diff --git a/drivers/clk/qcom/dispcc-sm6350.c b/drivers/clk/qcom/dispcc-sm6350.c > index 839435362010..e4b7464c4d0e 100644 > --- a/drivers/clk/qcom/dispcc-sm6350.c > +++ b/drivers/clk/qcom/dispcc-sm6350.c > @@ -221,26 +221,17 @@ static struct clk_rcg2 disp_cc_mdss_dp_crypto_clk_src = { > }, > }; > > -static const struct freq_tbl ftbl_disp_cc_mdss_dp_link_clk_src[] = { > - F(162000, P_DP_PHY_PLL_LINK_CLK, 1, 0, 0), > - F(270000, P_DP_PHY_PLL_LINK_CLK, 1, 0, 0), > - F(540000, P_DP_PHY_PLL_LINK_CLK, 1, 0, 0), > - F(810000, P_DP_PHY_PLL_LINK_CLK, 1, 0, 0), > - { } > -}; > - > static struct clk_rcg2 disp_cc_mdss_dp_link_clk_src = { > .cmd_rcgr = 0x10f8, > .mnd_width = 0, > .hid_width = 5, > .parent_map = disp_cc_parent_map_0, > - .freq_tbl = ftbl_disp_cc_mdss_dp_link_clk_src, > .clkr.hw.init = &(struct clk_init_data){ > .name = "disp_cc_mdss_dp_link_clk_src", > .parent_data = disp_cc_parent_data_0, > .num_parents = ARRAY_SIZE(disp_cc_parent_data_0), > .flags = CLK_SET_RATE_PARENT | CLK_GET_RATE_NOCACHE, > - .ops = &clk_rcg2_ops, > + .ops = &clk_byte2_ops, > }, > }; > > Reviewed-by: Neil Armstrong