Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2974805pxm; Mon, 28 Feb 2022 09:32:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwiNB+Ov+HIZWmXX/my0Ku/P4/e4tgllsKsma6k6qrRMIsz7d4pfQfvN2Z4Ht8o/6ow9gNR X-Received: by 2002:a17:906:3515:b0:6cf:1189:c512 with SMTP id r21-20020a170906351500b006cf1189c512mr16133589eja.161.1646069536118; Mon, 28 Feb 2022 09:32:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646069536; cv=none; d=google.com; s=arc-20160816; b=X5cXaYKuVjXh6yo0AdYieWY3MeDVXw+yOGyuB2rNf4NortDa2K1l76J2PC2xCi8UEE X8mhutIDhtSgssjSSHALR7suYRrg05pmfpdBZPK7wh/UTKtt5dI2EwPvGAF1Kvv8df9X cuApOhmtYgNJ56cGm5gDvvuR4OJwyoxediqZgzsM1SvnTaHmVZllMNmaqA0yPJ/8oHF3 rnkotZHuCCVO+S6gnC+vhWI7u4csHYsHegBcVGak0c0uFRur/826PJdU+vqJi5gP7N9G NS3hVx2iYUtgpEh43cLgsDsmr4G7dvnwUcdd+7AEH4O+vbVAGZ1l5GsFFtGlYNPXSHvh gDQA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=gkpVN31t/Eo1GFbtPY7KJm4bzowxIotybpf1qkjJYWA=; b=Q5qdByS3gLGnakEDDW/84WqclUWSCLUGmoANOvFEgneHMxnn9kQYe6UPl+sovpK4ID tzXOaRmkv9BE3xC5xw4IHyita+XpdjmYOswScgciYYQrAq6zn74ed5fyZ/gM/xjRI7yL D06jUgzIlOdB7cd5XnPRaR7nB9UyfEKK67ay/jGKbJJyJ14vfQCBYpwkvATzQCiip84X e9/aA1ct77SeKe31T0jKf0ih1DfQSmwI82grTH8VKrsOK0Vk9vyPKAck7/h2UD6sq1d6 B/Kt4Z32lLjdb9yUlbMwvVvicnul546yrO+TLhqdZPOzokxJABKWSgrcPt+cJT51EgRh qxvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=e7q7GaOl; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o27-20020a05640219bb00b00410f41c6358si7147419edz.176.2022.02.28.09.31.53; Mon, 28 Feb 2022 09:32:16 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=e7q7GaOl; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235584AbiB1LK3 (ORCPT + 99 others); Mon, 28 Feb 2022 06:10:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235589AbiB1LJs (ORCPT ); Mon, 28 Feb 2022 06:09:48 -0500 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42A226D96F; Mon, 28 Feb 2022 03:09:09 -0800 (PST) Received: by mail-pf1-x431.google.com with SMTP id d187so10821093pfa.10; Mon, 28 Feb 2022 03:09:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gkpVN31t/Eo1GFbtPY7KJm4bzowxIotybpf1qkjJYWA=; b=e7q7GaOlrjqhw4wZSZZkOjSswhSoiRcCyyhJLTMrTTRiYOlGlsvsYIER7wjHPtYcsO +sXXxbPH3kbyt09diTODIc7SpGDqNWkn+lRheuiWw1j9F9xltL+s/6gJm7z6mNQktI22 PUy9soMoFKmplSmnwgUpNf3MiTsgZwVb0ogKoB+mWnNZ+Gy/jZHybtMnNh//Xfgrky3V GCxgyWVokhcP62cPE2/QzSjG2QkWkqpyyER4VK5Sia60ATPXETIdz6edI4c3b+jSa1X+ ZzLWNGO9oNayYqYLKYMW2fV7IXTVfBLe19NvGjiHkVrthVNEElcChNTpp5Xm4GuKr3hz Mu6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gkpVN31t/Eo1GFbtPY7KJm4bzowxIotybpf1qkjJYWA=; b=29ixLfn3Ti9YBQsLuEgVnqcLsPFhZAK9dT2LuWPJjHyumQFCsZT1WNWxVRcRdPNIXb anJIeEw+t18ipA+92YXbpWNvC9U3Ptuszm/yLZTf+LD9jaqWHhg8qm0eYyDuPa0NJCPq ybL8haAxyqYJMss17ljaZfgVFx6FFqtqPBkwWykHYmSLmz9s+s1obe988xJk70fBwJ/E TECMtbpsnL+sGuy1wUAR9M3siKDpnfcqdkeWWEXpGm/x47eNNW2cDqo9CBkUtwa99mRX oyaNF3+q3f48POISy0A00IKlWJP+SMugpl+TLK2WCMVsZB0V4WvQiOSOWlYQd6yvNEvT +vqA== X-Gm-Message-State: AOAM531Dyi0zsM1MDB3ukr3I7ed/RDLMsT27GjPuv+SsznUDMtP7KyUY rl9Y4hZ/Mdy+ZDdXVzbjShg= X-Received: by 2002:a65:6d0a:0:b0:373:9242:3a13 with SMTP id bf10-20020a656d0a000000b0037392423a13mr16964961pgb.452.1646046548643; Mon, 28 Feb 2022 03:09:08 -0800 (PST) Received: from localhost.localdomain ([122.161.51.77]) by smtp.gmail.com with ESMTPSA id d17-20020a056a00245100b004c283dcbbccsm12700239pfj.176.2022.02.28.03.09.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 03:09:08 -0800 (PST) From: Kuldeep Singh To: Scott Branden , Ray Jui , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Florian Fainelli , Anup Patel Subject: [PATCH] arm64: dts: ns2: Fix spi-cpol and spi-cpha property Date: Mon, 28 Feb 2022 16:39:03 +0530 Message-Id: <20220228110903.97478-1-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 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. CC: Ray Jui CC: Scott Branden CC: Florian Fainelli Fixes: d69dbd9f41a7c (arm64: dts: Add ARM PL022 SPI DT nodes for NS2) Signed-off-by: Kuldeep Singh --- Hi, This patch is on top of git://github.com/broadcom/cygnus-linux.git, master branch which is not updated since 4.14 kernel. Hope the reference is correct. Thanks! 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.25.1