From patchwork Tue May 16 13:11:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13243160 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 D2DFBC77B7F for ; Tue, 16 May 2023 13:12:50 +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=lsIaAOwAIIXx9iFed80SQB2fvbO158Ir8qOQ1TwyGuQ=; b=PjPomgUHL+JZla 6n7PgS0MA6t1I/pwzM9X+OgqPFYQd0GNbDrqwKL32TkPAt+F8IQFJWIeyzKtbSczoLTUwVrjpIRRb PIW5EAMS2Rd5Nlo1MhSsdnqfOHYV3aW6c+WK81ZAYXvOwiDyOmywWB+GlQUTnoPgJKen1I8LZ1S1X UIU9/d362shosLfhWBbEVJ8hCBmpYI9FIrrcFWB1uQ/3PahAoGzx2umKQhkol9dhVsW7IBqd1p6B5 keABPQibK6SRDgt43OJOVn72jT8SSgFZy5oh1sVrHhf5jv1FkF/Jvap0fJ6++6B99mEXHYjFyThVf foPxsaHDSP4HFDS7xTAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyuTb-005rYG-0e; Tue, 16 May 2023 13:12:27 +0000 Received: from mail-oo1-xc2e.google.com ([2607:f8b0:4864:20::c2e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyuTY-005rXF-1v for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 13:12:25 +0000 Received: by mail-oo1-xc2e.google.com with SMTP id 006d021491bc7-54f8e5472a4so1224179eaf.1 for ; Tue, 16 May 2023 06:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684242741; x=1686834741; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wPZqgabDRTDOvYUAH/txpv9GMllyEJqrs060gGGiwgg=; b=XqifP41N3gPoOr1Rbfc+JOC1WNpu0lQGYf9qN9xSzVxuUfrLG9ZOOACGNnGndSe3K5 ZRrDewskwgbbqMZgf1OrrbcvHjt6lQKTRr1ESQL7lQZ7ac0utDIKVkxguX3v0T0GV6B0 DCC7sW6GLI0FlofK1j3p/r1tRYZn7OiqjyoGN7r2iPTykv7pFNqRcD218cBEEBN+m02A zy2e1J6IVqJUxReC0UbBv0GP1Np6MvadnHTHJP7vPnG74AIXrK70KmMd20vdCH9rbi7h W1DRkQ9Sz2BJRL5vXoHbOUNJF8ECedo/UQQLBs/C08Ce8gd+dgBLd2ORQlFddh8YrhB4 WS9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684242741; x=1686834741; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wPZqgabDRTDOvYUAH/txpv9GMllyEJqrs060gGGiwgg=; b=WBM3TLwxVUbSHxVYh+/q6RU9CsSUDUFkvJejkX4ruUfihDDvu62KPXplczaQ4Y2EHM SEtTvvmuIDve0NACV8RBD1svyTfbvLTisndI1VLBkWugI53q050IVTz0zHltBIx5mmLQ AhdNdKFI3+Gyj8G/aZFnkF/PGnn31nh2rmvzRQ3KMBJmmXS83EqMZ1KokTjxKkvKB1NO U9oYfsBsmk56qfY/lrHfW0PTQMg+5YBHpbaIK8DvXkyyOi3OVdbkxuU8M+x+keILzlef BiE1NEdaOdJV3JvZMc+32LTH8yLBT6LQdJJ2dsGED0NuNhYK9Fen2+ausUnyXZtZId7U +ajQ== X-Gm-Message-State: AC+VfDwUMWbHduJ2dGXw5IhJRh3D6wRcsn668KC4UwuJKax19CpcY+Fi 8pXFl+R624dcVRf3kAdapcw= X-Google-Smtp-Source: ACHHUZ52tu3jkUt+feaNjhsq2Y2QZgxF8vhPLnrRZdz3a4Cmjolc/iEpQAKxyzBdW7zrvbKXxl8Yug== X-Received: by 2002:aca:3d41:0:b0:394:25b9:db19 with SMTP id k62-20020aca3d41000000b0039425b9db19mr1006831oia.2.1684242740984; Tue, 16 May 2023 06:12:20 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b69:12fe:baa9:ec21:f64b]) by smtp.gmail.com with ESMTPSA id z83-20020aca3356000000b0039466db554dsm5395519oiz.18.2023.05.16.06.12.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 06:12:20 -0700 (PDT) From: Fabio Estevam To: gregory.clement@bootlin.com Cc: andrew@lunn.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Fabio Estevam Subject: [PATCH] ARM: dts: armada-xp: Replace deprecated spi-gpio properties Date: Tue, 16 May 2023 10:11:57 -0300 Message-Id: <20230516131157.579676-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_061224_654151_9DA07B45 X-CRM114-Status: GOOD ( 11.10 ) 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 From: Fabio Estevam As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml, 'gpio-mosi' and 'gpio-sck' are deprecated properties. Use the recommeded 'mosi-gpios' and 'sck-gpios' instead. Signed-off-by: Fabio Estevam Reviewed-by: Andrew Lunn --- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts index 0dad95ea26c2..21b95578fe95 100644 --- a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +++ b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts @@ -167,8 +167,8 @@ scroll-button { spi-3 { compatible = "spi-gpio"; status = "okay"; - gpio-sck = <&gpio0 25 GPIO_ACTIVE_LOW>; - gpio-mosi = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/ + sck-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; + mosi-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/ cs-gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; num-chipselects = <1>; #address-cells = <1>;