Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2931312rwd; Mon, 22 May 2023 06:29:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6rE3nR7MWMbMF5u50VsyT+NQh77FJQ6Kztdgb6PTFtbJAqNFfH/oSODwlSJ6HA34RGzued X-Received: by 2002:a05:6a20:938e:b0:10b:7400:cef0 with SMTP id x14-20020a056a20938e00b0010b7400cef0mr4308201pzh.39.1684762187518; Mon, 22 May 2023 06:29:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684762187; cv=none; d=google.com; s=arc-20160816; b=s1a9FOLrkn4JLNIOxUkPagzUYruc6eizVcrio0WagTEZDpunJRfN0N+iav5EgNFqBg gsQLHEIEO09fkM8Tqpe924AjWvAa+jP5RfGpT9DWDcRJx3d+i4WYr/7FqWGt6DJz8LP+ PnB1VKJdq7NSUXerpyafXF2I7dGsdKVL9mygmNFgCUPBGWZdqCrsljsrV+dFzQovRV0q 8YpvudgFwivcVyZFBBfoVqYHYwv2Q+1riilbKYqKBNKclIKRgiktATexPss7mRBLEK4G z4MkyZxesQYI6oUO9Vig2Zd01sDK3Zh1C948q3g0x5n0KH/z13UymfMqkVblc831xts7 QSTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=T6WKzzi3geeqvAy+HEhZbkW5M1xIRqiwgNjBVb8OkRo=; b=KiDOQoMdYBlwLkITdVVErf7S1F1eR7xyO8K3JzQkYVwjO+/KY4+qhvwE7duu010UQl TftHokpRwItYJST8OLRPZcnE2uBsvDg/e2rnJvEBavvw6kY3hbBIMBr4bStdqrQW5p+q 1zHpXZwQYSgN/roJgxxZFYHnRj4P7ian8eL73oIccie87HNe/lAUgluBb4LbxtGAOIme KApKaB4Fw6EsgJHyb9syd0Ig0E1ePE75U+i71i+zXFa9G5noCFqtsdXrzy1r8ur68Okw TzJp6WcYmb/35utmvBJT6yCd0PS7JtezIZZNKnvKz67uMPh6mWyhJu9xxRqsEH9gQ+x7 n8Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=aHg2wtT4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q4-20020a17090a9f4400b00251e16303f2si4763919pjv.86.2023.05.22.06.29.34; Mon, 22 May 2023 06:29:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=aHg2wtT4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233819AbjEVNAy (ORCPT + 99 others); Mon, 22 May 2023 09:00:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbjEVNAw (ORCPT ); Mon, 22 May 2023 09:00:52 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87320AC; Mon, 22 May 2023 06:00:49 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id C31025FD58; Mon, 22 May 2023 16:00:39 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1684760439; bh=T6WKzzi3geeqvAy+HEhZbkW5M1xIRqiwgNjBVb8OkRo=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=aHg2wtT4t/YN+m4Hm0+/DjlM7GcCu0BxVK16ZlSnw3gvWKJI/NzF36myC7IqP4Y2f vE9xnUnxtI6pIAo7ih/uPeyKffuh2qI1ecqFdomMfc0Ny+WuXQTuvYDgbXi4Cs+Opx ftwwtpVUpMWH3bGl+LXPpzfrOL2Izh+WaY0sNBAhj68J77x82Iw8NSQQxglHUNE4x/ lU20fYZqzzr/LkdS9ySyJ2Dj1loK83Mr9A48dHdiFcRcfYnNAc18xjYKj0kCHOvdxR uuQ3SX8BFMDdBC55gOrZziq8P1Wt94Tgwde5Qp6oMvOxiq5+0dCH4gvQwyaAWIqxO4 jyfqGm0CvLjDA== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Mon, 22 May 2023 16:00:38 +0300 (MSK) Date: Mon, 22 May 2023 16:00:33 +0300 From: Dmitry Rokosov To: Martin Blumenstingl , CC: , , , , , , , , , , , , , Subject: Re: [PATCH v15 5/6] dt-bindings: clock: meson: add A1 Peripherals clock controller bindings Message-ID: <20230522130033.a47vlybocme66rev@CAB-WSD-L081021> References: <20230517133309.9874-1-ddrokosov@sberdevices.ru> <20230517133309.9874-6-ddrokosov@sberdevices.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20220415 X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH01.sberdevices.ru (172.16.1.4) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/05/22 08:14:00 #21365129 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, 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 Martin, On Fri, May 19, 2023 at 11:09:29PM +0200, Martin Blumenstingl wrote: > Hi Krzysztof and Dmitry, > > On Wed, May 17, 2023 at 3:33 PM Dmitry Rokosov wrote: > [...] > > + clocks: > > + items: > > + - description: input fixed pll div2 > > + - description: input fixed pll div3 > > + - description: input fixed pll div5 > > + - description: input fixed pll div7 > > + - description: input hifi pll > > + - description: input oscillator (usually at 24MHz) > > + > > + clock-names: > > + items: > > + - const: fclk_div2 > > + - const: fclk_div3 > > + - const: fclk_div5 > > + - const: fclk_div7 > > + - const: hifi_pll > > + - const: xtal > This IP block has at least one additional input called "sys_pll_div16". > My understanding is that the "sys_pll_div16" clock is generated by the > CPU clock controller. Support for the CPU clock controller > (dt-bindings and a driver) will be added at a later time by Dmitry. > How can we manage incrementally implementing the clock controllers? > From a hardware perspective the "sys_pll_div16" input is mandatory. > How to manage this in the .dts patches then (for example: does this > mean that Dmitry can only add the clock controller to the .dts when > all clock controller bindings have been implemented - or is there > another way)? You're absolutely right: currently, not all inputs are supported because the CPU clock controller isn't ready yet – I'm working on it at the moment. I understand your concerns about bindings and schema description, but there is an issue to be considered. I'm developing the entire clock controller A1 subsystem incrementally in three stages: peripherals and PLL, CPU, and Audio. This is because the CPU can operate at a static frequency and voltage, and the board boots normally without the CPU clock controller, thermal sensor, and OPP table. Audio is also important, but it's optional. On the other hand, without setting up the peripherals and PLL controllers, the board won't function because they're fundamental. Right now, we're in the first stage of the plan. Unfortunately, I can't disclose the exact names and number of clock bindings for the CPU and Audio, as they're still in development and only exist in my head or draft versions. If possible, I'd prefer to provide the new bindings and connections once all the appropriate drivers are finalized. -- Thank you, Dmitry