Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5515691rdb; Wed, 13 Dec 2023 10:47:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJr4g5zWcavfhQp2bvMH+suJk+ucnH/Jk6tIGqbtwIVsrhWxF7aUL/GNyWHW3NyEXqbatf X-Received: by 2002:a17:902:ced2:b0:1cc:5cbf:50d2 with SMTP id d18-20020a170902ced200b001cc5cbf50d2mr9493109plg.59.1702493260210; Wed, 13 Dec 2023 10:47:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702493260; cv=none; d=google.com; s=arc-20160816; b=NNdALbDpK946NT6Y41kBlno+iOkToyqQT8tX1tNLJXFXBdNw+mWWhPaWj0Vr8nuOmp E2+2wvaewFbUNj0BBmpgBMX3DHn3gzKSHgpYX7LxwWbrEJU5v40O6z6dG1PA/ZqEgjcH CmDTrigiUv56wSGD+5I2XfYsqH5CHCT+IV14cnMzqG3qvYYblgM4iuQuyWXJmVMK7/A0 3KkAftIH42fjcvtS5rOMvYstapxirR0/o3Qpg4UjIwMNcPEDZ+x8qcFZ7IpRlV2p0Vn/ YoSdqnj/8zGqX2BtxXnTmt5Cqba5RLiDij56as+YVhgaFoBp2kg+rMpFdBKhxvsvJAGX HD3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=9R6qQYyEJ0IB79Zp3TAy0FbCmmyqwgiCLjntCNq9Kcg=; fh=xiYSW5Wp9fJ/rjEleQhRl72AvLzaBFRuXIhfDsaESB4=; b=MDD3JSUEJgxmJ0p/Z0LbCjLSyy4ym91PVv9VlXOi9Njt25f1eW6Pdi/nBKjzJP9THd 9ehSI3p5x4V+xquiSkZrZaMX8hf6B6R+wFj0XxI8y1yJ+BXUIItBvA38wUyme+L5dsgd qJHwF10o93Bbyud3NQTbSd//Kunv0VXE5U5OsL6udAxwXNdKUTdueFeTGWhxpVzk6Ies WbunSPVa4CH9sailUvp2D/UWMOZE6k8yLflkiAn4YlZxE4XM4Vy12bzVTi7IVvFAuiAw NQPy0I1JL9ArKqCsOjsIzwu+Aj6Nj7vruzErMDBjweirL3QWe0ld6lwTpg+77SBlO+Bi ZlIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ecg29BRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u1-20020a6540c1000000b005ac8d44bad4si9544931pgp.592.2023.12.13.10.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 10:47:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ecg29BRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DAD1B807FCC4; Wed, 13 Dec 2023 10:47:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233651AbjLMSrZ (ORCPT + 99 others); Wed, 13 Dec 2023 13:47:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233545AbjLMSrY (ORCPT ); Wed, 13 Dec 2023 13:47:24 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C7D9F2 for ; Wed, 13 Dec 2023 10:47:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702493251; x=1734029251; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=POsCaczFV0r3vzLRIv6yKonaGaiJNwVSFqqKvK20p5E=; b=Ecg29BRyH/bcogRMg4QRmbUUPZlF1TVu/D/V/TiCKmk7pE8JRRET6gmS Lukjv2f+6siBzLtcODccSoU8UgQZaJ1AamvLDHLBe5JWPEVWFgy844OAC GnkBuJMu1KR3K20Ahm0hgsUeuy3+/mHifu3k2VCxn3zxGldUBIaiUB8fg 7015A5ffBOMP+NMcG7YD6hcQ3ak9BXivLBomGNsz1BgAjevZWoRcjiw/V CGX45PaL3ZFHKvMF4DOvRdYFqw6Je8j+jpUmDAESml86BMuHZV+VorbmC ovFsYYYOjueCzwQNQJkpx4MeZH1tRA/DS7rzhgRjZzxxn0pWZaxy6odOW g==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="1848483" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="1848483" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 10:47:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="774048780" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="774048780" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 10:47:29 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rDUGU-00000005c2W-3B7P; Wed, 13 Dec 2023 20:47:26 +0200 Date: Wed, 13 Dec 2023 20:47:26 +0200 From: Andy Shevchenko To: Lee Jones Cc: linux-kernel@vger.kernel.org, Alex Vinarskis Subject: Re: [PATCH v1 1/1] mfd: intel-lpss: Fix the fractional clock divider flags Message-ID: References: <20231211111441.3910083-1-andriy.shevchenko@linux.intel.com> <20231213161352.GQ111411@google.com> <20231213161854.GR111411@google.com> <20231213174605.GS111411@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231213174605.GS111411@google.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 10:47:38 -0800 (PST) On Wed, Dec 13, 2023 at 05:46:05PM +0000, Lee Jones wrote: > On Wed, 13 Dec 2023, Andy Shevchenko wrote: > > On Wed, Dec 13, 2023 at 04:18:54PM +0000, Lee Jones wrote: > > > On Wed, 13 Dec 2023, Andy Shevchenko wrote: > > > > On Wed, Dec 13, 2023 at 04:13:52PM +0000, Lee Jones wrote: > > > > > On Mon, 11 Dec 2023, Andy Shevchenko wrote: ... > > > > > > tmp = clk_register_fractional_divider(NULL, name, __clk_get_name(tmp), > > > > > > + 0, lpss->priv, 1, 15, 16, 15, > > > > > > CLK_FRAC_DIVIDER_POWER_OF_TWO_PS, > > > > > > - lpss->priv, 1, 15, 16, 15, 0, > > > > > > NULL); > > > > > > > > > > What an ugly interface. Intel-only too, right? > > > > > > > > Nope, de facto way how custom clocks are being introduced. > > > > See clk-provider.h for several similar APIs (that require an > > > > additional, custom, flags to be supplied). > > > > > > This call only has 2 call-sites, both Intel. > > > > Yes, but the clock fractional divider is used wider. > > > > And again, it's not related to Intel, as this how clock framework > > does the custom clocks. I don't know how to say this clearer. > > I'm not sure how you can say that. Intel were the authors, hold the > _only_ copyright and are the _only_ users. If it were to be removed, > there is only a single entity that would even notice. _This_ API is indeed used by only Intel code right now, but the _design_ of the API is dictated by CCF, and not anyhow related to Intel. > Anyway, it was just a passing comment. Not positive, not negative. Okay! -- With Best Regards, Andy Shevchenko