Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4397421rwb; Mon, 31 Jul 2023 06:23:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlGcW/78R4xY7zPjIGGU20emnmlsqODmYj6UYqz0JesZnk93uQrHUlfR+ZL7YPHA66vV2bqb X-Received: by 2002:a05:6a20:13c3:b0:133:be16:509 with SMTP id ho3-20020a056a2013c300b00133be160509mr9818618pzc.34.1690809834145; Mon, 31 Jul 2023 06:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690809834; cv=none; d=google.com; s=arc-20160816; b=bC2EkPxgPTgmKBgQ+v0S8HrextLccIi00QoGhaYUn5Rd+vcQUDVfTdXdnEQlU6KyGT 8DkZN72oqSQEGQVtNBYKVSAePdIwJTEQIEjsT5LdwwYOfOyqaWvjaLw2w/fp5XrbMDf+ zWalCkcKnFYIPQRjeiAb0y4a4fAS5l+AZRDW1shzq+3zKzzvyujYQW4vAE/zZ7C1LJy1 d+szQrAIy14mX0YjMwqdvsbNzI/rz8wZuv58giiVHxD0+jTa31kMi/bM+VaVilS5ZwL6 9YW/3dqa5OTB9HJTqGseZkwpz73PJa72wghn/EoXgPFjBqDI4YoQwZybazqu7MufnQzY y5Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version; bh=gak248oMZpPaahTC2utUFltgMhWzIlS4DbKYZKRNU6U=; fh=Jw5f2ZQIPj5HvdxfAa/FEQeTEtvzHk6HJIPAFsQLQ3w=; b=oHGhitjXTRHo0xEi4pLRXjXJhQO3okKuzlOZoRZynXjYlIV0y21pwUaQSuNWTpSnWN 6LbA+OMRGY40LZljcsFjgxGCDDG3fbxL62fHKeftvO6GTTaEQyfKZav2nEh+VpXrMeGL hyeC1zUmGyvlZi5FfYJUeqWdXnQb1ogTP4Vx8Y5L21HSH7x9KYCatTkLX+yEeJTEdddn JtB398H8GjqgqyzUtFdYdT9LCTyp4ujoWVdrQdi2hghpsCIefdUH1GCP4dwXTLVANSin 6oQ7Zk+mNS2Z7kNXN3G4SC8h6u5ybc1xCikaux1dA5+KlifvEOuDb5opS18LTnMRnfgZ KbKg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p190-20020a6342c7000000b0055aeedd94c1si5753476pga.289.2023.07.31.06.23.38; Mon, 31 Jul 2023 06:23:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231573AbjGaM7W (ORCPT + 99 others); Mon, 31 Jul 2023 08:59:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230206AbjGaM7U (ORCPT ); Mon, 31 Jul 2023 08:59:20 -0400 Received: from mxout70.expurgate.net (mxout70.expurgate.net [91.198.224.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19A5310B; Mon, 31 Jul 2023 05:59:19 -0700 (PDT) Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1qQSUW-00ETpd-V1; Mon, 31 Jul 2023 14:59:17 +0200 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qQSUW-00FHa9-Gu; Mon, 31 Jul 2023 14:59:16 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id EED1D240049; Mon, 31 Jul 2023 14:59:14 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id 9FEC7240040; Mon, 31 Jul 2023 14:59:14 +0200 (CEST) Received: from mail.dev.tdt.de (localhost [IPv6:::1]) by mail.dev.tdt.de (Postfix) with ESMTP id E4EF0313F9; Mon, 31 Jul 2023 14:59:13 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 31 Jul 2023 14:59:13 +0200 From: Florian Eckert To: Krzysztof Kozlowski Cc: mturquette@baylibre.com, sboyd@kernel.org, yzhu@maxlinear.com, rtanwar@maxlinear.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Eckert.Florian@googlemail.com Subject: Re: [PATCH 2/2] dt-bindings: clock: intel,cgu-lgm: add mxl,control-gate option In-Reply-To: <780aa090-3a97-abab-271f-59790df29cc4@linaro.org> References: <20230731100349.184553-1-fe@dev.tdt.de> <20230731100349.184553-3-fe@dev.tdt.de> <780aa090-3a97-abab-271f-59790df29cc4@linaro.org> Message-ID: <11386dd27487075a9a0b1a2aa7794951@dev.tdt.de> X-Sender: fe@dev.tdt.de User-Agent: Roundcube Webmail/1.3.17 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,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 X-purgate-ID: 151534::1690808356-C34280DF-A4239018/0/0 X-purgate-type: clean X-purgate: clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for your reply, > You described the desired Linux feature or behavior, not the actual > hardware. The bindings are about the latter, so instead you need to > rephrase the property and its description to match actual hardware > capabilities/features/configuration etc. You have correctly identified that this is not a hardware configuration, but a driver configuration. Currently, the driver is configured so that the gates cannot be switched via the clk subsystem callbacks. When registering the data structures from the driver, I have to pass a flag GATE_CLK_HW so that the gate is managed by the driver. I didn't want to always change the source of the driver when it has to take care of the GATE, so I wanted to map this via the dts. I have a board support package from Maxlinear for the Lightning Mountain Soc with other drivers that are not upstream now. Some of them use the clock framework some of them does not. Due to missing documents it is not possible to send these drivers upstream. Strictly speaking, this is about the gptc and the watchdog. Since it is a buildin_platform driver, it can also not work via module parameters. Best regards Florian