Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp255343lqg; Thu, 11 Apr 2024 01:33:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/EZfRV7BdyLEnuKZEgsKQ7NhBgXMfBhjhpKqEc2evItluiyc9B4Wzpvd+Nmf61v2Btya4eSP7H632YiR5hB251e6WmMIM/wWNuJqTfA== X-Google-Smtp-Source: AGHT+IHm0zAtO+rV/Pt4Yf5QMTpDF2yMe83iv0I3eDNXhTsuFJAilMbrBsXGqu08Cr6UYyUOLHAR X-Received: by 2002:a50:cd59:0:b0:56e:ddc:17ad with SMTP id d25-20020a50cd59000000b0056e0ddc17admr4287831edj.30.1712824421467; Thu, 11 Apr 2024 01:33:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712824421; cv=pass; d=google.com; s=arc-20160816; b=H170pwvrRbGpszKjEwdsQgOXdSRjSldssPYQUqyMHCtmc4AIpN1ZI4JMhPtWv/qWXV CivA90gnJINqgCtDYM8aCxTlBezGGmsfL6pbbCjAI7PD+z8u6Bq9xyJE4U4ojLKg57Vu IybNHrcKtWbdpS2HWLjsbiuhbTS/oX9n2bPeIi4L/OvgGZFDjC3tnwjuW8I+ppzRaXif K/yDKcS4jiQJwvxS9DWVghwrlUtOBgH9X8sgdynB0wpzfGFV0VrMzn7t0Eb/OjzH+gmG 7SBZjcL2lezn2rhYi9LfVZqYu9198Yy/tyZu+NVCfDX+OFgJICODu2JYpf7Ghe4smHQy tE9A== 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=EyJMTK7z7OJHZgbnsmBrgMOg7eglpjt9NodWnan3COc=; fh=b0x409n1YPtJT58BLrNPHnelp/OfaaUeU913TEkV91o=; b=TpMtJNuFlgyVwl/EQuy2OICmPSCkSLlM+l72sjjKSLHRTBoD6pINyFttnKNbOZDej6 oyGx3XXWLE9BlBv1G4ZBmWdpkOuYBQV9/+//m8UTw3nXPgwqJitGJae0/GHNuvHFNxV1 Y+N6Z3327jjoUefS+VPFxZOcLFBmunj4xq/erQUBOiUC8pzmGZmiirVzfSLgA8wh6lGX L4acyU9m9QkTea4j5If9f5oKwH7zSVYhZ+9SbtQ8+IuWb0io8FbEAhPvgZMA5tkhV6dI Jcx1ZvGEU9hWPrpKMhsA81jie6SKH9ZpC7IqUppFb4shUc9Og52R8OLecsi9vfYnjfdU lsZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Tbv3N6Uk; 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-140085-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140085-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u23-20020a50c057000000b0056e0e0be157si522118edd.223.2024.04.11.01.33.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 01:33:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140085-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=@collabora.com header.s=mail header.b=Tbv3N6Uk; 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-140085-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140085-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 32FA31F210C2 for ; Thu, 11 Apr 2024 08:33:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 251A4145B0E; Thu, 11 Apr 2024 08:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Tbv3N6Uk" 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 B44711F176; Thu, 11 Apr 2024 08:32:02 +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=1712824324; cv=none; b=Ykz4njvax8ndyLzE2qjxAoj28IXpyHYv3xV1e9LuoWVNfFD/Ico1E19YuQBtti+iLJfs4GqLtFAeVHI03nWTaPziETanZR8T5jEW5dcpYpmMq5zlF8TSeywNUMS9+rPpkFWl4ro/1uXkSQzFicyQs+dzGkEOG0t5bDGe+Wu9Tik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712824324; c=relaxed/simple; bh=qvwukQ63ru7c/su/YXR6zlEYXzSPY/kzv1TeqWamDO8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MfbSa4+KS0508FqiTdUELT18hvAjmifGJqKwFGRuYTbaZorm2N3yfzFLdEU64cA1VfmzcDF3e3bUxGj0oJ12j+rqa0ZJY/1hlnRm2BzHaM1mhTROvjRjscNnkW78C4b5yQrhB7cRBAjBnTIGzoTUnTmnaGpNjkwWj5jVOLKtx2U= 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=Tbv3N6Uk; 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=1712824321; bh=qvwukQ63ru7c/su/YXR6zlEYXzSPY/kzv1TeqWamDO8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tbv3N6UkWXQ3FwscFqj284jPwjO1i8h8kykuyl6pf1ztcSQ7NqnBmlOAXNenTtw0z KADZtve/5TXBl6DuxO8pdBqLO20VCyb1aD7O74TR025UdSMMBBJO3KvVl95OPN9x69 y65lREzpxn3l4ud07dBNZC8Mapg0vlrSk5Pwun04EYFTY995JJ3VTVm9LugVZmzttC 49DOI2amJX+/WCRBX8u+w3AfI384OABE/JBfEgpcJFqzoE13fnDqvRJ/uTdwEg5qej doNiJ/5tGFo1sqM9RRw+J9uz9RoMg7esE2KInqME7nJvNrpJqBVZ2ZHW1AInfRxH39 rPHdNEGOSRPMQ== 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 BF3A33782134; Thu, 11 Apr 2024 08:31:59 +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 5/8] dt-bindings: ufs: mediatek,ufs: Document MT8192 compatible with MT8183 Date: Thu, 11 Apr 2024 10:31:46 +0200 Message-ID: <20240411083149.78537-6-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 The MT8192 UFS controller is compatible with the MT8183 one: document this by allowing to assign both compatible strings "mediatek,mt8192-ufshci", "mediatek,mt8183-ufshci" to the UFSHCI node. In preparation for adding MT8195 to the mix, the MT8192 compatible was added as enum instead of const. Signed-off-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/ufs/mediatek,ufs.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml index 32fd535a514a..adcd13023866 100644 --- a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml @@ -14,9 +14,15 @@ allOf: properties: compatible: - enum: - - mediatek,mt8183-ufshci - - mediatek,mt8192-ufshci + oneOf: + - items: + - enum: + - mediatek,mt8183-ufshci + - mediatek,mt8192-ufshci + - items: + - enum: + - mediatek,mt8192-ufshci + - const: mediatek,mt8183-ufshci clocks: maxItems: 1 -- 2.44.0