Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6362592pxv; Thu, 29 Jul 2021 12:39:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIjyRduKqGCcLMIS1DdwYgOwihxyZfmSnyfFoAR6Azh0hEHrBY9pc4W+ahP+4IjAffr7zc X-Received: by 2002:a05:6e02:ef4:: with SMTP id j20mr4896229ilk.246.1627587543719; Thu, 29 Jul 2021 12:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627587543; cv=none; d=google.com; s=arc-20160816; b=QruOJynrJ948KD/Rb84o/oQr+vc6N5pMy4VExOIBGgn9I/sptG0mL4GHyPzwZyqrA3 88yA9x1HFiBBo4/r6e6W8tEew7fA/hKybseRW5fgzWDfhpO2HPrHa6Qgv7pCho5tD7gh B+Wq4EZEMABlX5Umkly3eWNS2k38hLH6OwBvRM2NEgMO8TcxlwlaEI96Q5+mWIHU0IG1 P03V2c/WHsA+7Bd0rcIJE3dwIPmoF2eND4yu3C988hHi7okhoTjWEsX4coPUG4RmkMUX /jcPo5dzlRISZJFSuT+RNKzTnTCxEgUHpmXUrD9I7xg1aX49OW38wQRDev7VzlPcf1hy rE8Q== 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=BQ1Wv9ddwXtPpU7j1mUV1G/GqYenPRdcCt53ijsc20g=; b=JgtpTTEzn1TRG0tDtxRgrcojgTwNMiXCa3o5qaQbO/MWbIBNMYe4LreFKcPe0PNrK7 XboIrGVV8MpkLVlAyKcumOKxA79JfiMIXD8d9RJJY1i3rrQcmcPRWbp4eJkKFi8F7byH q0iGwmhKd+9ybOmlpy3Ms14vDsvWIQD5YdvmrmfQHK/UAmfljaeYJNuGMW/eePwNxsFL Sot9LSt9DdrF8U5VYDJwN0+qNXzAROCFXMtxSb/laajY0eD/kx07k+ZnDvX6YwVUbz0U uf1Vix9RFHPnYRl2t+AmGTpIZGySKbMqm33CDjAbBPVxyuKPEgpHY9WunMuSg6My5bbY 9xog== 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 o19si3862789jav.61.2021.07.29.12.38.51; Thu, 29 Jul 2021 12:39:03 -0700 (PDT) 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 S232239AbhG2Tgl (ORCPT + 99 others); Thu, 29 Jul 2021 15:36:41 -0400 Received: from mail-io1-f47.google.com ([209.85.166.47]:37451 "EHLO mail-io1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbhG2Tgj (ORCPT ); Thu, 29 Jul 2021 15:36:39 -0400 Received: by mail-io1-f47.google.com with SMTP id r18so8611048iot.4; Thu, 29 Jul 2021 12:36:35 -0700 (PDT) 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=BQ1Wv9ddwXtPpU7j1mUV1G/GqYenPRdcCt53ijsc20g=; b=WnGsS28BWtUdNGNdbnOiUfEmL611UGZceAJruf1AccuMg7zp7Q0Qj27+LUQ7Mtub29 XC05o0rvrxNWluPQMlp7XYeQ8Knvuyc809gR9qgsjCKAmQrn2qLbYgD1ATP9ov1vrw3N 6Mb3bzn1vmVgEXe/9I1pbewAcLoJTXpdCBSrQ2HGiQMHNUo7/nQniF76GvWVt5UfxVsh WKkOAcjxcoPHTbg0LXXt+LtZ7Tzp/An6slL/l4B3MzRT1xli6RXabhM2i53mDigBN54P 8I1JLcmP4olfVdU5far8p3qtVxyTPsjM4J4ef2GKodWZilWkg3kBGk2H22PcqaKnFGTM kEtQ== X-Gm-Message-State: AOAM532GDFqw69jWj1DH/y/L0P2A6w+u4bIFae74buqtRCHXgV/waCzm X+Hg+3K+54KjDtWgVgJMmg== X-Received: by 2002:a05:6602:2801:: with SMTP id d1mr5299475ioe.73.1627587394656; Thu, 29 Jul 2021 12:36:34 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id n12sm2485056ilo.57.2021.07.29.12.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jul 2021 12:36:33 -0700 (PDT) Received: (nullmailer pid 747746 invoked by uid 1000); Thu, 29 Jul 2021 19:36:31 -0000 Date: Thu, 29 Jul 2021 13:36:31 -0600 From: Rob Herring To: Stephan Gerhold Cc: "David S. Miller" , Jakub Kicinski , Loic Poulain , Sergey Ryazanov , Johannes Berg , Bjorn Andersson , Andy Gross , Vinod Koul , Aleksander Morgado , netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Jeffrey Hugo Subject: Re: [RFC PATCH net-next 1/4] dt-bindings: dmaengine: bam_dma: Add remote power collapse mode Message-ID: References: <20210719145317.79692-1-stephan@gerhold.net> <20210719145317.79692-2-stephan@gerhold.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210719145317.79692-2-stephan@gerhold.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 19, 2021 at 04:53:14PM +0200, Stephan Gerhold wrote: > In some configurations, the BAM DMA controller is set up by a remote > processor and the local processor can simply start making use of it > without setting up the BAM. This is already supported using the > "qcom,controlled-remotely" property. > > However, for some reason another possible configuration is that the > remote processor is responsible for powering up the BAM, but we are > still responsible for initializing it (e.g. resetting it etc). Add > a "qcom,remote-power-collapse" property to describe that configuration. > > Signed-off-by: Stephan Gerhold > --- > NOTE: This is *not* a compile-time requirement for the BAM-DMUX driver > so this could also go through the dmaengine tree. > > Also note that there is an ongoing effort to convert these bindings > to DT schema but sadly there were not any updates for a while. :/ > https://lore.kernel.org/linux-arm-msm/20210519143700.27392-2-bhupesh.sharma@linaro.org/ > --- > Documentation/devicetree/bindings/dma/qcom_bam_dma.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt b/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt > index cf5b9e44432c..362a4f0905a8 100644 > --- a/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt > +++ b/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt > @@ -15,6 +15,8 @@ Required properties: > the secure world. > - qcom,controlled-remotely : optional, indicates that the bam is controlled by > remote proccessor i.e. execution environment. > +- qcom,remote-power-collapse : optional, indicates that the bam is powered up by > + a remote processor but must be initialized by the local processor. Wouldn't 'qcom,remote-power' or 'qcom,remote-powered' be sufficient? I don't understand what 'collapse' means here. Doesn't sound good though. Rob