From patchwork Mon Feb 28 11:09:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12763044 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 674FBC433EF for ; Mon, 28 Feb 2022 11:31:54 +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=pBOg8FkxFOj8DSLrP+MBvTUPsXPKX+L8R2+8iplwrA4=; b=2v/eMJHHGV5Xg0 DOImbcudmEu8fujQoUjboeQVxcMRpU8chFezwazBqwgT7/5xMrvD5Nh4zaN9RXLelphhgchl7/oJS W1wKxbDIPDIkMg8MMXgSkasI7+nffByIdjAX5nAIMrC2X3SfZgh5VIoENCBMHmTN2G7CD7t1yiPOg fpfdxl+ymKPQiu//lyeNbtxOHFfhkqAhtKRAWfppj6VH3jqIcZ0GQ1D2/7F0GV4EUxXtrj5vNlm8m jWfDVnVcWz/0U6WkHj3Yi8P1MRDhyB7P8HRrFia1jVQfmDy7RxpJ/lVzr72JU8kXGOKnAx5l9ZZgi h0zjzgc0nI2kqjJqZAfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOeED-00Bsqc-LS; Mon, 28 Feb 2022 11:30:11 +0000 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOdtw-00BilU-L5 for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 11:09:16 +0000 Received: by mail-pg1-x52b.google.com with SMTP id o8so11059220pgf.9 for ; 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=m4/dEkMAj5Pgmx5cGey4cD4dCNMQyei4WqWgnKnweB1+goV5zVCIdgbzzNJgBxAAjX daQdprQ1f80vJeHQspPQ9mT4j4f4bEeDZ7Tyd4f0niuNl581Yfdj2ZYJonqphLXI9UdY jE3nmGkNqBIH8X6srR3U2SNLxddC/sBNHvoRVVMJ51xXEvqg9nomHWlz797ryz5vWhcq I/a8gQ9t57Rg9iZN3r12swJTvUodgvx5GupuUq0HcKGFyQj14hth0mt3Rr8b9jj0f/t9 yjc744nso5bmnlr7gFy2s0pCk1M4Nnz/+rb0gjIR3MCdEroj/IN7HzVR2HZxPnKfR1tr qs2w== X-Gm-Message-State: AOAM532v9Kzc9qFEJ07J35hqQGNn2sAULMA0K7VTbaJFovRv5os5MNZN 4xSOWvb6fgTdW1//TCAOjqA= X-Google-Smtp-Source: ABdhPJy8LwgcYXgh2fp2qYyRnv9aOc3hbJeqRAeSeufjtJFBpQK6wmjAp4ZSo1sfUYuT++jGsnRUjQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220228_030913_080774_5453A75F X-CRM114-Status: GOOD ( 12.93 ) 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 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>;