From patchwork Mon Apr 8 00:04:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 787128 Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 C4644B662 for ; Mon, 8 Apr 2024 00:04:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712534680; cv=none; b=D64eNMkl9M6fEQ4EptGJTEB0eqjSlXsG617xm6exxUVhRvx4ImmaWpGHPQdPLE48Mr0mP3XzdWqf0pT5ZxlNk/hqbo271ooIGVWZUjQ8Er3w+ZLVMrwHCZjOLOPPFjtfioFwXKXMHfsgM/ld6XGTQXAr/CtbRLyuDe8un6U0dI4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712534680; c=relaxed/simple; bh=ujbZGwCQVSFicv5U4QZnOYsJOvN6YgwCkXPaQJFXvlU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WHI5rCpolccyx0U41RKuGo9IrQbyH54U5ftsaOHn+pJ/vt036JNG1YpL8ti6ce0DhdoHgxozXDv/ctb4Wn+O02mSq62NkjzwAJvbTQH2lNjn5XMoyh2kSQfJ+WOA1rzB4S3/HofEUIIel78m5vQMWvsP3j/L20LHQv0mNePPpOk= 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=BZ8KdP2x; arc=none smtp.client-ip=209.85.208.182 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="BZ8KdP2x" Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2d87450361fso21346061fa.2 for ; Sun, 07 Apr 2024 17:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712534676; x=1713139476; 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=TppMUcMr2yR9W38oBDScEa1smGAMohoFGiEc810Rdso=; b=BZ8KdP2x47LaF0mTQXdQQzZTKIEcxS2u5ISO4k9c+JMuX/cwv94/xrKb0aLTIVoXef ZBVA9jNbfJOKxvOm5ch6mS17nbOqsJD1h0mue9TNEeOEJguPo8b2584cQ0mvTmsEloUZ 6whbT4p+crZs3abhpqGLdDJ5oENyEmdxUIX26h7Oj9NLGxoLnAPpzPpSKeJlsV/x+F9V Z+mwMS3VEizAKR/68rYl+AfZLuszjofTNVMq3mC0ojSF3+s3gughk7E0FuI8ACefqVMW +GExZcVj1xGoP8iN0KNyjYNr7Ltj+OwEfDR3foVO8Y8FzNLws2eLQykQ6h6NfiecNSzU kz0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712534676; x=1713139476; 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=TppMUcMr2yR9W38oBDScEa1smGAMohoFGiEc810Rdso=; b=RTfr0szJMJUnCuIBOLlb7zbsxvY71Z5rbRUadK3que1ZmnOp1FvKUANdfbnF/FCKGI yjrB2JO7fyb08lFdxQVEYaObsZgSKezWIaQtUm93C9EcpEHtoFmBtOIc9jF++ZHoPJs+ hfSILHyrha+GfLHkLQj3UdxvNE9ctp7P86K5Mt3e/tEvjhPINLji2N9NnFg9bZs1tuze 5ZVN3juWo9jtJUg0OThCGU2JD4lmafhom148922RjwNJkgSdQSXSlCi4Z0MtBKtZFzW+ 5b+phdWI0KuRpIkWVOanWTO5ZXTK7tI7s32E4ytkXXvFqq9dtNf5jFes5TH9N2ZlorjI 3Bkg== X-Forwarded-Encrypted: i=1; AJvYcCWZHu2aPluYQNTelX73p0VgrvBtRhswcV4BxrJ74Toe/d4wNAJkHVrmfgDU42ophmoqrbVjwSUtcn5Ckkgf7dOv9xq3EjqXp6TnNg== X-Gm-Message-State: AOJu0Yxb/6KDWkVtz5fPFeNDClBwoUKp09/e3M2w4v4Fjc+Zu9gPk31F ZuexOmLU0IK4Zx4PvlFSa/p8BT5kqiwHsPiCRulS/XX1ECPg5wvJHUMEU59ndzc= X-Google-Smtp-Source: AGHT+IEgdX7SagcjwVcbNloa6iTiQ87oY/sJXKXIqyU+ATaBfwmgr/P6/KvV8I2jBX09PBLSujG4fg== X-Received: by 2002:a2e:86c9:0:b0:2d8:63a2:50d2 with SMTP id n9-20020a2e86c9000000b002d863a250d2mr5580332ljj.6.1712534675849; Sun, 07 Apr 2024 17:04:35 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id n9-20020a2e86c9000000b002d2191e20e1sm947077ljj.92.2024.04.07.17.04.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 17:04:35 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 08 Apr 2024 03:04:33 +0300 Subject: [PATCH v4 3/4] dt-bindings: ufs: qcom,ufs: drop source clock entries Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240408-msm8996-fix-ufs-v4-3-ee1a28bf8579@linaro.org> References: <20240408-msm8996-fix-ufs-v4-0-ee1a28bf8579@linaro.org> In-Reply-To: <20240408-msm8996-fix-ufs-v4-0-ee1a28bf8579@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.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1735; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=ujbZGwCQVSFicv5U4QZnOYsJOvN6YgwCkXPaQJFXvlU=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmEzSQH6Xu+f4sKTcOZgOBk88mBu3dwm8nIQgXZ KjzQz592N6JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZhM0kAAKCRCLPIo+Aiko 1a/sCACqSzi0I0S/2zfYNr8MFZkwVzw/aGSqUhxhzw7U886308UpRqwsu9EfwToW4SfHKp5MG2I zqxOnQk+bqi+clAXD7z1ngxa+ZcfhSrWlReV2kAFwuvALByRm2NOAHxwyUs3JrWP/m783/ApoEE qYqcDdKq8qmroZMprGvpCL/DBUawWljMq9Lo/HxIVdd+BBJkKnQS+4LT1aafFaKPkDS6gQSH70Q 3d0IuPMf3+G+oUBTSnFbM8bxQOW3x/D1B9eJlUlsl90PybL2roZ6jtQoZaPSBR9R9DmOmjVpSJs gBAFx/2JEOJdyF7pjJG3jvwPpy1I+IOE7BP2SxOH/Uce/5/W 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 Acked-by: Manivannan Sadhasivam Signed-off-by: Dmitry Baryshkov --- 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 cd3680dc002f..25a5edeea164 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -46,11 +46,11 @@ properties: clocks: minItems: 7 - maxItems: 11 + maxItems: 9 clock-names: minItems: 7 - maxItems: 11 + maxItems: 9 dma-coherent: true @@ -217,16 +217,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 @@ -287,7 +285,7 @@ allOf: maxItems: 2 clocks: minItems: 7 - maxItems: 11 + maxItems: 9 unevaluatedProperties: false