Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4227980rwb; Mon, 31 Jul 2023 03:49:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlElukO2Y7sRNs4hGBC5+wmKN15Djjpcq8hPX8YTtQPZzvQbDpy3GINGHFWBCt6YYMnegXNb X-Received: by 2002:a05:6358:9315:b0:135:4003:7849 with SMTP id x21-20020a056358931500b0013540037849mr5696607rwa.4.1690800553386; Mon, 31 Jul 2023 03:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690800553; cv=none; d=google.com; s=arc-20160816; b=z4+jIZTgFtvSRB51j9FCJzviUBjbg4PtM/aUKpOZrdxRqoVbWqycpelz/ofREW8YPM pFjPEfsiUQpc0/GpgVcw1hVv6+ryLUBmFoa8VxGfomCxoshhI4caQ1WlbMJvUO/o8JsV M9SWoajVQER0ZNjih7QAcRqk/pUoRFbuFmd9NUF1875Fr3jyzF1EMSuArdL3uOmnOvd+ ZCj0pUZzGZQLw52NoV6oVybJYfwzPb9VuFdORukg14IDJJfVF0cG8TeeKyLNKv7uM4zO Lb4fmXQjOaicavHBsHwM4ZF6Km1BqRyEqmJJf9SWaKK6nZ9mCTv/OdYpVifGvwyufC1M +2QQ== 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:date:subject:cc:to:from; bh=2LFahAWQYHf+WCrRwTnT5SUTXPo1RU/T1e7np8WPHS0=; fh=58MfIQYzwFKIHC8ZyPyQox+X84Zx6k5cC4G4UN9QciA=; b=EmXWrEDeU5BHuwEY+vKCEdlir5TERrkSYe8XhNtCKc5wvqz2aN0ZoXhQX5zAsDAKM8 lhBOxau++FQh1u5FnbrJ3+EaE/p1oHMTuF0eLwTe9WnrlcMmKo4IgUtdJdVOsiDZv+Ub u+4zqCrg9Kkv8e1TOVJAONh8SR/vn5ASiLOgmLpSi1+vBcHEDU6ExjVz5DXnZ8ICrbd+ H7s0vx9+PnrswtqLpkp/JRmpNTiLPkE+42a+/4WRGZ/6JnVonYzWENid4i8eHOIcuZJC b0dQTURONs/BN8p/9O+ulGCJtcx00fVELUWBj1Lc82R3hR0uy4fRrFEziSEEZ+qgk8JY lnXQ== 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 x184-20020a6386c1000000b00563eda6a8e6si3621091pgd.613.2023.07.31.03.49.00; Mon, 31 Jul 2023 03:49:13 -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 S232557AbjGaKWG (ORCPT + 99 others); Mon, 31 Jul 2023 06:22:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232390AbjGaKVm (ORCPT ); Mon, 31 Jul 2023 06:21:42 -0400 X-Greylist: delayed 1038 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 31 Jul 2023 03:21:16 PDT Received: from mxout70.expurgate.net (mxout70.expurgate.net [91.198.224.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0002198C for ; Mon, 31 Jul 2023 03:21:16 -0700 (PDT) Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1qQPkq-00G4dA-CP for linux-kernel@vger.kernel.org; Mon, 31 Jul 2023 12:03:56 +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 1qQPkq-00A50N-0C for linux-kernel@vger.kernel.org; Mon, 31 Jul 2023 12:03:56 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id E996F240040 for ; Mon, 31 Jul 2023 12:03:54 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id A1FA524004D; Mon, 31 Jul 2023 12:03:54 +0200 (CEST) Received: from localhost.localdomain (unknown [10.2.3.40]) by mail.dev.tdt.de (Postfix) with ESMTPSA id 69F3C21055; Mon, 31 Jul 2023 12:03:54 +0200 (CEST) From: Florian Eckert To: 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 Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Eckert.Florian@googlemail.com Subject: [PATCH 2/2] dt-bindings: clock: intel,cgu-lgm: add mxl,control-gate option Date: Mon, 31 Jul 2023 12:03:49 +0200 Message-ID: <20230731100349.184553-3-fe@dev.tdt.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230731100349.184553-1-fe@dev.tdt.de> References: <20230731100349.184553-1-fe@dev.tdt.de> MIME-Version: 1.0 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 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate-ID: 151534::1690797836-3F48EA8C-6873251E/0/0 X-purgate: clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the new option 'mxl,control-gate'. Gate clocks can be controlled either from this cgu clk driver or directly from power management driver/daemon. It is dependent on the power policy/profile requirements of the end product. To take control of gate clks from this driver, add th= e name of the gate to this devicetree property. Please refer to 'drivers/clk/x86/clk-lgm.c' source file for the gate name= s. Signed-off-by: Florian Eckert --- .../devicetree/bindings/clock/intel,cgu-lgm.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/intel,cgu-lgm.yaml b= /Documentation/devicetree/bindings/clock/intel,cgu-lgm.yaml index 76609a390429..755d13a65477 100644 --- a/Documentation/devicetree/bindings/clock/intel,cgu-lgm.yaml +++ b/Documentation/devicetree/bindings/clock/intel,cgu-lgm.yaml @@ -28,6 +28,16 @@ properties: '#clock-cells': const: 1 =20 + mxl,control-gate: + description: + Gate clocks can be controlled either from this cgu clk driver or + directly from power management driver/daemon. It is dependent on= the + power policy/profile requirements of the end product. To take + control of gate clks from this driver, add the name of the gate + to this devicetree property. Please refer to + drivers/clk/x86/clk-lgm.c source file for the gate names. + $ref: /schemas/types.yaml#/definitions/string-array + required: - compatible - reg @@ -41,6 +51,7 @@ examples: compatible =3D "intel,cgu-lgm"; reg =3D <0xe0200000 0x33c>; #clock-cells =3D <1>; + mxl,control-gate =3D "g_gptc0", "g_gptc1"; }; =20 ... --=20 2.30.2