Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1354932lqp; Mon, 15 Apr 2024 04:13:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWoXxbHzJOQYK5loIUoegmRrAVR2Qasj2YmLgPSnBDv5yIBP/SYYEWdnqv5QRG11jFC8++IV5zrjFv7ZTrzSptKqZS3N9t7P1BCBDH5uQ== X-Google-Smtp-Source: AGHT+IG1gUNSpQ4d+N+yqIndEDUFyNR7MdMluqVbWSPlUnpTsJtH3ptiNPTqgxaEcWwP0QhjOMWU X-Received: by 2002:a17:906:b0a:b0:a52:5125:9723 with SMTP id u10-20020a1709060b0a00b00a5251259723mr3328195ejg.71.1713179634059; Mon, 15 Apr 2024 04:13:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713179634; cv=pass; d=google.com; s=arc-20160816; b=xtCrQxznI7qdsl7Z3er5nxmp9nx/yL1oZuRTb8t0EIdAt/MPCeCZsuuBsTUIevPS8T i3mRdEhM4S48J30aAfzYNmSQs5eIBeMXmcbkv4vEd72B8cEC0hAEv/9UOKOWwaELqbWh K0QLv1fyDXElZz7bZqdt2GJig5cmOPBLsOiTNFvrlzQRLb/aJTkovG2VwVby8gPDOym0 gZQfa9MsLAKD99h0I5t/Hza8z1cVHyy2J/DT4j/M5bjAN+m4acaoXSKWK9a9oLaYc+7t jZqddYFt6op65mHNoi6kLdliCJ2TRjXsMbHQnVzReSxJUMzsBgQilW4BjRYR/DTXwJgU kvAg== 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=fZOsdpSiNWdISGm8aiIGvxJHNzOS3KexaarpBoM9O7o=; fh=YwOpT9hosAFiTtwNp4abu3M4Hd3ttT8qEFVmhIFf1lQ=; b=U+wfc8F5raRLwcmgvx03TCiSJwckwDIFqW6tSzhqtn0MYg4L1NrSHICYyWPAvyvUUP hjd0wMnMMh4qwEvqhUMItpME6X9yabRpfxaieDLyJw8hMfbex0XGFCn2qIsBIhRNpqKe nxe1Czt9vl6swd3jRD+I3638a1pjMuNaqvos7Fg3eAcEEkrmr4kJb702m7xdKv7LoW4n 8qrJcUzcyvqYbIRYUpjith5WhkffA4yMtW/EQv5bUgUUFWvt4P9++KltepLS8ws1V/rf oCGfYYwevb2hSsieKxOZHeJI1xtDskQxO+RRrEs2W6edBuf2+3YWqftpIj5HCNDSmS7f ZeyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ceFPL0tS; 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-144958-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144958-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 i11-20020a1709061ccb00b00a46a13e555csi4476056ejh.838.2024.04.15.04.13.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 04:13:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144958-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=ceFPL0tS; 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-144958-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144958-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 CD7411F231E9 for ; Mon, 15 Apr 2024 11:01:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4D456BB46; Mon, 15 Apr 2024 11:00:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="ceFPL0tS" 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 B215A6775E; Mon, 15 Apr 2024 11:00:24 +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=1713178826; cv=none; b=Lqxt2qFuwY4esFMjpSvR/uUDMiVERyYnM1YajBqJcBUpxageeGWob2RdwTdyM0+8cYbrYmCp3fi4BIzfLUOkcYXjaz1l+gvH0CBmWhe6LdiX9BUFzovSTrbJ7bgVQuae6oLj8WiMV0uBEI4czaJ7hii7WyFyX8SzDfz/MGoAoGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713178826; c=relaxed/simple; bh=rbitL/G4lMP6ZRIY1343sC0cOyk85gecRetdOVOsnao=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TjXRzf3bEvgyCJMrokWHHmCmE0s0LVqCMFd+qtDaz4J6aBvqFPCHUMbA1XpInHphRcqT0swYs0yVUybnyPU8TOV9SlvylJxJx5qEL/Qr4RXkhbQbuwNMNtjBhPXJYHep60l/EWLG/GeZwEcmTHlcNuwNKN8e+YbpfBXXyPNVN+8= 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=ceFPL0tS; 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=1713178823; bh=rbitL/G4lMP6ZRIY1343sC0cOyk85gecRetdOVOsnao=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ceFPL0tS31X7+m3GQVuGOIF3tKxiBvCaN+PMZK1/3Ips81SCnj0P3aQ9PGoKUGNg4 1peSJk3/hFH0XM+/7Lcsx/lEdFyf4kyL1BIXUf+Mn4ncwJ/33yX1BiQadYHlJBPnX7 wndrbkjLQWp0GgC98RXfh9OHM8U/j2BKjbX/2ivkKtP/VH/xcEoiY5z/qTjHzRWBsA VbegNVl1rtzZYTekEuRiEfgK5poxf7qfPpxz4hEGCP7IK125AEl/iuks7p9NhPVy8C 6lEDFk9q4xipHe5R3D+Of5dqdI79vp3kYrJ6onfUa5z1xDMxQ72m4bxHw6bhmxtvvp ObJuIEZVrAWnw== 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 E6D5E3782123; Mon, 15 Apr 2024 11:00:21 +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 5/8] dt-bindings: ufs: mediatek,ufs: Document MT8192 compatible with MT8183 Date: Mon, 15 Apr 2024 13:00:09 +0200 Message-ID: <20240415110012.148871-6-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 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. Moreover, since no MT8192 devicetree ever declared any UFSHCI node, disallow specifying only the MT8192 compatible. In preparation for adding MT8195 to the mix, the MT8192 compatible was added as enum instead of const. Also, while at it, replace Stanley Chu with me in the maintainers field, as he is unreachable and his email isn't active anymore. Signed-off-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/ufs/mediatek,ufs.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml index 32fd535a514a..f14887ea6fdc 100644 --- a/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml @@ -7,16 +7,19 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Mediatek Universal Flash Storage (UFS) Controller maintainers: - - Stanley Chu + - AngeloGioacchino Del Regno allOf: - $ref: ufs-common.yaml properties: compatible: - enum: - - mediatek,mt8183-ufshci - - mediatek,mt8192-ufshci + oneOf: + - const: mediatek,mt8183-ufshci + - items: + - enum: + - mediatek,mt8192-ufshci + - const: mediatek,mt8183-ufshci clocks: maxItems: 1 -- 2.44.0