From patchwork Sun Aug 23 16:15:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256421 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E36C9C433DF for ; Sun, 23 Aug 2020 16:16:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C1A0B20825 for ; Sun, 23 Aug 2020 16:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199384; bh=6J700F/7E7GczejTvE7NhKf03HRHUXkORzTnGCkrd1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=aMokJEtJftWqZXFLEJFEbbvGoO0BPviR9ctq3t90KpjraT9RA9jOZt0DGXVFwQxo1 6Ot9+MWPbWJL6//S+c1nIjMeOIocE044qQyiX/A01v1CrNSwTX/wVLn2WuveQplEyO PZhM804yLm2YhLG8ou7y+U81DfJbtnsL3eF2ilAs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727851AbgHWQQM (ORCPT ); Sun, 23 Aug 2020 12:16:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:44232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727836AbgHWQQL (ORCPT ); Sun, 23 Aug 2020 12:16:11 -0400 Received: from kozik-lap.proceq-device.com (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 E03EC2075B; Sun, 23 Aug 2020 16:16:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199371; bh=6J700F/7E7GczejTvE7NhKf03HRHUXkORzTnGCkrd1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PtY+ifsPFqIus6SJ3OIoI3SDwmshNJwHOTBhdCETqkc8CGBXDcJYRmPEz8BiEY0uH x8mVhJ+N8yuCtmU3Xwk0B10VGKg/HpAq+KS+Bk0ouJeyWri1Cx+LEFbpXHd+ar56YP UlS7AshzC9TAjFTagptiA9kh9qZCTx6874G6ZkFU= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 03/22] dt-bindings: gpio: fsl-imx-gpio: Add parsing of hogs Date: Sun, 23 Aug 2020 18:15:31 +0200 Message-Id: <20200823161550.3981-3-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Allow parsing GPIO controller children nodes with GPIO hogs to fix warning: arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: gpio@30240000: 'wl-reg-on' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/gpio/fsl-imx-gpio.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml index 1fac69573bb9..337b99343dce 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml @@ -54,6 +54,23 @@ properties: gpio-ranges: maxItems: 1 +patternProperties: + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": + type: object + properties: + gpio-hog: true + gpios: true + input: true + output-high: true + output-low: true + line-name: true + + required: + - gpio-hog + - gpios + + additionalProperties: false + required: - compatible - reg From patchwork Sun Aug 23 16:15:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256411 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1765EC433DF for ; Sun, 23 Aug 2020 16:20:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DDA202075B for ; Sun, 23 Aug 2020 16:20:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199607; bh=qT97af3F+6zT5YN98/ik4UyHTeDAWVRhgipmgnsunZo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=gpk8NennAnFPGrsBC9qxfMj7ZpMGWm3T+PWdDfSFSQDl61dFUrlhgVeVTUBazUgAj v7X5P9EDnageMD1PP+MNLyPMGNcKT1Vs5k+Bbel/7le1l6z/3KOFPW/nTs5jnrZPbt dyqqyWk3HzEq9va9cJGksn1QLjN10J7AdLdPmHC4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727849AbgHWQQ0 (ORCPT ); Sun, 23 Aug 2020 12:16:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:44432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727905AbgHWQQQ (ORCPT ); Sun, 23 Aug 2020 12:16:16 -0400 Received: from kozik-lap.proceq-device.com (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 96E282072D; Sun, 23 Aug 2020 16:16:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199375; bh=qT97af3F+6zT5YN98/ik4UyHTeDAWVRhgipmgnsunZo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IYTIJdnKD8ggSMwFP0uCdP7QfLgD+Q74psSfXOgJNF5q1PJXOQdH2j3H/mktYKKxk DnYLOalxi3KdGoGad4midcoNESDhAXpSuIJlQ+fPr/zEZ7AILWav3BrpWW3cBW04+m 3PvCTduJ7FmVeJHkBVTHB+S1jPBqkoz9/l8chR/o= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 04/22] dt-bindings: gpio: fsl-imx-gpio: Add power-domains Date: Sun, 23 Aug 2020 18:15:32 +0200 Message-Id: <20200823161550.3981-4-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Parse also optional power-domains property to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dt.yaml: gpio@5d080000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml index 337b99343dce..a7d17a98df6b 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml @@ -54,6 +54,9 @@ properties: gpio-ranges: maxItems: 1 + power-domains: + maxItems: 1 + patternProperties: "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": type: object From patchwork Sun Aug 23 16:15:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256420 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FF47C433DF for ; Sun, 23 Aug 2020 16:16:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2433620767 for ; Sun, 23 Aug 2020 16:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199391; bh=RtR/fGQj43GVomyVIl0wZ9Vb8kq7xJFxNic0Vj5MOdw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=m14iLmxqg2njBp/dEpz+/qEgTmhWOTRsu/cnST8L7iClXZK+9xVklQ+tAaWWt1j/E 5baH/3fulSqvah72jH3r5id4QIgbNcJHKeYsVcaoHDrsRa9UabYr9yKHyfNK6oTz0R qJ99TAUjsC0GcOCpmayyuU47tEWXeXPvq08ppWY8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727995AbgHWQQ3 (ORCPT ); Sun, 23 Aug 2020 12:16:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:44570 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727935AbgHWQQV (ORCPT ); Sun, 23 Aug 2020 12:16:21 -0400 Received: from kozik-lap.proceq-device.com (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 36D952078A; Sun, 23 Aug 2020 16:16:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199380; bh=RtR/fGQj43GVomyVIl0wZ9Vb8kq7xJFxNic0Vj5MOdw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oT6Ob2hTP7tc9nThrRsMno14PEEWzDLn2TO8MhUlZkr0R2ImqTdIeYFGFU2xUuIHl uH6JeZxPsxOWuEQfRMiAad+yJYELWV7FZRXaG+i0jHYFl2zWlYwCztvKF0Pl2VAdMk UR1XJtOkp2qSuNI2yiqai8Gjygy0W5I+T47X0aG4= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 05/22] dt-bindings: perf: fsl-imx-ddr: Add i.MX 8M compatibles Date: Sun, 23 Aug 2020 18:15:33 +0200 Message-Id: <20200823161550.3981-5-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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-evk.dt.yaml: ddr-pmu@3d800000: compatible:0: 'fsl,imx8mm-ddr-pmu' is not one of ['fsl,imx8-ddr-pmu', 'fsl,imx8m-ddr-pmu', 'fsl,imx8mp-ddr-pmu'] From schema: Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: ddr-pmu@3d800000: compatible: ['fsl,imx8mm-ddr-pmu', 'fsl,imx8m-ddr-pmu'] is too long arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: ddr-pmu@3d800000: compatible: Additional items are not allowed ('fsl,imx8m-ddr-pmu' was unexpected) Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/perf/fsl-imx-ddr.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml index 9ed8f44adabe..3900b1093de0 100644 --- a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml +++ b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml @@ -11,10 +11,17 @@ maintainers: properties: compatible: - enum: - - fsl,imx8-ddr-pmu - - fsl,imx8m-ddr-pmu - - fsl,imx8mp-ddr-pmu + oneOf: + - enum: + - fsl,imx8-ddr-pmu + - fsl,imx8m-ddr-pmu + - fsl,imx8mp-ddr-pmu + - items: + - enum: + - fsl,imx8mm-ddr-pmu + - fsl,imx8mn-ddr-pmu + - fsl,imx8mq-ddr-pmu + - const: fsl,imx8m-ddr-pmu reg: maxItems: 1 From patchwork Sun Aug 23 16:15:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256412 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0F47C433DF for ; Sun, 23 Aug 2020 16:19:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B80282072D for ; Sun, 23 Aug 2020 16:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199585; bh=NxgEI35oyykqhboGx/XN/M8uVZEQeFJp9m/hyO8Zrz8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=SHTy5yRQbtmjaZsqQEP6531GwRaoe8mlNkmbeO+N2ngHs9tE0SR/lVORel/FIxMWt gpj3Q/hUHsU0Wy9YQ5aYXeLmiovkTj1AHESgqwZTB1JjCJOkjahJnSV2HKLyz+X2TJ EVsOcpAegjIsCh3oV9UY3jLCYuTdBfHmx2m/b23M= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728051AbgHWQTo (ORCPT ); Sun, 23 Aug 2020 12:19:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:45176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728046AbgHWQQe (ORCPT ); Sun, 23 Aug 2020 12:16:34 -0400 Received: from kozik-lap.proceq-device.com (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 EADF62072D; Sun, 23 Aug 2020 16:16:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199394; bh=NxgEI35oyykqhboGx/XN/M8uVZEQeFJp9m/hyO8Zrz8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I365IYMK2f4cJo9LIAiBZOGUP6G+PLIcviQWmOBZ7sZhR+ZnbckMqzPXPq6aLI45k sk6+7J4eACIstlKyV1arsBMFSwEK9+WcHr9CLbhFEDO8rs0iOINKxsvTQcDgO+dYDn IergBE3bX9pt5S2vmBZa9BV9SMdCFAVW7wVMPxoo= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 08/22] dt-bindings: watchdog: fsl-imx-wdt: Add i.MX 8M compatibles Date: Sun, 23 Aug 2020 18:15:36 +0200 Message-Id: <20200823161550.3981-8-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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 --- .../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 From patchwork Sun Aug 23 16:15:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256413 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87685C433E3 for ; Sun, 23 Aug 2020 16:19:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 653882072D for ; Sun, 23 Aug 2020 16:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199566; bh=Dm+3LfgmxlFk7lfKGosmt5pRH6F3QaIaaVYrmFBasII=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=lUrJRZkHAE2r8tjNbcZ9xvBFU9JzmhUDnaP+1FYnEYFH5XLXlt9NjQDZlYJkQZzkg ABwJqg+bGgBe2uoN7N6YEDiauk9G0G3iNhyupcaypzn2PuxVNZSMbhbLWnz6iaoax0 Zn2/pz0sS49ggT3oQevPE5pxUo/D3VMJGGJQdmFU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728000AbgHWQQo (ORCPT ); Sun, 23 Aug 2020 12:16:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:45602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728077AbgHWQQn (ORCPT ); Sun, 23 Aug 2020 12:16:43 -0400 Received: from kozik-lap.proceq-device.com (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 1CC512072D; Sun, 23 Aug 2020 16:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199403; bh=Dm+3LfgmxlFk7lfKGosmt5pRH6F3QaIaaVYrmFBasII=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=alxYw3w0Yojxo8jsqF6OWmbny22Aq5p49ceacHXctvdMTGq8lrsNE0znpfK1f+5Oo rLtD7QUVvLsv8msNK0W4qxahHmXsJC3GvITu6EU5tGYRkfxTmX9fLCyEmYsl8mOVZz uPlUjFBDUkJBUddPpfnyPkYarqtGTtofEtSF2PjU= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 10/22] dt-bindings: reset: fsl, imx7-src: Add i.MX 8M compatibles Date: Sun, 23 Aug 2020 18:15:38 +0200 Message-Id: <20200823161550.3981-10-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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-evk.dt.yaml: reset-controller@30390000: compatible:0: 'fsl,imx8mm-src' is not one of ['fsl,imx7d-src', 'fsl,imx8mq-src', 'fsl,imx8mp-src'] From schema: Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: reset-controller@30390000: compatible:1: 'syscon' was expected arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: reset-controller@30390000: compatible: ['fsl,imx8mm-src', 'fsl,imx8mq-src', 'syscon'] is too long Signed-off-by: Krzysztof Kozlowski --- .../bindings/reset/fsl,imx7-src.yaml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml b/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml index 569cd3bd3a70..00430e2eabc8 100644 --- a/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml +++ b/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml @@ -22,12 +22,19 @@ description: | properties: compatible: - items: - - enum: - - fsl,imx7d-src - - fsl,imx8mq-src - - fsl,imx8mp-src - - const: syscon + oneOf: + - items: + - enum: + - fsl,imx7d-src + - fsl,imx8mq-src + - fsl,imx8mp-src + - const: syscon + - items: + - enum: + - fsl,imx8mm-src + - fsl,imx8mn-src + - const: fsl,imx8mq-src + - const: syscon reg: maxItems: 1 From patchwork Sun Aug 23 16:15:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256419 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEDF7C433DF for ; Sun, 23 Aug 2020 16:16:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9EA3920767 for ; Sun, 23 Aug 2020 16:16:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199419; bh=zn6SwQvRqTQI9Av55ZFXzkgJGiEIGN9PfDf4Q2x9mwU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=zer2vrH6a/worrxpRVSQiMFHYiiTOsUBCDU3vVvpMxcn9At06QSKh5r1Xvn0Q/BrC fiDuUHMGZ0xTJ0O9xvd8RzERzF+ki6YsEuD+Ers9mj7uqC7/zUfvdvj9V+1WWcjxwL yQymW7rLkn0ww78WEDn2XsL/kW2WaAImf3mjn9yQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728104AbgHWQQ4 (ORCPT ); Sun, 23 Aug 2020 12:16:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:45792 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728090AbgHWQQs (ORCPT ); Sun, 23 Aug 2020 12:16:48 -0400 Received: from kozik-lap.proceq-device.com (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 AF7222076D; Sun, 23 Aug 2020 16:16:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199407; bh=zn6SwQvRqTQI9Av55ZFXzkgJGiEIGN9PfDf4Q2x9mwU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WU2RoaJcPkOYCWG3H88Wf9mVI6pdoaJGzjaINJp+gE0Tka89iqCWOu59r4O0cu7IK RjVRixJieVJLRUEee6NA60Ent4ezbm3dToAQyOXK8VLmBjk5WvxnAsvZu2Go3V/Ul5 4gdOZCyyM5CwvjCEagYWGLTouKHjaCAuwXX6NyV4= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 11/22] dt-bindings: thermal: imx8mm-thermal: Add i.MX 8M Nano compatible Date: Sun, 23 Aug 2020 18:15:39 +0200 Message-Id: <20200823161550.3981-11-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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 --- .../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 From patchwork Sun Aug 23 16:15:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256414 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D11A3C433E1 for ; Sun, 23 Aug 2020 16:19:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B12D42087D for ; Sun, 23 Aug 2020 16:19:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199549; bh=VqDD3KFuiRD86Z7+w0i17rgKkKCPFxI1DEBp8fL8MEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=EpmXixFQIcWXR6WK/5Y+vqrUe5FUb/K724GMeaAL0NZsxWuOaaAslCa3uWZ07Pu9J v/cMD6Fm8at3X8jN3lWawjFAYhiGhvCfJuasXqMzEmJSpDAyn73AnfY90aDcRySM66 u74cIRRG0uXIvY7aGlqw/tUaDnZUYNOXV+lQarv8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726057AbgHWQTB (ORCPT ); Sun, 23 Aug 2020 12:19:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:46096 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728105AbgHWQQ5 (ORCPT ); Sun, 23 Aug 2020 12:16:57 -0400 Received: from kozik-lap.proceq-device.com (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 193DD2078A; Sun, 23 Aug 2020 16:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199417; bh=VqDD3KFuiRD86Z7+w0i17rgKkKCPFxI1DEBp8fL8MEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MCzDXQVgp12mbtB449hvqtg7DzFdqsO50NCG20CPk1CsZdLEJfHDaLpgv7hQiFozl 65k5IkpH4qZJ/JxrPVyr6VCgjsJNsUFOxZFdgzzJK9n3KQX0m6DpPrmDLR7D6+wrHK Z0iUD8IrtKeucGsZayZVT8FCgSjVCTBh+IVhWc6o= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 13/22] dt-bindings: nvmem: imx-ocotp: Update i.MX 8M compatibles Date: Sun, 23 Aug 2020 18:15:41 +0200 Message-Id: <20200823161550.3981-13-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org DTSes with new i.MX 8M SoCs use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: efuse@30350000: compatible:1: 'syscon' was expected From schema: Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: efuse@30350000: compatible: ['fsl,imx8mn-ocotp', 'fsl,imx8mm-ocotp', 'syscon'] is too long arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: efuse@30350000: compatible: Additional items are not allowed ('syscon' was unexpected) Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/nvmem/imx-ocotp.yaml | 39 ++++++++++++------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml index 1c9d7f05f173..b5b250185afd 100644 --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml @@ -19,21 +19,30 @@ allOf: properties: compatible: - items: - - enum: - - fsl,imx6q-ocotp - - fsl,imx6sl-ocotp - - fsl,imx6sx-ocotp - - fsl,imx6ul-ocotp - - fsl,imx6ull-ocotp - - fsl,imx7d-ocotp - - fsl,imx6sll-ocotp - - fsl,imx7ulp-ocotp - - fsl,imx8mq-ocotp - - fsl,imx8mm-ocotp - - fsl,imx8mn-ocotp - - fsl,imx8mp-ocotp - - const: syscon + oneOf: + - items: + - enum: + - fsl,imx6q-ocotp + - fsl,imx6sl-ocotp + - fsl,imx6sx-ocotp + - fsl,imx6ul-ocotp + - fsl,imx6ull-ocotp + - fsl,imx7d-ocotp + - fsl,imx6sll-ocotp + - fsl,imx7ulp-ocotp + - fsl,imx8mq-ocotp + - fsl,imx8mm-ocotp + - fsl,imx8mn-ocotp + - fsl,imx8mp-ocotp + - const: syscon + - items: + # The devices are not really compatible with fsl,imx8mm-ocotp, however + # the code for getting SoC revision depends on fsl,imx8mm-ocotp compatible. + - enum: + - fsl,imx8mn-ocotp + - fsl,imx8mp-ocotp + - const: fsl,imx8mm-ocotp + - const: syscon reg: maxItems: 1 From patchwork Sun Aug 23 16:15:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256415 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91DC8C433E4 for ; Sun, 23 Aug 2020 16:18:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6EEB32072D for ; Sun, 23 Aug 2020 16:18:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199539; bh=896l3mHbTpz7Udoblv0WC50trxhLboDp1OOqzgKW9jM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=mnxZHjd2w35fIlMr/u14gr5ocGo6o5wWM8ke9un2Je/LnqarRRAZn5ywfYeRUeWVf KuhBpF1AcdoLPEjKzG65D9yfCsyXEz90+Y7PDJQq5a96oGWMmiXAomrRvhl+JF1ElG 50lou+cTEYdRiSDeQoRXjgwOMQkhS1aVz5Rj+IQ4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728135AbgHWQRI (ORCPT ); Sun, 23 Aug 2020 12:17:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:46412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728121AbgHWQRH (ORCPT ); Sun, 23 Aug 2020 12:17:07 -0400 Received: from kozik-lap.proceq-device.com (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 43E132075B; Sun, 23 Aug 2020 16:17:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199426; bh=896l3mHbTpz7Udoblv0WC50trxhLboDp1OOqzgKW9jM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HuKsuY+eqO+A5PXgNMu8MX+x2WaM5UnMlzLnxerWZETbbSWDWVXnW1VhGg7pPK+xo 105L/fgGz6B9tFDyC3nwOyHLdpuuvHFDQsBhlEQJtIchsXgRZdzFUsCVLY+PJ2qu9v tYHvP3WQX/qrZCrvvo0VDiyx89qasQwsBS/h9YZw= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 15/22] dt-bindings: arm: fsl: Add ZII Ultra boards binding Date: Sun, 23 Aug 2020 18:15:43 +0200 Message-Id: <20200823161550.3981-15-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Document the binding for Zodiac Inflight Innovations Ultra Boards. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/fsl.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 93a21b10d115..f2e670e9ae54 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -379,6 +379,14 @@ properties: - technexion,pico-pi-imx8m # TechNexion PICO-PI-8M evk - const: fsl,imx8mq + - description: Zodiac Inflight Innovations Ultra Boards + items: + - enum: + - zii,imx8mq-ultra-rmb3 + - zii,imx8mq-ultra-zest + - const: zii,imx8mq-ultra + - const: fsl,imx8mq + - description: i.MX8QXP based Boards items: - enum: From patchwork Sun Aug 23 16:15:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256416 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A8EAC433E3 for ; Sun, 23 Aug 2020 16:18:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5257C2075B for ; Sun, 23 Aug 2020 16:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199535; bh=IcWdUIpZPLrTFhfMFn5K5VkjUKVluLTxZ3P2v5TWsEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=PVF1N5QdJHjoPQjPhAX9ZdHE+D/zf9yePmRJW8nolVoTRy/Wj9FwWEvf2QJ85E/h2 4uruXTERgQRm7V+mJ06yFlHrHDkIh7uBbdXY1XNIqZ9mGNYGyIhqy1x9mA1itQci1d izXM/xtLZsW/T3y26M6Q74OT3aRpd009xcHK6fQ4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727042AbgHWQRX (ORCPT ); Sun, 23 Aug 2020 12:17:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:46858 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728165AbgHWQRQ (ORCPT ); Sun, 23 Aug 2020 12:17:16 -0400 Received: from kozik-lap.proceq-device.com (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 B598F20767; Sun, 23 Aug 2020 16:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199435; bh=IcWdUIpZPLrTFhfMFn5K5VkjUKVluLTxZ3P2v5TWsEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g7c5SyZZT6Zq8zJcs7lELf9ENGqIJrTY1K8TN0SnqUBmDOtVgzwuLqzGeDHKGyVRQ lj9S8EE9fqkp5cgD2AX3lCDtvNKRKtootihwVhEMWPId8da+rT2m3wXQtkwVclHGWe +3LUdG7rGfwqnbJILBO4DM5BJs/DnK/O2os08ITE= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 17/22] arm64: dts: imx8mq-evk: Add hog suffix to wl-reg-on Date: Sun, 23 Aug 2020 18:15:45 +0200 Message-Id: <20200823161550.3981-17-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org According to device tree specification, device node names should be somewhat generic and reflecting the function of the device so add the "hog" suffix to wl-reg-on GPIO hog. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 8aa9cd8e495a..a088831d2e24 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -157,7 +157,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wifi_reset>; - wl-reg-on { + wl-reg-on-hog { gpio-hog; gpios = <29 GPIO_ACTIVE_HIGH>; output-high; From patchwork Sun Aug 23 16:15:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256418 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1ED6C433DF for ; Sun, 23 Aug 2020 16:17:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CAB692072D for ; Sun, 23 Aug 2020 16:17:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199463; bh=sQld/rHqgvWMEGDYoBvDchJJetnYPftabvD886fB5Os=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=tEORQEHNVA2nsobMcjg0a/ynK+Uev536bvGO2X7pZu2MVxkuYEVJacWpzzEgX/w8f tu1Q1TkT23VmC3awqE7YCfjx93+WVm9SlRBFcIe9vJt7SNbrRHKc1/HbL0oPB9Ks7+ 78opBtY3ZWoU2XHkedam8kOeUHGqXA5SQXJlMFTI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728005AbgHWQRm (ORCPT ); Sun, 23 Aug 2020 12:17:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:47222 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728184AbgHWQR0 (ORCPT ); Sun, 23 Aug 2020 12:17:26 -0400 Received: from kozik-lap.proceq-device.com (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 269932076D; Sun, 23 Aug 2020 16:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199446; bh=sQld/rHqgvWMEGDYoBvDchJJetnYPftabvD886fB5Os=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wY4K7oe3cC/0huZbBIyhotqb9FgN9nL+Ghie/J1XqWk+hu2foVGRXX+rYUew4b1Yj u/V+EQTvWwGmcTMA0z1atfQpJxu/IQnq4wjxMXJ8cvQEacwG1elHKuyhCsGXml9BTT IccFjTRwut+1LETjAo0m2lfT0M7yQzZVpgEo+OOQ= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 19/22] arm64: dts: imx8mm: Remove i.MX7 compatible from USDHC Date: Sun, 23 Aug 2020 18:15:47 +0200 Message-Id: <20200823161550.3981-19-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The USDHC on i.MX 8M Mini has its own compatible described in bindings and used in the driver (with its own quirks). Remove additional fsl,imx7d-usdhc compatible to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: mmc@30b40000: compatible: ['fsl,imx8mm-usdhc', 'fsl,imx7d-usdhc'] is too long From schema: Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: mmc@30b40000: compatible: Additional items are not allowed ('fsl,imx7d-usdhc' was unexpected) Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 76f040e4be5e..38bf41184489 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -784,7 +784,7 @@ }; usdhc1: mmc@30b40000 { - compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8mm-usdhc"; reg = <0x30b40000 0x10000>; interrupts = ; clocks = <&clk IMX8MM_CLK_IPG_ROOT>, @@ -798,7 +798,7 @@ }; usdhc2: mmc@30b50000 { - compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8mm-usdhc"; reg = <0x30b50000 0x10000>; interrupts = ; clocks = <&clk IMX8MM_CLK_IPG_ROOT>, @@ -812,7 +812,7 @@ }; usdhc3: mmc@30b60000 { - compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; + compatible = "fsl,imx8mm-usdhc"; reg = <0x30b60000 0x10000>; interrupts = ; clocks = <&clk IMX8MM_CLK_IPG_ROOT>, From patchwork Sun Aug 23 16:15:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 256417 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93522C433E1 for ; Sun, 23 Aug 2020 16:18:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 753252072D for ; Sun, 23 Aug 2020 16:18:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199529; bh=FgDauWijE2v2zG1uUmpQp0k3ggKYFyDzL5p9qK38cTA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ARAiaueMnWf6FCzTGbCLtopLKB5cKvTudbSjKB/r2KvCVPjbMkGWtf9JfsTCTxYMo HarrdlwSYnnBInZ4xd2JI9vqYJg5jfTaVUuAtgkavM184kT6Mn5RNtFws0jO4rcTH6 DTZMAkXlG7t3X64F79czVNwF+D+r4ch4WQYKwD1k= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbgHWQSg (ORCPT ); Sun, 23 Aug 2020 12:18:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:47380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727809AbgHWQRc (ORCPT ); Sun, 23 Aug 2020 12:17:32 -0400 Received: from kozik-lap.proceq-device.com (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 723892075B; Sun, 23 Aug 2020 16:17:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598199451; bh=FgDauWijE2v2zG1uUmpQp0k3ggKYFyDzL5p9qK38cTA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iQKrnvwOPFy36zo9ouWkzK/k66jZBtwE1DCl0+FuKAc2CgHeyOrQ5moiyAj1WqiAY uF7zNC19Jf2QR/TpzqOO7bPHGqzuKaCiNASOMBvMr2UgOvStlsr8RD5J0BczCkYabW byjfqz7daDcQ65RwP0IJAkDuLqXYySK83JNx8+8Y= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , 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: Thierry Reding , Anson Huang , Krzysztof Kozlowski Subject: [PATCH 20/22] arm64: dts: imx8qxp: Remove i.MX7 compatible from UART Date: Sun, 23 Aug 2020 18:15:48 +0200 Message-Id: <20200823161550.3981-20-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200823161550.3981-1-krzk@kernel.org> References: <20200823161550.3981-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The UART on i.MX 8QXP has its own compatible described in bindings and used in the driver (with its own quirks). Remove additional fsl,imx7ulp-lpuart compatible to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: serial@5a060000: compatible: ['fsl,imx8qxp-lpuart', 'fsl,imx7ulp-lpuart'] is too long From schema: Documentation/devicetree/bindings/serial/fsl-lpuart.yaml arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: serial@5a060000: compatible: Additional items are not allowed ('fsl,imx7ulp-lpuart' was unexpected) Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index e46faac1fe71..61bccb69f09e 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -257,7 +257,7 @@ }; adma_lpuart0: serial@5a060000 { - compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; + compatible = "fsl,imx8qxp-lpuart"; reg = <0x5a060000 0x1000>; interrupts = ; clocks = <&adma_lpcg IMX_ADMA_LPCG_UART0_IPG_CLK>, @@ -268,7 +268,7 @@ }; adma_lpuart1: serial@5a070000 { - compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; + compatible = "fsl,imx8qxp-lpuart"; reg = <0x5a070000 0x1000>; interrupts = ; clocks = <&adma_lpcg IMX_ADMA_LPCG_UART1_IPG_CLK>, @@ -279,7 +279,7 @@ }; adma_lpuart2: serial@5a080000 { - compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; + compatible = "fsl,imx8qxp-lpuart"; reg = <0x5a080000 0x1000>; interrupts = ; clocks = <&adma_lpcg IMX_ADMA_LPCG_UART2_IPG_CLK>, @@ -290,7 +290,7 @@ }; adma_lpuart3: serial@5a090000 { - compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; + compatible = "fsl,imx8qxp-lpuart"; reg = <0x5a090000 0x1000>; interrupts = ; clocks = <&adma_lpcg IMX_ADMA_LPCG_UART3_IPG_CLK>,