From patchwork Thu Aug 10 14:44:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13349546 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 139E9C04A6A for ; Thu, 10 Aug 2023 14:45:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 312CF10E550; Thu, 10 Aug 2023 14:45:05 +0000 (UTC) Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3E07210E540 for ; Thu, 10 Aug 2023 14:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1691678700; x=1723214700; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=37QFXjAkSEGEV1PCCs5stKVVkNz+hXxi8dLnUmDTEXM=; b=Yh5JVYCbtCRR1hp1CxANmw/L4bi1jxwNlNd5HLhO6ADcW7f2w7oLSFVC luy51Agkz65D/QOdqOhuO1zoOnVpatP1gqFzmnvhZ69sQ4n5Im+sTQg1D NBtr2RvMxyF5G30CMNjCCCt5f3j8xleG3Xl+NtSnjQh3Ie0bcnL+vJVCq zECPUV5DEJkTtvM8YHE7dOKZQ/mpTQzSto9cST7WkIX/3Pyb7fiV4cgBI MxF2hw9YHMjDPBDksDnje/yz26hxgj14deY6y0muJ/VVKsS4+JKmVyGFl CqwZJ2MJQPpjYdi0VEALC8cb3tU3+3QL5eG+7cC1i3Ti1KjXs4gLD2UPa A==; X-IronPort-AV: E=Sophos;i="6.01,162,1684792800"; d="scan'208";a="32396719" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Aug 2023 16:44:57 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 6504828008E; Thu, 10 Aug 2023 16:44:57 +0200 (CEST) From: Alexander Stein To: Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Thomas Gleixner Subject: [PATCH 1/6] dt-bindings: trivial-devices: Remove national,lm75 Date: Thu, 10 Aug 2023 16:44:46 +0200 Message-Id: <20230810144451.1459985-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> References: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Alexander Stein , netdev@vger.kernel.org, dri-devel@lists.freedesktop.org, NXP Linux Team , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Starting with commit 3e37c9d48f7a ("dt-bindings: hwmon: Convert lm75 bindings to yaml") 'national,lm75' has it's own dedicated (YAML) binding. If kept in this file device specific properties as 'vs-supply' are considered excessive. Remove compatible here so it can be checked with more specific binding. arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dtb: sensor@48: 'vs-supply' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/trivial-devices.yaml Signed-off-by: Alexander Stein Acked-by: Conor Dooley --- Documentation/devicetree/bindings/trivial-devices.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 40bc475ee7e1..e30335d4e504 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -295,8 +295,6 @@ properties: - miramems,da311 # Temperature sensor with integrated fan control - national,lm63 - # I2C TEMP SENSOR - - national,lm75 # Serial Interface ACPI-Compatible Microprocessor System Hardware Monitor - national,lm80 # Serial Interface ACPI-Compatible Microprocessor System Hardware Monitor From patchwork Thu Aug 10 14:44:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13349544 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BBD5CC001E0 for ; Thu, 10 Aug 2023 14:45:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B1E810E540; Thu, 10 Aug 2023 14:45:03 +0000 (UTC) Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2068510E540 for ; Thu, 10 Aug 2023 14:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1691678701; x=1723214701; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/8fr/hvcmqsJO94upZmC0Hy1/wTw9sh/EMCxiuhZshE=; b=IopXsbLzlzRrJjxXRe5mOx1fV5wOEBcBcpmFhL6mzEWL+1rcPRwcjdXt JTNJfyixoUaSvysPLdydtqBWGkvQ7hp98cAvWCnNBi8UKQjpabwYp/a/V bhyQIBRYF5lGDaOsvQzjY6sXf3IkcRPOslQgVRuHFqFVZa5YVaDvOVVGR 7PCT1ztMzZZQvmEZiUR2ot9a8LF+RsqlSTEXEvge9yd1GcoJmwuTqxLAL JIy8gop/mI6uI6fKO8Z2MRdPKiisJiItbCk0vwUiZVt+5I2JRTyQFJzci lvcIUQLHpFsul3c8C6Ii1UfnHqiZoUu0JfHm86PKlsjSZyfAO1rsqZpFZ w==; X-IronPort-AV: E=Sophos;i="6.01,162,1684792800"; d="scan'208";a="32396720" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Aug 2023 16:44:58 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id C94C328008D; Thu, 10 Aug 2023 16:44:57 +0200 (CEST) From: Alexander Stein To: Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Thomas Gleixner Subject: [PATCH 2/6] dt-bindings: imx-thermal: Add #thermal-sensor-cells property Date: Thu, 10 Aug 2023 16:44:47 +0200 Message-Id: <20230810144451.1459985-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> References: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Alexander Stein , netdev@vger.kernel.org, dri-devel@lists.freedesktop.org, NXP Linux Team , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This property is defined in thermal-sensor.yaml. Reference this file and constraint '#thermal-sensor-cells' to 0 for imx-thermal. Fixes the warning: arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dtb: tempmon: '#thermal-sensor-cells' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/thermal/imx-thermal.yaml Signed-off-by: Alexander Stein --- Documentation/devicetree/bindings/thermal/imx-thermal.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml index 3aecea77869f..a746f6a6395a 100644 --- a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml @@ -60,6 +60,9 @@ properties: clocks: maxItems: 1 + "#thermal-sensor-cells": + const: 0 + required: - compatible - interrupts @@ -67,6 +70,9 @@ required: - nvmem-cells - nvmem-cell-names +allOf: + - $ref: thermal-sensor.yaml# + additionalProperties: false examples: From patchwork Thu Aug 10 14:44:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13349547 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82DACC001E0 for ; Thu, 10 Aug 2023 14:45:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5CA3E10E54F; Thu, 10 Aug 2023 14:45:05 +0000 (UTC) Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2598210E54C for ; Thu, 10 Aug 2023 14:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1691678701; x=1723214701; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Fb8UNTRB4SudTf2EN/AMFPjrk80+v5okVyVyGYK1K+E=; b=ZHcg+EROEcVQ06X/A2F/lmabRTMAjw2nsVeUX7linf6bigLmgJ2VgMiq DdZqXknG+d4UVBKuWtEGfKWo+U87PcoPIlunYIHrZnhyBXTv3YuzQ3dKU ycWUeISLu+Dhd6cWqrRbZA++t1nAP9E9ZtnjM2fBCM40YfriHP95YwfXW Vsm36wdwq4Bauspgtxxc4y4hzykz3TgW/+kHhs7QtcjFwoPW3UYsskhHS 4enOVbMRaT7q4OWrDadwKDLDFNgcIH6zaSqSQGnRcP5UDLO5RG0tzNRwC ljDxnl6WNmrPI7VaQRAex6bVeRowj9tFP+19b5/GRhs9bFadsFOIA7i0d A==; X-IronPort-AV: E=Sophos;i="6.01,162,1684792800"; d="scan'208";a="32396721" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Aug 2023 16:44:58 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 342FA28008E; Thu, 10 Aug 2023 16:44:58 +0200 (CEST) From: Alexander Stein To: Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Thomas Gleixner Subject: [PATCH 3/6] dt-bindings: display: imx: hdmi: Allow 'reg' and 'interrupts' Date: Thu, 10 Aug 2023 16:44:48 +0200 Message-Id: <20230810144451.1459985-4-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> References: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Alexander Stein , netdev@vger.kernel.org, dri-devel@lists.freedesktop.org, NXP Linux Team , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Although defined in synopsys,dw-hdmi.yaml, they need to explicitly allowed in fsl,imx6-hdmi.yaml. Fixes the warning: arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dtb: hdmi@120000: 'interrupts', 'reg' do not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml Fixes: b935c3a2e07b ("dt-bindings: display: imx: hdmi: Convert binding to YAML") Signed-off-by: Alexander Stein --- .../devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml index af7fe9c4d196..d6af28e86ab4 100644 --- a/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx6-hdmi.yaml @@ -22,6 +22,9 @@ properties: - fsl,imx6dl-hdmi - fsl,imx6q-hdmi + reg: true + interrupts: true + reg-io-width: const: 1 From patchwork Thu Aug 10 14:44:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13349545 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2D08C001E0 for ; Thu, 10 Aug 2023 14:45:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 050E010E54C; Thu, 10 Aug 2023 14:45:04 +0000 (UTC) Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id 051EE10E540 for ; Thu, 10 Aug 2023 14:45:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1691678702; x=1723214702; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ztO1jaWle0Rbs2es6udLO8dgsE/+59s8GErbNxKgez4=; b=gPQUKxGc3B4OesInnPrARIxUnd0dcUNmrL4+pZ2MKN180a85esp5OsjO yqIvJ1WwZQ31kbIe7knbfsjydPuOv/Sx+s5+ugBEVuLFYYupqXA6Qdhih LxGPb55+Hj1LRHgcf96/9xTCgCY7PvWc96nV/1fyPk+mpcDJ1XD/lDHKR LZO6ZNp71n+VQ4fHe+gS1ArxvUUzPSk4rJRsf1hK2Efmx3S7aB5c9vKWL 1ULp0rzMgFCKeuBnFX/hfaHUY6gJlyI84A3MARRqlQ8jI4/LuGElTsEPc 1u9hlxU07mvSAzYA4hSLuvRqR89j33ZJihgSc1wfFolRiu6tdsnnEWTn/ Q==; X-IronPort-AV: E=Sophos;i="6.01,162,1684792800"; d="scan'208";a="32396722" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Aug 2023 16:44:58 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 93C3528008D; Thu, 10 Aug 2023 16:44:58 +0200 (CEST) From: Alexander Stein To: Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Thomas Gleixner Subject: [PATCH 4/6] dt-bindings: net: microchip: Allow nvmem-cell usage Date: Thu, 10 Aug 2023 16:44:49 +0200 Message-Id: <20230810144451.1459985-5-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> References: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Alexander Stein , netdev@vger.kernel.org, dri-devel@lists.freedesktop.org, NXP Linux Team , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" MAC address can be provided by a nvmem-cell, thus allow referencing a source for the address. Fixes the warning: arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dtb: ethernet@1: 'nvmem-cell-names', 'nvmem-cells' do not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/net/microchip,lan95xx.yaml Signed-off-by: Alexander Stein Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/net/microchip,lan95xx.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/microchip,lan95xx.yaml b/Documentation/devicetree/bindings/net/microchip,lan95xx.yaml index 0b97e14d947f..247e7707181c 100644 --- a/Documentation/devicetree/bindings/net/microchip,lan95xx.yaml +++ b/Documentation/devicetree/bindings/net/microchip,lan95xx.yaml @@ -44,6 +44,8 @@ properties: local-mac-address: true mac-address: true + nvmem-cells: true + nvmem-cell-names: true required: - compatible From patchwork Thu Aug 10 14:44:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13349549 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 607F5C04A6A for ; Thu, 10 Aug 2023 14:45:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 046C810E553; Thu, 10 Aug 2023 14:45:17 +0000 (UTC) Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1213A10E54C for ; Thu, 10 Aug 2023 14:45:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1691678702; x=1723214702; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6EnU6mxwtuGf6jhekfVBSmSdeikIRp30Gtkant+ryK4=; b=SStAOGxkVhDoeR20u3yLfq8dWmCrYcHjGDNoU4l7vrY/5Cplw4h3vC4P XEqsLb/QZ2SiguXRGqZgT1Iq4Ys4lw9Mm8+vn6kakvD/7TIOP35eLWrOp e4M0BNhColQ89/0MrzlD4FdwfTgFF1IdsWfSzBXu5z2eS52K1B5qQNxeE 6+j4goii0KFno8Bjj8YF1074x7Pm0FDVFM7dCTvDkawv8XcSgeSof44XC j6WvrPXcgPTZNd75ekiO2D6q7Y7XwUj8uPW84C+5BQyw/FrrOHnRd3536 o+i1FqvMDaWT2ukwHwvAunnDXHBBE3T3AumPX5Du8ziNyesLk0Xs4N6g2 g==; X-IronPort-AV: E=Sophos;i="6.01,162,1684792800"; d="scan'208";a="32396724" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Aug 2023 16:44:59 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id F0E5828008E; Thu, 10 Aug 2023 16:44:58 +0200 (CEST) From: Alexander Stein To: Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Thomas Gleixner Subject: [PATCH 5/6] dt-bindings: timer: add imx7d compatible Date: Thu, 10 Aug 2023 16:44:50 +0200 Message-Id: <20230810144451.1459985-6-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> References: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Alexander Stein , netdev@vger.kernel.org, dri-devel@lists.freedesktop.org, NXP Linux Team , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Currently the dtbs_check for imx6ul generates warnings like this: ['fsl,imx7d-gpt', 'fsl,imx6sx-gpt'] is too long The driver has no special handling for fsl,imx7d-gpt, so fsl,imx6sx-gpt is used. Therefore make imx7d GPT compatible to the imx6sx one to fix the warning. Signed-off-by: Alexander Stein Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml index dbe1267af06a..c5d3be8c1d68 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml @@ -36,7 +36,9 @@ properties: - fsl,imxrt1170-gpt - const: fsl,imx6dl-gpt - items: - - const: fsl,imx6ul-gpt + - enum: + - fsl,imx6ul-gpt + - fsl,imx7d-gpt - const: fsl,imx6sx-gpt reg: From patchwork Thu Aug 10 14:44:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13349548 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93C74C04E69 for ; Thu, 10 Aug 2023 14:45:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F0A4610E551; Thu, 10 Aug 2023 14:45:05 +0000 (UTC) Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id 88C4810E550 for ; Thu, 10 Aug 2023 14:45:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1691678702; x=1723214702; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=w0UAbxXWAQNdssPmXVzrxzDw2c7hP+0NfZiyE8xtXXA=; b=N/4CGcxh7yY4TWvEH4ptnJ8vq1BvaPmA+E/73mD9WPH1+L7DYBcxMZ7+ wImfxTF5q4eHPEF59nLWSMdUFaUdY/9hKfu7Hz/zfXI+eLYfER6FbHPbX OLrFpYA8Vq114MSeu7QVSaivgY6Hv6KkMZ987QS25B5QkVymJbmZLnw4f dfzYp/izS+DNFgWjWpoFkNEYazg2O8FnIiDSJ5fu0qEYGd6oWQc0iLGeC D8UxrXyLSlC1am1JS68pdVIKF+TPCMbjSx6LdglVghAICdOHoxQV6mOkY E/OxtOoX/KzxEapYq3IZ5SXHCYPkEq9flBb1jozRoBl3DzIu26puuW1Mo Q==; X-IronPort-AV: E=Sophos;i="6.01,162,1684792800"; d="scan'208";a="32396725" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Aug 2023 16:44:59 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 6140928008D; Thu, 10 Aug 2023 16:44:59 +0200 (CEST) From: Alexander Stein To: Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Thomas Gleixner Subject: [PATCH 6/6] dt-bindings: timer: fsl, imxgpt: Add optional osc_per clock Date: Thu, 10 Aug 2023 16:44:51 +0200 Message-Id: <20230810144451.1459985-7-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> References: <20230810144451.1459985-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Alexander Stein , netdev@vger.kernel.org, dri-devel@lists.freedesktop.org, NXP Linux Team , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Since commit bad3db104f89 ("ARM: imx: source gpt per clk from OSC for system timer") osc_per can be used for clocking the GPT which is not scaled when entering low bus mode. This clock source is available only on i.MX6Q (incl. i.MX6QP) and i.MX6DL. Signed-off-by: Alexander Stein --- Notes: osc_per is only used in arch/arm/boot/dts/nxp/imx/imx6qdl.dtsi, so I assume this is the only platform supporting this source. I had to use minItem:2 and maxItems:3 in the constraints as fsl,imx6sx-gpt and fsl,imx6sl-gpt are also compatible to fsl,imx6dl-gpt, but only provide two clocks. Maybe this the compatible list needs some cleanup, but I do not know which hardware is compatible to what. The driver drivers/clocksource/timer-imx-gpt.c also gives no clues because it's totally mixed. .../devicetree/bindings/timer/fsl,imxgpt.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml index c5d3be8c1d68..e2607377cbae 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml @@ -48,14 +48,18 @@ properties: maxItems: 1 clocks: + minItems: 2 items: - description: SoC GPT ipg clock - description: SoC GPT per clock + - description: SoC GPT osc per clock clock-names: + minItems: 2 items: - const: ipg - const: per + - const: osc_per required: - compatible @@ -64,6 +68,29 @@ required: - clocks - clock-names +allOf: + - if: + properties: + compatible: + contains: + enum: + - fsl,imx6dl-gpt + - fsl,imx6q-gpt + then: + properties: + clocks: + minItems: 2 + maxItems: 3 + clock-names: + minItems: 2 + maxItems: 3 + else: + properties: + clocks: + maxItems: 2 + clock-names: + maxItems: 2 + additionalProperties: false examples: