Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3143838pxa; Tue, 25 Aug 2020 12:38:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU6BLsDh80FdvEl7xlNFRlsHfPPz+EtGLNxcfTFZe4648uTL7fxHowoayPO+g+xMU+rnDQ X-Received: by 2002:a50:9dc2:: with SMTP id l2mr11663387edk.290.1598384311168; Tue, 25 Aug 2020 12:38:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384311; cv=none; d=google.com; s=arc-20160816; b=iYHhM5Ei6Ngg/MNCEZYOzHE3BdLJfhBvM09aiYuOBkY06OMUBKM0DWrxhwASW16GVP yTudz0SNyTO17qjh9tqQuNlk+er4BlOMJKf3HEOCx6coqFNRP1pJ6EeARwNzmSkdwL3d as9IEFuCbw8iqdnNeh+ES5aAUTjasChO+vga0OUbsBpoTar7nHfUjAPybmw+PO1li0JF 404uR5imlop9lxVYvLsse6qusdigZlHCj8m4mGezevc59t4wXjtQ493Urot7YZQSbuC+ DK+5fw1fyMv4jy6PRRMPfcVPSHOC8SkhT7WhHPOKTIwqwhbkVMMZ5pHjeKIdlkdt9LTD bc6g== 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=WMgcaj0fN2+tedZyS1o6oPSAMMzj/Uqm8moHih5QkJY=; b=VEF2XotkuPIMx63Vt07sREOR0xtgFjZ84y8n2E+oecpIGL/i0nBqRUP1NP4xAqLrVs wX27dTeAWf7CEUzdAjOiseu0OujkbvdjTR4I466G3SSKLj7gaURhZ7D1n3vtinoigfn0 LWrMnv+dxAvCSH/BxmcrPMuPPe/3OGwV5MZYYqS5QtnkdJvZi9VjQmZboGxqW80B7u4l UNcL1FEzqC0hywCf8AHydpFn0CzTQczbsJSriiVa8mufct4Dzr3z521rrH8AT5E8MoT3 hIRHOuDxYZ3ZDWLwWk/vYtTpqjZWEeL+Q9l2zCcYF1vAe/sJB6HH3kyltrfJJBMzA/od NVwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IWht+HZu; 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 m17si453548eds.149.2020.08.25.12.38.07; Tue, 25 Aug 2020 12:38:31 -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=IWht+HZu; 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 S1727000AbgHYThM (ORCPT + 99 others); Tue, 25 Aug 2020 15:37:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:41854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726225AbgHYThJ (ORCPT ); Tue, 25 Aug 2020 15:37:09 -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 EC93C207DF; Tue, 25 Aug 2020 19:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384229; bh=P5m0bK3dPIECQ97EZ6KsrNbXZaYLSQp7EHk/NGk6Rw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IWht+HZu7qac14bzznfFsk0cXptWFoKbZK2TJrj4QCva07nR+l3RzBCHw3ct4j+F4 MnzZseF+L9nx2B/kmqD/iwFBH6cFGkfxbMUbMtNwskYq502XIbI1IY14aXwMeQUbYw tH43YCUSoExEUMf3a2GtCZulMTW3J499XSSCYylI= 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 08/19] dt-bindings: watchdog: fsl-imx-wdt: Add i.MX 8M compatibles Date: Tue, 25 Aug 2020 21:35:25 +0200 Message-Id: <20200825193536.7332-9-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/imx8mm-var-som-symphony.dt.yaml: watchdog@30280000: compatible:0: 'fsl,imx8mm-wdt' is not one of ['fsl,imx21-wdt'] From schema: Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dt.yaml: watchdog@30280000: compatible: ['fsl,imx8mm-wdt', 'fsl,imx21-wdt'] is too long arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dt.yaml: watchdog@30280000: compatible: Additional items are not allowed ('fsl,imx21-wdt' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/watchdog/fsl-imx-wdt.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml index d96b93b11fad..991b4e33486e 100644 --- a/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.yaml @@ -14,8 +14,15 @@ allOf: properties: compatible: - enum: - - fsl,imx21-wdt + oneOf: + - const: fsl,imx21-wdt + - items: + - enum: + - fsl,imx8mm-wdt + - fsl,imx8mn-wdt + - fsl,imx8mp-wdt + - fsl,imx8mq-wdt + - const: fsl,imx21-wdt reg: maxItems: 1 -- 2.17.1