Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1319002lqp; Mon, 15 Apr 2024 02:47:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUDAUVKNUK9F2JxjRg6OVavvH9myD1yYapOTMlf0gaburgztwCElwDbkRoTGUMupgooOLLPcd9B+BBd5uGSwWA5l/VZRwnN8KE9edoVhg== X-Google-Smtp-Source: AGHT+IEOoCXovW5VL594OTK+oGbXJy7P1lbrjMdVtf51T09ZvzAaH6SS1uP6gaIItQegKJEsr3jL X-Received: by 2002:a05:6214:20e9:b0:69a:9e59:a988 with SMTP id 9-20020a05621420e900b0069a9e59a988mr12427453qvk.31.1713174449463; Mon, 15 Apr 2024 02:47:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713174449; cv=pass; d=google.com; s=arc-20160816; b=dmmjZGfxprF1ESgfhZCiOxLLm3FkuL0vhYWZnvgjtqijrF5+2phjf4QqUAwV914h8r xloTZ7MgInMxlSULTeuSx7qPGtet7yhy270kDzHx+vnekZYREzzrRx8xZZl9dbbeqW4B 08peB/KVFBiToL/AbagipssLCZu2ZYS4M78JrkVsN4jmhQCZzv2DBcckWYwgU3OimOt3 oMfLtIaeJzo7Tc65ETaTJzDuTcEQejqanI/5ndn/ewVZ0p6NRXeaGi3QfBCy5fEHTza7 and/Cw/WlxPfBkdBasv1CuZmn7tLRPVnnA/eNdYzPp+b1AmZx+DB12185o/SUh67lrNm nXXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=hcYon+bsi2rv75RZmXupzw7A7IxgZpAqc9+iMJGdTsY=; fh=5SlMkkThggLOu9L0PHOon82UcXNiq++V4xkgMLSg1bE=; b=TSPqwRWccIgmMoOwbxIbBM2iH4/twu17ahu7UrYDv5egdUTpay4mkQbfrjD21Jlowv LRDNpZ7/7sr93fWq54oLPxHZX/rWkAlpxllg1usS4Tqnly+i1csKzXcQ7oEM6pRJLTYC gSLgZJBOqZNlu9l477Ti0LYYqG7fx6z7h3VQic4FdYeGnIzIVGLjxwPHjRxwFNRWhPHn 9cycvabT6lYXW65Ry2F6lz2yKeHuGjrN1qviuvLO2Q6BLtTE0eHRa0AyMSgDHD8htmeU MxMxC0akLPuDlcRSza70yTQgpao/Hub5Z39sTGjXnNK3JlwmzSDi4mbvHacm9/+uP6Aw s9DQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Syr37wLU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144853-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r19-20020a056214125300b0069b7433b7a2si2982487qvv.511.2024.04.15.02.47.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 02:47:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Syr37wLU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144853-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 337861C21AFB for ; Mon, 15 Apr 2024 09:47:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7332844C61; Mon, 15 Apr 2024 09:47:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Syr37wLU" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 908053FBB0; Mon, 15 Apr 2024 09:47:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713174440; cv=none; b=I+G0v2ztJzt7nEThaqNsFJIs9biOLfwpO9znTmjVZ59vW4LobVXDRk8yfes7RwRoCTDLEZMh90S6d5tZ3ZD0pcwhbyQBcxPwlbjMnCm2mYVhmV5+QXM/ozEMCGaxWEJT4JagqUXGXhtgZ8MC1qOGfuIkq8ihd22gLLOXXMvG8QQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713174440; c=relaxed/simple; bh=1/IM4SD6RQjMA7f0keRrx2D+uJepsW1+KqOkX5Hx4qM=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=LvnrBd5dFTpOK1rQOt9/qodLa6B/XvpztMzT1Mv38rwKUSWplGw0bF3nFZr8/EsZrLvrD8X7nXst/vbzL+FV/OFv9ldXcn3qdXzGLTFRESnWBWZGSHKuQG1QXtC0UWJBQKNOgnuSKkGOpiUMO66lstx7AwuVnbV16pJNB8hp2PE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Syr37wLU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8B9EC113CC; Mon, 15 Apr 2024 09:47:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713174440; bh=1/IM4SD6RQjMA7f0keRrx2D+uJepsW1+KqOkX5Hx4qM=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=Syr37wLU2whncM8An2JhKAUTx3aGf/KU3btiPMYO3UcFq6l1XJm+Uk39ezKCvLhwh xKn9BN/BrJ5+o9DbpMnOm0xsKz9F6mRJEqf3hL6kkYp2fFfKVblDQCbyNcxD9RjebT +PORt+an85D9ovE0k0axBBF4M/B+u1e8B7bnMCcDhwfmhVjFBQsXWNbMbmW8LPaUIl dQYAzphX91g2OHw/LSvgWsXdCM5e6lmW1LzOATB9iFd/AcYnpgfNzn3XG+kIYUNk6V audGB83kKKy+MNtFvIHmVx+EohA2o/P4CepycjnxDJku6RKmo2937w8HAWP3O7FOmH pK1wF1lUnt+Fw== Date: Mon, 15 Apr 2024 04:47:18 -0500 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Rob Herring To: AngeloGioacchino Del Regno Cc: broonie@kernel.org, alim.akhtar@samsung.com, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, peter.wang@mediatek.com, conor+dt@kernel.org, avri.altman@wdc.com, matthias.bgg@gmail.com, stanley.chu@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-scsi@vger.kernel.org, bvanassche@acm.org, martin.petersen@oracle.com, lgirdwood@gmail.com, chu.stanley@gmail.com, devicetree@vger.kernel.org, jejb@linux.ibm.com, krzysztof.kozlowski+dt@linaro.org In-Reply-To: <20240415075406.47543-6-angelogioacchino.delregno@collabora.com> References: <20240415075406.47543-1-angelogioacchino.delregno@collabora.com> <20240415075406.47543-6-angelogioacchino.delregno@collabora.com> Message-Id: <171317443702.1944933.10779110163028215758.robh@kernel.org> Subject: Re: [PATCH v3 5/8] dt-bindings: ufs: mediatek,ufs: Document MT8192 compatible with MT8183 On Mon, 15 Apr 2024 09:54:03 +0200, AngeloGioacchino Del Regno wrote: > 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. > > Signed-off-by: AngeloGioacchino Del Regno > --- > Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/mediatek,ufs.example.dtb: ufs@ff3c0000: compatible:0: 'mediatek,mt8183-ufshci' is not one of ['mediatek,mt8192-ufshci'] from schema $id: http://devicetree.org/schemas/ufs/mediatek,ufs.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/mediatek,ufs.example.dtb: ufs@ff3c0000: compatible: ['mediatek,mt8183-ufshci'] is too short from schema $id: http://devicetree.org/schemas/ufs/mediatek,ufs.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/ufs/mediatek,ufs.example.dtb: ufs@ff3c0000: Unevaluated properties are not allowed ('compatible' was unexpected) from schema $id: http://devicetree.org/schemas/ufs/mediatek,ufs.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240415075406.47543-6-angelogioacchino.delregno@collabora.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.