From patchwork Thu Sep 3 19:53:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1356831 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=default header.b=IBcSYB63; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BjBMM6Zg5z9sTC for ; Fri, 4 Sep 2020 05:53:51 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729226AbgICTxp (ORCPT ); Thu, 3 Sep 2020 15:53:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:49974 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729206AbgICTxn (ORCPT ); Thu, 3 Sep 2020 15:53:43 -0400 Received: from localhost.localdomain (unknown [194.230.155.106]) (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 112C020716; Thu, 3 Sep 2020 19:53:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599162822; bh=Fa3b1lnE22DhvntC+PGrdNGj85OZk2EbC6j9zvy+N3k=; h=From:To:Cc:Subject:Date:From; b=IBcSYB63LIhhSzrXhUJrbm2jBDhdmvZ57hAXN7Gq6dP4dW5o+ZfDjkdwxyQYq1gDh Wg6/aed9elRT57fdkmb/XfYWBL2Qx+G8TlIW7SBz59D6aPY3i1YgcJv+YlNfRYcjGZ J+5rSshxutyz7vhKTD3O4kU5ajjJIgSlPUR/8tLc= From: Krzysztof Kozlowski To: Jassi Brar , Rob Herring , Dong Aisheng , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching Date: Thu, 3 Sep 2020 21:53:23 +0200 Message-Id: <20200903195325.5394-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Mailbox on i.MX 8QXP (fsl,imx8qxp-mu) can also be compatible with fsl,imx8-mu-scu (for fast IPC) so adjust the compatibles to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: mailbox@5d1f0000: compatible: ['fsl,imx8-mu-scu', 'fsl,imx8qxp-mu', 'fsl,imx6sx-mu'] is not valid under any of the given schemas (Possible causes of the failure): arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: mailbox@5d1f0000: compatible: ['fsl,imx8-mu-scu', 'fsl,imx8qxp-mu', 'fsl,imx6sx-mu'] is too long Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. None --- Documentation/devicetree/bindings/mailbox/fsl,mu.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml index 8a3470b64d06..7ed096360be2 100644 --- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml +++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml @@ -38,8 +38,9 @@ properties: - const: fsl,imx6sx-mu - description: To communicate with i.MX8 SCU with fast IPC items: - - const: fsl,imx8qxp-mu - const: fsl,imx8-mu-scu + - const: fsl,imx8qxp-mu + - const: fsl,imx6sx-mu reg: maxItems: 1 From patchwork Thu Sep 3 19:53:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1356832 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=default header.b=u1UE/HMp; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BjBMR55fzz9sTR for ; Fri, 4 Sep 2020 05:53:55 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729270AbgICTxu (ORCPT ); Thu, 3 Sep 2020 15:53:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:50014 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729268AbgICTxt (ORCPT ); Thu, 3 Sep 2020 15:53:49 -0400 Received: from localhost.localdomain (unknown [194.230.155.106]) (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 85F7320767; Thu, 3 Sep 2020 19:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599162829; bh=nuVMH8zIxlrtluvxIgUKC509r2KZ2U51ZuPtejx+MFo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u1UE/HMp3TRb8v5wXDV/HGeJWyI49Yunf/3F7JKoGaXjw1Xpu0IoDzrEo9o8EYd6U XhWXy0oIscA/k6ftDF5tCSLVgGx1jxg0PISPyBn39Zo6ijz1lloJqr+luuB6KAdbwN x7u8qxyTVaBqWjzGnGiHt6+XbQohdlhlz3Nlg9mM= From: Krzysztof Kozlowski To: Jassi Brar , Rob Herring , Dong Aisheng , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 2/3] dt-bindings: mailbox: fsl,mu: Add missing power-domains Date: Thu, 3 Sep 2020 21:53:24 +0200 Message-Id: <20200903195325.5394-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200903195325.5394-1-krzk@kernel.org> References: <20200903195325.5394-1-krzk@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add quite common property - power-domains - to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: mailbox@5d280000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Add missing properties instead of unevaluatedProperties --- Documentation/devicetree/bindings/mailbox/fsl,mu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml index 7ed096360be2..e372dcce8037 100644 --- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml +++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml @@ -72,6 +72,8 @@ properties: description: boolean, if present, means it is for side B MU. type: boolean + power-domains: true + required: - compatible - reg