Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4981432pxv; Tue, 20 Jul 2021 16:12:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwK1iyhj+uVfyeBT0FFkWlbNP8GsEDutAQVKvLg1pOqA62FoI+CkUrPUk9/thnp27wZIAxL X-Received: by 2002:aa7:d344:: with SMTP id m4mr44415739edr.184.1626822756789; Tue, 20 Jul 2021 16:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626822756; cv=none; d=google.com; s=arc-20160816; b=nXkG7lhmdmCsMD8itYZk5p/DJnDRhHLfX6dSxgkyP23LWhPdVzD3ya2RB+sa0y3Dkp YqoELtsauoTbK1ZEMqfVR0eDZJLp7qJ+kIklj3fVJYeLLMsis6xqfNDEMmxUJxIIQu0E B2mZnmcQB1tiUwfKQwPoZYAucYc/Hb3PVQqxc4F/5VFXhBJEXcnXNUVdAWuEL6Bk0ddh 3kyTrgMaxJkrCsvwwWggpnFnI8+2O5AIEIm+bOoFLc8rXJmLA44AVHyj4dyZe9r5QgCy Y4kPgsekPzbcNo5YvoiwisfUPEGIk7MCOrT2qAKspKtUVd3fCDw3tLDJvvCHJEV6QhxE zVZQ== 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:dkim-signature; bh=HmZtI1xpEI+ek1YEEmTrQH173EtPkZuQKAG16jfYelI=; b=c+CIHXx8WbCil603EHVm0NZXpdGtbT0qAL+dnhRqDGebnUwrl5fdFHB2sRoJI8xaDB 4o7cxwK86TBE3qXBOsE9YpzW40/tGp3WImxIMC2/rggmaEy/DzAHDjwnFUj/emskD0DN rd5e7cP+qwM9R/ENtOPOvYtSxPCp2z3j/F46CDUIfM/FdwWgZOex6j9jXgjbtY9s0Wav +j1vK/qoaXpAVzXhmJLYmJfLz47LSLB92GXCEvO8mVylkZsur8Z8LLXE89tGUxMv8XHJ rZlVzHHzy/Hkw7nz2vnhUj8utwS428B1DjuW7DnkrVyAgfo1YQuj8mXBptieJzJtz+jK WDNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WWsHNFpu; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si25797304ejx.581.2021.07.20.16.12.12; Tue, 20 Jul 2021 16:12:36 -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; dkim=pass header.i=@chromium.org header.s=google header.b=WWsHNFpu; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231678AbhGTW3h (ORCPT + 99 others); Tue, 20 Jul 2021 18:29:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231876AbhGTW3c (ORCPT ); Tue, 20 Jul 2021 18:29:32 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C25A6C061767 for ; Tue, 20 Jul 2021 16:10:09 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id y17so121867pgf.12 for ; Tue, 20 Jul 2021 16:10:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=HmZtI1xpEI+ek1YEEmTrQH173EtPkZuQKAG16jfYelI=; b=WWsHNFpumMchKKqPUZYeL3Q0MRwuhZGf1N5qizIbIoaqwSqsI0GRnaLgjtlY1VxNid JskTU9X0Ts4uhfdYP1vrKcn9yRMbvUZXKCpzJ9wL+wUzJntjupv2qYxPwjCUS1MD9U5o XjkDCRYBRTor9KRM7GkV/2bKjF3vPkwL8/YnI= 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=HmZtI1xpEI+ek1YEEmTrQH173EtPkZuQKAG16jfYelI=; b=DIVO6weDSbbYk+3UA1rF60GhMgVhszS1LqQ/ZBI1/+/Kk6qJMSIlz8eInlZy8aisN6 271D+fZ/X5FV8fEXsKPJPxu9TOL/Q8UsseZMYS+/9r/oxEkdOdZFDsIbVRJ7tnCUU3U1 iG/r2Eo4quhpiyuFBWa1TlGaZtVsq8meM4QKl9V0vKtePDMg2ZQPP+sle4IrU9kuQbl1 xl+BV63opM9WN9kCFuSvLh8xinQv6UblGYpNS88hWh0609brTRTQVBihoBplmCiKdSpe eLaRr2lrjQHzOGWvzCGM205gYVrH+appob2uU11uTarI/NFJ9fLhy/eoSmM2gSUVBmuU e7wA== X-Gm-Message-State: AOAM530f0lRBrChlbVvSvpCr3QvGBKfpAjRBC3B5JSJw2ECDkvuRNNG2 ngwW7zJxt7sLRPt30ti5Y+TrOQ== X-Received: by 2002:a63:1f0e:: with SMTP id f14mr28618978pgf.65.1626822609238; Tue, 20 Jul 2021 16:10:09 -0700 (PDT) Received: from localhost ([2620:15c:202:201:c9c3:db46:7281:8e32]) by smtp.gmail.com with UTF8SMTPSA id u24sm26397365pfm.141.2021.07.20.16.10.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Jul 2021 16:10:08 -0700 (PDT) Date: Tue, 20 Jul 2021 16:10:07 -0700 From: Matthias Kaehlcke To: Sibi Sankar Cc: swboyd@chromium.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, ulf.hansson@linaro.org, rjw@rjwysocki.net, agross@kernel.org, ohad@wizery.com, mathieu.poirier@linaro.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org, rishabhb@codeaurora.org, sidgup@codeaurora.org Subject: Re: [PATCH v4 02/13] dt-bindings: remoteproc: qcom: pas: Add QMP property Message-ID: References: <1626755807-11865-1-git-send-email-sibis@codeaurora.org> <1626755807-11865-3-git-send-email-sibis@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1626755807-11865-3-git-send-email-sibis@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 20, 2021 at 10:06:36AM +0530, Sibi Sankar wrote: > The load state power-domain, used by the co-processors to notify the > Always on Subsystem (AOSS) that a particular co-processor is up/down, > suffers from the side-effect of changing states during suspend/resume. > However the co-processors enter low-power modes independent to that of > the application processor and their states are expected to remain > unaltered across system suspend/resume cycles. To achieve this behavior > let's drop the load state power-domain and replace them with the qmp > property for all SoCs supporting low power mode signalling. > > Signed-off-by: Sibi Sankar > --- > > v4: > * Commit message change and sc8180x co-processor addition. [Rob/Bjorn] > > .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 65 +++++++++++----------- > 1 file changed, 33 insertions(+), 32 deletions(-) > > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > index c597ccced623..1182afb5f593 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml > @@ -78,11 +78,11 @@ properties: > > power-domains: > minItems: 1 > - maxItems: 3 > + maxItems: 2 > > power-domain-names: > minItems: 1 > - maxItems: 3 > + maxItems: 2 It seems maxItems should have been 4 in the first place and should remain unchanged after removing the load state power domain. With this patch: - if: properties: compatible: contains: enum: - qcom,sc7180-mpss-pas then: properties: power-domains: items: - description: CX power domain - description: MX power domain - description: MSS power domain power-domain-names: items: - const: cx - const: mx - const: mss