Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1040593rdg; Wed, 11 Oct 2023 12:30:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEI6iWho8XjL1uJYPQ974i+rNjGTYZdxxjrCwskRpYlqsm1y57thfsaFL2qhAa1jpZjyJbP X-Received: by 2002:a17:903:2289:b0:1c6:28f6:9545 with SMTP id b9-20020a170903228900b001c628f69545mr22316678plh.45.1697052604906; Wed, 11 Oct 2023 12:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697052604; cv=none; d=google.com; s=arc-20160816; b=bJyVjhuHJRyWGAl/FIHeSyW+J435wNJ9MORYf0uaddzPZlpRdaClwGfn684jFGZTf8 cxF65Yq7ZY1YEMoYuc77CAYNm58xQHsYKqm5goedFfBuaktTbRGErb/NrK23l8o1h7ln 5bcaAV/FuJY6OMFtq6iZ7Oh0esniBKEavvGdGfPz2FvYUXRt7RYZMo0GyFllhmragB5s SJQb7P/NUlXmYlA/MJWZZ0tCe0FMdjra+ljXMAuEBCl5xb+vvGL1un9CSCqok6+poIUo PkHP1ecAO2kq9urYvrBjD0/TG7cRP27dM5cHuKHNk8B4MtOvuarEdiqeHB+iyVN8BQa9 ZsxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:mime-version :references:in-reply-to:from:dkim-signature; bh=c9L/gsOrW6x7KgEWB0KPDKoh+ZY2YJ1yGC5weBaF9Kg=; fh=iSytqTvujGzgiDUChd7TYzpGhSlxweV2JVQePbuj30I=; b=kvnNemRKNIiuit08IsLTFVmKnqy5l0+cP6OYHCkb6fDhCbwTUI5K4f+PkL4NwckUGn DBgqBfwIV53ARd0tWmIg8YCZ3cF5WsEbGZib5PkmP3zdJh6GiI3kkyRcwRZxF3vm9/Vt seqtRouFK854pTEYpCtT5XNDqo9ioUlK+wglj/ijg/diLlrlBtK7g2whtE0h4oiDyC5j UdBBcJKTT3febxlZQmxeXOTcqm+nz1Vx4PYrltNPkzRmqSc8uCrr3oWOZaueuVJalbCh J+IhX5gIbfwizpkxOSlOC5zPd9jxsiHdxkelz/qjJkuJZGm1W9sp2ejGKHdxFAibG33T OKAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=b92dQYTS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id n6-20020a170902dc8600b001c56ede4c97si357102pld.239.2023.10.11.12.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 12:30:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=b92dQYTS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C214A8184507; Wed, 11 Oct 2023 12:30:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233231AbjJKT3z (ORCPT + 99 others); Wed, 11 Oct 2023 15:29:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233109AbjJKT3y (ORCPT ); Wed, 11 Oct 2023 15:29:54 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A44590 for ; Wed, 11 Oct 2023 12:29:52 -0700 (PDT) Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 5F3C63FA66 for ; Wed, 11 Oct 2023 19:29:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1697052586; bh=c9L/gsOrW6x7KgEWB0KPDKoh+ZY2YJ1yGC5weBaF9Kg=; h=From:In-Reply-To:References:Mime-Version:Date:Message-ID:Subject: To:Content-Type; b=b92dQYTSZp0at8d5TL38lQtCwPoPE1EDOWTH5QGlnwfxq8MUgfZjqgnHBKfWm7Knf baXpK+lXWCf9HuYE2ohF1iak42WTUY/0Ar21MTMzMZcLs3SdSm1HoO69xxFAaNuQmN uJeGisidho2moWq9j6Ash3HyrrFQGY0lJ2+mCX6LL43Pxez8vVRDBquggFIbtGVA2W e1R4xX9mflSPLszN+85FWG0RiZzkMcWZGnY7VqYckRxZHpAalMZVfK7nrzV7mEGwH9 dogLDEJwwxVM0CDf+Sp1R+nHPfztByxOv2CeGjYlKfkkFm7T+RTNOhZwIT8C/btRgM mtjqF8Klc7lvg== Received: by mail-ot1-f69.google.com with SMTP id 46e09a7af769-6c4ed6c64e2so261154a34.3 for ; Wed, 11 Oct 2023 12:29:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697052585; x=1697657385; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c9L/gsOrW6x7KgEWB0KPDKoh+ZY2YJ1yGC5weBaF9Kg=; b=i5V5V6Pok2bJuSaznKJvM8MtF4zMMI3Xr5nawyW3dgfIN1JelsWpzYdS+CVwfFjEL5 0ElhckmCOHK1qKvPzoxCEKwafktLuzUqWIPErxWq0kLTxqoJl4JlKkBL0zwWh4tjhyAc y8pBFCOIS93mvCMIOKfA/pEPizTioQjlpwcxFqMG/IxnneO1tvR2dO3Cs+HtlNd61Of2 a3EmIpk/+56Q6OZ7P732Z9DVhgGZTxSTTvTGbqyNLknZx3/NL8unIcwwyyPax+bWurnM adatybYQW83jDywxNOUaSJM7T1YLktuzDHqdMim1ZpV+6mLyy6SMltKbDzs5wAeySVop 08Tw== X-Gm-Message-State: AOJu0YxV8obv8dmD2PB64Y+AJkQkNSOm2tndVPv4Lb33jxg+DV1H/Z1Q c4ksbFhMSXQe2EU8gJBlrGPXpKvkS9TVUd4HirWd9eKy5jP9DLiQDp7TReojYNAjsJJRya1GUcG h9BEXsLOqeX2QHSwCWm1xJmiKywKVALvJlX4fkOCgDj3TlJTzuikDZtglpw== X-Received: by 2002:a05:6830:12d0:b0:6b9:8357:6150 with SMTP id a16-20020a05683012d000b006b983576150mr22651233otq.35.1697052585227; Wed, 11 Oct 2023 12:29:45 -0700 (PDT) X-Received: by 2002:a05:6830:12d0:b0:6b9:8357:6150 with SMTP id a16-20020a05683012d000b006b983576150mr22651223otq.35.1697052585025; Wed, 11 Oct 2023 12:29:45 -0700 (PDT) Received: from 348282803490 named unknown by gmailapi.google.com with HTTPREST; Wed, 11 Oct 2023 12:29:44 -0700 From: Emil Renner Berthing In-Reply-To: <20231011161414.L6wXZVDb@linutronix.de> References: <20231011161414.L6wXZVDb@linutronix.de> Mime-Version: 1.0 Date: Wed, 11 Oct 2023 12:29:44 -0700 Message-ID: Subject: Re: [PATCH] riscv: dts: starfive: visionfive 2: correct spi's ss pin To: Nam Cao , kernel@esmil.dk, conor@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, william.qiu@starfivetech.com, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 11 Oct 2023 12:30:01 -0700 (PDT) X-Spam-Level: ** Nam Cao wrote: > The ss pin of spi0 is the same as sck pin. According to the > visionfive 2 documentation, it should be pin 49 instead of 48. Thanks! As far as I can tell this should make the 40pin header match the Raspberry Pi layout, so Reviewed-by: Emil Renner Berthing > > Fixes: 74fb20c8f05d ("riscv: dts: starfive: Add spi node and pins configuration") > Signed-off-by: Nam Cao > --- > arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > index 12ebe9792356..2c02358abd71 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > @@ -431,7 +431,7 @@ GPOEN_ENABLE, > }; > > ss-pins { > - pinmux = + pinmux = GPOEN_ENABLE, > GPI_SYS_SPI0_FSS)>; > bias-disable; > -- > 2.39.2 >