Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp218776pxu; Fri, 4 Dec 2020 01:18:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwf3zNkuU0WOTn885anSwjWfW4YMg49CTMiatgOSfY0l39PM+T5hFm81L98JfeB9NF6bZZm X-Received: by 2002:a17:906:3513:: with SMTP id r19mr6074069eja.445.1607073483782; Fri, 04 Dec 2020 01:18:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607073483; cv=none; d=google.com; s=arc-20160816; b=BFaoDWjRQVfetiI+F+tF1aKhvcWC1EQMQTZFvxDGjMB4iq4oDmIu38dtsTKu6+xlB4 vhCMldJYOOnk1HwTvUQ9RQjtH1qtpXM2aWDBHfXdXKNE60l75TSU9JyVkLyURKDQiBAd et/QKKsZKbA9t4l5CAWUtF2NBxvsrcAiLB2YwrJI4IomK9IAJjboRF3QT0pB5KttGvsB vBZBy1i6Lm1p+1NaBM+emXsZNzKlcTi34TmOmFrXtzwSldiAaPPxRlvR10rolSzht2YG tiFTWvbannDbLqx8+4p7mn/c925w4UhDQA5EY1zYozpl/XVJ6mpbpasP3C479mnNH3UJ 7sJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=DAYMgXvRULMjiAhv32Z7xOETxaYwz+H9URu57Cgp9iQ=; b=igZrGM91KG3ICVmsfNrf2x0EQUEiqjVMdIopFnIglaWx4UFfALjUpg1yvMJTYe6ohF 2HTpghyvhjd4rtLlrSgMeWsEkFTRC44wZoeJsLXmw7JEfz8KvTN6g9bcYVQH/h9VVtlA hhlVHaDAP1pd7uUTF8GJfqClvT8K1CdxgTkYCEkqr7lbh8WPk7KbeZD+ZoitJopzFc1g lQr9agiVTyF9LN5APyQvedDeiANywtxvrpJSR4H3GRynwX9cuVNU3JuZZzbHMWxztj5q xVOhy24cwxa6DuMbb+AYqan+CRoORgcYIbRcbWqenFRTYr9C9lzm1vGCoqPMMXvQdRU6 aP+Q== 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si2552447edu.277.2020.12.04.01.17.41; Fri, 04 Dec 2020 01:18:03 -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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387553AbgLDJOi (ORCPT + 99 others); Fri, 4 Dec 2020 04:14:38 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:44962 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387531AbgLDJOh (ORCPT ); Fri, 4 Dec 2020 04:14:37 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 224221F45EF9 Subject: Re: [PATCH] spi: spi-geni-qcom: Use the new method of gpio CS control To: Stephen Boyd , Doug Anderson Cc: Alexandru M Stan , Mark Brown , linux-kernel , linux-arm-msm , linux-spi , Akash Asthana , Bjorn Andersson , Benson Leung References: <20201202214935.1114381-1-swboyd@chromium.org> <160695172591.2717324.17788035024164242534@swboyd.mtv.corp.google.com> <160695644776.2717324.633265815704005177@swboyd.mtv.corp.google.com> <160704063968.1580929.17834773484656581141@swboyd.mtv.corp.google.com> From: Enric Balletbo i Serra Message-ID: <8d864844-11d8-0eae-d85c-29136f035c1b@collabora.com> Date: Fri, 4 Dec 2020 10:13:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <160704063968.1580929.17834773484656581141@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 4/12/20 1:10, Stephen Boyd wrote: > Quoting Doug Anderson (2020-12-03 12:06:10) >> On Wed, Dec 2, 2020 at 4:47 PM Stephen Boyd wrote: >>> >>> And that is wrong. With even more investigation and Doug's eagle eyes it >>> seems that the cros-ec driver is overriding the spi::mode to clear out >>> the SPI_CS_HIGH bit that the spi core sets in there when using the gpio >>> descriptors. I'll send a patch for cros-ec-spi shortly. >> >> So do we need any coordinating here, are we OK w/ trogdor devices >> being broken for a short period of time? >> >> I think the device tree changes switching to use GPIO for chip select >> is already queued in linux-next. That means if we land this patch >> before the fix to cros_ec [1] then we'll end up in a broken state. >> Would we be able to do some quick landing to get the cros-ec fix into >> v5.10 and then target the SPI patch for 5.11? > > I don't think it really matters if the two patches meet up in linux-next > or cros-ec is fast tracked, but it would be bad if this patch was merged > without the cros-ec one. One option would be to apply the cros-ec fix to > the spi tree along with this patch (or vice versa) so that a bisection > hole isn't created. Or this patch can wait for a while until cros-ec is > fixed. I'm not the maintainer here so it's really up to Mark and > Enric/Benson. > I am fine either way. I'm fine with pick all the patches and go through the chrome/platform tree if Mark is agree (I think this patch has no other dependencies and the patch applies cleanly to my tree) or all can go through the Mark's tree. If I need to an IB I can also do it without problems. I'll leave Mark to decide who has much experience solving this kind of problems. Thanks, Enric >> >> [1] https://lore.kernel.org/r/20201203011649.1405292-2-swboyd@chromium.org/