From patchwork Tue Feb 13 11:22:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 772608 Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 7C1D43D966 for ; Tue, 13 Feb 2024 11:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823347; cv=none; b=NYdd00GDXzPp9vwYpWnOo/J1shKNFDZHC7YPvKXyxHfNYr2APQPyHfqU45PEZBQCJlfkPYrWjbIk1TZBcpOi9sXvVDoBRfO7I2xLpt+L+R+pBWPBgcf/hnOX9A9Hi8eePfRCs2yFDuJyO8Gv+nTVbFO/2M0Huvw7Ck2AofbPxdc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823347; c=relaxed/simple; bh=Yu/LzOcQdCwZAyJpUXbklqudqrQ3EIxx4vsAwegkqbc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rz9Xsh5KWgU/+j5tOiJR531mHtY2zdqksEnRY5naokD3VZvr1R/h37llJe47ixO3bt8zZ2VqPnwp3mr/lMMmtW5qDdzS4VFu69++AzrGv/upQTet/Jknr//62k+LWxcEJTrmc7kQfgL+JhIxaBDOkKY6tg143THL6aiOZhlAXSM= 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=RQHXH/Nu; arc=none smtp.client-ip=209.85.208.175 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RQHXH/Nu" Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2d0aabed735so54953431fa.0 for ; Tue, 13 Feb 2024 03:22:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707823342; x=1708428142; darn=vger.kernel.org; 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=bb+Sg+PuMfej4JlBw0WjutTwckzrP3l1xV8RqoQLreY=; b=RQHXH/Nu/ch/iaDc3PXVwQFB4df6CEZvo8a9/KuMIRzx36tEW3Cq/ZJP5L3Ose0kkg LR7mH2RQ55XHvMaWhbsBjFI0PLMmlTq9/DxcPcFK5Ae3EOMviUTeYwzMUh4+SQ3w+AV1 lDDWT3Viowhz+tGOYY40usva6me6IRMCghP/8v22aJ8q+uoLvpdd8oLaRSb3kdLzNMLc WPrMGfua6muDTu3IsbEF/ryn7iPUYaVai88nX5Z9G+s+97UDvG/1Bjyq27Toon7v+AhZ pIzPU8+00CrAIh8MQOcIpr4/3ojfnrDHFxw7YKS7/BcR+K+/SVqisCjBmqELNsjaVHU/ sSiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707823342; x=1708428142; 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=bb+Sg+PuMfej4JlBw0WjutTwckzrP3l1xV8RqoQLreY=; b=YRnG86xlR7VkbL0RUKjESQlOEaBsYTWMrFDkOV4zwADfcFYZLK9PqIRlLd/6KX6xoz kbXW/WNvQ2/4WrFNnSzl0KNEFAl/Bur9ALnektcdk8353MhnI5QryP/x0Pq4cYfQmZpb Iwk1aStShbkmxZavM0sxw9AqYSX9yKoof5rA5OPDklBbCz2xp/OejuECVKcnPyTVU0zf wsy0RPR7ZHcAmZVqPm52Bhc1ZAn41TGrk3BGCBlvXISetvohOROgF+V1bsOM+qPF/jN8 PnnrAVay1Pq7k0uxJMpXDd3bOkgKKmRCq4P1BcQx3f5Sei7Zo3C5wpt8+heNJAH3tPRX yTfQ== X-Gm-Message-State: AOJu0YwhAbZio2WnZ+HMU/Pdooy/zKi5OiEeuaZDL/qmlQFuaVgmB8RB Vk/OQROxBvu3yP9YWpnmQCd4Ums5hR2va9kbETXYEYakd3+nzS+J0lNMQJfkNrU= X-Google-Smtp-Source: AGHT+IE+F+GH0eHvaxTgRSJ30Bbzk/a/oRD+qe1b1GwV8sVi6ww2WJjxSYqHyiTeJRdZY1CYKyG8IQ== X-Received: by 2002:a2e:9218:0:b0:2d0:c176:ebcc with SMTP id k24-20020a2e9218000000b002d0c176ebccmr6869776ljg.18.1707823342631; Tue, 13 Feb 2024 03:22:22 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVfc7mNlNAD6nTrLVOdnoospwppKVYBYvZ+t2bcQynOTbg4Q7Pni4pV95W2v5kReYQd08uv/mSbLMB9neil8POahVN6KfKKXnMVF62oqpaAbRaVrU5w30SRBhiCod348+hGRklx3gUQ04bHdBIl1BTkAi+bQLuuIU27mMZH9UBjrbU7OsBDBmJ4k7eof7HoE6gciwdPd2GgNDUghn9tOZpqstX672cbvqr9E+em6wWtkMiHJ1Nkv3/SkfpCgO4QqTYsbBjyEkx9Hh7ZcHwTC9Lq/jPcNTPsR3BIje/rgL6a4LBwAXarAiCPix7Cdf7iu0bOIotSCU7VKmUXlwqf22Fv8VClKwuq3Q0h00K9Nxw/UG4wX5gKjcxec1zmzgl/PdQix8iqfS6tBMa3M/1GhUMtPRap5wxxJ8/fpAAGlCbN7xc+oFDlMQ5emJ4sbvl4dquGhkm/tHOJvChwOvTxSgXuKAQQH3VF4BwOR91mpZ0HCJ0nL+rYh8g/oYlyAX6/6JOVCm/WRCEctGPyUyrPJLrK3mpHR4zQJ9H4j51cn/gwR8orBqWma2hXnBCri7RxUhKS Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id z11-20020a2e964b000000b002ce04e9d944sm451107ljh.69.2024.02.13.03.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:22:22 -0800 (PST) From: Dmitry Baryshkov Date: Tue, 13 Feb 2024 13:22:19 +0200 Subject: [PATCH v2 3/6] arm64: dts: qcom: msm8996: specify UFS core_clk frequencies Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240213-msm8996-fix-ufs-v2-3-650758c26458@linaro.org> References: <20240213-msm8996-fix-ufs-v2-0-650758c26458@linaro.org> In-Reply-To: <20240213-msm8996-fix-ufs-v2-0-650758c26458@linaro.org> To: Manivannan Sadhasivam , Bjorn Andersson , Konrad Dybcio , "James E.J. Bottomley" , "Martin K. Petersen" , Nitin Rawat , Can Guo , Naveen Kumar Goud Arepalli , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=975; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Yu/LzOcQdCwZAyJpUXbklqudqrQ3EIxx4vsAwegkqbc=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBly1Dqn2+zx6i7LHuLUU/Je5m21KC2vtMGqJSUK 6aV5DBKBy2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZctQ6gAKCRCLPIo+Aiko 1d6JB/sGi8mxyK2NqYew8InH8n0loFnN3a8OcHKYSqeZLMUyCYkZsEHykAL8Jf7/mcH/5004XoP p1t7f3UU3B/ilNjxaB2aYXXw2Z0zmlXP0X/M59932ZZaFJB+KoEY8RIcqLgfFwts4Pmjvu57zxD ggIriyUHd593xs/Beu6euhMKaIqwVYiOJ1kkWeVr49hB9uQpOjVAdxHS7zZXMQ4oCPy5wm/14aL cQyYxILvsjiiEzCrUF+Opt6DXZvB08uVyFQeAN81sWspDtZF4F6QPMwirYy3MTq2NmnJxFl6nzT g6AqVLvxSEK+Q2iKxoUUaZ76q5pk++zHuY9GnlfrKIhvifVh X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Follow the example of other platforms and specify core_clk frequencies in the frequency table in addition to the core_clk_src frequencies. The driver should be setting the leaf frequency instead of some interim clock freq. Suggested-by: Nitin Rawat Fixes: 57fc67ef0d35 ("arm64: dts: qcom: msm8996: Add ufs related nodes") Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Reviewed-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 80d83e01bb4d..401c6cce9fec 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2072,7 +2072,7 @@ ufshc: ufshc@624000 { <&gcc GCC_UFS_RX_SYMBOL_0_CLK>; freq-table-hz = <100000000 200000000>, - <0 0>, + <100000000 200000000>, <0 0>, <0 0>, <0 0>,