Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4028148pxf; Tue, 23 Mar 2021 00:10:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyM0EzjKB/58JzWyaSFdMpeaH03G9LSlyplC/EgfefqYtfMnc4Tkc0hfhRc/i9pd6Wt5+ap X-Received: by 2002:aa7:c3c4:: with SMTP id l4mr3063623edr.335.1616483406908; Tue, 23 Mar 2021 00:10:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616483406; cv=none; d=google.com; s=arc-20160816; b=xribPH4XlzkIonVJ0Y59PtgAs0kHegobhCFdO1YEtgmLsBnVnr3bO+xMxqYyHerwt5 9hl7phO9Jj6+VJhprGeGBZAOZPBRuYsEHvhzv85Wrh5o153yQ93sFGzhHAvP22iquH/h MTBQk7zoW6Xj1T1gPdV+AqFwH5MQiHSuVaGpVxl6ZJkc2JU9PcF/bRtwBKbr5U5QmXYv 5xQhLb+aTp66s759e+WSj3Y0VkwIowsSnehPI1R1MjrAOkSe89d+Me1YvmuAtxvjRhIT CuuXp1X9KVByEzNdZAnYWPrCiQGrGSozRXLVWn+HhiJewKe5moOBEC/5oZGdLMcHWtV0 1aOw== 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:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=M7BX2s49auLfbH2gyCi6pSTB77prgu67qQJXhpmUA0U=; b=kDnRpA/u0cxSP5e/5PC+QT+AnMU1qCohq4W6m+UyECa/LtKbJSCPyPnuFS0XVdoY84 oOwQAdBS9Yi9bRPmM1ltMRCumYKWbTLxBZ5kH9V7c/D+rF3nUPh+c/ExD0yiVDS/2WA0 Bvo1o3+ImugQT76RB8DlbyFEJy+7Fw1+SXjGNLTvJ8NjZHNfTzXIlm4uanZylcgo33T7 KBiEGVF3zXO9knKYZf+ATTsymvOp1kYLNKnIt3i+vZM9t+UhnzN82Eh8TLcIJcJFtLkf LzUYrKzY0bq7rjQB7LNN5AWaYDL5sjqaoNbwNH4wq4qRO804qmXewB/PaEKXlrmADp6t ADMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="IOUq/keT"; 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 h18si13475759eds.345.2021.03.23.00.09.44; Tue, 23 Mar 2021 00:10:06 -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="IOUq/keT"; 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 S229504AbhCWHH3 (ORCPT + 99 others); Tue, 23 Mar 2021 03:07:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbhCWHG7 (ORCPT ); Tue, 23 Mar 2021 03:06:59 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68FDEC061574 for ; Tue, 23 Mar 2021 00:06:59 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id ha17so9687036pjb.2 for ; Tue, 23 Mar 2021 00:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=M7BX2s49auLfbH2gyCi6pSTB77prgu67qQJXhpmUA0U=; b=IOUq/keT/pN6NH7JDlFmy0UckH2Ljp+O6AAcAcuFNmV8rABoiI4Ti48EgiYgdkhbbJ gKdFzHzBJKOqT5Ob0YoXEPcJTsWVXunJ9mJUGv0imGnWSD4uMLRZquHIaHXA9VX47NTE grrCMXoa9q6oDxIvscH/zo4S3EHEfPhggIH0Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=M7BX2s49auLfbH2gyCi6pSTB77prgu67qQJXhpmUA0U=; b=fZeigrFv1jde81QSEXy6VxA5hD+DdrUkvwzuF1LBli87ZrwCqV894O1VvRyxbmaRwr YZpY4b1yZMfh1ZZ/RQpOCQvET3fMqdHaO2/nqPTGbYoGHr+xhdvB2kdreiGS1dk+qgFY QcKVFYRbHLjvH9vytH48KTeurICdmLi3rCeQfCpncEMrsLZ6Gl6hvQReBY+eCUYanULX dCZEkTzB9X4tnPEf70MzIa2bYbX6ubjU2vUhwOfTotQAyar+2pwdWr2Yw/BCTblfv5De UK2DCEs+SX3gYwPhag19MeV01AaLMK/MsRfTCKOyBHfkfi/1QtUiP1RLEkqlfERrYC3N +lwg== X-Gm-Message-State: AOAM532pWJYo82UfQHnO62++Lb4905lGgRbK0Butudk0fZqA/fvf576R DiE6rBKnYwZ4RetAYOF4YZolEQ== X-Received: by 2002:a17:90a:c207:: with SMTP id e7mr3088269pjt.188.1616483219004; Tue, 23 Mar 2021 00:06:59 -0700 (PDT) Received: from chromium.org ([2620:15c:202:201:e90d:d453:87ae:2e10]) by smtp.gmail.com with ESMTPSA id j10sm1550508pjs.11.2021.03.23.00.06.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 00:06:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <1614773878-8058-1-git-send-email-rnayak@codeaurora.org> <1614773878-8058-6-git-send-email-rnayak@codeaurora.org> <161481625091.1478170.8810587061043612400@swboyd.mtv.corp.google.com> <31bf64c5-26a4-dc23-3769-df7a7559083b@codeaurora.org> Subject: Re: [PATCH v2 05/14] arm64: dts: qcom: sc7280: Add RSC and PDC devices From: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org To: Maulik Shah , Rajendra Nayak , agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org Date: Tue, 23 Mar 2021 00:06:56 -0700 Message-ID: <161648321678.3012082.421067844814536713@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Maulik Shah (2021-03-07 21:21:04) > Hi, >=20 > On 3/5/2021 11:12 AM, Rajendra Nayak wrote: > > > > On 3/4/2021 5:34 AM, Stephen Boyd wrote: > >> Quoting Rajendra Nayak (2021-03-03 04:17:49) > >>> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi=20 > >>> b/arch/arm64/boot/dts/qcom/sc7280.dtsi > >>> index 4a56d9c..21c2399 100644 > >>> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > >>> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > >>> @@ -30,6 +31,18 @@ > >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 }; > >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }; > >>> =C2=A0 +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 reserved_memory: reserve= d-memory { > >> > >> Do we plan to use this label at any point? I'd prefer we remove this > >> until it becomes useful. > > > > sure, i'll drop it > > > >> > >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 #address-cells =3D <2>; > >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 #size-cells =3D <2>; > >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ranges; > >>> + > >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 aop_cmd_db_mem: memory@80860000 { > >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 reg =3D = <0x0 0x80860000 0x0 0x20000>; > >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 compatib= le =3D "qcom,cmd-db"; > >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 no-map; > >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2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=3D <&pdc>; > >>> =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 qup_uart5_default: qup-uart5-default { > >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pins =3D "gpio46", "gpio47= "; > >>> @@ -287,6 +314,23 @@ > >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 status =3D "disabled"; > >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= }; > >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 }; > >>> + > >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 apps_rsc: rsc@18200000 { > >> > >> Any better name than 'rsc'? Maybe 'power-controller'? > > > > hmm, Maulik, any thoughts? This would perhaps need the bindings docs > > to be updated as well (and maybe the existing platform DTs using rsc to= o) >=20 > I think we should be good with rsc (resource-state-coordinator). RSC=20 > itself don't do any resource power management. >=20 Maybe 'mailbox' then? Or 'remoteproc'? I am not "good" with rsc as it isn't part of the standardized nodes names per the DT spec.