Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1638158rwl; Mon, 26 Dec 2022 02:28:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXtDZumkER3H326ua6mU70nnv1HpzvkTHTK2lZQVBupmBlKrVSOK52bwkt2poorS/mbdh3CN X-Received: by 2002:a05:6402:1119:b0:472:46bf:fb3c with SMTP id u25-20020a056402111900b0047246bffb3cmr16783658edv.35.1672050498131; Mon, 26 Dec 2022 02:28:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672050498; cv=none; d=google.com; s=arc-20160816; b=akRBWCyG+by3x2SJJhHvdQvHfygY6Dpm3HgSy1gbqWkMf3xeokp74TEWbTXrA7aYHh Sl8CAL6mos3RH2nBBBDzOaYT70k6hHRr4BFVH1Kgu2qQu2+4L1Ila5VoKI8BJ+VfPMlC sz85pTSWltH0Axgf9uw6bSZF4WhhNmv94Z8PZdNLWaaiLD7t79/wLvOz3FDtdXq9jv5M xGWeIa7CybZ6EPdnhSxj+l395ez36pZROggop5he1BWyjgP78Q2W10Ikp2dmjsvdVfBW 8JwQicUDb+nt/Oh1O5USiWCfC0u3FKPAkw6IlqG38ohmXbmFh0f4fDu/OzluzDbHcaHu iPQQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=iHhOUXpNSlhf+aIXB7cwH4ZQHQG6+xLFZJXmmofWBM8=; b=Nw6fdeaZL0DXRlBXS5EMXV4fXY3aciytHnXiaGZMsB8PSLxH10m2t3SU+dMmsgGrVb Qa/g58S4/QLqnS2qYRFJ607X3EHJWZU8wMzKiVKRvnXL/5GLWp04gQleszNhJ+MbgfMb sAGa1UTJX7IhjxmkKDTfgC2/nh6hD5WqPIea3cWv84aDEo2kJljgSHeZIAjlb7+LLB20 REtCek61aeK39VaMyIPEQIKH5qqddn6pXXvOq60sYKmIUk02YEkANWleJsgjv7jYXlhc 3hJ+PtOQESUZDa76cNYSQhG/bQMqe2MDZ33VDNjtykGBQASeN9PbgcqPAj/y46svi2VU b9Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QLs8CJTc; 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=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v12-20020a056402348c00b004639a46d725si9608397edc.31.2022.12.26.02.28.03; Mon, 26 Dec 2022 02:28:18 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=QLs8CJTc; 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=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231849AbiLZJ6J (ORCPT + 66 others); Mon, 26 Dec 2022 04:58:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbiLZJ6E (ORCPT ); Mon, 26 Dec 2022 04:58:04 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 087F12603; Mon, 26 Dec 2022 01:58:02 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2BQ9vk6R078242; Mon, 26 Dec 2022 03:57:46 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1672048667; bh=iHhOUXpNSlhf+aIXB7cwH4ZQHQG6+xLFZJXmmofWBM8=; h=From:To:CC:Subject:Date; b=QLs8CJTcw7OO2+SIzSsESij60DuJnA6+1qwFCX6vT9twmSPXyp5HEN8R7pnfwVJzk czacw1K381uVNiUVG1QDKGZ65c8DNLVP+euEU9eGVUtzKi4psVndnyuz2ov1v6R257 DnugGubXoX57ytDRuSDsmcJSSgjRA0wkxCVBgAzk= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2BQ9vk09112194 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Dec 2022 03:57:46 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 26 Dec 2022 03:57:46 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 26 Dec 2022 03:57:46 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2BQ9vjCi003614; Mon, 26 Dec 2022 03:57:46 -0600 From: Aradhya Bhatia To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski CC: Tomi Valkeinen , Samuel Holland , Maxime Ripard , Linux Clock List , Devicetree List , Linux Kernel List , Nishanth Menon , Vignesh Raghavendra , Devarsh Thakkar , Jai Luthra , Aradhya Bhatia Subject: [PATCH 0/2] Re-introduce parent clock-rate set for fixed-factor clock Date: Mon, 26 Dec 2022 15:27:43 +0530 Message-ID: <20221226095745.19757-1-a-bhatia1@ti.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Hi all, The support for configuring CLK_SET_RATE_PARENT flag for a few specific clocks was only used by the legacy Allwinner A10 sunxi clock, and the reason its compatible was dropped was that the code supporting the legacy sunxi platforms was removed (as the below-mentioned patch set highlights) and no other fixed factor clock needed to do the same. https://lore.kernel.org/lkml/20220531051742.43273-1-samuel@sholland.org/T/ The current patch series adds "ti,k3-am62-oldi-clk-div" (TI's display subsystem (DSS) clock for the 1st videoport (vp0) on the AM625 SoC) as a fixed factor clock and further, it also re-introduces the same support to set the CLK_SET_RATE_PARENT flag. Based on the clock-set request from DSS (equivalent to pixel frequency), this clock asks its parent for a serial clock (with 7 times the pixel frequrncy), which is required for the generation of serial LVDS signals. This clock thus requires the CLK_SET_RATE_PARENT flag to be set, in order to propagate the set clock-rate request to its parent clock. Aradhya Bhatia (2): dt-bindings: clock: fixed-factor: Add TI AM62 SoC OLDI clock clk: fixed-factor: Re-introduce support for clocks to set parent clock-rate .../devicetree/bindings/clock/fixed-factor-clock.yaml | 1 + drivers/clk/clk-fixed-factor.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) -- 2.39.0