Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp115092lqi; Wed, 6 Mar 2024 11:34:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWS/FcBrBqh+cTLyeQCLk5IRMjlLJ7lx9qw3iK3em4NcC9eTt0X1GILtOFErbhjAYyqHjxnMgMQhE3wRHL8XC2XHS9vPu3lu8E0aVX1dQ== X-Google-Smtp-Source: AGHT+IECaFO0LBj6ODvigWVZ1p6xNfsldDQaGRkoWxKRa8QkLPypJ8a2EFO9hCYWurkiasGSI/ev X-Received: by 2002:a05:6a20:3f9b:b0:1a1:18ee:1df6 with SMTP id ay27-20020a056a203f9b00b001a118ee1df6mr4977875pzb.35.1709753688024; Wed, 06 Mar 2024 11:34:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709753688; cv=pass; d=google.com; s=arc-20160816; b=StZtnu3m19ggyjxoInNZBcBv+JnOZVLit2uPduC8VFHEMulIh14zHZ+oVqoVcrz197 F4F1w4mdJ5kUonmXmUKA9coIyCXN9Qy33mn0jNDrb8yHKv68/8Xk6ktBdyB277aRQ80B +jWSmsWjOyzKm+vY9QEhht8IhlA44wH0j9Ld+1bSyrvdI1ASQ+HoCrENM9ojwdZsyVXA i7r6kmLYRGOwVzFBF03OEttQfRNympR+GyNd9wGGwYeASgA+ZVGBo3tQ7Y+jROn8dJry PkcODDk0Boivm1gKSaTqXvLQ96Nh279P91UBGXIKpT9e6T+9MlATMbWvriedlKNL7wvV /29Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=691+S3DdWk+L0K/JU/znAwv1QVBesVwE/4bn6nlDzxc=; fh=nh5QDjOwFc3yFDMAbUQqBh4DyqFUZhjLwGsDufDhqws=; b=gIQZPe8OVhqCnNzkhTpjC6j3nlZZuaRer59o2n4III50h308ulE1a2qyBQUy+52vPI vkeoPE97EogQBn1YcwzrVJ66O6NZbYcbhiSGvWMC6ToCTDxsnpf/gUIdKZ1M7BJIgvv4 kxVdqUapUlnI7/GXnKNpF1sxC33tPDz9g1JoVIUhywcwpnE6JZ8ikw4CZ2/k1eNUfLkw uTNKdwVKCZ6+IWNqdDC/HipHY1xXgJtyboaSk3S4KBa/gmW43QGA8oXkSWXuZosOeLya MtwQ4aPfiT+F2tbgvuTT6Ri72fRIHxRnJiSiLdfUo3ZHNPHm5cZzsNIiJpxPAeya+6P3 07QQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hP/X1F1E"; 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-94484-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94484-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e6-20020a630f06000000b005dc927ee322si12794882pgl.683.2024.03.06.11.34.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:34:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94484-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hP/X1F1E"; 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-94484-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94484-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8E570282C95 for ; Wed, 6 Mar 2024 19:34:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B466140373; Wed, 6 Mar 2024 19:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hP/X1F1E" Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (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 006DD13BAE3 for ; Wed, 6 Mar 2024 19:34:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709753678; cv=none; b=fa1lht4j1g1OuYtG1R4Nh0MSRSqK6v+ZYko/kN96GCiPlhM+5qsawkBGsg2d88Sd6C9V5fWwd69tQSeKvRDxmaFeAlxdvFQZrXZhlDwxJxaSxTVArpp4Os9gxJfrmFdRhs87WZ4DSW8feQV/VL4rAf+iqAgZyM8ZCaim0J2LPjM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709753678; c=relaxed/simple; bh=GPl4f9lkb9zfcnX1eSvWK+7OEpHSENA0ItGNLyBGujs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=edH+jtS7v1iQPzmefz/5+YDSCnkdqTAFsINEZh9sOqO7i8LS8TdTpB8xji07icUQ3ScXf5XWpwzTgx347+gwJ70YjofqnKyPvdey6jyz5NqSLOv0tGDdd9GUj1mofK/maAwt7uDz9ZV9tsBeBuPIwrF1XrEcsj/KLGIPqhR5q5A= 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=hP/X1F1E; arc=none smtp.client-ip=209.85.128.180 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-yw1-f180.google.com with SMTP id 00721157ae682-609d3cca399so953837b3.2 for ; Wed, 06 Mar 2024 11:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709753675; x=1710358475; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=691+S3DdWk+L0K/JU/znAwv1QVBesVwE/4bn6nlDzxc=; b=hP/X1F1Ex/22E2USdubYniRf8BuMzaCcBZAP97njsPWN6akgZ4s0kO2oB76IfGfxxW mfLMJA0FVtrmhlgL44EjIl8WjMsaTB6sdPFPX0Mx4QCtx1pRnPNj3JicYiQBs1OPA0Nm iWtaiJC7+fHYVfSIvwdKLaWJ61wmM3RvQ0MUn5+fha0SsaIzHhulcjs0B47wyaSS98za eEsRNxfHaG4Ahu9AZ0aIAeYc94W1WclfgzmNxDHOLqxLeTP9IDf57Y/WNt+mf4V4nRo/ BdWHyVk+j1G6w0Tbwpi9/k/s3yMZosK7wFClEytI5/TYT8R1OQikr94eR7cuyEXk9Mkr jyPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709753675; x=1710358475; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=691+S3DdWk+L0K/JU/znAwv1QVBesVwE/4bn6nlDzxc=; b=EUSMxdqvok77rr+a7cg/lpnAAnhwghlIGd03BD/5ZRK6j5AlgfQdTK8yQCp9xpb7o0 D8ZSROKb4GG8BCjrXL4lcVpVDo3WNUT85n9roQ50E2pTew/LmZFlaVTjYyrqGwbP3cmS Y0HGKN9mGe9yahaNyGYzLIEmJUYx54kztP7688MlJcDVhZUZB3mmIDSItwM3qWrSj0Yx q8CYS9bc4rlYySAbtMsJC9RBgUDJS2qoQUgF+vGrmRLxcb0/dgzwe+UUDOalIc17Ow7R bseGSWDZ9nblaTrx0Gq2VG9LDFTMJdAMYYkIgsQdVzO1qLCyNhujy/AzK2j0fqFcB1Mv 7FQA== X-Forwarded-Encrypted: i=1; AJvYcCXwPsM2mHTBYFwWjT7dRKDVDy1V+WfKYW38wgmIBjUW0ZcsnYiB2U6guV3iJXkLB2x5qECD4DklkN/hemeS0ZQWQkoUkzytIaLlA1HD X-Gm-Message-State: AOJu0YyySPfWv+vS/c7QRVZC6ccS0ESF0Y5353EG8xfrjwioWirCUbXW 5MbDTfUr+kPwkB+c67WE+IZjiY5WMkAx/y4BWl0vkP7Rmq2g+Ih16cAzUE93wktxObme0MoPki/ u8kQLGghYqEkMq8o+I5UWGCF+3Q5fVd80pLjzqw== X-Received: by 2002:a25:ce8c:0:b0:dcf:fecd:7d3c with SMTP id x134-20020a25ce8c000000b00dcffecd7d3cmr13047837ybe.46.1709753674996; Wed, 06 Mar 2024 11:34:34 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240306153610.1289999-1-amadeus@jmu.edu.cn> In-Reply-To: <20240306153610.1289999-1-amadeus@jmu.edu.cn> From: Dmitry Baryshkov Date: Wed, 6 Mar 2024 21:34:23 +0200 Message-ID: Subject: Re: [PATCH v2 1/4] arm64: dts: qcom: ipq6018: add 1.2GHz CPU Frequency To: Chukun Pan Cc: andersson@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, konrad.dybcio@linaro.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh@kernel.org Content-Type: text/plain; charset="UTF-8" On Wed, 6 Mar 2024 at 17:36, Chukun Pan wrote: > > Hi, Dmitry > > How is it "some"? You are enabling this opp for all IPQ6000 SoC instances. > > This is not the case, please see `opp-supported-hw = <0x4>;`. > Also: https://github.com/torvalds/linux/blob/master/drivers/cpufreq/qcom-cpufreq-nvmem.c#L345 > This 1.2GHz Frequency only takes effect when BIT(2) exists. > For fused 1.5GHz devices, the 1.2GHz frequency will not appear. > I have tested this patch on both fused 1.2GHz and 1.5GHz devices. I did before writing the comment. You have the only IPQ6000 case, it sets drv->versions = IPQ6000_VERSION = BIT(2) = 0x4. So, as I said, you are enabling this for all IPQ6000 SoC versions, unless I miss something. -- With best wishes Dmitry