Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp255825lqg; Thu, 11 Apr 2024 01:34:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUWSF8la3HB94fRlgQlPF9CZL+LDKSO9tCUtK8JixkF3BQX85DusEnyxukpX2Ouzg/7NYL78V6o6Q41RmFrpKT0dww071frntP1uKWl4A== X-Google-Smtp-Source: AGHT+IF2hZltTe4Zl3GgezsqFJ7MvSxaUHuY9vUfOAOcDSGFUu248/nxT97m/yS+hdo5hsX8Biat X-Received: by 2002:ac8:5dcf:0:b0:434:895f:192c with SMTP id e15-20020ac85dcf000000b00434895f192cmr5450562qtx.18.1712824497217; Thu, 11 Apr 2024 01:34:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712824497; cv=pass; d=google.com; s=arc-20160816; b=piknWuN2mFLLqcfO5qcmfbdC20ZgWsI72cG68w1Iiyg86GmHfpqtEn1JSaff1dJKA6 uFcrpxKCXV4s7O6byuTGk146oqnuUwO/G5uoOOCUspZWXh1IHb466HfB/6LSz7zAvM8T c8bBss9Wg5NxyN30+rdTbIeNInf1ecJyWVMHippr5dZgrtU4/+AI0wZVIaW6wYgsiOxz oSYzQQeD/uhn5uOtGkjrfgnqAD8wE2Kfhjz74itNY+BegMPCn2x6Xwl1haHIQwWHRRB8 xpo2+dLODfCJrPj3SpJr6OJUxIOcl/yhi/PTUz2VNOtieaWMXvovft2OgdrpNM+lr3BV Mobg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=64IlTk+dQfzrJvgY4MluQj660M0DoxGmf/WuQTDZoS8=; fh=b0x409n1YPtJT58BLrNPHnelp/OfaaUeU913TEkV91o=; b=R5PAzpYnLHfzsg+IdHCJ47cp3NX+aWd6uGM6fgCPXJOZgFSzLEvTcLMG9l6D6QnR/Q 7bvUEZIbHRx/f+Gftc1Be04i2hKVg8j3AyCrZ6/nBqbS2Tc9eMOnoBWKWZUj7Zby6MMf Z67Houj8gn4LZEvo6r5lLVAAr0ki+e/21SiXB/A0nTwt0qkq2bmu5OzWIZVCUOHD/SY/ CJrV6RCBlnrJa51hHunoYRxRpMKYO8zOBubs83K8b7+tbH9Su3+yNZJDJPtZ1vINaJeo bmoBUkKgBRyxikGOmR8Eea4Kd6AER2awHx/NOr6JnYKJtl8jAtAPufSE5//NMs1xWwWH Ec5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LAFh3vc4; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-140088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c3-20020a05622a024300b00434a9c2887fsi1015218qtx.560.2024.04.11.01.34.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 01:34:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LAFh3vc4; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-140088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DA4DB1C2152D for ; Thu, 11 Apr 2024 08:34:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EDCB147C75; Thu, 11 Apr 2024 08:32:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="LAFh3vc4" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A008B145B24; Thu, 11 Apr 2024 08:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712824327; cv=none; b=Vikvk+2hEmMZtGJWhlpD/aPED/ozbx3EE5qNdCyEUVFxtYSpH+Vszaehy0pc22PjmBlsSC7vnlyoF7Xj8AQH+lrweq+jO8BZ2l18oOae1xn+suXEanivz5+YAGNNG2PrjOddy5k0QiUps1oxln2HghBrzchJaSIiqd55DEWktbk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712824327; c=relaxed/simple; bh=XK0zxw+V4wjxT5QG5ieb50qefYNILSY0qmHMtFLbqcI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CBkOaE0Hr23xAuLdndQtt6vmgpb6JDnNlSF5CNesTw45r4eWrhZbswzZ72IFNY6kLvIAZMcGE8+wuX3rCaCuYYcIZrBlLGwd4kmy6o0tXdwS3CcyNLyD6MPXYXiGHh+xkWH3ZTCD4hpNxoPAEA9k7fQgKvNC1mv3hN0wKZ3qZZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=LAFh3vc4; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1712824323; bh=XK0zxw+V4wjxT5QG5ieb50qefYNILSY0qmHMtFLbqcI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LAFh3vc4lZpN/yQ0ihuB1SgL/ZUEWS0qCuhvzfxsPXTP1sbaxdJnovVkvq1DAtAZA +4FP1cAO2DL+XPgUy1jzRA3wW58cOSvaYrSuT4fl9m0iMcWUq4tZcGXaKXdFJ6gJ2B eZasrZfb4toePj7m0dFNWWmsPdgKkspV9sK84MmKIYTM9RvqdjNqmluXHf+e6mGaCS wUkMH4risTJOShZsB870kwBn6ZQvBuFecgcDV6Z2lKMNjFW/2olfkFzhM5WhksJuYS OgFCqqRmqfgcpGqgw9+uNDV0gQ/DdPOJPUcnfQpz/+Lt/pGdwHpAFi0k7SYfpL9gBv BArYlzDJz63JQ== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 99C193782137; Thu, 11 Apr 2024 08:32:02 +0000 (UTC) From: AngeloGioacchino Del Regno To: linux-scsi@vger.kernel.org Cc: alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, peter.wang@mediatek.com, chu.stanley@gmail.com, jejb@linux.ibm.com, martin.petersen@oracle.com, lgirdwood@gmail.com, broonie@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, stanley.chu@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH v1 7/8] dt-bindings: ufs: mediatek,ufs: Document additional clocks Date: Thu, 11 Apr 2024 10:31:48 +0200 Message-ID: <20240411083149.78537-8-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240411083149.78537-1-angelogioacchino.delregno@collabora.com> References: <20240411083149.78537-1-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add additional clocks, used on all MediaTek SoCs' UFSHCI controllers: some of these clocks are optional and used only for scaling purposes to save power, or to improve performance in the case of the crypt clocks. Signed-off-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/ufs/mediatek,ufs.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml index e2c276da3f2c..df2e2d388e70 100644 --- a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml @@ -26,11 +26,22 @@ properties: - const: mediatek,mt8183-ufshci clocks: - maxItems: 1 + minItems: 1 clock-names: + minItems: 1 items: - const: ufs + - const: ufs-aes + - const: ufs-tick + - const: unipro-sys + - const: unipro-tick + - const: ufs-sap + - const: ufs-tx-symbol + - const: ufs-mem + - const: crypt-mux + - const: crypt-lp + - const: crypt-perf phys: maxItems: 1 -- 2.44.0