From patchwork Thu Jan 26 19:37:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Heidelberg X-Patchwork-Id: 13117678 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C98ADC05027 for ; Thu, 26 Jan 2023 19:44:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HCAsJ1oclPC/M9HQiBsq1r6H72e8/7lNJB4m/ZfrpUQ=; b=trA6tOMzvw3Pts 6tpkns/BgPHCD9i/jhZ7l+cRRE/iZRV8SEnzQTEs4+oeIx9fY0nO8jkPFX1L44WvEDlkK2Z4fBmus /wj7FetyFqadFSC4o9Mxok9KdEggWyNDua5Q6qKlEfOpcHoAraZ1b4WA+/XjcHCqrygctihrXM2/x g9G7p0Hfz/itJ0h/o9K4GyB9M9BbSW6xsGe5cePCKRdd3hKThaVCuIIw18XrVxx5Xck6NVTo77w4H kdI9XpVZ+VbmmrTciFrW76B+5IrDzMSV5bbnpiqGzPsewoO+QvnKZidIV4IbuDDezPPlOk4NN5+8z K2K3ZyPaO+f3PsKaOQTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL89V-00CLjg-Sq; Thu, 26 Jan 2023 19:43:18 +0000 Received: from ip-89-177-23-149.bb.vodafone.cz ([89.177.23.149] helo=ixit.cz) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL89L-00CLgX-SX; Thu, 26 Jan 2023 19:43:09 +0000 Received: from newone.lan (unknown [10.0.0.1]) (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 ixit.cz (Postfix) with ESMTPSA id 905EC161F6C; Thu, 26 Jan 2023 20:37:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1674761858; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3ccBGHlkR7MMpjrKhllmWGIlkOOuku6DhNh/iMepjLE=; b=cJPGgG++Ab2U/1JZqYXw0bmHl52qFK0eApA8lh9ZUgKgdZhGn6mFZRgIBnulZ3GwtNEtbf 9FbHkNoaahgsURd6bHAM3pVFjm8h6k1A77c6iahJAjI9UA+WOSGKBWCALO4lJ5Blnddxbj S4KNuFYRjrGtFQ5msk1sOjb0oaeVjPQ= From: David Heidelberg To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: ~okias/devicetree@lists.sr.ht, David Heidelberg , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: meson-gxm-khadas-vim2: use gpio-fan matrix instead of an array Date: Thu, 26 Jan 2023 20:37:32 +0100 Message-Id: <20230126193732.69699-1-david@ixit.cz> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam: Yes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230126_114308_098688_B71A63A0 X-CRM114-Status: UNSURE ( 9.03 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org No functional changes. Adjust to comply with dt-schema requirements and make it possible to validate values. Acked-by: Martin Blumenstingl Signed-off-by: David Heidelberg --- v2: added Acked-by, and stripped from other DTS changes as requested. arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index b21172ece1fa..74897a154891 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -52,10 +52,11 @@ gpio_fan: gpio-fan { gpios = <&gpio GPIODV_14 GPIO_ACTIVE_HIGH &gpio GPIODV_15 GPIO_ACTIVE_HIGH>; /* Dummy RPM values since fan is optional */ - gpio-fan,speed-map = <0 0 - 1 1 - 2 2 - 3 3>; + gpio-fan,speed-map = + <0 0>, + <1 1>, + <2 2>, + <3 3>; #cooling-cells = <2>; };