Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3570065pxb; Tue, 19 Apr 2022 05:44:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWwtf3Bdy68y8JiGZEmOIQDzK8IaioLEjAcPhbsFVqvrwcPRVQTB1p65batnW2M4e2GDC+ X-Received: by 2002:a17:90a:138e:b0:1cb:b5f8:f12d with SMTP id i14-20020a17090a138e00b001cbb5f8f12dmr23727164pja.84.1650372279007; Tue, 19 Apr 2022 05:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650372278; cv=none; d=google.com; s=arc-20160816; b=OMJJWTBuCltQ6y5uXmfOHP3lTI1RaZenPOQ520YSA3S4v+HFc/Bwfase9XJGTn6aLQ 7JM0wYXt9MSoU0T1yZ4+bAL8rkkKb9ScaB7t+jxzktui+Id05Gl8fHx3wJh3udogZmbx 0zpNqGThkzX79J5Phapzr0z+t2h/1hkWNdJRCODgwEgWLo6Vn226xLm09EpziCbfKgHd QDpdkT0/1hSWpl7QMeIkgKqiMxoGRDeRjms6kQVoQTIcPrQk98rGmI2XdkKT5/qGPyO4 oEu7vEpScWbDpDvdZOKeI68Kjmrcrs1pmtde5L5v4y+C0c/p3UIvIwXiiTQZYowHEJXQ LPeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=gGjQve+qscFpCTBhYIsnhr6UxQUoqMw9bPETH7EBQrs=; b=1BRfhpDDQjyPY5PtDBkfdrzBh+7oyKOaah9HQG0ceCkoKmquhhfT1WRLJ/MRRQtgdx PNNgu0dkZDIIztPud5y72uSIjwghKD269K/wa9hn3n2Irls3RMidjzd9nMZGGFo3nzo/ BdS7EQelGaOtcutujeouNksLzVGesHnErQZ81tiytTLR6Vo3jl7HBgvihrNNP4N72Ve2 EVngZW86x+DwZ6RdiWWh9IXVPL3nVPhOGRJtqHYhSyKTHL3wtxHO2cHV3FD7CwaPiywg Qh/BDMgAvZ+RlL3ZxvP2Ll0qViIHQzN+RKtlvjn3o/ja2n3K2IaPHfJ+7mzi30BzCgAZ 4KEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="wLsQtiN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e9-20020a056a001a8900b004fb806fbeb4si11995419pfv.300.2022.04.19.05.44.24; Tue, 19 Apr 2022 05:44:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="wLsQtiN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243895AbiDRNmx (ORCPT + 99 others); Mon, 18 Apr 2022 09:42:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242498AbiDRNOD (ORCPT ); Mon, 18 Apr 2022 09:14:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5E223A5FB; Mon, 18 Apr 2022 05:51:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 266A761295; Mon, 18 Apr 2022 12:51:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BFD6C385A7; Mon, 18 Apr 2022 12:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650286267; bh=DGfFICk0ZyhZyp7gehgdnGZsI2rdjdBF6ht5fhvYKxI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wLsQtiN/t58/BM5I2sSdRWfNFHXxWRNv5lkOahXxa065g+tD3eA28MZBPb5ZRdMlt N6gcyfCXOV0NvOmZQwnMDJ9NT1e3kePWYpKsbN7RyxOm6aetFeenILxxPEJLGEDtzY JCNoZtyM+cyrX6NcuNJ8zZ++Jpc+9/WjBk2OUIvw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kuldeep Singh , Ray Jui , Scott Branden , Florian Fainelli , Sasha Levin Subject: [PATCH 4.14 079/284] arm64: dts: ns2: Fix spi-cpol and spi-cpha property Date: Mon, 18 Apr 2022 14:11:00 +0200 Message-Id: <20220418121212.932512374@linuxfoundation.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220418121210.689577360@linuxfoundation.org> References: <20220418121210.689577360@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kuldeep Singh [ Upstream commit c953c764e505428f59ffe6afb1c73b89b5b1ac35 ] Broadcom ns2 platform has spi-cpol and spi-cpho properties set incorrectly. As per spi-slave-peripheral-prop.yaml, these properties are of flag or boolean type and not integer type. Fix the values. Fixes: d69dbd9f41a7c (arm64: dts: Add ARM PL022 SPI DT nodes for NS2) Signed-off-by: Kuldeep Singh CC: Ray Jui CC: Scott Branden CC: Florian Fainelli Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/broadcom/northstar2/ns2-svk.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/northstar2/ns2-svk.dts b/arch/arm64/boot/dts/broadcom/northstar2/ns2-svk.dts index ec19fbf928a1..12a4b1c03390 100644 --- a/arch/arm64/boot/dts/broadcom/northstar2/ns2-svk.dts +++ b/arch/arm64/boot/dts/broadcom/northstar2/ns2-svk.dts @@ -111,8 +111,8 @@ compatible = "silabs,si3226x"; reg = <0>; spi-max-frequency = <5000000>; - spi-cpha = <1>; - spi-cpol = <1>; + spi-cpha; + spi-cpol; pl022,hierarchy = <0>; pl022,interface = <0>; pl022,slave-tx-disable = <0>; @@ -135,8 +135,8 @@ at25,byte-len = <0x8000>; at25,addr-mode = <2>; at25,page-size = <64>; - spi-cpha = <1>; - spi-cpol = <1>; + spi-cpha; + spi-cpol; pl022,hierarchy = <0>; pl022,interface = <0>; pl022,slave-tx-disable = <0>; -- 2.34.1