Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp166456rdb; Tue, 5 Dec 2023 01:44:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IE49eu14GE0Tq8rUMjnEDzrlSFjlpUqcFAW6oWzHsS2brY8XqnSh0tEd3p+HHNCnTFvVY1T X-Received: by 2002:a17:902:8491:b0:1d0:6ffd:ae0d with SMTP id c17-20020a170902849100b001d06ffdae0dmr2475788plo.116.1701769474569; Tue, 05 Dec 2023 01:44:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701769474; cv=none; d=google.com; s=arc-20160816; b=iKdBhw5BjZbERBa1IJ95y2AcDdlfRwuxNlr5jk+buVeGAe+kZf/LblaASyo+bUU3Zu jzPRn9/F/AhXHvr1QWAE8p029WuZcjhWWkJnSBd7oWNLzkpAGwXyYKKEnWgUyiU8tB+d loXSi+gkHb87R+u5Ka1j3BtqLLOt4sS7P2xL4tsgStWeI9SY5pFnN/GSYKAnAssjHj7D wPSlXVCjkwI5eEiUfb14F1ZoXpA8d0wvP9ookYqDMBd3JzBBCxWxiVB4emI4PAf5RUrG LXsrcujZMYJq/isXqM8muHZaqpo3Hmis+rW0+vLBeLa/imEjUT1nfmzpoiv7ikdeovdR a3Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=rnYM1yQqPX6bthXIdvonXdCSL3SqDtFC3Joa/JApLnc=; fh=h4eSb2fHDpa44q5BTCG3Z1qRgsmCwoHvApqzo5M2jwM=; b=tE4heCZmm9YSrAmbNlH9jeerFDhdn+5PgveyNHk0IwqF3VTlInsYQ5GEMvvOBK2A/3 CfukQM+4Yc7qF9uI850bbVkdcHWnIkpYe5Twb8Y1N9gpM5115t+Ag8bhwiUG9uMhlqxx 6KyDIZsl4GSeuOZ/pxqgZhdWBYAXfu3wC9Sp1Zuq9V2q3Au/4YWvchpymBsfthXMtXby qVODPr4KnMLHdQrO8FTLAgV1UsWXZ3WDE4GhdVqRTdiud8mYaZ8SCwY1ZFtYveLC1h6s an0/1VGL3kg9ne+jKo5A1krv7VdPHeueAt76kF7w1g9KYCOzD2bO23waZshi7FFUCxbx QlCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id f13-20020a170902ce8d00b001bc434b9d95si20617plg.156.2023.12.05.01.44.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 01:44:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 282518090078; Tue, 5 Dec 2023 01:44:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235608AbjLEJoS (ORCPT + 99 others); Tue, 5 Dec 2023 04:44:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235056AbjLEJoC (ORCPT ); Tue, 5 Dec 2023 04:44:02 -0500 X-Greylist: delayed 2452 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 05 Dec 2023 01:44:05 PST Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D211AFA; Tue, 5 Dec 2023 01:44:05 -0800 (PST) Received: from p200301077700c3001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:107:7700:c300:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rARxy-0072Tw-GJ; Tue, 05 Dec 2023 10:43:46 +0100 Date: Tue, 5 Dec 2023 10:43:43 +0100 From: Andreas Kemnade To: Krzysztof Kozlowski Cc: Tony Lindgren , Andrew Davis , Frank Binns , Donald Robson , Matt Coster , "H . Nikolaus Schaller" , Adam Ford , Ivaylo Dimitrov , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , =?UTF-8?B?QmVub8OudA==?= Cousson , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Paul Cercueil , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-omap@vger.kernel.org, linux-mips@vger.kernel.org Subject: Re: [PATCH RFC 01/10] dt-bindings: gpu: Add PowerVR Series5 SGX GPUs Message-ID: <20231205104343.2e3c4105@aktux> In-Reply-To: <78a81d54-f12c-401e-9a26-5125eb0b1c65@linaro.org> References: <20231204182245.33683-1-afd@ti.com> <20231204182245.33683-2-afd@ti.com> <20231205075657.GN5169@atomide.com> <20231205081031.GO5169@atomide.com> <20231205083001.GP5169@atomide.com> <27f2e3a3-0791-4278-adb2-55ed76820a3a@linaro.org> <20231205100246.5db0d6a1@aktux> <78a81d54-f12c-401e-9a26-5125eb0b1c65@linaro.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 05 Dec 2023 01:44:33 -0800 (PST) On Tue, 5 Dec 2023 10:27:56 +0100 Krzysztof Kozlowski wrote: > On 05/12/2023 10:02, Andreas Kemnade wrote: > > On Tue, 5 Dec 2023 09:45:44 +0100 > > Krzysztof Kozlowski wrote: > > > >>> Sure the clock nodes can be there for the child IP, but they won't do > >>> anything. And still need to be managed separately by the device driver if > >>> added. > >> > >> So if OS does not have runtime PM, the bindings are wrong? Bindings > >> should not depend on some particular feature of some particular OS. > > > > Any user of the devicetree sees that there is a parent and the parent needs > > to be enabled by some mechanism. > > E.g. I2c devices do not specify the clocks of the parent (the i2c master) > > If you use this analogy, then compare it with an I2C device which has > these clock inputs. Such device must have clocks in the bindings. > I would see target-module = i2c master. Well, if there is a variant of the i2c device which does not require external clocks and a variant which requires it, then clock can be optional. > > > > Maybe it is just more fine-grained on omap. > > > > look e.g. at ti/omap/omap4-l4.dtsi > > there are target-module@xxxx > > with the devices as a child and a clock in the parent. > > Not related to runtime PM... > Well, runtime PM is just the linux-specific mechanism to enable the resources needed by the parent, so yes, it is not related... As said, another OS can have another mechanism. But anyways, the target module specifies resources which are required. Regards, Andreas