Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3144105pxa; Tue, 25 Aug 2020 12:39:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhd38+zp7VEtIx5FQwSUuc2n3atDD3HJiyhI87wwOwZCeAPA6jCfzIazMJKATCAfGL+S3R X-Received: by 2002:a05:6402:a51:: with SMTP id bt17mr11643768edb.382.1598384341794; Tue, 25 Aug 2020 12:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384341; cv=none; d=google.com; s=arc-20160816; b=y9IaRWzaitdgqZdthybPrnDUGwkIuE9q2dmpQ11LmPsUWalh7jxt12mbjvAY4b4Cn8 Dro5zD/mwQCUoBNl1hbwjp2Lw2UUohOh9Pwx/QuiBMgVppec523PXbfl32XqHLuVA8XG yE0MA9m9a4k3G1kHnbpGftWkHybD9ZBwchXNAixxIsVeIiiry6HN82xDB/4uq0EdkumK jcIJJ6N1pAZSHFZg1f5nH6pReGUwvFD/+VVIFcbAc5ZXCnH3cHX5CYWp3Eagxz1u+jdf zstk8yWpxbIFgg7qGTPemM+jrLBCvKW2KKTj2yLrQcA0hna8Pse+nsgIvV0tKHq3bGUP i8sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=KY9a9e/uLUry/z6Kx+98DvMh0hIbYg0uk4cjlMn5+5Y=; b=WP2NzS8NYHiGAuZ0yDIf1OuPJJoMNsVuPZnflYLy0WmwvWnLT4gA9VtwxFK04Oe+AW qrJYOy1uZ5lidhJNkUKfjn4yArcIdF16vO4APRPtJsDvTP8kOntTA9GwiYdQmkJ2apsX 7WNZPC+No+o40ffSSFEnLFDh9J4VGCDKQ/py3/8mVu9uNXcSkoRvfWkdPKzVAPODfQA5 KSQSciS2jksjY76EPMqwnz2MO+4TRMlNO9PVwdVXGLFzvRuaV+M6td1I43GQ51xpbeqr lW87dOcAsqjsr+iC9WVaXtOLln0rVOEQja5ZItMC4ONXugd5bnqz57eV69EfzJz1RGOl hKEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sI9b4hVt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di18si9104835edb.384.2020.08.25.12.38.37; Tue, 25 Aug 2020 12:39:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sI9b4hVt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727064AbgHYThj (ORCPT + 99 others); Tue, 25 Aug 2020 15:37:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:42814 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726894AbgHYThh (ORCPT ); Tue, 25 Aug 2020 15:37:37 -0400 Received: from localhost.localdomain (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 288E02075F; Tue, 25 Aug 2020 19:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384255; bh=0k6vgSKAVff6Efz20oLlcyZ3f09Mw5A8acbLpSprSBQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sI9b4hVtoAhaou26vaGEAaTLpgYpyC285o2iSdgx62fHrM1NGci2u+v+AU+Oq0Ppn WfumFHMaBUEXRgYg0wwrMjBGbI1KxmtiEKVcdVkfwWFR/Nk7erVO9HTBErIK5EcUhz z5rvEttr3E7Jpoy7zep+7OiEuKqke5uCh41/GoQU= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Ulf Hansson , Miquel Raynal , Mark Rutland , Thierry Reding , Anson Huang , Li Yang , Han Xu , Frank Li , Fugang Duan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v3 11/19] dt-bindings: thermal: imx8mm-thermal: Add i.MX 8M Nano compatible Date: Tue, 25 Aug 2020 21:35:28 +0200 Message-Id: <20200825193536.7332-12-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200825193536.7332-1-krzk@kernel.org> References: <20200825193536.7332-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: tmu@30260000: compatible:0: 'fsl,imx8mn-tmu' is not one of ['fsl,imx8mm-tmu', 'fsl,imx8mp-tmu'] From schema: Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: tmu@30260000: compatible: ['fsl,imx8mn-tmu', 'fsl,imx8mm-tmu'] is too long arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: tmu@30260000: compatible: Additional items are not allowed ('fsl,imx8mm-tmu' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/thermal/imx8mm-thermal.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml index 38852877b8e3..89c54e08ee61 100644 --- a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml @@ -18,9 +18,13 @@ description: | properties: compatible: - enum: - - fsl,imx8mm-tmu - - fsl,imx8mp-tmu + oneOf: + - enum: + - fsl,imx8mm-tmu + - fsl,imx8mp-tmu + - items: + - const: fsl,imx8mn-tmu + - const: fsl,imx8mm-tmu reg: maxItems: 1 -- 2.17.1