From patchwork Fri Feb 9 21:50:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 771897 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 8C1D0376FA for ; Fri, 9 Feb 2024 21:50:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707515443; cv=none; b=De4ScVzvp0pcP3fFOl5bBscnGxjOT23QjqxOsTTQKvbPOHgNvhuM1o7Racsl+2xBJqqKJkCnMAyIgcihoXUzwicoACFxGfaecnxUTW0YeiNsGLu1+bX/rd5uvxuo0TiIc9jplWtXGifuQ2Hm0e5Jl0Vppp9D+CfXUc1ETC1O9kg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707515443; c=relaxed/simple; bh=bl2Y26bAQOrF7Fx/WmrM2EjdC+b87dw5MwVD4zAMJ9M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VFbpx5cIQEpHxa6u1bEzP4q3UYGBmugwApyV+6kmxI3LIDsKOFp9jXlo+FW0SKsaT3EsuB2LhvopgONBzu9Gkk5+/Jrd/Ifn8An0TW7mxfJ7NUCYtin+LBEJxJ9nyxte3G/3GgHeO+LDbezVCfdEAdY888k5ZQt6sNN7YLMJ+ZE= 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=QhFSDrc+; arc=none smtp.client-ip=209.85.208.173 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="QhFSDrc+" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d09faadba5so18491781fa.1 for ; Fri, 09 Feb 2024 13:50:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707515439; x=1708120239; 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=V26xckDyjwdJHuCgGskejffI1WpJJSP7w4OMDnjaGcI=; b=QhFSDrc+iRo2qz2whQSxkjalNmwlrejWirrUs61KULNL5L8gZdbX7aStBQqwr2d9Pc vMVLv44onta08fdV20yQ6APfP8VJFTke9eUmXNg+uuHpUqQhv3r99N1OCgEwvRTJi/fd K3qAj9ixxazkM7ldg5KR+HupDvQO67LGjkXbqVwDWJSQGadwHSFOclKISeFx5IwtyItr igif5GsZd0mnvHTZtRlUccfGElGSfcgoyoFPajltJbjtqKAYeXUUWFm4fjTRwLW/xt+0 /b6hIUjB75Q0/N9mpSusa29i6+iKuQm9M4JQGn/8Ifj1v/dUqEvKJnbZ4bfs9ZkO0id/ qNbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707515439; x=1708120239; 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=V26xckDyjwdJHuCgGskejffI1WpJJSP7w4OMDnjaGcI=; b=HUr3Hz9kb+qmNFJD5sfX/rKAaG4B1LsLrdpFV118ZchjaB8X3Z3LD4aoqGU6ZOnR51 6feVuJawp7EREzr7RkN2o0npoBFRL0HXearbkI+DcZL+p/qdWpELTNyzreg1W3ElSjDO SswraNI3xL7tVTyBkoQGo442sRo6v8ruEh7oa7JOOZk+WhMCaXC1osmCG16008ARFifp cVrhBGqmcu3JwyJVj8JgD55p/T+MnRXjJmxHO66ujUOHmFnm2H+pWdD2JzMQMo1yALL3 y5zL5i/OqPQy3Iyv7SjXNgHhzbZgrO142PuOONToyk2X93EWcEFOP/HH6fitrv9vzLDj BJUA== X-Gm-Message-State: AOJu0YySsj0bIPtEWUb3t0lv3hyEJn2HyK9+CiGtiOF2VSeprf4QLFlm qHTFNPNMJ4fWwwSEkRukewDfdk/BHdi+YgL7gB+xQr1qcsoSlj94IwNZ1VFprUM= X-Google-Smtp-Source: AGHT+IFgeZ41d3nK2nsuS4f6wEiNPwe0vgCRbvkM8yoctYC3SX5hFMUHhrMggVKWN0BYVSiC/o9CLQ== X-Received: by 2002:a05:651c:2043:b0:2d0:d3ec:a545 with SMTP id t3-20020a05651c204300b002d0d3eca545mr154449ljo.50.1707515439680; Fri, 09 Feb 2024 13:50:39 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWs9KtyuyQVmnvoEwpuNw+wYNs5pq0wHd4rcW83LJaNGn/5pqAj09L8PNETBqKx9fspfk14+q4Wyun6mCv3315uMmv7lyMgvB3K3bR0VS8FqgBmZ1A6jQGQO4i51qhNgQav66lZKeleBi/jMyxx3CeO41f7C65bgdcMpiHMp0FdtOu1jzYj62njltrSZ3oN8EexjV1HS4pgBAGwWQsb7bts4xs2MSf+HAWbH2AFQ9uLa5qbE1MOde3+0phI/QEH4j+sTGWCtYsSFdN5rzyA4ciI0AmYmH6KdfAmEVYto3fnxGTssfHZpJJG+375bEg+6Q9YmJc7qGqjLK06LQpqNPN+trj2tVMAUoBpBKU5KrF5cTgAOasuIqobhYY20/dxXboX3MmqJqVJe/LhhwB3qEEBlf2qcjVJdLo+Dhgb0pgWom35PZLUmh5gy78egnTDDCKWKwcgViSs0f64EpEtA0PtYF3Tm2gTYteO5tHzXhnGD1p/xM56bgCI20tBJ+jIEbBHJ2K0skGgYh6mduBxkVRbU8hH3QRFXjpmf31BY7D9dRgIz0+aPF4+LXyi5atlr6zpApviqv85IH1vu1qFABFH+CTx5b6fjUU= Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id t1-20020a2e2d01000000b002d0ac71862csm391162ljt.9.2024.02.09.13.50.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 13:50:39 -0800 (PST) From: Dmitry Baryshkov Date: Fri, 09 Feb 2024 23:50:37 +0200 Subject: [PATCH 7/8] 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: <20240209-msm8996-fix-ufs-v1-7-107b52e57420@linaro.org> References: <20240209-msm8996-fix-ufs-v1-0-107b52e57420@linaro.org> In-Reply-To: <20240209-msm8996-fix-ufs-v1-0-107b52e57420@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 , Andy Gross , 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=1605; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=bl2Y26bAQOrF7Fx/WmrM2EjdC+b87dw5MwVD4zAMJ9M=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBlxp4o6+ge7Ga9YGQOCLnWjLlEkJGho/D8fvUuQ Aqrb6MMCH+JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZcaeKAAKCRCLPIo+Aiko 1ZJLCACXqw6fod0tdRakwnJftPOdGZeXy681leZj+s6dUQsa169uzUXrRvEvFQloADwOQqIbXNk VUdBVkAb/XFahK6KcHkJkm/gbTgZc4eQ4+PPyI7bvq4iPG8SD8+DhwN2SVlFhQ+85/3t56b/ZuW Fpw5quFC1JgywN1NdxQgdmOi2679ROlQjarkbYCmS+ml5wWde61ACWpqLWYyKHBksOzCXMsPYnM DIzAlqdvEB9xR4jahxlZHcRzdFTvfksPFNtevMwdJLKfk4ljGg/b4Jlp9HbCKXyF2lRDpyHkdSp pOV/F292IMoZ62bT0+oqAS6d/IEpMpnHBrclgXSQHSe3JZul 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. Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski --- 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 f1de3244b473..e835f12c75ca 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -43,11 +43,11 @@ properties: clocks: minItems: 8 - maxItems: 12 + maxItems: 10 clock-names: minItems: 8 - maxItems: 12 + maxItems: 10 dma-coherent: true @@ -188,16 +188,14 @@ allOf: then: properties: clocks: - minItems: 12 - maxItems: 12 + minItems: 10 + maxItems: 10 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 @@ -258,7 +256,7 @@ allOf: maxItems: 2 clocks: minItems: 8 - maxItems: 12 + maxItems: 10 unevaluatedProperties: false