From patchwork Tue Feb 13 11:22:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 772374 Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 AA10C3B196 for ; Tue, 13 Feb 2024 11:22:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823345; cv=none; b=Qx17ThCWKq/LwzN3dbNQNXCkH0ytE1QriDoLl7MQrzMRaap+vvS2mL6CEpZ3JSUCf68w00krdMDNcX1RQnUAN3KLktlircPNQw3XvpqntDqsg3wcnJEOoqwvT7TPk5R9wesVCgIsVvrG5wK2xOR6SfHPFDpRaNqU92EQ9bocTyU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823345; c=relaxed/simple; bh=U5NHcti9mGlzzsInbBW5rutmFws8SfG+NrSfi+LiWxw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gNSrcxz8QwrilygG1yFgOn+cxfxB6Rlojp3qwMhk5gCcclhIax/TkUKQdgPr1j3XMZs2CPmEfb73TAH8qUgI6M4/CdIrgW/ofepdSgnPeBllgfst0zS+7AgnVDOHLPJJl5dufxsQ7m78jhGv1sBQoMFdl3gapI617eDrQXy5VnE= 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=Ea9IYf7V; arc=none smtp.client-ip=209.85.208.176 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="Ea9IYf7V" Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2d10ae127ffso5051691fa.3 for ; Tue, 13 Feb 2024 03:22:23 -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=DtzkxHXqpMKNfnl3k5UmVCm3Y3oEdaOx30g9CKBxxQk=; b=Ea9IYf7VOim9Y938BoP0JSeOBj2QQdzeGZb0Za3aoTUgNA6mo1t5NnwTjM4UC1DS2w Lc5N7AGQA3oV2153EaQS8FewmIGV+nsG/PRd0ei2XzOAFj7AEnW3LgJFdSWBAQW0A3jP IWkiB+Z30Ag7LdIuRoplUP7Ux6sirvhmKWV2jqhgwCUamDN1XdGBTKNL+EROi148D04Z mb52KKqiEWUI0jaqZc8s2a/1M0q/VrUflvW7TgWrJ2VOTiRace23vp34y4yHqL3HgFBG 8CN8FwuzYPe4zLmyGsJkYBIu0qjX9r+ax6XK7asKLZeghg222e2C5MYHzttqaactVT9L PwVg== 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=DtzkxHXqpMKNfnl3k5UmVCm3Y3oEdaOx30g9CKBxxQk=; b=I6TjzpN+lSmxakxinw+fsWqx6ZCIT/QAGQIYIFVmux3Pu29hUxD6yJoVUZBfTrnb0A Ux7oWkvavyuQAvmnJEQYX900GLyugqSfAJa8RxbbhSB1cWamEuFsg/vqADMlxqfUGkVL nIH14eVVURXxdSvud4FBImLaZD3/cPXH8QH+3ZhTv39eFoTyy0huQC13TtgtnJaWsh7e P5I62wcR2+i3DgkxqQTyOT2ZGpbJDNWbRpe+o5olsND47F/CPf6C9SXH8EoyNBsdAO7t nOXpWaDBIS0AnqQoi5xluUthMiT4pXOGPFVoDtjg1tAeen60BfQIFqR4nMRVGvxI5SRK +9kw== X-Gm-Message-State: AOJu0Yxv3JBjaGb6FNe0D51BFAO+DGyGNZPvIVjt8QUt+n4rS4ZMiRQ6 f7yQzfspLH7Bfh2vheGX/qtJ1LUui1Or2oCWHd5u1/lvXdV2IR/TY9QjeRG/nNA= X-Google-Smtp-Source: AGHT+IGZigQVah8pP9ZrHFZfK+bhcqYzpjer6XsZp9CAhwTcqUbph6+BKZtga6aiLelyZOby6qTZfg== X-Received: by 2002:a2e:9889:0:b0:2d0:fd0b:2cde with SMTP id b9-20020a2e9889000000b002d0fd0b2cdemr3008333ljj.25.1707823341714; Tue, 13 Feb 2024 03:22:21 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVvCK900RwGVm3a532Z6aPVKLm5dtAdmMYsxqPMayAvEvuSk9u8oSnrJGp75N2gTZGnOqpBcxcta7EO2nK4jZbPTJhikJYpzsqqsj2oi1OhWOTSgGVwfATBNWbsGuNvIeS1fOP9PauGlIQDk8EztIqr0NPxA90AxT5m1o5/sd2n0y0noxrMEGEuDnCDqaKuYp7AMjqMbm+/gG3DTlJIWxnN4i13eZyMfFncveggoonwGIJqd/uVSdDr8QuoPXVEdOL4aVFeWC+8XxfIYhLtCAeVZOCzndofUFpW2EvbZpKgqZbEw5ika+El6843oZRuMAKop7ZFvCObhHUqSgpGEeuZJsysJEThgIJFO+j/P78Cr7zYVRRUKfhXZl3L8YLxti1UkftIqE5rObdDpYquud6fHMtt2KAgWxQcVKtgoFktUFxvgfKTp4Vo5GHmY7jYAvWWsKldWEBwbVu4m5QIfPBptkU2nEPthqRM8OG5QZZoV4xlf8fPRZChzuOt22HnqGBxaDVWU3qjA2I8Q/NHdC7uGi0/w9ikvmb5ECqDu7W2p/2UEm+U9hJnwUpjTEEfVDzD Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id z11-20020a2e964b000000b002ce04e9d944sm451107ljh.69.2024.02.13.03.22.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:22:21 -0800 (PST) From: Dmitry Baryshkov Date: Tue, 13 Feb 2024 13:22:18 +0200 Subject: [PATCH v2 2/6] arm64: dts: qcom: msm8996: unbreak UFS HCD support Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240213-msm8996-fix-ufs-v2-2-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=1151; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=U5NHcti9mGlzzsInbBW5rutmFws8SfG+NrSfi+LiWxw=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBly1DqZ1EBhLzbYq+xAKMyIjzFue0guaOYriXFV S3GAa4n5gaJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZctQ6gAKCRCLPIo+Aiko 1RVOCACeoLiLwq0/8j3orEZkIkqlj6Fgl8Cxp7OCiDQ0IAFFWC3CQzwvEtEVoruLp8drDGRXZAc 5Bw3NjWKN208B2r7SJltlUH2NZT2kKmTP65ycluIHbGY3DYvSEk914BmoPF0noSHRooxlPp9qu7 nCeN5PQZmMkwmAaSdiLIDVJzUrUvGSklsjsoyviOJBna6mfWDsw0iIf7z2H4/WxgtmU0+Grp0tZ sd0A+Bkix7HztHewzpaI7PD/0+jhVxZWbtcs0GRXPkAU+sMcAsACrwxqJwbpOGhzQeeLFo2CDjF QE2rk86jo4l1hLYjwHEAe5J2NxY1gHTyu+/2E4A4q7Uvw9oD X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Since the commit b4e13e1ae95e ("scsi: ufs: qcom: Add multiple frequency support for MAX_CORE_CLK_1US_CYCLES") the Qualcomm UFS driver uses core_clk_unipro values from frequency table to calculate cycles_in_1us. The DT file for MSM8996 passed 0 HZ frequencies there, resulting in broken UFS support on that platform. Fix the corresponding clock values in the frequency table. Suggested-by: Nitin Rawat Fixes: 57fc67ef0d35 ("arm64: dts: qcom: msm8996: Add ufs related nodes") Reviewed-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov --- 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 f6b6fdc12f44..80d83e01bb4d 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2077,7 +2077,7 @@ ufshc: ufshc@624000 { <0 0>, <0 0>, <150000000 300000000>, - <0 0>, + <75000000 150000000>, <0 0>, <0 0>, <0 0>, From patchwork Tue Feb 13 11:22:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 772372 Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 6F45B3838B for ; Tue, 13 Feb 2024 11:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823348; cv=none; b=YwqFnJN19Z1tXZLHjTU8plO2k4r6EiaOTYLcmbQLXxe4QrUH5ZcmITe1IZqw+3J94ASpdMOHO1J6G6PQ+B/6MvaXFoI1j+M2XXJaTqhbb8yo6sS/avXy8Nf2lW4Xm2/HHXLKF37XNJ1uz0Ll65yFiAp82qd7lUwEEnQIApTW32s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823348; c=relaxed/simple; bh=BuQzg2iJaW63ZjLgGhbysHhHcNyAHX+tIUOIDDX7neY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fImChKrkDXMZwa5KH5H8wsCoTiDSRTHrepL488FISs3R7gp9F1pC7SvgwiHzUdGH4BoC/Hk0iavsoKHUKZJhBog2E37aIb8oYcobzZqiHH8B93PRNfDl82Bc/Y6OYMDLzOquTY83mE+mtn8iq2AYSYUYrIjgaNzuRokbRv3OG8I= 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=YOpgQbbG; arc=none smtp.client-ip=209.85.208.176 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="YOpgQbbG" Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2d1080cb9easo6745591fa.1 for ; Tue, 13 Feb 2024 03:22:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707823343; x=1708428143; 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=wRJpLVGsB5tAgGhkBQMmWF0+eD61z3b8Ssf4Ktf81tQ=; b=YOpgQbbGk9ypBcBm0b/NpTVy1tGXpdU1aQ+Rx7hi2t5MnvqJ/2wWThcABP7FI4i4zq enyPMRzxcROiUvmAI0LLczreMwoy/tuEO5cS8mqu2r8+kvLmATe3VpzTOHdyyBbbcJRX YLpz/FF+KyCbeYFuqa9XPsuLjWdbQTuwRIPyYShLDIfRwKrxNAHtrVSgul0ik+9TD5T7 rnro1M5jN3gK1Im9SrdJi0uFM/igfvxfc8ZPBExZBjeHZ/pk4AbnfFtfGxkfJoLui5Yd wRZVF9LaTSXD98p7D9e1ASKiqtKT3Rr+mrLRycKvLAt41sPq2MtYYTAUTSposh6rr8B2 TphQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707823343; x=1708428143; 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=wRJpLVGsB5tAgGhkBQMmWF0+eD61z3b8Ssf4Ktf81tQ=; b=ojq6OMU++YJKq/xIGvLkeo51TVhGGXLpan8PhFc8CYINrJrTrcTbZ3+JmuMNyfy6rU kkNdTzFi+Z9u5joyYuIx1fSwxERXgY4HCTydwspxb1in2rcel/5kdxzaWM2QLJFxx+dt YRPbgC2ICSLpad2NDRRd4R7y6KT9gzAuLLwg0oCiSIN8yR76CKQDn3vfw/W29UagzcyP PGxxpQ/9daT7czcim+K+jCXXPDUiS2l2r0bMEdHK5sx036o9Fg9nJY4HJO8z9TOBBqH5 yKHmC+1wiWm6O4AcDnxNRYKPcE8I77p98rf4HVaLTUpQyXXtJcy8Q0pZ8FD/33aKIhrf KjxA== X-Gm-Message-State: AOJu0Yy4pevS/6tk1mz9wYfTztTAfZWCc0c/5OKDZmph9SVZqsWcE87Q jvVdj1rFuS8TatNb7ExBFeuSFfcHSQlvuYQsVjn8sm6oAl3p2cxbF9872aZE4ZY= X-Google-Smtp-Source: AGHT+IF2wHVPhUtmzS9v8e2w5QNNMs3mBhPMEig2xE4ecpMAHsAabXlHl+z/UIWQtBBFcPlbdlSquw== X-Received: by 2002:a2e:9dd2:0:b0:2d0:8bfa:56b8 with SMTP id x18-20020a2e9dd2000000b002d08bfa56b8mr5638928ljj.48.1707823343383; Tue, 13 Feb 2024 03:22:23 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXyaDG/ZTZ+wu8R3vhcAwoNy3fDWLvst87M7sr2p7ZCzOsQINqmRPYH5iNq/7et7v8fbzkx/PT3DTLT+6Odsherz6oVwRG/JChawFS3bM7/oR3gIWrE5KC14mmtnuGBQlJUPfYBTE1+nMkIwhG51lGgVDzrsBpBYl/UIJH4T+IuZNL7sPH/3IrEP6IX/OLIObiRlXzkgnzu5/HvgDx+53lyMUdEaEXBmZfETAPS5xJevC1qrdrrrV2n93gbAGdQ1UNuv0G7VpgN7dWh74UOyamznAMFsz/sirmQGV9Xg+Qetk4i06nhOkuKNEZ52krX61mBu/kZz6EPEteacKR9F1/OtCYookAo475D1nUpSQVfVn5c2iA0zWJwwf6vP5cYlmc+8lR8O+N/G4XVjS739/095DBEc5EF0Fve7PGb35Jl3akvFR09yGOQS8FHtv9KGTN30eGBtsm3EEhkz9WTp9ox6TUWnAIRMQ7L+4ytljma18KOb07klor7PhWvyojh6hu32TxcNdmVYhXmDXizchNoiqdO1zntaYV+ekOQABp/NlXZGs0vCPmeOewTzoZ7JjLE Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id z11-20020a2e964b000000b002ce04e9d944sm451107ljh.69.2024.02.13.03.22.22 (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:20 +0200 Subject: [PATCH v2 4/6] arm64: dts: qcom: msm8996: set GCC_UFS_ICE_CORE_CLK freq directly Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240213-msm8996-fix-ufs-v2-4-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=802; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=BuQzg2iJaW63ZjLgGhbysHhHcNyAHX+tIUOIDDX7neY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBly1Dqid9hqLr0E//FiCkM8sXB4d+Wd9cxpUgxv WpDVUbwPc2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZctQ6gAKCRCLPIo+Aiko 1Zv3B/95nI4ncjBcVkCDqCawoLyBN84EDa9EuPZXsmuhSvy2FHskcYWWjfslYWKMTlN/MehSnSz Dqd/5R2MexAAvjWgTLBxl22NL7w+JnQhsW08/Eqxov7YZy4IYXhpJ0Un23ZA7XL98g4Cflf91T6 BtWb3SILf+bFsTucFI6w2chlkLNFsLd+46zFQ9KluHoBbwdcoigFCzVf6Gu0c/zNHj5wO7kTYEj 9YlsAvhOqo/bctVfyC8btGP42Kach8eEjXz24/U6AgFzVk2NJkIRTbLULYSLM6N9lZnkW8Z75Mz CgDJws2vna25Mfgi7TuNCVYDZF1PZvnB4RAe+us4+u12qraB X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Instead of setting the frequency of the interim UFS_ICE_CORE_CLK_SRC clokc, set the freency of the leaf GCC_UFS_ICE_CORE_CLK clock directly. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 401c6cce9fec..ce94e2af6bc5 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2076,9 +2076,9 @@ ufshc: ufshc@624000 { <0 0>, <0 0>, <0 0>, - <150000000 300000000>, - <75000000 150000000>, <0 0>, + <75000000 150000000>, + <150000000 300000000>, <0 0>, <0 0>, <0 0>; From patchwork Tue Feb 13 11:22:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 772373 Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 E6BC454BE4 for ; Tue, 13 Feb 2024 11:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823348; cv=none; b=rxZOM1fMNeXikTEyNpkw8of/nIaRnTf9PkzKlByNe21zb2s8kXYmc4iRMlNALb04JizuFjv634vij+4SUmz0NxgCl31MTgXexlzvtFsiehGqS4wUp1b7Lt0esrNtSE0h/oyXW0NDHEC5x1kNW9tTTBTKhEsV+TCIn+CYVdd/0jA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823348; c=relaxed/simple; bh=fiDOpLgmq0dhXTsGReQzn91SkMU/B6/9yS5El4QNj7M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nC+V7uaJXR3oSs5uzK+AJAYfmg7eW23MzYTQeEExAjss57ApE5ZkRh2iCGxOhHx/gwD7YsDMjDm/zTcFoa3DRRMovpreLdhKiWMsFUqYzWM00XihYxoqk7UoFZfgSPViM51CFfYjIf+tawUDNWjGb1Y4yh1LNuzNknsR9YZBHIU= 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=MkkjoKGh; arc=none smtp.client-ip=209.85.208.181 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="MkkjoKGh" Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d0d799b55cso52470371fa.0 for ; Tue, 13 Feb 2024 03:22:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707823344; x=1708428144; 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=pKhZjVbHN6RAMy80lvLoRdR/PUJnnb+mAzCw+vwLxqM=; b=MkkjoKGhvHQJlfIXrEo1a3PKW8FSUm+7UWLrJUlX4X47z/o/uv2GqWdyhqsKQkOmXJ baTxx/XKRla3HjCAgOPUqLYntUSVmtiROUI2jvqjS51gzOmiBtkxWLoCsrAxSerlGZfJ cXfkNNeV53Er3XFFNMYCJJyuy8bXJGPJjz1O6kwKSFmpBKeRWGZm0A06TG9wzM3rabxA aY4mGgIpg/y48X3Vtt8+/bEuDQIy3lhedyYtIsFq2hGX1ZzJQUtIu9PDsGgxsU0utB17 L5JbO8TXkJCuFQUgS/sQfe0dy0vRSV34yuLZ+C6owe8310dF7jSSNZR9v5IZ0u6qBZHa 2s8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707823344; x=1708428144; 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=pKhZjVbHN6RAMy80lvLoRdR/PUJnnb+mAzCw+vwLxqM=; b=fEo/bVBaFVzGsHtXdph/K70gh+OANZ8khp24pjb/fNYQe0Jzmq8DlD2oigtxSR7zeW p9GnQBbtFEshHuh8a/YHBoc3cEC+4KymRXO//ocEst0VgXL/p7LgWJqc9eWcGMYmcSPz +OQbEunf0Z/SXNYEKVc4cc6FqUMDyDhuubYS2qUjizMXnr+W7dQqG/ZtQ55IWoMTQ3lN mHuWGXnU1hEVVUpNGxG74xFBaNDtCC7KsLnvDWF9RWZzisF7+qXfuZC3yxAbzd9QFOoQ UYu439m9/tmcu16ZZVH8yEIKYi5owDQ0tc0chYDHoJpvU28Fsn4X81PAoy2YiJg9/GTZ ti2A== X-Gm-Message-State: AOJu0YzOzr/8GYWp4EBgRYhvqYqneh2tEqVFo0u7qD9Ts3VUfg3m0JEY ABKwLYXuBnPatedaIpblrvqamO40D8Lyc2O7UUNwV2fAepk8xS22wrXGpQyWrEY= X-Google-Smtp-Source: AGHT+IEfKB4rkfLfcmlvvSC+ML77ImJf5Qz2nc3HMVqhmVDix5KcD4l0ahj80Mz2EDYHTLp7On3gmA== X-Received: by 2002:a05:651c:19a1:b0:2d0:a3b3:e39e with SMTP id bx33-20020a05651c19a100b002d0a3b3e39emr8871029ljb.28.1707823344066; Tue, 13 Feb 2024 03:22:24 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXlgeog5zkkC5HnKBSlVf00lxaiEcElHKCsR7k3mgKr3yGs7tHAzxjGclItisLH6Av+5f1NDe0laTv6yZjbwhwSH6g1Mzu7ILpIAmRanY0Q3USzy0mbQcUxAD6H3dHjXyiGCIv+7ZXDcQw5wNL17Z6SMwCrwnRkVfrlrstdn/65TQyiPD5bhP3u86d+sky1rRbHZjpt0FLIVWd1D3MM6w2Yjy5K6XlpR3mIGol48Yl3Cll8hJLnFFmNpb/TJrVYLv698eQleyw7rtZZcqct+MghhJlEWBioER3b49tOE8GrtlBSZ096reWw6Kru8R66kR/YYh+O/H1Sll234eHDxQKgpAwVSB6WCYGvsEB/hV0Gj0DDyoFfqK2Y83PydVuyy0o64KB9zSxhPPUPBRDx9RuFJJnIZ6SDl8lmZq1OW2tOO5jlG2ikCo3V6TssBHJzh5tSjoZvbGCCZ8xUEGvzpcxKnNwe661QaYnYvf+yFsPY8wU1AvEg6CDQKbQh0Bk7dDPMsNA7ItdksuXVWnXLyelPicCgycof4Yf5RcsxO8O9BOVpenyyrYbIZAdZDyEKEjAkzSF39YW0fOa2KixiCe/zBQHB9E4nb6Tezsv/JjkcxIM= Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id z11-20020a2e964b000000b002ce04e9d944sm451107ljh.69.2024.02.13.03.22.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:22:23 -0800 (PST) From: Dmitry Baryshkov Date: Tue, 13 Feb 2024 13:22:21 +0200 Subject: [PATCH v2 5/6] dt-bindings: ufs: qcom,ufs: drop source clock entries Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240213-msm8996-fix-ufs-v2-5-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, Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1667; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=fiDOpLgmq0dhXTsGReQzn91SkMU/B6/9yS5El4QNj7M=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBly1DrjoC0cfqzBfI582y2/cjvC/gG/oni/soOP qVQceJ34YuJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZctQ6wAKCRCLPIo+Aiko 1Y5XB/9x9Zjm8dG4TiVQ6VBhIH9rBhhUwn32IfI88NCVeb4igYO1Bda90yPhuXv0PTF2ZulG00A psWtbU8INsbzt5E7/SyZ917ZGP/L2owmuZ/D5/jmx3EzDOwJ6tRpiCWv//aai6Ydjt/VUjjhlnq 7UQZQHmufqFps2dOLK6PvCd8AXcNdwFMdZDpq9f11zdnWXtQmskNj5lAUBcokQvhmrW8eD0aK9U 2ggNZGZKvCqbZcajpEoKt3UmHW41J0mBMlbmImK7P0x37XsXHx8dLZzsVjhC0rzsY/rZpf5TWRc 7uKK1s+AjS+PYAlFgVCz3h4zuHhJd+qyH3y40vIQ1j7WlzC7 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A There is no need to mention and/or to touch in any way the intermediate (source) clocks. Drop them from MSM8996 UFSHCD schema, making it follow the example lead by all other platforms. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Dmitry Baryshkov Acked-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index 9a4f2b43e155..649f7951ac01 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -44,11 +44,11 @@ properties: clocks: minItems: 8 - maxItems: 11 + maxItems: 9 clock-names: minItems: 8 - maxItems: 11 + maxItems: 9 dma-coherent: true @@ -189,16 +189,14 @@ allOf: then: properties: clocks: - minItems: 11 - maxItems: 11 + minItems: 9 + maxItems: 9 clock-names: items: - - const: core_clk_src - const: core_clk - const: bus_clk - const: bus_aggr_clk - const: iface_clk - - const: core_clk_unipro_src - const: core_clk_unipro - const: core_clk_ice - const: ref_clk @@ -259,7 +257,7 @@ allOf: maxItems: 2 clocks: minItems: 8 - maxItems: 11 + maxItems: 9 unevaluatedProperties: false