Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp275265lqp; Wed, 12 Jun 2024 00:45:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXLS1eYT0a15az4iqYSUKB1/+DYdMqJhw0B8v2R0xEA0ln74gPzqK4C52OXTjkdWmTPe8xS3hllRyb+8pG8DrnaVONh8EbkCB6f4/RRPQ== X-Google-Smtp-Source: AGHT+IEWh7IiMV7JYZz1D2egdkOb2uPNuS1aqgRkJ+oGJTrR4ATAY/ekmMYhsGoaashyC2YJ5Qa+ X-Received: by 2002:a50:c058:0:b0:57c:9da5:fc09 with SMTP id 4fb4d7f45d1cf-57ca976b402mr623096a12.23.1718178309589; Wed, 12 Jun 2024 00:45:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718178309; cv=pass; d=google.com; s=arc-20160816; b=qzytzDO+PYSej0sD32xc+Ddhw0xAesko+65gkUXMqQm4x+JRAMwTmCF0BQrq5j88Sa MuB/BFYTOiriN9gqFQZodm2Gi8TTBLPcKJiJbyulr3A4BGtNJYZDUr0Gc82HX2Hpkd4D 5djvUqrH8aIsFImK2FBnT0bZ8qrN52x7NQrToXwiE+1LIIfY6cIOyJ1eKRq9xkqNQrxb 3PNGwTaqBRiA3N9BqkfVnXCrS84niDfsMuLPfUwOkiCzR/kAWpg4E3I8wKwEcfbpqx0m GJliPnrpADvF0Q3jG5l9peu5wtkWOjLlkSDcJkXj/cdobuZ0DUUSsLAJmatE/TrRrx+B lK2w== 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=KbIo9HssMu+yUe/xltp9FPZYMI6FrG4gHjrXTq4Rqzc=; fh=aQNuXOaSQnikhRNbKn7Cf5/2xRkDCu0nMv5oOtoEnsk=; b=lBOnbs+4kRIRFYpTDiTfItLm1sPa1t9Gv4uEzbE2j0By2kQX070L5wbqFU4xc+fAqW ImYT4HhSOxTDB+Ga9bmnJYn/VKzbtVq9Q6S3QwfziuJwmWOBUrD+klNgnUkbF2JihVpr EXL/GaKzo7ca2unhPuguNjm6UCn2sI+r899yp/TGhrard7hT9sQt18hcLq9hh2DJntw3 MnkMmyUZro9xtHg7wypFWIoh86m6gURt/UnK9NagTFIdieZr9E7ISSTp6AkAbXtyJoyc ffxzbZRV1fqoMYlsQfbqoQEXs13UlWpt3ZQrKCtHAr+JYvLbcqQrP1u7bfa66lTSIV73 cW6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=I3OdBZ2w; 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-211090-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211090-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c8dc3e5a6si2373159a12.358.2024.06.12.00.45.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 00:45:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211090-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=I3OdBZ2w; 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-211090-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211090-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 49CB11F25296 for ; Wed, 12 Jun 2024 07:45:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D760716C856; Wed, 12 Jun 2024 07:43:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="I3OdBZ2w" 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 8689C16D33D; Wed, 12 Jun 2024 07:43:30 +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=1718178212; cv=none; b=HaXCYy4XsuPaVMphhziqtz1c8wlIDfdBCVSl9iPLx3WPJnqH1o9Qs1cn+5nTM0qt2yX1AVlaMx/idfszri5H2R88c9hmy5Q06vguhaMJfN8Lbr2avc1iChgOwZ2g8AcEc3lGYZrh/LO8103L5vqN/f2u7RVHzODMix+CoEVZKB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718178212; c=relaxed/simple; bh=K3rrJEbp/p/hbKG0ZLHrE2fpo1wxhHU8XVuRFaDmjOY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gX+ED+IT3x+cpfvqU7Hkhotx2JCXTFebJ40VZ3VnQj2H28t0C2Bo7lfl6pYhxiVe2CT1n4ScRuiljuAfOXdbF3QdncxP4W0ASOWLsKAL+5H/rVACilZx4ZJusA8O7spvONm2U/ChVx1VIru4Yup3uC5GJiANz3Kg1rGr8yaMmiQ= 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=I3OdBZ2w; 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=1718178208; bh=K3rrJEbp/p/hbKG0ZLHrE2fpo1wxhHU8XVuRFaDmjOY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I3OdBZ2w/fBbDobKQTv1ae1lqa+mQz8L/SUhkySAJAy8RsWFdCKI8pDAAsDfsRaws rXgNa69ya52w59XML8sVH5uCNkN3Fa+aCa4JxiCZD0quikLsXqfsb8wTGseHgltn63 2biAdVUJxNfAVSAEOYDFi9afgOwJeGsHAYFnsyR0tgyQK4Vnc2MvCw3ddeROsyrLdz sRU5anUYuzeNzLmMpvjnK3QY9u9dB0h90uHjMuQ3NqwII+oQz3n2/J5o2uwB57Ibgx O7+lH+icpWBTMwa5zg+K8ZKacs/kxF0ER3kOL48FazOTtHivXhgJYETjkY6LXeb/FN N3Y/Agoe/sI8A== 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 B2D3B378219E; Wed, 12 Jun 2024 07:43:27 +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, wenst@chromium.org, michael@walle.cc, Conor Dooley Subject: [PATCH v5 5/8] dt-bindings: ufs: mediatek,ufs: Document MT8192 compatible with MT8183 Date: Wed, 12 Jun 2024 09:43:06 +0200 Message-ID: <20240612074309.50278-6-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240612074309.50278-1-angelogioacchino.delregno@collabora.com> References: <20240612074309.50278-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. Acked-by: Conor Dooley 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.45.2