Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2954786rwr; Sun, 7 May 2023 01:11:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5HbEY6PvyCYPJ1NYzdiAxcMwpU2suTZ4y9mOW/lei7BaeJVDJBas+ZrqbXAAIPQCPNp3mt X-Received: by 2002:a17:903:2292:b0:1aa:ed72:5c2e with SMTP id b18-20020a170903229200b001aaed725c2emr9310917plh.61.1683447110507; Sun, 07 May 2023 01:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683447110; cv=none; d=google.com; s=arc-20160816; b=WjD5mRxuv9yhVdIVgMMvZpfJu3gVAxdLoD22Vue6eI6uGv1fTjl0cZOBBixofYbPXN Y9ZKhgOve5pMQY3a3GwGTDdEwpfZQxGuNZkgd5gAiBnTaoyC39XWXC81onGwc3sNpg0q pFWQEVPZgPRWXp3KXP5maclqTOx8kFHRyW3Z/yMYo2C9Hk1YiFB89YdyxS65/uEMKuQa pX43xH/hVNf33pKzdGW/wrklUBTc9sihmvqCKzTCwLc4OPCBnKPrRcjIbIOQ8gwPMbI5 4kXx0CNZ3mes7Gi8QgKxeF3uiJB4cYwD08OSoekWluzti0HXIgD+GnGH9SF4Kg1Uyjns Ficw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=c7LsKf4hNT2P5PU2ttlrUN6/LYaDAzA948pWoMKox5c=; b=lAx8kVkpBcuXU5xRFKQOMwocGNNCpOLsWupTXPF0QkMFe10EnBpBK1iqnj42NYg/Ag kMEVo45cnBttl70ZsllFRnLmTDUBmJ2JHo0XkVhGz4yJpLZ0BxWeEdAf3bFetymYQrbb crw0vzcFGxlZFmqFfo5csCWGxOJZsS/VsV34g1nlOUTAUYosebxIATHmg/3N78v7LX7J bMjlGlVHApVdP5MN0hLp9ZgYzJH5stDDAZhalccPVusCK0MpaxqRMJ+YZBtgXtAHKGXd RhSD3ADIzGOcWnH/3bVtPFNfD5iQxg9EHn1wGj7c4Uixr7Xn1Ecl5GtSV/097SG9chtO Q0dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TX9CyL9L; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a17090311c900b0019ad22c40c7si5916030plh.132.2023.05.07.01.11.38; Sun, 07 May 2023 01:11:50 -0700 (PDT) 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=@linaro.org header.s=google header.b=TX9CyL9L; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230132AbjEGHmL (ORCPT + 99 others); Sun, 7 May 2023 03:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbjEGHmI (ORCPT ); Sun, 7 May 2023 03:42:08 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B31446E96 for ; Sun, 7 May 2023 00:42:06 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-50be0d835aaso6176052a12.3 for ; Sun, 07 May 2023 00:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683445325; x=1686037325; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=c7LsKf4hNT2P5PU2ttlrUN6/LYaDAzA948pWoMKox5c=; b=TX9CyL9LubB7HCIURG1+Ps8Dc78L8mIBTUrXGedjhosEQ9iGX02LHYszg9TadB6CIo 46yO19v0VUHLl0c2X3gChl153ImEt4S78UNNmTdjCtmq0Mg5eSwBpbOLhAupYxwkJKNJ oS/a/+Ed1XYEN2PJhetpM0ZjoYqIugG/vENX+nFzkLsJqi7FBL8rbcy6dSMMmtJpmjbN AJ5k5+eK/CYl7DJ6BZjPwSgPXGvHR58IALV+mBNX2Zw0OyvUEq6ps8Y1zwhXJCrbdS3F 7jbe5cLaSf2y9pzcu9lP/I2g6xCkmiZmmrQByTDD8u2loJ937K/2v512Zy+mKhzhRvjI XNsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683445325; x=1686037325; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c7LsKf4hNT2P5PU2ttlrUN6/LYaDAzA948pWoMKox5c=; b=dJ7lbAV8CG2KJFtroYkaXLdzDqd4UpJgXql35G3z1DtsJKjWqUdp7oipmGDi5Y+Tnb 79ujCT5WSCiK6Asvh87QPucY9FCDNWpy3BBiEnrPd/u7EwoR4hG/SIoshaQh5jHYzzhT eo7jKaRXEnWQnHQZCcaKEmA0dDTRKvBzw/nINCT6m8S7TOyjsRo6sXR+omX016WrMs7O TQzdPJIS6nCDVudj2XDRK8SbgBJhePMoM3uYSLpdBA7v14Ln96lR72Fw73sJPD8snqo5 gO4Gv3++yaoLtI4ZYL1Y3T5KPjY8QKQ2RL3vaMtmsjgEpAcw+guEoh9E6EA/mDnw0+v+ 1iuw== X-Gm-Message-State: AC+VfDxC215tQIcjDHWx884XXiKGtv+U2ODla1QAdHkhoWJg/FDoRdpd 2NFgyDN2tCAUrw30azDPSvm+8g== X-Received: by 2002:a17:907:36c1:b0:94e:e082:15b2 with SMTP id bj1-20020a17090736c100b0094ee08215b2mr5508501ejc.55.1683445324962; Sun, 07 May 2023 00:42:04 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:183b:950f:b4d5:135a? ([2a02:810d:15c0:828:183b:950f:b4d5:135a]) by smtp.gmail.com with ESMTPSA id j23-20020a170906051700b00960005e09a3sm3350111eja.61.2023.05.07.00.42.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 May 2023 00:42:04 -0700 (PDT) Message-ID: Date: Sun, 7 May 2023 09:42:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v2 1/6] dt-bindings: spi: sun6i: add DT bindings for Allwinner R329 SPI To: Maxim Kiselev Cc: Andre Przywara , Icenowy Zheng , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Cristian Ciocaltea , Heiko Stuebner , Maxime Ripard , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20230506073018.1411583-1-bigunclemax@gmail.com> <20230506073018.1411583-2-bigunclemax@gmail.com> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 On 06/05/2023 14:59, Maxim Kiselev wrote: >> Should this not be set up as a fallback compatible, per Samuel's >> suggestion here: > > Ok, I'll do it in the next version. > >> I wonder what is the difference of DBI compatible. You refer to "helper >> functions", which sounds like driver... do you mean some parts of SPI >> controller? > > According to the D1 datasheet the SPI_DBI controller uses the same > registers layout as the regular SPI0 controller. > But also it has an additional DBI mode functionality. Support for this > mode is not yet implemented. > So there is no difference between 'sun50i-r329-spi' and > 'sun50i-r329-spi-dbi' controllers types in the SPI driver. > > Maybe we should drop 'sun50i-r329-spi-dbi' compatible struct from here > https://lore.kernel.org/lkml/20230506073018.1411583-5-bigunclemax@gmail.com/ > for a while the DBI mode functionality will not be implemented? You need both compatibles, but keep DBI compatible with regular one. Best regards, Krzysztof