From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10831C388F9 for ; Wed, 21 Oct 2020 18:20:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B3FF62245B for ; Wed, 21 Oct 2020 18:20:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2503992AbgJUSUB (ORCPT ); Wed, 21 Oct 2020 14:20:01 -0400 Received: from foss.arm.com ([217.140.110.172]:38508 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2503991AbgJUSUB (ORCPT ); Wed, 21 Oct 2020 14:20:01 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3BBDCD6E; Wed, 21 Oct 2020 11:19:55 -0700 (PDT) Received: from bogus (unknown [10.57.22.167]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D25C63F66B; Wed, 21 Oct 2020 11:19:53 -0700 (PDT) Date: Wed, 21 Oct 2020 19:19:51 +0100 From: Sudeep Holla To: Rob Herring Cc: "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, linux-arm-kernel , Sudeep Holla , Viresh Kumar Subject: Re: [PATCH 1/2] dt-bindings: arm,scmi: Do not use clocks for SCMI performance domains Message-ID: <20201021181951.xu2igea2qbca3alf@bogus> References: <20201020203710.10100-1-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Oct 21, 2020 at 11:20:27AM -0500, Rob Herring wrote: > On Tue, Oct 20, 2020 at 3:37 PM Sudeep Holla wrote: > > [...] > > When is this not 1 (IOW, you only need this if variable)? How would it > be used outside SCMI (given it has a generic name)? > > > + > > +* Property arm,scmi-perf-domain > [...] > Really though, why can't you give SCMI a CPUs MPIDR and get its domain? > Now I remembered why we can't use MPIDR. The spec talks about perf domains for devices in generic. CPU is just a special device. We will still need a mechanism to get device performance domain. So MPIDR idea was dropped to keep it uniform across all the devices. -- Regards, Sudeep