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: 13349566 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 173E2C04FE1 for ; Thu, 10 Aug 2023 14:45:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235928AbjHJOpD (ORCPT ); Thu, 10 Aug 2023 10:45:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235879AbjHJOpB (ORCPT ); Thu, 10 Aug 2023 10:45:01 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F97C2694; Thu, 10 Aug 2023 07:45:00 -0700 (PDT) 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 Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-pm@vger.kernel.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: 13349567 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE29EC0729B for ; Thu, 10 Aug 2023 14:45:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235879AbjHJOpD (ORCPT ); Thu, 10 Aug 2023 10:45:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235732AbjHJOpC (ORCPT ); Thu, 10 Aug 2023 10:45:02 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1EB2E53; Thu, 10 Aug 2023 07:45:00 -0700 (PDT) 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 Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-pm@vger.kernel.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: 13349568 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B42AC001E0 for ; Thu, 10 Aug 2023 14:45:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235732AbjHJOpE (ORCPT ); Thu, 10 Aug 2023 10:45:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235166AbjHJOpC (ORCPT ); Thu, 10 Aug 2023 10:45:02 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 603BE211C; Thu, 10 Aug 2023 07:45:01 -0700 (PDT) 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 Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-pm@vger.kernel.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: 13349569 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8C1BC07E8A for ; Thu, 10 Aug 2023 14:45:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235930AbjHJOpE (ORCPT ); Thu, 10 Aug 2023 10:45:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235927AbjHJOpC (ORCPT ); Thu, 10 Aug 2023 10:45:02 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C737426A0; Thu, 10 Aug 2023 07:45:01 -0700 (PDT) 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 Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-pm@vger.kernel.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: 13349570 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C478C04FE2 for ; Thu, 10 Aug 2023 14:45:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234961AbjHJOpG (ORCPT ); Thu, 10 Aug 2023 10:45:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235932AbjHJOpF (ORCPT ); Thu, 10 Aug 2023 10:45:05 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 868C5E53; Thu, 10 Aug 2023 07:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1691678703; x=1723214703; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6EnU6mxwtuGf6jhekfVBSmSdeikIRp30Gtkant+ryK4=; b=qze2me8oat+B3vk8Cowj0/UVAMddIXf9iYdDBgt9oC0AcKbO/oo3Fn46 ldXddWo3I5pSkYF6ALuG4sHk45SvCFRFRYqnGcZ/xrMSz7PmM5ukpA1DD tFiJJa8ogmLpeldKVjSDyZ7/cvSEINsJG30E33Ld46a0ONMjVbNnVf/8/ nGWGsYOyW902XIORmIuS7EW7YsiyWw2C9WJCZd+2BMzbR8vEmvQJNtWpn MQH+1sMGUwc4VuEeZ6enyvg5XxtSYSOwHz8qErZV62b2WwkJyOBghQQnw cAKVVBIP9D+RWT12liAEudYlFTMBBvJYferDoQAB4Lj1LrZAiRlF6gcwy Q==; 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 Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-pm@vger.kernel.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: 13349571 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC1A1C07E8C for ; Thu, 10 Aug 2023 14:45:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235927AbjHJOpH (ORCPT ); Thu, 10 Aug 2023 10:45:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234199AbjHJOpF (ORCPT ); Thu, 10 Aug 2023 10:45:05 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7AF8211C; Thu, 10 Aug 2023 07:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1691678703; x=1723214703; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=w0UAbxXWAQNdssPmXVzrxzDw2c7hP+0NfZiyE8xtXXA=; b=Zn7LNtlp+aiXRDitP+q8mny+2RZRb7oZ3QQUKdFQhAGjP0apEQZEYbaT JV0JsYp2yZVGGvxLp7eZdgcqUVRFFdUTojakyxxCnRRuSd4z3dzWQ4MGA NcpPpstdIiC8mU0btkALAApZtAY73h6P00tJQ5Y4g9jo7TJN0RLVM2ppy +1AOJgyvqsKeeQHS6kjsKu8OQ3s4PHzR1rkhj83AjG38KpleluvLMboCP GM10aE2oZhe0scf4N7/Uh/Mo0ZYpdF8fBzol5M9sX/JX3mZ0chWPujNzY zPjCfGTiRDDPIwJAyhNgUTJQtFMlmXhfP6XKQtXL25VentgstiHbXMV8L 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 Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-pm@vger.kernel.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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: