Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5480773rdb; Wed, 13 Dec 2023 09:46:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IE49NA7Vlgm30ZulYpEVpZ/LaI26SFtUsQxnwaZD6mXapXY+cTogYLu6QD5wnZF0Xflwzax X-Received: by 2002:a05:6a20:e113:b0:18c:374c:6e64 with SMTP id kr19-20020a056a20e11300b0018c374c6e64mr5156118pzb.36.1702489582005; Wed, 13 Dec 2023 09:46:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702489581; cv=none; d=google.com; s=arc-20160816; b=pHSpZQUCrXHYKwdjpKbGDSYZ1SH4vF2nrlwp2EjXCMDfhwLPogiTcThmfBLMkbygnS jb9vSVL7PTovoH5tW8TR7P46uT7CD5ugfHrS68fH3XTn9uZ97vHBcYjEaCzUiynOSUuh IDZBsjv2sZde6EBss6QvXLjega3yCvNuFvRc08hc8KCFSw7sIum6AskFFm0/CK3LI+jM Z3SwJfsmiJWpPNfSm7pokoyvjxfZcE3h9CE9w9tX8sh2lByWQujpk6I9twsyt/FSSsda PzFE9jVLvV94h9O2AfSG53JF6EGZbvwnV1/P3LwCL8YdSrqc/O/BeDRqrMfeS0pCE62e 4IhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HOtrk/G09wYxHihz6AF0qioPxLlVot9WI6fDzWX5CF8=; fh=656B8pR1znJdePtVejOmwPw+cVpuL/p3neo65MfaXJY=; b=iU2G0BuImcTyi4JlxX4iuyWEHTNU6FGz3DEkdI3xL7t7PyliUEPTarXKzf0IkieeEw ryBitYNGbfjA9v+SX1u1LXlW9Gv0q6BnTmPK4OoK3/IAhY4+nkZOy8CKUKyoL5OfA9rf qGmiebc+elv3pw4FwXkehgj15j8LgmITpbor9kRAXhYGkFEq6Jm9DhX8c9Iid69J+1kb 5u4uxhen6cHCNfMpXCNteesqGu2sudeMH8saN9+uRZ9Chq0YdQutN6S2gSAzQ7diJtxW IVya3QX6WbPFVaYNaNOtmvuFkHBcn2B6uBMeHyGrd/lHfkqJoSalYHH95GIfl1B5FWvd eepA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="R/3dmiHc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id a22-20020a62d416000000b006cef6b7b7a4si7282408pfh.310.2023.12.13.09.46.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 09:46:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="R/3dmiHc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 77094802A3E1; Wed, 13 Dec 2023 09:46:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233380AbjLMRqE (ORCPT + 99 others); Wed, 13 Dec 2023 12:46:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233207AbjLMRqD (ORCPT ); Wed, 13 Dec 2023 12:46:03 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0950399 for ; Wed, 13 Dec 2023 09:46:10 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF299C433C7; Wed, 13 Dec 2023 17:46:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702489569; bh=X3fZW1ftoAwjxfIDgegK09VezD4UiqgtwXe9IKxubq4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R/3dmiHc6DO0k/nqHigU6D0v9tb8kZ+4qgetXpz4BvSpBhA7GBt2O7mXiX0qyq74c m/0cuyYUWwZsnQYwuLxrOIu/brlRi6cP8J0JZUrQD1KhmLj9SkpbCHRpXpWhmr6erD oo4rDkawuACkX/zkGNc5b2ylziR6R7PAn/NOkvBy57KQogt22Tf/VKr8x39YyYlu2d tG4hOvczRzzYG3QgtgZtOKKYanwpSdiTeWttrm9bBLN8M/DuZjXk1QrW+wnkBjkvaa V3JcAUnH17+QbFFuV6Su0+5XRMuCVNTlTYG3ZLYLPk+BpmjKn2FvrmJnOEeSLS1uwM bxc/WMEcDU45Q== Date: Wed, 13 Dec 2023 17:46:05 +0000 From: Lee Jones To: Andy Shevchenko 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: <20231213174605.GS111411@google.com> References: <20231211111441.3910083-1-andriy.shevchenko@linux.intel.com> <20231213161352.GQ111411@google.com> <20231213161854.GR111411@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 13 Dec 2023 09:46:19 -0800 (PST) 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. Anyway, it was just a passing comment. Not positive, not negative. -- Lee Jones [李琼斯]