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=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham 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 76420C43381 for ; Tue, 12 Mar 2019 15:43:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 43FC220693 for ; Tue, 12 Mar 2019 15:43:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iHbZ0pgZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 43FC220693 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SfwMwzeDaOFGuduYOsWAJcKVXFj8ugXJ02Fcc00KjMI=; b=iHbZ0pgZzn1vBn UKMFAg6LwSyROm+SqwV96L/sH+LuOSgfUqT+UYkgC5KrLZgkfrQ0clVoJhMBjvwwbg8XE/sFrDsfz 5tvvT+o01D6z3Iz44njFjy5TtYRQ8xJ2nd3A1Ujalya6OOkH3ymLeMbWdAz1uKugTKycjyFiuKTnD boNgmF7kjWbR2+RfOAf8OA8ybUCBvz7tzRLMCoAKhOB7DW0MksqPyYIatHy/DkmYjNf6v58tN0wte uWHFofkEYw89QdlAF6PJNLvLX7bIFq7UH9vXjSK63swfzxoUajjy857fg2RlpgqTbssG3jS/wx9uR ca7qE652ZwQgAkPTX7EA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3jYZ-0005Yk-En; Tue, 12 Mar 2019 15:43:07 +0000 Received: from mail-ot1-f65.google.com ([209.85.210.65]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3jYW-0005Xw-8B for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2019 15:43:05 +0000 Received: by mail-ot1-f65.google.com with SMTP id x8so7170otg.7 for ; Tue, 12 Mar 2019 08:43:03 -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:user-agent; bh=+x0mrpWFj/joFjbYVCc3LOxm3WlT3dfiHkWDvxq4qE8=; b=NTqj9h4ZtPgU8wXIzv40cEm6/AkHqxc9Mo3C6DDM//zpqBDws62+kF+SCDNJds0VGg afLOEPe9Vo1aSeBpQf1UWpfGdLWUZNTUSBosEc2x9TO3c4YaW8wK8WcKxuPBq4w6eeJD rizGBgYnYRWeW7kjfLsAE480BKl6pmQpL3MIhj+h2nfd2I4tXT8okjBR8qas2PVjiFiD sLdXFc3Cw7P1xc1fwOjHNQmwReiVA2d5dlK6DjHjbkoeYJwqBxpSvHQQGqbmFtjA1PkY /MFtrAFGgLUb9uBU3v3LcaD2u5GnYhChNC1E/IFLS9LuKxfQZL5AkFTa8PgzIFDTVyUN ypsQ== X-Gm-Message-State: APjAAAWd1QlCdTQaO/Eo2OwmvhvuDC5jFAUk119sEJNwMQUIu5jUziGX kbLT/jTSp/DVdPyi7YP3jA== X-Google-Smtp-Source: APXvYqy5viMPEgT54aC0d+7aJSnlquNyzEcAdO6JJvKPjbXO6dJ6yM+Y6xV5Zr9L83sO3bKvoRNZIA== X-Received: by 2002:a9d:5e19:: with SMTP id d25mr12575185oti.185.1552405382778; Tue, 12 Mar 2019 08:43:02 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id e89sm4201542otb.30.2019.03.12.08.43.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 08:43:02 -0700 (PDT) Date: Tue, 12 Mar 2019 10:43:01 -0500 From: Rob Herring To: Lokesh Vutla Subject: Re: [PATCH v2 2/5] dt-bindings: ti_sci_pm_domains: Add support for exclusive access Message-ID: <20190312154301.GA21389@bogus> References: <20190223093232.29003-1-lokeshvutla@ti.com> <20190223093232.29003-3-lokeshvutla@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190223093232.29003-3-lokeshvutla@ti.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190312_084304_285710_4F6812DE X-CRM114-Status: GOOD ( 18.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , Device Tree Mailing List , Sekhar Nori , Tero Kristo , Santosh Shilimkar , Linux ARM Mailing List Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Feb 23, 2019 at 03:02:29PM +0530, Lokesh Vutla wrote: > TISCI protocol supports for enabling the device with exclusive > permissions. Certain remoteproc devices or some shared devices > across VM doesn't wants to request devices with this flag set. The wording here is weird. You want to add exclusive support, but you are talking about devices which don't want exclusive support. > So add support for getting this information from DT by increasing > the power-domain cells to 2. Seems like this would be racy. Whomever wants exclusive access would have to be the first to request a device. Seems like whether devices are able to be shared or not would be known because generally h/w has to be designed for that. > > Signed-off-by: Lokesh Vutla > --- > Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt b/Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt > index f7b00a7c0f68..5fdda7475023 100644 > --- a/Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt > +++ b/Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt > @@ -19,8 +19,11 @@ child of the pmmc node. > Required Properties: > -------------------- > - compatible: should be "ti,sci-pm-domain" > -- #power-domain-cells: Must be 1 so that an id can be provided in each > - device node. > +- #power-domain-cells: Can be one of the following: > + 1: Containing the device id of each node > + 2: First entry should be device id > + Second entry should be 1 or 0. Use 1 for enabling > + the device with exclusive permissions set else 0. > > Example (K2G): > ------------- > -- > 2.19.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel