Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5921156ybg; Tue, 22 Oct 2019 10:16:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1mGv2cbM5ZuLxK11jZwHwQZX5YtRLL9vifDejyKO0LcUXpjiW4yH9lCqVLUFAJg5DllTs X-Received: by 2002:a17:906:48cf:: with SMTP id d15mr8148041ejt.59.1571764603885; Tue, 22 Oct 2019 10:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571764603; cv=none; d=google.com; s=arc-20160816; b=SdQ40f7gPcd/piq02lgy546+7xqlRCMs85jkp7OvwW1c6sL/0NOreF1T3yBsEUqhvS RO3Z8qU9CTjSzP+Ut8yujGOOniMJEnP4Z6HfAI68ldu+iXp+Fb7+0VxnIMoCesqMq95c f28hGbl9TfSfcMj+hABXsBxiBjF3x6heIf8/naaldTXmITMLlXgahf2hcxOX3bWxo8Ni SNT6pNz2xwZRK/4xXni6+aRPLc8T/gxxRdi2/aDkpsdm7GfxiNr9u251SdXEgNaCdTH9 IXtRe/AN0HdTHopfi39dr03ivFIATpzf+9REF58gpBaFgFcU/mAsbJp0WrrIVXjKaWRG 3KwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=C/uw8S92wjbyOWAQk7FQIkAayZ1BGrYlPAf9Oil9cRE=; b=DlEZbrvrTTSjbEE6PXsJFAM27td+4AijaNbE5DLD6+tY1QiNb1+2I4kAG5MvtawOcu P6DNQamr1uLn7K/V/yP3Vu2HhsJoZk0cnareASSNayETWXg0PhHHLRrXmy/6Dqb3FwI+ EpveBUc8yUj5J1f6i1AUZmtOdA3TytT8mKRrxRxzTX0jjGA48096tw3espq6GKpkNYXu 1QOmzRE9ZpsG2sQkb5AGftE7FSZFDms1XqCeenaNTn3fqVhQUZK12HgIv7D8spmFx9Xr /fBVFdDc/zKLerIv9+bAkNIGjP+XFM7VEVpqlE0j0qax8pQbH3wR9J493pxBKoT51OHE +TcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=RSlOVsMA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y71si13269815ede.135.2019.10.22.10.16.19; Tue, 22 Oct 2019 10:16:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=RSlOVsMA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388934AbfJVQOx (ORCPT + 99 others); Tue, 22 Oct 2019 12:14:53 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.50]:8306 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727152AbfJVQOx (ORCPT ); Tue, 22 Oct 2019 12:14:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1571760888; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=C/uw8S92wjbyOWAQk7FQIkAayZ1BGrYlPAf9Oil9cRE=; b=RSlOVsMAKP+L4nrbSHSrhU929PHeQUT//CQJ+9C51i3Dz/Jh7rLQZztbC537hKGuy+ Cb6DN0zE4qmRv15P5OSTipmp+CqbvQLZ443H98Fs+8ybaboVdNUQC71StoxufuqwDTnM JyjnZy0s/RP2C/Tc/yL44uJ+lkT3gR2eZj6SKkKg79OX6KqM/lqIn96iJK/fr1h5r4mJ HfhW4yjYSlwdw2m85pL6O/eVUGCpXOOkIq6DfPKBixLQ9adpGbicBXBeY8mq7B22TXF8 XcQ9I3KsO6e5IjEgjCUY78AVU4ahe7yqrNuA7LTj0wJ7JH+2fcAA9Zie3kO+KTU4yyaQ 3RlQ== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7wpz8NMGH/zswDWtng==" X-RZG-CLASS-ID: mo00 Received: from mbp-13-nikolaus.fritz.box by smtp.strato.de (RZmta 44.28.1 DYNA|AUTH) with ESMTPSA id R0b2a8v9MGEcRpL (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 22 Oct 2019 18:14:38 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH 1/7] dt-bindings: gpu: pvrsgx: add initial bindings From: "H. Nikolaus Schaller" In-Reply-To: <20191022153650.GL5610@atomide.com> Date: Tue, 22 Oct 2019 18:14:38 +0200 Cc: Rob Herring , David Airlie , Daniel Vetter , Mark Rutland , =?utf-8?Q?Beno=C3=AEt_Cousson?= , dri-devel , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-omap , Discussions about the Letux Kernel , kernel@pyra-handheld.com Content-Transfer-Encoding: 7bit Message-Id: <8FCDC0F6-7734-4629-9646-7BEED89FEF25@goldelico.com> References: <20191021172557.GB5610@atomide.com> <20191022150202.GJ5610@atomide.com> <20191022153650.GL5610@atomide.com> To: Tony Lindgren X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 22.10.2019 um 17:36 schrieb Tony Lindgren : > > * H. Nikolaus Schaller [191022 15:12]: >> Hm. How should that work? Some SoC have the sgx544 as single >> core and others as dual core. This imho does not fit into >> the "img,sgx544-$revision" scheme which could be matched to. > > Well don't you have then just two separate child nodes, > one for each core with their own register range? Doesn't look so. AFAIK the architecture of SGX is that there is a single scheduler which is accessed by the register range and it internally has control over multiple cores. > > That is assuming they're really separate instances.. No. There is some internal magic in the driver. It just needs to know that there is one or two nodes. Currently this is handled by some #define option when calling the inner Makefile. My idea was to replace the #ifdef by checking for the img,cores property. > >> But maybe we do it the same as with the timer for the moment, >> i.e. keep it in some unpublished patch set. > > Yeah makes sense to me until things get sorted out. > >> At the moment I have more problems understanding how the yaml >> thing works. I understand and fully support the overall goal, >> but it is quite difficult to get a start here. And there do not >> seem to be tools or scripts to help converting from old style >> text format (even if not perfect, this would be helpful) and >> I have no yaml editor that helps keeping the indentation >> correct. So this slows down a v2 a little bit. > > Sounds handy to me :) > > Regards, > > Tony