Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1352966lqp; Mon, 15 Apr 2024 04:09:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJh3hU0w7pYQyOPKXxTcbAs7wEQEJKVrtWTU9vjQGhSWhdWPSVdeTuBx3LBJnP5wtk+94zDT8g3AXlw5DlAhtAErihfGFwcSX1t4w28g== X-Google-Smtp-Source: AGHT+IFbWOLNbmmLK+5zt29UB8EW8mXf1Cc3g6R+lAoUWGvhO/0daPZGl6/5aCYqoZhBPuY8bFCe X-Received: by 2002:a05:6a20:9c8f:b0:1aa:33a5:c5d8 with SMTP id mj15-20020a056a209c8f00b001aa33a5c5d8mr360449pzb.46.1713179396059; Mon, 15 Apr 2024 04:09:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713179396; cv=pass; d=google.com; s=arc-20160816; b=hmK+slmzxceCk0+acz8tx/p1+q6E2ZnROhYH47XZz2DGM+AI5RjqrUPD5vNFeQfOXA yTfXKmTU78hyQbMI/t8qhKYVyoZSn5/cneKzVmtg2KSEq2VO5cSEtv3Md56cmnABW2m0 azdjfh45k+JkHOi79jfWUGQuMRAUXSgnJDb1YjHKKThzaKK7JrBsnMBzQfwpLkWmAboA 9FsaOKUcHDjpCo+uBrpGdE16maMI+2H4SofiPR7ab3wISfRncWIqWrG0dziB0OawwMvU F0pfsRpyvCjVMU7OpQnfec8sgSKzs5ZYlGfP9PGDFe5dD0tZRaIGZSYMbMf6C2nDLoEJ q5UA== 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=gmFjrZpTt19ZQ0/n6Zc/Nd64wp2cmN6WIn+pxc+uwG8=; fh=YwOpT9hosAFiTtwNp4abu3M4Hd3ttT8qEFVmhIFf1lQ=; b=lgC68CKAqtEmnA2rbZzA2SFGzAamasWH6DwBDhZ3XtrUNvP1Al1H66uVo3xozr45EF B+kXsc++VQmkGLMLQRgxxMiKWYBeyDkbHpjKk8CI2EYbzweUIjHJfebO/TIj0GM5Tr4j AwtKf6phQoNb5P9tFVn3TXMeQo0rJA2yIAT2DYb0PYZ09cZD9oMssywsrKoAxXf6vxlG mm86JRWHXyRt+q0v3Nh5vF/dtbs78bPRFdTCg2FgeqXp3pg+1bMYRED80HPoAzG8m1tQ nDkDH7I8l92KIB99E1aAgXY+adYn9Qbi4I8lJZYqsWmZm7nqCA5acqohYvuTT7H7zLKT y6Tw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=I3WUPgKS; 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-144960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u5-20020aa78485000000b006ed21ce7c39si7773068pfn.251.2024.04.15.04.09.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 04:09:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=I3WUPgKS; 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-144960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144960-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D1058B23AB4 for ; Mon, 15 Apr 2024 11:02:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8BD76CDD0; Mon, 15 Apr 2024 11:00:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="I3WUPgKS" 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 86E986BB5D; Mon, 15 Apr 2024 11:00:27 +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=1713178828; cv=none; b=o0GDuQGRLBWaDaldX7LtnG4lr05KVFak1HsBnIrLjBuJH4tlaLeBOmGk/VdHW18/UvvhcTXNSU3fNvx8OfG49RWG4/LcoZbq2dFYgoIalf4wTt6Qhhm452CCBs1uxxSHrHgZUBGpe0g9VpiMhB8+RUCu5buhSw2kGKjcgEw+TGI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713178828; c=relaxed/simple; bh=xXwyH40ijwhP2NEXGOtiRRBM5Db26dTrTLrEXJ0hCJY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iFiw+cdZNgnamW0ZxSJU5QBAUTUNuyK/Lt+hLY2uda+lzDIoene1i2v6wVvu7+L1WGzNTrwrnz49zHMk/vy+FrJEvXBDMjm2pNxnbVQ3C8lLQ5fXVnojMaCahubQYxEqy523bs0c56UK/gnt5k+Yf7SeUMzK9Xi3sIPc71Yx2Jw= 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=I3WUPgKS; 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=1713178826; bh=xXwyH40ijwhP2NEXGOtiRRBM5Db26dTrTLrEXJ0hCJY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I3WUPgKS9DLbmHYGZdy2APm3FvTkdX7OIAgwaE0YmZ5p8CcTtE5shJBDwp9hcBrjg XU+I/SDZ4PVbZnhpFbcSoUG+5uZM1OZKGXsNgz85ghPDbW7kvFx9s0u1qlnwHPrMZp wOV5EetbnRFFyFYUOENiatjmickweG0ivDquo74/s0spHImYVb5ngPXXnpCCBHKWG9 srDEIaKX64aSpKCWX08LOWxh+l34o41JirDu1HdvMBvLcuCRjvwBFnAOt9vmgdztBX hs44q7k45Dzk3a6AO/CeB5hxjGXXGK9ueHXWwAgtAR68R0P23KhxPd/yN7tWd1U0zG 7mCi8Ee2iX6dg== 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 E0E2C3781107; Mon, 15 Apr 2024 11:00:24 +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, jejb@linux.ibm.com, martin.petersen@oracle.com, lgirdwood@gmail.com, broonie@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 7/8] dt-bindings: ufs: mediatek,ufs: Document additional clocks Date: Mon, 15 Apr 2024 13:00:11 +0200 Message-ID: <20240415110012.148871-8-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240415110012.148871-1-angelogioacchino.delregno@collabora.com> References: <20240415110012.148871-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 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml index 5728e750761f..1df8779ee902 100644 --- a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml @@ -23,11 +23,24 @@ properties: - const: mediatek,mt8183-ufshci clocks: - maxItems: 1 + minItems: 1 + maxItems: 12 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-rx-symbol + - const: ufs-mem + - const: crypt-mux + - const: crypt-lp + - const: crypt-perf phys: maxItems: 1 -- 2.44.0