Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp237094lqe; Thu, 4 Apr 2024 05:29:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWdDe7ycXjWdgOumXdbaIVzK8chBrHuDN4Q0n/Uz7qEOx62G98BEOg1zHfAp3fYZm3PW2FLeZpWvGbsHTXe85/ekjlu4FczMEN0lVyBQ== X-Google-Smtp-Source: AGHT+IHbz+8OftHVY5fBGeZMFZesPTWMJtw9QiNykhXgcQfRoS/1nsj5aPRUCxfSe1/oDvEj/7Au X-Received: by 2002:a17:906:c31a:b0:a4d:f3e0:5e66 with SMTP id s26-20020a170906c31a00b00a4df3e05e66mr1542873ejz.48.1712233785179; Thu, 04 Apr 2024 05:29:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712233785; cv=pass; d=google.com; s=arc-20160816; b=isIPXWPEkFheeNX0A/USxYQ/z2Kzb7K8Gsb/UhzJaMTkXx9LNJd0HbCJtBUHb0gN+z QSnN+Vh/JQNclFun8un8LMgrYqGDYQILrWSC/lYoKWD5D7ju6vZYj+a7HAbFFgYcdSBD X1GfvyFJx063TiIHV2JUGF/eSQKNUo0B5FM9QDZfVmYAmih005C2e5pwcHMk/NyuSE9U aQc1Mc4DN8ezZDZmiiNfROe/jDyyV75aPBhH+Ldnq06LWFxqYTz5V7+ZRyAXmhMktDxb cPAthXYyAvwzJ4jCYeBybhZDTpvek3Gu4ocwrFBVtj+c447w5hBdGr5gAjkrFYaHf8MM WuFw== 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=rpr5fIy7/+AgecNd2HAhXB49zsFIL2WrvHb8ogKvFrI=; fh=fNp24NgU9UGFHSSNu+/5BUVWZile9OBrQEnMR5q6oxM=; b=GvOa3wJ6MYzVfrNSLuL9CyftyDu6r+kvIot1OvdDeV9lVkZ/wYdLZylNNOcXn28gZy eU2TSOlHOkO8FNuHlrwCMIJdtPoKX1jpz6Yr107PY1+/251fA8ui4aEy9N9rE7sA0n+U 62xAecIgs20gym/XwtDxz+8u0XDarPZeVLOktqz+u6B96P4zjUQB3I/gT9brKNn0HzBz WcawhycHaT3cTaMZbglBWj6Ic3wqsi2iDKDKQlb6PXUywcC8u+PyQPGR02hZiWI/uFq6 zQ9m3V/GE5dyvkxF18wSqjaFn9i7LVK+kVGlaK/utgoMqxVB6nq2ta6X3OXySeZcSKvI Oosw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E6mZwP8E; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-131416-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j8-20020a170906410800b00a474b7ae377si7303950ejk.721.2024.04.04.05.29.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 05:29:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131416-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E6mZwP8E; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-131416-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id A188E1F2165D for ; Thu, 4 Apr 2024 12:29:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0032E85955; Thu, 4 Apr 2024 12:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="E6mZwP8E" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 7ADA684047 for ; Thu, 4 Apr 2024 12:26:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712233595; cv=none; b=YcXu0+2kK4h0h/UfK/luGyTiOsL7z/6y/m5aoMY+vBkdqHuPm3EPx1/MgrJXqefUa61qRh8WIftoIV/YV+1H+gCFxIwF01MazlB+KbbTvDI7/zbZtL6pWU8YlvutY2PyguyIAxLO5KLU+5/4Ap9V7ODQLINt9ISOytUHTecmz7Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712233595; c=relaxed/simple; bh=dIzQHmAv92VoLaXzce50bxfh8q9y2wyI7VpgA6yEI/8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jjWAX1KIgxF+7t1LHnruSOkrXbf16Iba1kGV6E3Cxi1x19aMkDWxrQpwJuMSnWMsADZIsOPq1WbHpN/pZvyPa8eVjR9wBuStIMoeT5cy9+O9zwXkOJMfpM8yYTX4ChNz9Ai4hU8o+C/LnC/kX9IJ0ibqJj0w5JE3llWOhhhyhrw= 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=E6mZwP8E; arc=none smtp.client-ip=209.85.128.46 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 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4162b5ba333so3193555e9.1 for ; Thu, 04 Apr 2024 05:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712233591; x=1712838391; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rpr5fIy7/+AgecNd2HAhXB49zsFIL2WrvHb8ogKvFrI=; b=E6mZwP8EQtRZDPg5sSR2xwkc1fvziS2CrbdcOhSnWX1YtKUpKglDpQa2WVLjzstEoo fPmr/ZY2dBeIgj9Q7KepSuc73FEBasSMmZm1zfv++veuaxcBRQwEqdysbr78KvrkWcPz O+WkGf9Kv9mjnopN2G+spv0bLzmBw8lQn9vhEZiWwFk6jrVRo9mGnRYZyBkuS9SJP5mN oVXAF/P33A6TuD8DhsaKjNfqqhl9qu0kIXbi5g0AT4p4TitJ8VSryw7gi5iirSdLvbCU 5n5KEa6V87qDjJ76Jp2hJZXT6ux0eoWfC5fV3nX0oQuVLrSPpV4qo316wmnzt2NkgXim q1Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712233591; x=1712838391; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rpr5fIy7/+AgecNd2HAhXB49zsFIL2WrvHb8ogKvFrI=; b=fmaRFQWCFqrPNS8+EzugFj2b/j+RaMjjxzGs+cUbAp+P1xb7iOjhweRgD8NlRy3UF3 F/Z5I4terJy4I/EwPyj5U7Z+3i+HAjEsZFNjPc0C9dkQC5/c6AMXQnnBL+7bW+tm2RO3 FhaZxRg9831PqFUKNmkO+9gxfAvm7u+uvD3140wSi6h+JEcRabZakHQprz5fOIyyjaJD cRPfr3gPoo0eEsYS3XUle4pBYEsgES+22sq3gCZhQR75zxJ/S4BvY3StBQFseNY/dMoj vyd/y7xVeiICn7St/dlVeG9U6LaPhfy9LgE0bhZATFqjpHl9qCjQh5t5YS0Ik8IOaicg A1NQ== X-Forwarded-Encrypted: i=1; AJvYcCUpBIxdsMRRGoMXIvHets5dIUTzEVOVKGmp/jJb94NiXCWJjWaEL/fYq7F6wQxEOsMq5Y+G+1A6dJhIuA3UXXV3CJyO5m43PsYK0UaC X-Gm-Message-State: AOJu0YwVIeurzhmliskzqFdq23zKrBLNI7eQROJdb+2eYIl36vSURs7Y HoOrPnDZKt8eR2pW2pyjeku1BkJVkn7nAH3R+gx271HV1ge8HFh2KV+zDg+8z9k= X-Received: by 2002:a05:600c:358b:b0:414:8a28:6c82 with SMTP id p11-20020a05600c358b00b004148a286c82mr1880403wmq.2.1712233590958; Thu, 04 Apr 2024 05:26:30 -0700 (PDT) Received: from gpeter-l.roam.corp.google.com ([148.252.128.204]) by smtp.gmail.com with ESMTPSA id bu14-20020a056000078e00b003434b41c83fsm12106303wrb.81.2024.04.04.05.26.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 05:26:30 -0700 (PDT) From: Peter Griffin To: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, kishon@kernel.org, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, s.nawrocki@samsung.com, cw00.choi@samsung.com, jejb@linux.ibm.com, martin.petersen@oracle.com, chanho61.park@samsung.com, ebiggers@kernel.org Cc: linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, Peter Griffin Subject: [PATCH 03/17] dt-bindings: ufs: exynos-ufs: Add gs101 compatible Date: Thu, 4 Apr 2024 13:25:45 +0100 Message-ID: <20240404122559.898930-4-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog In-Reply-To: <20240404122559.898930-1-peter.griffin@linaro.org> References: <20240404122559.898930-1-peter.griffin@linaro.org> 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 dedicated google,gs101-ufs compatible for Google Tensor gs101 SoC. Signed-off-by: Peter Griffin --- .../bindings/ufs/samsung,exynos-ufs.yaml | 51 +++++++++++++++---- 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml index b2b509b3944d..898da6c0e94f 100644 --- a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml @@ -12,12 +12,10 @@ maintainers: description: | Each Samsung UFS host controller instance should have its own node. -allOf: - - $ref: ufs-common.yaml - properties: compatible: enum: + - google,gs101-ufs - samsung,exynos7-ufs - samsung,exynosautov9-ufs - samsung,exynosautov9-ufs-vh @@ -38,14 +36,12 @@ properties: - const: ufsp clocks: - items: - - description: ufs link core clock - - description: unipro main clock + minItems: 2 + maxItems: 5 clock-names: - items: - - const: core_clk - - const: sclk_unipro_main + minItems: 2 + maxItems: 5 phys: maxItems: 1 @@ -72,6 +68,43 @@ required: - clocks - clock-names +allOf: + - $ref: ufs-common.yaml + - if: + properties: + compatible: + contains: + const: google,gs101-ufs + + then: + properties: + clocks: + items: + - description: ufs link core clock + - description: unipro main clock + - description: fmp clock + - description: ufs aclk clock + - description: ufs pclk clock + + clock-names: + items: + - const: core_clk + - const: sclk_unipro_main + - const: fmp + - const: ufs_aclk + - const: ufs_pclk + else: + properties: + clocks: + items: + - description: ufs link core clock + - description: unipro main clock + + clock-names: + items: + - const: core_clk + - const: sclk_unipro_main + unevaluatedProperties: false examples: -- 2.44.0.478.gd926399ef9-goog