Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3897491pxv; Mon, 19 Jul 2021 11:25:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxY8XGEnth/TuteIxGmkD54rvTetjDmhiNT5tIKRnZzDOoHroqBVtIbidIzwIHdlQPuMSHt X-Received: by 2002:a05:6638:3a12:: with SMTP id j18mr23339828jaj.75.1626719124278; Mon, 19 Jul 2021 11:25:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626719124; cv=none; d=google.com; s=arc-20160816; b=OOU2R1czx9n7V5jO7UF7HG/bE8PqGTcTDmh5bJyCkorakHs8mkIpFhmv/lALfs4L3v IYBFSyTzi1pkpVF8P73ALED3nwXt2gfnorr1YcsPxd8g3W5fiEz2jcDMVIIns4flDrgu 6of/1VVsUiCubzTbu4EFM5AEExzonRAq8ka58/trZMwePCNWPtnYiOTGlgAsRWq/wHki AxexSoI2HV54pk6Fng2lYajGE+TrnexVBj0ET6JqOm/U0qECTx0pitlFIx/SFjcs8JT1 EOcc5mYtdvG4fIX8hEzIXyEdmszYhGWNmkVCYSwy3M1gYHvvcH1PDbaCFcc6pSsU+3zk KMog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=wC+4kPxoaNHXg251PHAM6O4Yc7Q1e6weOlw2gcruP18=; b=OzE4HAc3Xtw6ykxJ9JnJhu+soXj4y4E/YOSCru1whTIE+mLxQxXbCrUkuX1Z3usNyE rD44Y/PcAJpkpYlvXb1JToN/0NwHypnOayf1zJxMG9onJLGkM15wpQ0AsTm20WYfEth4 u7/IBRbTDauaszRkH+MLCfNumCr0VlO5P07jia4nOpIKtpOwr/MSW7UjYIKFZxk27iMa Up1cyH08EZIWH4+UhehnOx0TPMusJGBErYD1dnLQzcgChIfHJMMTu6ws9DH4i2m/b/74 RPvjlT+D9Lq74lWNcv4lM59Iiy5F8ZCQmjrSyzXmQfS58ZXwehrihuNBJAYFIlIbuBtw nQPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=q1vLheaS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j17si18412053ilq.87.2021.07.19.11.25.13; Mon, 19 Jul 2021 11:25:24 -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=@mg.codeaurora.org header.s=smtp header.b=q1vLheaS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380816AbhGSRg6 (ORCPT + 99 others); Mon, 19 Jul 2021 13:36:58 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:15398 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349450AbhGSPuc (ORCPT ); Mon, 19 Jul 2021 11:50:32 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1626712272; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=wC+4kPxoaNHXg251PHAM6O4Yc7Q1e6weOlw2gcruP18=; b=q1vLheaScc1Nh/7PZAEjT43hM0Q+j3KYoltckDvGkB6FSQK+HGCkBDEw/wN+s5BYV5CYfHXe MO0gU8vMRIUOfTAy2avfwKIBOP3hsFTmpSmXUHmXZkGq4zltobUpsVobo3XQjuAm1HQfJLD3 pFwDsf63PUWS41DrD80QvLVtcW8= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 60f5a8a125e56632784298a7 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 19 Jul 2021 16:30:25 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 1258DC4323A; Mon, 19 Jul 2021 16:30:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 46C07C20DE1; Mon, 19 Jul 2021 16:30:23 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 19 Jul 2021 22:00:23 +0530 From: Sibi Sankar To: Rob Herring Cc: bjorn.andersson@linaro.org, swboyd@chromium.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 v3 02/13] dt-bindings: remoteproc: qcom: pas: Add QMP bindings In-Reply-To: <20210714193457.GA3135088@robh.at.kernel.org> References: <1624560727-6870-1-git-send-email-sibis@codeaurora.org> <1624560727-6870-3-git-send-email-sibis@codeaurora.org> <20210714193457.GA3135088@robh.at.kernel.org> Message-ID: <1c29a746a450e75345a8d1e433fa51ee@codeaurora.org> X-Sender: sibis@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-07-15 01:04, Rob Herring wrote: > On Fri, Jun 25, 2021 at 12:21:56AM +0530, Sibi Sankar wrote: >> Add Qualcomm Mailbox Protocol (QMP) binding to replace the power >> domains >> exposed by the AOSS QMP node. > > Not a compatible change. Explain why that's okay for all > platforms/users. It's not meant for all platforms. Rather we just replace the load-state power-domain with the new qmp property and it only affects the compatibles covered below. > >> >> Signed-off-by: Sibi Sankar >> --- >> >> v3: >> * Misc. documentation fixes: >> - Reduce power-domain maxItems due to load_state pd removal >> - Combine compatibles where possible with the load_state pd removal >> - Fixup the qcom,qmp ref to phandle type >> >> .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 62 >> +++++++++++----------- >> 1 file changed, 30 insertions(+), 32 deletions(-) >> >> diff --git >> a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml >> b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml >> index 9ea05e608bc1..ad85617b43fa 100644 >> --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml >> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml >> @@ -75,11 +75,11 @@ properties: >> >> power-domains: >> minItems: 1 >> - maxItems: 3 >> + maxItems: 2 >> >> power-domain-names: >> minItems: 1 >> - maxItems: 3 >> + maxItems: 2 >> >> firmware-name: >> $ref: /schemas/types.yaml#/definitions/string >> @@ -89,6 +89,10 @@ properties: >> maxItems: 1 >> description: Reference to the reserved-memory for the Hexagon >> core >> >> + qcom,qmp: >> + $ref: /schemas/types.yaml#/definitions/phandle >> + description: Reference to the AOSS side-channel message RAM. >> + >> qcom,smem-states: >> $ref: /schemas/types.yaml#/definitions/phandle-array >> description: States used by the AP to signal the Hexagon core >> @@ -359,13 +363,11 @@ allOf: >> properties: >> power-domains: >> items: >> - - description: Load State power domain >> - description: CX power domain >> - description: MX power domain >> - description: MSS power domain >> power-domain-names: >> items: >> - - const: load_state >> - const: cx >> - const: mx >> - const: mss >> @@ -381,43 +383,20 @@ allOf: >> properties: >> power-domains: >> items: >> - - description: Load State power domain >> - description: CX power domain >> - power-domain-names: >> - items: >> - - const: load_state >> - - const: cx >> >> - if: >> properties: >> compatible: >> contains: >> enum: >> + - qcom,sdx55-mpss-pas >> - qcom,sm8150-mpss-pas >> - qcom,sm8350-mpss-pas >> then: >> properties: >> power-domains: >> items: >> - - description: Load State power domain >> - - description: CX power domain >> - - description: MSS power domain >> - power-domain-names: >> - items: >> - - const: load_state >> - - const: cx >> - - const: mss >> - >> - - if: >> - properties: >> - compatible: >> - contains: >> - enum: >> - - qcom,sdx55-mpss-pas >> - then: >> - properties: >> - power-domains: >> - items: >> - description: CX power domain >> - description: MSS power domain >> power-domain-names: >> @@ -439,12 +418,10 @@ allOf: >> properties: >> power-domains: >> items: >> - - description: Load State power domain >> - description: LCX power domain >> - description: LMX power domain >> power-domain-names: >> items: >> - - const: load_state >> - const: lcx >> - const: lmx >> >> @@ -458,12 +435,10 @@ allOf: >> properties: >> power-domains: >> items: >> - - description: Load State power domain >> - description: CX power domain >> - description: MXC power domain >> power-domain-names: >> items: >> - - const: load_state >> - const: cx >> - const: mxc >> >> @@ -499,6 +474,29 @@ allOf: >> - const: mss_restart >> - const: pdc_reset >> >> + - if: >> + properties: >> + compatible: >> + contains: >> + enum: >> + - qcom,sc7180-mpss-pas >> + - qcom,sm8150-adsp-pas >> + - qcom,sm8150-cdsp-pas >> + - qcom,sm8150-mpss-pas >> + - qcom,sm8150-slpi-pas >> + - qcom,sm8250-adsp-pas >> + - qcom,sm8250-cdsp-pas >> + - qcom,sm8250-slpi-pas >> + - qcom,sm8350-adsp-pas >> + - qcom,sm8350-cdsp-pas >> + - qcom,sm8350-mpss-pas >> + - qcom,sm8350-slpi-pas >> + then: >> + properties: >> + qcom,qmp: >> + items: >> + - description: Reference to the AOSS side-channel message >> RAM. >> + >> examples: >> - | >> #include >> -- >> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora >> Forum, >> a Linux Foundation Collaborative Project >> >> -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.