Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3510092pxu; Tue, 15 Dec 2020 08:37:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJywaadT7NJ3X4O3N9u1vG6NsSbuIchqSe7lq0JFspsVk9TejJqVXCH/2+lgxI3fH3TQoUmQ X-Received: by 2002:a17:906:848:: with SMTP id f8mr2903224ejd.404.1608050237854; Tue, 15 Dec 2020 08:37:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608050237; cv=none; d=google.com; s=arc-20160816; b=x2MZ6F6dY8HujmJ49WgNVswNE0/Hn429p3tqhcGSTf1+j8jUXjinUEqhNddRoPhu01 uKN5rLWsKCRL/ZNlxyptB3y+5wRPtC+fjSRDYsEAPv2gp1DY+4tDxDFLSABFeJLQePu2 v8LsgWYBdNwsbOf9tT7WzKBLZ2Inu4qVVdWSXHZb/trrSrTve6omHqeYuBcFqiVDlHN6 h4+grUTOxu4ypdU3vARa977ZSQly/pj6iZrd2Wh6ABWvfXtqkSpAmiNCaZsn2lyM03F7 TNrDZSGrJx2bZcz9HemDJg2nedE4X53E5Gud6tthFVI9oRmrV1ztIOmrn0opfuIrDMug JEHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7YAQAVt9xHPWfTAqPkRDtbeSmHmka4bZA5QuCv8X5zw=; b=HmsXPuiEYJxIOqdSl8z/QEwL2+mvzgYN0Ki9JHI/Pj7Dmpw6hcKZ4hOZef6lB5bE1Z 6Q+/xIZycZfMx1y8iFIkBIUIimA0sJbIUjAe8QGe7LegfjznsrY9FTg4fvpWGE/2e0M6 rBqZ5RqHx+J9EbR7p0R1JrYOrQ1koVobIeVIQ48Fr9txiSbHM7KZRmOeUkhH4wy0iI89 lOnVuJIg2tyNrxaSBpQhP1rO7ZYRI6v9MwgLaiZuZXgVVgZgi2nFuBVd0wcezFbWg1aG uSv4/axlFViWTyun0m/PF+KoPg35T82w8UFR4ytJVIu+scQF+Wka1MZ8UIOU+tsgYdjK 1JTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd40si1195355ejc.265.2020.12.15.08.36.52; Tue, 15 Dec 2020 08:37:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730333AbgLOQdU (ORCPT + 99 others); Tue, 15 Dec 2020 11:33:20 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:35806 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729561AbgLOQcz (ORCPT ); Tue, 15 Dec 2020 11:32:55 -0500 Received: by mail-ot1-f67.google.com with SMTP id i6so19966096otr.2; Tue, 15 Dec 2020 08:32:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7YAQAVt9xHPWfTAqPkRDtbeSmHmka4bZA5QuCv8X5zw=; b=OLBLtfJRU17lty7kCH5DghkjJJpsP//I7IQ9w2oYUGwnSOkLiCokCgD/4Tz766TSD8 Mwe/VPrTij2WCzaOrpa78fLFuOjp+M3xjfq/zyZUVyxqA8jGQPHAtZyZzsZ7aWjRbdCf uSPV84sKN9leBULmMkuebppS+oS6aVuVD7XREG8nD/3MaDWEF/2norWxZ9QuE8ss8S4L MfsYpwFhj4tdDpX308/TC8hoXrXxSYa4CdX5t0phWEY+g3C2drNASRUoglYjxhb/LgHn uEAitFl9WtBi139mW/boam6GY6xHZ+fFZmPmmZDSrAlVeCb/Iz7dMAXR+2IIh3W6TkDq 9cAQ== X-Gm-Message-State: AOAM5312n1lkyaeDE8HMZ2QKvnDzfT3eGNjcKHNSn3KPwzDvbqQDJX42 BY2VdmQjdH9r0iw9E+820A== X-Received: by 2002:a9d:6255:: with SMTP id i21mr24143646otk.346.1608049934531; Tue, 15 Dec 2020 08:32:14 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id r14sm523413ote.28.2020.12.15.08.32.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 08:32:13 -0800 (PST) Received: (nullmailer pid 3980195 invoked by uid 1000); Tue, 15 Dec 2020 16:32:12 -0000 Date: Tue, 15 Dec 2020 10:32:12 -0600 From: Rob Herring To: Icenowy Zheng Cc: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Brown , linux-spi@vger.kernel.org Subject: Re: [RFC PATCH 10/12] dt-bindings: spi: sun6i: add compatible for V831 SPI Message-ID: <20201215163212.GA3972588@robh.at.kernel.org> References: <20201212040157.3639864-1-icenowy@aosc.io> <20201212051202.3645115-1-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201212051202.3645115-1-icenowy@aosc.io> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 12, 2020 at 01:12:00PM +0800, Icenowy Zheng wrote: > V831 has a SPI controller similar to the H6 one. > > Add a compatible string for it. > > Cc: Mark Brown > Cc: linux-spi@vger.kernel.org > Signed-off-by: Icenowy Zheng > --- > H6 and V831 SPI controllers is not totally the same with H3: they have > QSPI support added. Here V831 compatible string is just added in > parallel with H6 one, but maybe we should make H6 SPI do not fallback to > H3 one, and add H6 one as fallback to V831? A fallback is really only needed if there's a user you expect to work unmodified. For example, say a new DMA mode is added, but that's something a bootloader wouldn't use. Given QSPI mode is probably fundamentally different?, then a fallback is probably not needed. > > .../devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > index 7866a655d81c..a620ff30033e 100644 > --- a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > +++ b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > @@ -24,6 +24,7 @@ properties: > - items: > - enum: > - allwinner,sun8i-r40-spi > + - allwinner,sun8i-v831-spi > - allwinner,sun50i-h6-spi > - const: allwinner,sun8i-h3-spi > > -- > 2.28.0