Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp45414lqd; Tue, 23 Apr 2024 14:07:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkWDLZjtB/mPNg8/vK2iQ/gZOlIhIsGqGHHPDjDZPQy4yxLKttjBK93H+YQqhQguXCR+XKzVzUijVT6jVwIvO4QT4DYZUhc9U5BssDfQ== X-Google-Smtp-Source: AGHT+IEAFHf/BDpOvp5Mt5Bnyl26xNNOuKKs1u1C1QdoO9xj88wVSzxuaOkRAqQwuxV12lnA/7md X-Received: by 2002:a17:90a:ab84:b0:2a5:3753:6050 with SMTP id n4-20020a17090aab8400b002a537536050mr471050pjq.46.1713906445062; Tue, 23 Apr 2024 14:07:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713906445; cv=pass; d=google.com; s=arc-20160816; b=qrUQ5eD4ELrVjX8pfjAr9IYyuVyAIFjmzm3r3nN6jn5jpkNFY0mR1GQcu7vFIHoXqv aCuTOF30CsTGjs3fcSrzgsZFCgUVYnpfRnfGZ/c4zhRO5dkyna58bpGF6a4FspkQ0PZP k1/IOozIqIEP8d6QXRov85R3yy3JtpnChPoUx4n9KCLAinMoOfHTm9v6dOpXUSAZLiM4 6GWdjXiEOkIcp8RJVb07Ji9ra0tBBGghoukt5EUgCB6uu/kLjWDfSUVxG3hc205EjFpm eFP/M65kXTOF3g8C2IAp5KNm0VO/cXK2gc+9vPMxxPW1bngvAShPA6KCdNuNQCp8ftw9 LgXw== 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=7YDoEtxb3WAccXiFYU++BdYy9LiGKO7VakM6fMKLsd0=; fh=G9LmGF21tqJNKj1ymjM7G7agDrhiVibdJjwF53roXUM=; b=dLN9PDdiW4LvLgLjc/Pu7SoC+xVhZB4n7HXI3Ec2JxUvT7molkLotvTbRSUyJ2MzUs a8+aFtioAXInGYM/a4fIWomN7Av+7Mnhw9/HxrzG73e7GBYqe1RZ30IpHdfNIKWtkNDs qaZJOAGGZf2MMDzBeQ6ciNwUzbW0+liznUZl1mi1yDbJuR/XnZX7SxU/fEFiMxKQQaMM j7l5PC6oPi1Jnl73BtMCUyPX4uLMRtaK/bAYqAUQPQtQCeBvxgNxbi6mtkQewjjo8+HK BnFsVO3w1oYvfcP75iB7TESNRH5ltkui7Tzje2pJTVREq0W4Hl3ThhM+yq9rTjjjryjQ JXag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NYHtLYuR; 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-155877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155877-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id iq16-20020a17090afb5000b002adedc2eba8si3917961pjb.160.2024.04.23.14.07.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 14:07:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155877-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=@linaro.org header.s=google header.b=NYHtLYuR; 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-155877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155877-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id ADBC9B28213 for ; Tue, 23 Apr 2024 20:51:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 959C1142E60; Tue, 23 Apr 2024 20:50:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NYHtLYuR" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 EA3C3143C58 for ; Tue, 23 Apr 2024 20:50:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713905420; cv=none; b=lEsAZbyGTxTMd4/WPl9eTABse+pHNWWUwtzdIzj0b2y8IemsBwYX4ZpT34bnV2TYGXdFddIhm6ZC0uJWQS4b9U1ldD4sMx7FCRM1lLxtywRrPJqR79vQa+jtMhQ6qluvYRAt5jWwOKItsiqPlq5+cnUUm1eq+LGK8cvbc7p+UTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713905420; c=relaxed/simple; bh=BXQ2t9iAj7eohIsEGoqiB0oQevfiMgMotmBetgnWWks=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AkMiI5iDzXO3polDtpV7/CpzMa8kC0jurkypVUcld+FzcSsxZfHOshUVBlddmEGvj6WHsuZ4QW8JHNDqudTqLzIESBVbK3BYubyOG2JcKzmutspuoquQiwTGjxrt9FXUXWnAhblCVxYVVrLz0D6cX9qyoaPWsteEcNMaQv6NEmE= 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=NYHtLYuR; arc=none smtp.client-ip=209.85.128.47 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-f47.google.com with SMTP id 5b1f17b1804b1-41a523e2888so20527055e9.1 for ; Tue, 23 Apr 2024 13:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713905417; x=1714510217; 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=7YDoEtxb3WAccXiFYU++BdYy9LiGKO7VakM6fMKLsd0=; b=NYHtLYuRD8KiNchDzCfr5vYz24pnWq3+l5rwgx+EZ5aeiEmRMmofy/vq4IhBIdfbpE 8gdnAADZgVqNnnZpr2HO0td7v/iurPIVo+5961eRr/WgGZOKdezdmCobp5CHMZnXbY2C JiqQ6c5mPqL6mwEqo17vDki9tpIz2wUlJ0iOICTq1oNo1IL3o0Exz+K1dpnhgVoEidGy 9r+hx0O1slo4GN3jJ58wDpfFh2Kvnjk4vjUxoK8WKoiYMNJK/Oj4hgPnFYZMY4z2ogTt ubDucXIOU58k6Z3OlXNQ0HFB9ZKjZ5JLAKcEw7QHi67uSxMNY4CYhmlufuz/vFT3jax+ tRWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713905417; x=1714510217; 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=7YDoEtxb3WAccXiFYU++BdYy9LiGKO7VakM6fMKLsd0=; b=WZFaaHLojah3b16hIdtW+Nk10iP0DVi7JTpJT6EIi0V2ZberlBWjqEbi3Hkda/tQLB 0aV4xkKc1YVt085WeO0N6S0kh2qewleEri3j26DXWHURzLJmLp+q2plv5wtunTvHj2YC 1LicakECx1f65vqmIcVu/6f4vtcjHpTiZQaLMem622uFe/RIa7xajh22U7GqQtyIukM3 zCJJNnD6tuPTmSPyhikHQYdYEoZj/LCk6L8YVpsajGripDfZ31Fmsg81XGAE1j5stSqZ RZEh8KAYLURVmPGZQnCzolt2G/76L7SoWa9P2y729WAlhC40gU30az0S339joTwHEfEH 7q4Q== X-Forwarded-Encrypted: i=1; AJvYcCXzbHHiP3neGxyZTEjAbaDnqMwENIK8iCBwGCet1J61JMD0AXvLEwbj3drPqfTz/68DjRIh4PTa2+hlfHWmVdGrGTbvekUU2pnrUbPm X-Gm-Message-State: AOJu0YwHxDoJyC9uoVfCMHq55OKoFDKTnIXYxnhoyTDTZVJlYL3rAp3e ZreUl9k2c4vKTyCnmNtEIzpTuaTxpBddZT+7mPxFGBZJTmdeyioNCWv0CM6bEVM= X-Received: by 2002:a05:600c:310a:b0:418:5e80:a6fa with SMTP id g10-20020a05600c310a00b004185e80a6famr337401wmo.14.1713905417453; Tue, 23 Apr 2024 13:50:17 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:4269:2542:5a09:9ca1]) by smtp.gmail.com with ESMTPSA id bg5-20020a05600c3c8500b00419f419236fsm13065443wmb.41.2024.04.23.13.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 13:50:17 -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, James.Bottomley@HansenPartnership.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 v2 03/14] dt-bindings: ufs: exynos-ufs: Add gs101 compatible Date: Tue, 23 Apr 2024 21:49:55 +0100 Message-ID: <20240423205006.1785138-4-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240423205006.1785138-1-peter.griffin@linaro.org> References: <20240423205006.1785138-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 | 38 +++++++++++++++++-- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml index b2b509b3944d..1179527d29d1 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,24 @@ properties: - const: ufsp clocks: + minItems: 2 items: - description: ufs link core clock - description: unipro main clock + - description: fmp clock + - description: ufs aclk clock + - description: ufs pclk clock + - description: sysreg clock clock-names: + minItems: 2 items: - const: core_clk - const: sclk_unipro_main + - const: fmp + - const: ufs_aclk + - const: ufs_pclk + - const: sysreg phys: maxItems: 1 @@ -72,6 +80,30 @@ required: - clocks - clock-names +allOf: + - $ref: ufs-common.yaml + - if: + properties: + compatible: + contains: + const: google,gs101-ufs + + then: + properties: + clocks: + minItems: 6 + + clock-names: + minItems: 6 + + else: + properties: + clocks: + maxItems: 2 + + clock-names: + maxItems: 2 + unevaluatedProperties: false examples: -- 2.44.0.769.g3c40516874-goog