Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4414962rwb; Mon, 31 Jul 2023 06:39:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlFbeSrxR2fFSYeWe8BDewhwPIwtAy6DikrLVkSi6DC+JSRUUcVZARKkuoPwEYMpsWfcm2bs X-Received: by 2002:a05:6a00:986:b0:666:b22d:c6e0 with SMTP id u6-20020a056a00098600b00666b22dc6e0mr13218452pfg.11.1690810739620; Mon, 31 Jul 2023 06:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690810739; cv=none; d=google.com; s=arc-20160816; b=g+KKT7VMI/c5y/n0QZqefUq3Ny90Oi20ax3ykjZbLb9UuzrEaHEjziwPUFQXqXA9mv oL8+KyNC1g25DFYYMp6cjrZZClSFpPyBnHb5GD2G2aSJ/1IsFObKxv0KtdfDYLqF7OFe syYNi26CT8VsF3Q8kP6BEL6b3Doq86oHNaYG+nfxe4Af4POMJ+tVLzEVvsCoU6uee0RH vlMobXrGNM4msHgshIBF4QjgdHeMfKoT3u/eNrqi73iBtzwE3UO+bkB8H6/7TkBSzJVF RbIH2pzpLsj3yt9pWOo+6ANnwZFDVTg+zLQdEuqKOdfpZmqppjKPWTNWEFtPhJ5RitDD Xl5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1gHj3euc6IvaK2yxym4XFdLcoLwgJrcjksU1YEUljLA=; fh=8vn51LSH6VzAkSWZOqW06ijrdvx1yJitn1zrYdjs1CA=; b=PwRRRG+yGVoBq6mUEqLG/2cRHIB1WziSaO0lMPD5cD9mW50pso46t22pqBdx9/Yavo 9IBbe+CQSQlTz17MZ7RXBQoXSRsJXvRCDGCps4ajtwMyMV80kyZ5fVBwk8S3agPa9bVM P6R9aLLO0IQ2YB77+Ip57JcLaBFELY1EPmDBskRxtyPUe8RWs3WMTIp2CG8YcduRfbVH ISzfBSLhnxYnfrgXjPuVb4cgIxuZ/SdF8Av+vsujrEbY7wmveH6gegLhUnMx9z/cAbnT Qmts5cXf1a4ZHsoEfhMPHJLrAcvOn50/XdO+ovVETw5Svq8tXrvMHfhExWpkvA1TlcEN iumQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fC80ReJK; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cl10-20020a056a0032ca00b0068717b693e5si4525632pfb.135.2023.07.31.06.38.46; Mon, 31 Jul 2023 06:38:59 -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=@linaro.org header.s=google header.b=fC80ReJK; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232893AbjGaNBy (ORCPT + 99 others); Mon, 31 Jul 2023 09:01:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232697AbjGaNBs (ORCPT ); Mon, 31 Jul 2023 09:01:48 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96DB91710 for ; Mon, 31 Jul 2023 06:01:35 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-51d95aed33aso5986685a12.3 for ; Mon, 31 Jul 2023 06:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690808493; x=1691413293; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1gHj3euc6IvaK2yxym4XFdLcoLwgJrcjksU1YEUljLA=; b=fC80ReJK3iWMlaL+BbSA0nCiL93bEX6P7tRt7ANtyVDgcScDhV+o3sOQoy97CaO4Fc tEL/xlWU0W0zhd1/GwwwfMA5AWJ1HFiLG1ILv44KuhGNkLxL0geNm6hFfep1aInXufV3 138c9aHzw6SZ4hEp3lRsfcdYOL1ek71Xh1vgWdZSFwfyn0IjCYRHNVDg1TowaF4vxIby lShV/V8NVkLgnHdR1yV9dY0AReAgr7d/ExE/Mr8OFKXkLr/B0HczfGsEHpyXE4iTVlf+ 1y3p4DoYLUKZ74N85qMABPpsvNuABVHgZsj006Rx4ELfASa3hz7++2+jlUYJAlliXf/l mTuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690808493; x=1691413293; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1gHj3euc6IvaK2yxym4XFdLcoLwgJrcjksU1YEUljLA=; b=h9OThlOJeq+m7WbyD22hRb8+eMbOv0BQVmZe3hRImvUEOVXmsQD1RdFfNBvuv/uEWJ xaTYdmROv6X0DAI8vuV3WnMIY3+FNoeUbWH15WRXQLbDBG9F4ZpueTk+e2rnfUadGQBV 4bgpCBx5+IyYKTiPzYQYIIKn0X6RUg5cqbGk31LG5wgxdK6+jw1BZpK1Rj7+ue4HlGFp 3anDzpFf1nf9WYlksE9vgVlUP0KLdRDGC2UtbUUw5GOCTm9CHrBoC3F7csNppXMs+L6O l2zWRok3nq4FGJGf1PbW5C8jnlk6O/OLAEUcrjYXKjIC+M6dXnxxjE8w5Tg4kOuoej9a F+gg== X-Gm-Message-State: ABy/qLbE/0VgOih1Q3bC7jV+nL983+vvTBW05DvRJu8kdHpC0gVQcQeH rA5Kutx/xIlIH1TmU27A8UQPFA== X-Received: by 2002:a17:906:3011:b0:99c:20f0:deaf with SMTP id 17-20020a170906301100b0099c20f0deafmr815244ejz.77.1690808493404; Mon, 31 Jul 2023 06:01:33 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.183]) by smtp.gmail.com with ESMTPSA id z7-20020a170906074700b0099293cdbc98sm6207575ejb.145.2023.07.31.06.01.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jul 2023 06:01:32 -0700 (PDT) Message-ID: <75cbeeed-84c9-7637-b2a7-b37d87f5872e@linaro.org> Date: Mon, 31 Jul 2023 15:01:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Subject: Re: [PATCH 2/2] dt-bindings: clock: intel,cgu-lgm: add mxl,control-gate option Content-Language: en-US To: Florian Eckert 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 References: <20230731100349.184553-1-fe@dev.tdt.de> <20230731100349.184553-3-fe@dev.tdt.de> <780aa090-3a97-abab-271f-59790df29cc4@linaro.org> <11386dd27487075a9a0b1a2aa7794951@dev.tdt.de> From: Krzysztof Kozlowski In-Reply-To: <11386dd27487075a9a0b1a2aa7794951@dev.tdt.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 31/07/2023 14:59, Florian Eckert wrote: > 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. So when you upstream them, the binding becomes wrong or not needed? Sorry, bindings are entirely independent of OS, so using this as an argument is clear no-go. > 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. None of this explains any hardware related part of this binding. You created now policy for one specific OS. Devicetree, which is OS independent, is not for such purposes. Best regards, Krzysztof