From patchwork Fri Apr 7 16:25:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13205052 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 4198EC77B61 for ; Fri, 7 Apr 2023 16:26:28 +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=zL+YwGRDOJgALYolp8vU6Acfv6D4cxUIsdvEXpdaSu4=; b=J1PpPBGSGf5OHo lIQSSryfhmDIXW6uOok/+rUlG1JPzSbtzvpOKeSAwJ/rZ3r+dDP3w3XZ0Ox8mZDSW/t6c8Cl4kLlN E3IzN8QXTinzTvnIQuGQQENV2RMqFwB0SAId1nHgciJWjwX8MnP9eh3p3jmgD3ou3oxT+LsUR55rZ Y9TJ/RfHfWp11zwOE7QMr3szj667geZDc3E10sau6wDN1NtyXuUvcpw5gN1yODZbJwNOalA8K5wcd 9kwgGECdkiLHsGD+dimXg61p9c2gUq2Y5/Z0GcKnG87OML2tjq9GoogmDy/jDv2Lxd1+0hXpWBij2 waE1XVY+vSyxJzbmV/kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkouB-00Aiur-2p; Fri, 07 Apr 2023 16:25:39 +0000 Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkou8-00AiuM-2x for linux-arm-kernel@lists.infradead.org; Fri, 07 Apr 2023 16:25:38 +0000 Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-5418e05b413so189771eaf.1 for ; Fri, 07 Apr 2023 09:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680884735; x=1683476735; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=stW6gIDZMIVV6t0/ZvFLCRMLkHtcro4SznzWRSvvIhc=; b=oclR9DPY6D8sse7AAn2L8WMK6knXL9ywPuYxMEPZAR9fejMhRUOuLK6g2uK8loxvA/ 3TyvCBSP7I6XYqDsYgozo54Cbnb+8759XZpazxloe4R3o5NSrTDKk84+DL2IFvIBuxPU mLYVy6SdZCQ4R5zs5kMYYyJUvDDeATCMIn4Ehh61kOnf7oY1LN+E4BrbiirQ/V+jDRDw KA1SBxXQA3ZwmrjUUXgCVBLMv3mpkZkqhCarGnzL+UpIReXkrapRNPW2u9o0nUXqg8Wr o0U4eWdtyo4M752ON+qsu/Y3mXqP4WPsnXVyLgd1CAq05xap9j+JsQhMABE8NP9DonBY uxTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680884735; x=1683476735; 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=stW6gIDZMIVV6t0/ZvFLCRMLkHtcro4SznzWRSvvIhc=; b=jQRYN++aL1k86UKh4y1zUTzMPNv1RFs12cYSEJTuaQGZz+Gds/FGdWZRxX+h3wk2Qw dwXKebi9vSo1OYWf+T+7xKXDd1ZAx3PnFdq2jTn0vWebvpwQI88vhA6+7O/Y9Xw3MMMD IuG5EqqredrERcr4f2ceb/+yw7j9agBo+aLakZy30zcnncI74viVUNuZs/2f43NVFwLC yjzZhLKJvGrhaq2+EQkDSongmdWnqEzYWMWO9zX2mpfF9rOfP9QjdAv2w+cEVmDSLsVD v2sV11l0faP3sWplYGgIVp31oItDXJtcHRbcSDucO40SLf4JMeByzMtGqaf8JXpUrslT q7ag== X-Gm-Message-State: AAQBX9e2Taa3s4wdH5NZC9wkbMSJu9UeuHgfZZrj9AEJTrJTkO+N7XKT 6RVjkcPXL3ElFjcGvd1s61I= X-Google-Smtp-Source: AKy350bZcm4mkeWXgFX4yGlYUtMofhd+N3oEVPdRDXj+26dONsLVqUJRGlVIkjVTd3MHbNrU2TtoCA== X-Received: by 2002:a05:6871:892:b0:171:a749:bc0c with SMTP id r18-20020a056871089200b00171a749bc0cmr1911266oaq.3.1680884735067; Fri, 07 Apr 2023 09:25:35 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:7f0:b380:973d:85ce:575d:c0a1:5abf]) by smtp.gmail.com with ESMTPSA id u40-20020a056870b0e800b00177b33ce85bsm1740763oag.30.2023.04.07.09.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 09:25:33 -0700 (PDT) From: Fabio Estevam To: linus.walleij@linaro.org Cc: 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: nomadik: Replace deprecated spi-gpio properties Date: Fri, 7 Apr 2023 13:25:04 -0300 Message-Id: <20230407162504.1683422-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-20230407_092536_957595_856B0C77 X-CRM114-Status: GOOD ( 11.04 ) 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 --- arch/arm/boot/dts/ste-nomadik-nhk15.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ste-nomadik-nhk15.dts b/arch/arm/boot/dts/ste-nomadik-nhk15.dts index 8142c017882c..4d741adc16cd 100644 --- a/arch/arm/boot/dts/ste-nomadik-nhk15.dts +++ b/arch/arm/boot/dts/ste-nomadik-nhk15.dts @@ -210,8 +210,8 @@ spi { * As we're dealing with 3wire SPI, we only define SCK * and MOSI (in the spec MOSI is called "SDA"). */ - gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>; - gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>; + sck-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; + mosi-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; cs-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; num-chipselects = <1>;