From mboxrd@z Thu Jan 1 00:00:00 1970 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 03983C77B61 for ; Fri, 28 Apr 2023 21:47:04 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=op/mDnEETpJCLreId/c6FztKV/dDmpAbB/sKyiNcbZc=; b=v2DcEIfLiHOqPK 1ceU1zNAQSawTxsHtWi+NWHz4wP5oSqmLagKqT9F+ItfW0iVJTSsZ/biWY8ALgmbjLkrh80gWggZY 2cYgpZrSxe+jNEKi3tzWbxeTQ1KRh7hRMo8V+Tqyn2xOkx/FFqCyMy4w9xawWARwIeu5+ymRnoui9 i892zBKhabutKmV/qjM6CnIZ8q8dteUK4ULKIgKlWyq6LioyD0OmfY0oIZlR3pZ4aKYGzEmZscCVu 98442pdDaMiPTtbeYFqrSwXIPaNIFu33EGkDNIz+SMSEw3Uc+JQu6JAzfmZYeguU/qbNvuI0PfLCc WcRZF5ytBZHJxPLLwh4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1psVuw-00Bp3Y-0P; Fri, 28 Apr 2023 21:46:14 +0000 Received: from mail-oi1-f170.google.com ([209.85.167.170]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1psVut-00Bp2g-00 for linux-arm-kernel@lists.infradead.org; Fri, 28 Apr 2023 21:46:12 +0000 Received: by mail-oi1-f170.google.com with SMTP id 5614622812f47-38dee9a7795so212184b6e.3 for ; Fri, 28 Apr 2023 14:46:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682718369; x=1685310369; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RTM2mluHD/ZVuQ06t+XTsEI3ZhySwZO1SLbkiRH9asw=; b=WKVWUGXws5yperEyzbkCvTxnZy+sZGXKlgiuLr8DK2eChXb+JoMlbRiirmRLnFpWFr wzkpgPh66nXwyJXwiGNNGXdQ6pr7+luuMR1v0hrD7gV3jcQPkE5KkF2vrDluRxOZVHbs WqMMxbiyHvQEw0pkBjtOZGoVDAKpf636vjXHDGrs4N19++EOXtt4b0hZr7S2sIcRpiPG fAqucRgh+CqPSTLT+wiBx80PftisLqZxHalVt+aAe/FZgR6z5LjdfjZ99lidi5c3ESUP mlNCKmbaj4KNJK3HsAbAhk/hvTgRR5UMv4As/3OfW8rmCTCB8xxSJZiYYRYS7csx98CO qSqw== X-Gm-Message-State: AC+VfDwEXQGqPj5wrzhy2Y5AUj3xqsxk6FRXlygrG7SDdiYTmel1YMHB oOF0woqRRg/oIrJwQKM6yw== X-Google-Smtp-Source: ACHHUZ7ILd+pYQIPWPAv2XKRDwq6NaoGnAux7/JTHMWijMavD87BT+jKgyaPYW41sX29xC4se2bTCg== X-Received: by 2002:a05:6808:915:b0:38e:ada4:4512 with SMTP id w21-20020a056808091500b0038eada44512mr3056225oih.20.1682718368863; Fri, 28 Apr 2023 14:46:08 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id 27-20020a4ae1bb000000b00541fbbbcd31sm7600624ooy.5.2023.04.28.14.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Apr 2023 14:46:08 -0700 (PDT) Received: (nullmailer pid 332170 invoked by uid 1000); Fri, 28 Apr 2023 21:46:07 -0000 Date: Fri, 28 Apr 2023 16:46:07 -0500 From: Rob Herring To: Valentin Caron Cc: Mark Brown , Krzysztof Kozlowski , Alexandre Torgue , Alain Volmat , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/7] dt-bindings: spi: stm32: add bindings regarding stm32h7 spi slave Message-ID: <20230428214607.GA326858-robh@kernel.org> References: <20230428121524.2125832-1-valentin.caron@foss.st.com> <20230428121524.2125832-5-valentin.caron@foss.st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230428121524.2125832-5-valentin.caron@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230428_144611_036379_0CF53050 X-CRM114-Status: GOOD ( 17.66 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Apr 28, 2023 at 02:15:21PM +0200, Valentin Caron wrote: > From: Alain Volmat > > Update the spi-stm32 binding yaml regarding to the SPI slave support. Why? What problem are you trying to solve. > > Signed-off-by: Alain Volmat > Signed-off-by: Valentin Caron > --- > Documentation/devicetree/bindings/spi/st,stm32-spi.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml > index c599eb359d56..1d26fa2658c5 100644 > --- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml > +++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml > @@ -27,6 +27,7 @@ allOf: > then: > properties: > st,spi-midi-ns: false > + spi-slave: false > > properties: > "#address-cells": true > @@ -62,6 +63,13 @@ properties: > - const: rx > - const: tx > > + cs-gpios: > + description: > + In case of spi-slave not defined, cs-gpios behave as defined in > + spi-controller.yaml. > + In case of spi-slave defined, if <0>, indicate that SS should be > + detected via the dedicated HW pin I don't understand. I though cs-gpios was for master mode. You want to define 'cs-gpios = <0>;'? How would that be different than just omitting cs-gpios? Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel